os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-rotation-automated.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-rotation-automated.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,1072 @@
     1.4 +//
     1.5 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description: 
    1.18 +//
    1.19 +//
    1.20 +//! @file
    1.21 +//! @SYMTestSuiteName mm-mmf-devvideo-playback-mpeg4-rotation-automated
    1.22 +//! @SYMScriptTestEnvironment This test script requires a basic ROM.
    1.23 +//
    1.24 +// Tests all public elements of the MMMFDevVideoPlayObserver,CMMFDevVideoPlay 
    1.25 +// classes as a means of confidence that the APIs work as expected.
    1.26 +// 
    1.27 +// The purpose is to provide a regression test suite of PublishedAll
    1.28 +// APIs for: MMMFDevVideoPlayObserver,CMMFDevVideoPlay 
    1.29 +// The tests are fully automated.
    1.30 +//
    1.31 +
    1.32 +
    1.33 +
    1.34 +LOAD_SUITE t_devvideo
    1.35 +
    1.36 +
    1.37 +
    1.38 +DELAY 2000
    1.39 +
    1.40 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0001
    1.41 +
    1.42 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0001
    1.43 +//!@SYMAPI
    1.44 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
    1.45 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
    1.46 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
    1.47 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
    1.48 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
    1.49 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
    1.50 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
    1.51 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
    1.52 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
    1.53 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
    1.54 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
    1.55 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
    1.56 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
    1.57 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
    1.58 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
    1.59 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
    1.60 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
    1.61 +//!                CMMFDevVideoPlay:: Initialize();
    1.62 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
    1.63 +//!                CMMFDevVideoPlay:: Start();
    1.64 +//!                CMMFDevVideoPlay:: Stop();
    1.65 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
    1.66 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
    1.67 +//!                CMMFDevVideoPlay:: Resume();
    1.68 +//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
    1.69 +//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
    1.70 +//!@SYMAuthor			alavariega
    1.71 +//!@SYMCreationDate		16/6/2008
    1.72 +//!@SYMTestCaseDesc		 NCP MPEG4 NTSC Video Rotation at 30 fps 4Mbps
    1.73 +//!@SYMTestActions
    1.74 +//!                1. NewL (inputfile = akiyo_ntsc_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
    1.75 +//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
    1.76 +//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
    1.77 +//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
    1.78 +//!                5. GetOutputFormatListL (useDecoder = TRUE) 
    1.79 +//!                6. PostProcessorInfoLC
    1.80 +//!                7. FindCommonFormat
    1.81 +//!                8. SetOutputFormatL  (useDecoder = TRUE)
    1.82 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
    1.83 +//!                10. GetOutputFormatListL (useDecoder = FALSE)
    1.84 +//!                11. SetOutputFormatL(useDecoder = TRUE) 
    1.85 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
    1.86 +//!                13. ReturnHeader
    1.87 +//!                14. SetVideoDestScreenL
    1.88 +//!                15. SetPostProcessTypesL (combination = 4C)
    1.89 +//!                16. GetBufferOptions
    1.90 +//!                17. SetBufferOptionsL
    1.91 +//!                18. SetClockSource  (synch = 1; framerate = 30)
    1.92 +//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
    1.93 +//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
    1.94 +//!                21. Initialize
    1.95 +//!                OUTSTANDING
    1.96 +//!                22. StartDirectScreenAccess (displayMode = EColor64K)
    1.97 +//!                23. Start 
    1.98 +//!                OUTSTANDING
    1.99 +//!                24. Stop
   1.100 +//!                25. AbortDirectScreenAccess
   1.101 +//!                26. ~
   1.102 +//!@SYMTestStatus		Verified
   1.103 +//!@SYMTestPriority		Normal
   1.104 +//!@SYMTestExpectedResults
   1.105 +//!                Video must be played with rotation of 90 degrees and without any blurrness
   1.106 +//!@SYMTestType			CIT
   1.107 +
   1.108 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
   1.109 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.110 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-NewL_command01
   1.111 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SelectDecoderL_command02
   1.112 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SelectPostProcessorL_command03
   1.113 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetInputFormat_command04
   1.114 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetOutputFormatListL_command05
   1.115 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.116 +		COMMAND		mmfdvplay		FindCommonFormat
   1.117 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetOutputFormatL_command08
   1.118 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetInputFormat_command09
   1.119 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetOutputFormatListL_command10
   1.120 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetOutputFormatL_command11
   1.121 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetHeaderInformationL_command12
   1.122 +		COMMAND		mmfdvplay		ReturnHeader
   1.123 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.124 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetPostProcessTypesL_command15
   1.125 +		COMMAND		mmfdvplay		GetBufferOptions
   1.126 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.127 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetClockSource_command18
   1.128 +		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetScaleOptionsL_command19
   1.129 +		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetRotateOptionsL_command20
   1.130 +		COMMAND		mmfdvplay		Initialize
   1.131 +		OUTSTANDING
   1.132 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-StartDirectScreenAccess_command22
   1.133 +		COMMAND		mmfdvplay		Start
   1.134 +		OUTSTANDING
   1.135 +		COMMAND		mmfdvplay		Stop
   1.136 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.137 +		COMMAND		mmfdvplay		~
   1.138 +	END_TEST_BLOCK
   1.139 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0001
   1.140 +
   1.141 +
   1.142 +
   1.143 +
   1.144 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
   1.145 +
   1.146 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
   1.147 +//!@SYMAPI
   1.148 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.149 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.150 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.151 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.152 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.153 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.154 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.155 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.156 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.157 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.158 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.159 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.160 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.161 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.162 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.163 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.164 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.165 +//!                CMMFDevVideoPlay:: Initialize();
   1.166 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.167 +//!                CMMFDevVideoPlay:: Start();
   1.168 +//!                CMMFDevVideoPlay:: Stop();
   1.169 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.170 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.171 +//!                CMMFDevVideoPlay:: Resume();
   1.172 +//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
   1.173 +//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
   1.174 +//!@SYMAuthor			alavariega
   1.175 +//!@SYMCreationDate		16/6/2008
   1.176 +//!@SYMTestCaseDesc		 NCP MPEG4 PAL Video Rotation at 25 fps 4Mbps
   1.177 +//!@SYMTestActions
   1.178 +//!                1. NewL (inputfile = akiyo_pal_25fps_4M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.179 +//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
   1.180 +//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
   1.181 +//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.182 +//!                5. GetOutputFormatListL (useDecoder = TRUE) 
   1.183 +//!                6. PostProcessorInfoLC
   1.184 +//!                7. FindCommonFormat
   1.185 +//!                8. SetOutputFormatL  (useDecoder = TRUE)
   1.186 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.187 +//!                10. GetOutputFormatListL (useDecoder = FALSE)
   1.188 +//!                11. SetOutputFormatL(useDecoder = TRUE) 
   1.189 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
   1.190 +//!                13. ReturnHeader
   1.191 +//!                14. SetVideoDestScreenL
   1.192 +//!                15. SetPostProcessTypesL (combination = 4C)
   1.193 +//!                16. GetBufferOptions
   1.194 +//!                17. SetBufferOptionsL
   1.195 +//!                18. SetClockSource  (synch = 1; framerate = 25)
   1.196 +//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
   1.197 +//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
   1.198 +//!                21. Initialize
   1.199 +//!                OUTSTANDING
   1.200 +//!                22. StartDirectScreenAccess (displayMode = EColor64K)
   1.201 +//!                23. Start 
   1.202 +//!                OUTSTANDING
   1.203 +//!                24. Stop
   1.204 +//!                25. AbortDirectScreenAccess
   1.205 +//!                26. ~
   1.206 +//!@SYMTestStatus		Verified
   1.207 +//!@SYMTestPriority		Normal
   1.208 +//!@SYMTestExpectedResults
   1.209 +//!                Video must be played with rotation of 90 degrees and without any blurrness
   1.210 +//!@SYMTestType			CIT
   1.211 +
   1.212 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
   1.213 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.214 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-NewL_command01
   1.215 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SelectDecoderL_command02
   1.216 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SelectPostProcessorL_command03
   1.217 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetInputFormat_command04
   1.218 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetOutputFormatListL_command05
   1.219 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.220 +		COMMAND		mmfdvplay		FindCommonFormat
   1.221 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetOutputFormatL_command08
   1.222 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetInputFormat_command09
   1.223 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetOutputFormatListL_command10
   1.224 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetOutputFormatL_command11
   1.225 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetHeaderInformationL_command12
   1.226 +		COMMAND		mmfdvplay		ReturnHeader
   1.227 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.228 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetPostProcessTypesL_command15
   1.229 +		COMMAND		mmfdvplay		GetBufferOptions
   1.230 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.231 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetClockSource_command18
   1.232 +		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetScaleOptionsL_command19
   1.233 +		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetRotateOptionsL_command20
   1.234 +		COMMAND		mmfdvplay		Initialize
   1.235 +		OUTSTANDING
   1.236 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-StartDirectScreenAccess_command22
   1.237 +		COMMAND		mmfdvplay		Start
   1.238 +		OUTSTANDING
   1.239 +		COMMAND		mmfdvplay		Stop
   1.240 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.241 +		COMMAND		mmfdvplay		~
   1.242 +	END_TEST_BLOCK
   1.243 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
   1.244 +
   1.245 +
   1.246 +
   1.247 +
   1.248 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
   1.249 +
   1.250 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
   1.251 +//!@SYMAPI
   1.252 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.253 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.254 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.255 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.256 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.257 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.258 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.259 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.260 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.261 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.262 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.263 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.264 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.265 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.266 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.267 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.268 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.269 +//!                CMMFDevVideoPlay:: Initialize();
   1.270 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.271 +//!                CMMFDevVideoPlay:: Start();
   1.272 +//!                CMMFDevVideoPlay:: Stop();
   1.273 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.274 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.275 +//!                CMMFDevVideoPlay:: Resume();
   1.276 +//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
   1.277 +//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
   1.278 +//!@SYMAuthor			alavariega
   1.279 +//!@SYMCreationDate		16/6/2008
   1.280 +//!@SYMTestCaseDesc		 NCP MPEG -4  CIF Video Rotation at 30 fps 3Mbps
   1.281 +//!@SYMTestActions
   1.282 +//!                1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.283 +//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
   1.284 +//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
   1.285 +//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.286 +//!                5. GetOutputFormatListL (useDecoder = TRUE) 
   1.287 +//!                6. PostProcessorInfoLC
   1.288 +//!                7. FindCommonFormat
   1.289 +//!                8. SetOutputFormatL  (useDecoder = TRUE)
   1.290 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.291 +//!                10. GetOutputFormatListL (useDecoder = FALSE)
   1.292 +//!                11. SetOutputFormatL(useDecoder = TRUE) 
   1.293 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
   1.294 +//!                13. ReturnHeader
   1.295 +//!                14. SetVideoDestScreenL
   1.296 +//!                15. SetPostProcessTypesL (combination = 4C)
   1.297 +//!                16. GetBufferOptions
   1.298 +//!                17. SetBufferOptionsL
   1.299 +//!                18. SetClockSource  (synch = 1; framerate = 30)
   1.300 +//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
   1.301 +//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
   1.302 +//!                21. Initialize
   1.303 +//!                OUTSTANDING
   1.304 +//!                22. StartDirectScreenAccess (displayMode = EColor64K)
   1.305 +//!                23. Start 
   1.306 +//!                OUTSTANDING
   1.307 +//!                24. Stop
   1.308 +//!                25. AbortDirectScreenAccess
   1.309 +//!                26. ~
   1.310 +//!@SYMTestStatus		Verified
   1.311 +//!@SYMTestPriority		Normal
   1.312 +//!@SYMTestExpectedResults
   1.313 +//!                Video must be played with rotation of 90 degrees and without any blurrness
   1.314 +//!@SYMTestType			CIT
   1.315 +
   1.316 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
   1.317 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.318 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-NewL_command01
   1.319 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SelectDecoderL_command02
   1.320 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SelectPostProcessorL_command03
   1.321 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetInputFormat_command04
   1.322 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetOutputFormatListL_command05
   1.323 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.324 +		COMMAND		mmfdvplay		FindCommonFormat
   1.325 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetOutputFormatL_command08
   1.326 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetInputFormat_command09
   1.327 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetOutputFormatListL_command10
   1.328 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetOutputFormatL_command11
   1.329 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetHeaderInformationL_command12
   1.330 +		COMMAND		mmfdvplay		ReturnHeader
   1.331 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.332 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetPostProcessTypesL_command15
   1.333 +		COMMAND		mmfdvplay		GetBufferOptions
   1.334 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.335 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetClockSource_command18
   1.336 +		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetScaleOptionsL_command19
   1.337 +		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetRotateOptionsL_command20
   1.338 +		COMMAND		mmfdvplay		Initialize
   1.339 +		OUTSTANDING
   1.340 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-StartDirectScreenAccess_command22
   1.341 +		COMMAND		mmfdvplay		Start
   1.342 +		OUTSTANDING
   1.343 +		COMMAND		mmfdvplay		Stop
   1.344 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.345 +		COMMAND		mmfdvplay		~
   1.346 +	END_TEST_BLOCK
   1.347 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
   1.348 +
   1.349 +
   1.350 +
   1.351 +
   1.352 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
   1.353 +
   1.354 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
   1.355 +//!@SYMAPI
   1.356 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.357 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.358 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.359 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.360 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.361 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.362 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.363 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.364 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.365 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.366 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.367 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.368 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.369 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.370 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.371 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.372 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.373 +//!                CMMFDevVideoPlay:: Initialize();
   1.374 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.375 +//!                CMMFDevVideoPlay:: Start();
   1.376 +//!                CMMFDevVideoPlay:: Stop();
   1.377 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.378 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.379 +//!                CMMFDevVideoPlay:: Resume();
   1.380 +//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
   1.381 +//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
   1.382 +//!@SYMAuthor			alavariega
   1.383 +//!@SYMCreationDate		16/6/2008
   1.384 +//!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_CIF_30_3M
   1.385 +//!@SYMTestActions
   1.386 +//!                1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.387 +//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
   1.388 +//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
   1.389 +//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.390 +//!                5. GetOutputFormatListL (useDecoder = TRUE) 
   1.391 +//!                6. PostProcessorInfoLC
   1.392 +//!                7. FindCommonFormat
   1.393 +//!                8. SetOutputFormatL  (useDecoder = TRUE)
   1.394 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.395 +//!                10. GetOutputFormatListL (useDecoder = FALSE)
   1.396 +//!                11. SetOutputFormatL(useDecoder = TRUE) 
   1.397 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
   1.398 +//!                13. ReturnHeader
   1.399 +//!                14. SetVideoDestScreenL
   1.400 +//!                15. SetPostProcessTypesL (combination = 4C)
   1.401 +//!                16. GetBufferOptions
   1.402 +//!                17. SetBufferOptionsL
   1.403 +//!                18. SetClockSource  (synch = 1; framerate = 30)
   1.404 +//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
   1.405 +//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
   1.406 +//!                21. Initialize
   1.407 +//!                OUTSTANDING
   1.408 +//!                22. StartDirectScreenAccess (displayMode = EColor64K)
   1.409 +//!                23. Start 
   1.410 +//!                OUTSTANDING
   1.411 +//!                24. Stop
   1.412 +//!                25. AbortDirectScreenAccess
   1.413 +//!                26. ~
   1.414 +//!@SYMTestStatus		Verified
   1.415 +//!@SYMTestPriority		Normal
   1.416 +//!@SYMTestExpectedResults
   1.417 +//!                Video must be played with rotation of 90 degrees and without any blurrness
   1.418 +//!@SYMTestType			CIT
   1.419 +
   1.420 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
   1.421 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.422 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-NewL_command01
   1.423 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SelectDecoderL_command02
   1.424 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SelectPostProcessorL_command03
   1.425 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetInputFormat_command04
   1.426 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetOutputFormatListL_command05
   1.427 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.428 +		COMMAND		mmfdvplay		FindCommonFormat
   1.429 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetOutputFormatL_command08
   1.430 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetInputFormat_command09
   1.431 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetOutputFormatListL_command10
   1.432 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetOutputFormatL_command11
   1.433 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetHeaderInformationL_command12
   1.434 +		COMMAND		mmfdvplay		ReturnHeader
   1.435 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.436 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetPostProcessTypesL_command15
   1.437 +		COMMAND		mmfdvplay		GetBufferOptions
   1.438 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.439 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetClockSource_command18
   1.440 +		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetScaleOptionsL_command19
   1.441 +		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetRotateOptionsL_command20
   1.442 +		COMMAND		mmfdvplay		Initialize
   1.443 +		OUTSTANDING
   1.444 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-StartDirectScreenAccess_command22
   1.445 +		COMMAND		mmfdvplay		Start
   1.446 +		OUTSTANDING
   1.447 +		COMMAND		mmfdvplay		Stop
   1.448 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.449 +		COMMAND		mmfdvplay		~
   1.450 +	END_TEST_BLOCK
   1.451 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
   1.452 +
   1.453 +
   1.454 +
   1.455 +
   1.456 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
   1.457 +
   1.458 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
   1.459 +//!@SYMAPI
   1.460 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.461 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.462 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.463 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.464 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.465 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.466 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.467 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.468 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.469 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.470 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.471 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.472 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.473 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.474 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.475 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.476 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.477 +//!                CMMFDevVideoPlay:: Initialize();
   1.478 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.479 +//!                CMMFDevVideoPlay:: Start();
   1.480 +//!                CMMFDevVideoPlay:: Stop();
   1.481 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.482 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.483 +//!                CMMFDevVideoPlay:: Resume();
   1.484 +//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
   1.485 +//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
   1.486 +//!@SYMAuthor			alavariega
   1.487 +//!@SYMCreationDate		16/6/2008
   1.488 +//!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Rotation at 30 fps 3Mbps
   1.489 +//!@SYMTestActions
   1.490 +//!                1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.491 +//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
   1.492 +//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
   1.493 +//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.494 +//!                5. GetOutputFormatListL (useDecoder = TRUE) 
   1.495 +//!                6. PostProcessorInfoLC
   1.496 +//!                7. FindCommonFormat
   1.497 +//!                8. SetOutputFormatL  (useDecoder = TRUE)
   1.498 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.499 +//!                10. GetOutputFormatListL (useDecoder = FALSE)
   1.500 +//!                11. SetOutputFormatL(useDecoder = TRUE) 
   1.501 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
   1.502 +//!                13. ReturnHeader
   1.503 +//!                14. SetVideoDestScreenL
   1.504 +//!                15. SetPostProcessTypesL (combination = 4C)
   1.505 +//!                16. GetBufferOptions
   1.506 +//!                17. SetBufferOptionsL
   1.507 +//!                18. SetClockSource  (synch = 1; framerate = 30)
   1.508 +//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
   1.509 +//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
   1.510 +//!                21. Initialize
   1.511 +//!                OUTSTANDING
   1.512 +//!                22. StartDirectScreenAccess (displayMode = EColor64K)
   1.513 +//!                23. Start 
   1.514 +//!                OUTSTANDING
   1.515 +//!                24. Stop
   1.516 +//!                25. AbortDirectScreenAccess
   1.517 +//!                26. ~
   1.518 +//!@SYMTestStatus		Verified
   1.519 +//!@SYMTestPriority		Normal
   1.520 +//!@SYMTestExpectedResults
   1.521 +//!                Video must be played with rotation of 90 degrees and without any blurrness
   1.522 +//!@SYMTestType			CIT
   1.523 +
   1.524 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
   1.525 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.526 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-NewL_command01
   1.527 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SelectDecoderL_command02
   1.528 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SelectPostProcessorL_command03
   1.529 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetInputFormat_command04
   1.530 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetOutputFormatListL_command05
   1.531 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.532 +		COMMAND		mmfdvplay		FindCommonFormat
   1.533 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetOutputFormatL_command08
   1.534 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetInputFormat_command09
   1.535 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetOutputFormatListL_command10
   1.536 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetOutputFormatL_command11
   1.537 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetHeaderInformationL_command12
   1.538 +		COMMAND		mmfdvplay		ReturnHeader
   1.539 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.540 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetPostProcessTypesL_command15
   1.541 +		COMMAND		mmfdvplay		GetBufferOptions
   1.542 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.543 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetClockSource_command18
   1.544 +		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetScaleOptionsL_command19
   1.545 +		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetRotateOptionsL_command20
   1.546 +		COMMAND		mmfdvplay		Initialize
   1.547 +		OUTSTANDING
   1.548 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-StartDirectScreenAccess_command22
   1.549 +		COMMAND		mmfdvplay		Start
   1.550 +		OUTSTANDING
   1.551 +		COMMAND		mmfdvplay		Stop
   1.552 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.553 +		COMMAND		mmfdvplay		~
   1.554 +	END_TEST_BLOCK
   1.555 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
   1.556 +
   1.557 +
   1.558 +
   1.559 +
   1.560 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
   1.561 +
   1.562 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
   1.563 +//!@SYMAPI
   1.564 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.565 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.566 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.567 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.568 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.569 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.570 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.571 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.572 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.573 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.574 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.575 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.576 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.577 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.578 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.579 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.580 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.581 +//!                CMMFDevVideoPlay:: Initialize();
   1.582 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.583 +//!                CMMFDevVideoPlay:: Start();
   1.584 +//!                CMMFDevVideoPlay:: Stop();
   1.585 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.586 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.587 +//!                CMMFDevVideoPlay:: Resume();
   1.588 +//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
   1.589 +//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
   1.590 +//!@SYMAuthor			alavariega
   1.591 +//!@SYMCreationDate		16/6/2008
   1.592 +//!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_QVGA_30_3M - (180)
   1.593 +//!@SYMTestActions
   1.594 +//!                1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.595 +//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
   1.596 +//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
   1.597 +//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.598 +//!                5. GetOutputFormatListL (useDecoder = TRUE) 
   1.599 +//!                6. PostProcessorInfoLC
   1.600 +//!                7. FindCommonFormat
   1.601 +//!                8. SetOutputFormatL  (useDecoder = TRUE)
   1.602 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.603 +//!                10. GetOutputFormatListL (useDecoder = FALSE)
   1.604 +//!                11. SetOutputFormatL(useDecoder = TRUE) 
   1.605 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
   1.606 +//!                13. ReturnHeader
   1.607 +//!                14. SetVideoDestScreenL
   1.608 +//!                15. SetPostProcessTypesL (combination = 4C)
   1.609 +//!                16. GetBufferOptions
   1.610 +//!                17. SetBufferOptionsL
   1.611 +//!                18. SetClockSource  (synch = 1; framerate = 30)
   1.612 +//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
   1.613 +//!                20. SetRotateOptionsL (rotation = ERotate180)
   1.614 +//!                21. Initialize
   1.615 +//!                OUTSTANDING
   1.616 +//!                22. StartDirectScreenAccess (displayMode = EColor64K)
   1.617 +//!                23. Start 
   1.618 +//!                OUTSTANDING
   1.619 +//!                24. Stop
   1.620 +//!                25. AbortDirectScreenAccess
   1.621 +//!                26. ~
   1.622 +//!@SYMTestStatus		Verified
   1.623 +//!@SYMTestPriority		Normal
   1.624 +//!@SYMTestExpectedResults
   1.625 +//!                Video must be played with rotation of 180 degrees and without any blurrness
   1.626 +//!@SYMTestType			CIT
   1.627 +
   1.628 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
   1.629 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.630 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-NewL_command01
   1.631 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SelectDecoderL_command02
   1.632 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SelectPostProcessorL_command03
   1.633 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetInputFormat_command04
   1.634 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetOutputFormatListL_command05
   1.635 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.636 +		COMMAND		mmfdvplay		FindCommonFormat
   1.637 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetOutputFormatL_command08
   1.638 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetInputFormat_command09
   1.639 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetOutputFormatListL_command10
   1.640 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetOutputFormatL_command11
   1.641 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetHeaderInformationL_command12
   1.642 +		COMMAND		mmfdvplay		ReturnHeader
   1.643 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.644 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetPostProcessTypesL_command15
   1.645 +		COMMAND		mmfdvplay		GetBufferOptions
   1.646 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.647 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetClockSource_command18
   1.648 +		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetScaleOptionsL_command19
   1.649 +		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetRotateOptionsL_command20
   1.650 +		COMMAND		mmfdvplay		Initialize
   1.651 +		OUTSTANDING
   1.652 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-StartDirectScreenAccess_command22
   1.653 +		COMMAND		mmfdvplay		Start
   1.654 +		OUTSTANDING
   1.655 +		COMMAND		mmfdvplay		Stop
   1.656 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.657 +		COMMAND		mmfdvplay		~
   1.658 +	END_TEST_BLOCK
   1.659 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
   1.660 +
   1.661 +
   1.662 +
   1.663 +
   1.664 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
   1.665 +
   1.666 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
   1.667 +//!@SYMAPI
   1.668 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.669 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.670 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.671 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.672 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.673 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.674 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.675 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.676 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.677 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.678 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.679 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.680 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.681 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.682 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.683 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.684 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.685 +//!                CMMFDevVideoPlay:: Initialize();
   1.686 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.687 +//!                CMMFDevVideoPlay:: Start();
   1.688 +//!                CMMFDevVideoPlay:: Stop();
   1.689 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.690 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.691 +//!                CMMFDevVideoPlay:: Resume();
   1.692 +//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
   1.693 +//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
   1.694 +//!@SYMAuthor			alavariega
   1.695 +//!@SYMCreationDate		16/6/2008
   1.696 +//!@SYMTestCaseDesc		 NCP MPEG -4  SQCIF Video Rotation at 30 fps 3Mbps
   1.697 +//!@SYMTestActions
   1.698 +//!                1. NewL (inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.699 +//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
   1.700 +//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
   1.701 +//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.702 +//!                5. GetOutputFormatListL (useDecoder = TRUE) 
   1.703 +//!                6. PostProcessorInfoLC
   1.704 +//!                7. FindCommonFormat
   1.705 +//!                8. SetOutputFormatL  (useDecoder = TRUE)
   1.706 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.707 +//!                10. GetOutputFormatListL (useDecoder = FALSE)
   1.708 +//!                11. SetOutputFormatL(useDecoder = TRUE) 
   1.709 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
   1.710 +//!                13. ReturnHeader
   1.711 +//!                14. SetVideoDestScreenL
   1.712 +//!                15. SetPostProcessTypesL (combination = 4C)
   1.713 +//!                16. GetBufferOptions
   1.714 +//!                17. SetBufferOptionsL
   1.715 +//!                18. SetClockSource  (synch = 1; framerate = 30)
   1.716 +//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
   1.717 +//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
   1.718 +//!                21. Initialize
   1.719 +//!                OUTSTANDING
   1.720 +//!                22. StartDirectScreenAccess (displayMode = EColor64K)
   1.721 +//!                23. Start 
   1.722 +//!                OUTSTANDING
   1.723 +//!                24. Stop
   1.724 +//!                25. AbortDirectScreenAccess
   1.725 +//!                26. ~
   1.726 +//!@SYMTestStatus		Verified
   1.727 +//!@SYMTestPriority		Normal
   1.728 +//!@SYMTestExpectedResults
   1.729 +//!                Video must be played with rotation of 90 degrees and without any blurrness
   1.730 +//!@SYMTestType			CIT
   1.731 +
   1.732 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
   1.733 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.734 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-NewL_command01
   1.735 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SelectDecoderL_command02
   1.736 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SelectPostProcessorL_command03
   1.737 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetInputFormat_command04
   1.738 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetOutputFormatListL_command05
   1.739 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.740 +		COMMAND		mmfdvplay		FindCommonFormat
   1.741 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetOutputFormatL_command08
   1.742 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetInputFormat_command09
   1.743 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetOutputFormatListL_command10
   1.744 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetOutputFormatL_command11
   1.745 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetHeaderInformationL_command12
   1.746 +		COMMAND		mmfdvplay		ReturnHeader
   1.747 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.748 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetPostProcessTypesL_command15
   1.749 +		COMMAND		mmfdvplay		GetBufferOptions
   1.750 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.751 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetClockSource_command18
   1.752 +		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetScaleOptionsL_command19
   1.753 +		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetRotateOptionsL_command20
   1.754 +		COMMAND		mmfdvplay		Initialize
   1.755 +		OUTSTANDING
   1.756 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-StartDirectScreenAccess_command22
   1.757 +		COMMAND		mmfdvplay		Start
   1.758 +		OUTSTANDING
   1.759 +		COMMAND		mmfdvplay		Stop
   1.760 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.761 +		COMMAND		mmfdvplay		~
   1.762 +	END_TEST_BLOCK
   1.763 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
   1.764 +
   1.765 +
   1.766 +
   1.767 +
   1.768 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
   1.769 +
   1.770 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
   1.771 +//!@SYMAPI
   1.772 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.773 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.774 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.775 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.776 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.777 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.778 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.779 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.780 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.781 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.782 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.783 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.784 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.785 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.786 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.787 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.788 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.789 +//!                CMMFDevVideoPlay:: Initialize();
   1.790 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.791 +//!                CMMFDevVideoPlay:: Start();
   1.792 +//!                CMMFDevVideoPlay:: Stop();
   1.793 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.794 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.795 +//!                CMMFDevVideoPlay:: Resume();
   1.796 +//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
   1.797 +//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
   1.798 +//!@SYMAuthor			alavariega
   1.799 +//!@SYMCreationDate		16/6/2008
   1.800 +//!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_SQCIF_30_3M - (180)
   1.801 +//!@SYMTestActions
   1.802 +//!                1. NewL (inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.803 +//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
   1.804 +//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
   1.805 +//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.806 +//!                5. GetOutputFormatListL (useDecoder = TRUE) 
   1.807 +//!                6. PostProcessorInfoLC
   1.808 +//!                7. FindCommonFormat
   1.809 +//!                8. SetOutputFormatL  (useDecoder = TRUE)
   1.810 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.811 +//!                10. GetOutputFormatListL (useDecoder = FALSE)
   1.812 +//!                11. SetOutputFormatL(useDecoder = TRUE) 
   1.813 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
   1.814 +//!                13. ReturnHeader
   1.815 +//!                14. SetVideoDestScreenL
   1.816 +//!                15. SetPostProcessTypesL (combination = 4C)
   1.817 +//!                16. GetBufferOptions
   1.818 +//!                17. SetBufferOptionsL
   1.819 +//!                18. SetClockSource  (synch = 1; framerate = 30)
   1.820 +//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
   1.821 +//!                20. SetRotateOptionsL (rotation = ERotate180)
   1.822 +//!                21. Initialize
   1.823 +//!                OUTSTANDING
   1.824 +//!                22. StartDirectScreenAccess (displayMode = EColor64K)
   1.825 +//!                23. Start 
   1.826 +//!                OUTSTANDING
   1.827 +//!                24. Stop
   1.828 +//!                25. AbortDirectScreenAccess
   1.829 +//!                26. ~
   1.830 +//!@SYMTestStatus		Verified
   1.831 +//!@SYMTestPriority		Normal
   1.832 +//!@SYMTestExpectedResults
   1.833 +//!                Video must be played with rotation of 180 degrees and without any blurrness
   1.834 +//!@SYMTestType			CIT
   1.835 +
   1.836 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
   1.837 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.838 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-NewL_command01
   1.839 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SelectDecoderL_command02
   1.840 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SelectPostProcessorL_command03
   1.841 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetInputFormat_command04
   1.842 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetOutputFormatListL_command05
   1.843 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.844 +		COMMAND		mmfdvplay		FindCommonFormat
   1.845 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetOutputFormatL_command08
   1.846 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetInputFormat_command09
   1.847 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetOutputFormatListL_command10
   1.848 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetOutputFormatL_command11
   1.849 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetHeaderInformationL_command12
   1.850 +		COMMAND		mmfdvplay		ReturnHeader
   1.851 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.852 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetPostProcessTypesL_command15
   1.853 +		COMMAND		mmfdvplay		GetBufferOptions
   1.854 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.855 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetClockSource_command18
   1.856 +		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetScaleOptionsL_command19
   1.857 +		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetRotateOptionsL_command20
   1.858 +		COMMAND		mmfdvplay		Initialize
   1.859 +		OUTSTANDING
   1.860 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-StartDirectScreenAccess_command22
   1.861 +		COMMAND		mmfdvplay		Start
   1.862 +		OUTSTANDING
   1.863 +		COMMAND		mmfdvplay		Stop
   1.864 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.865 +		COMMAND		mmfdvplay		~
   1.866 +	END_TEST_BLOCK
   1.867 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
   1.868 +
   1.869 +
   1.870 +
   1.871 +
   1.872 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
   1.873 +
   1.874 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
   1.875 +//!@SYMAPI
   1.876 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.877 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.878 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.879 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.880 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.881 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.882 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.883 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.884 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.885 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.886 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.887 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.888 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.889 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.890 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.891 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.892 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.893 +//!                CMMFDevVideoPlay:: Initialize();
   1.894 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.895 +//!                CMMFDevVideoPlay:: Start();
   1.896 +//!                CMMFDevVideoPlay:: Stop();
   1.897 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.898 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.899 +//!                CMMFDevVideoPlay:: Resume();
   1.900 +//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
   1.901 +//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
   1.902 +//!@SYMAuthor			alavariega
   1.903 +//!@SYMCreationDate		16/6/2008
   1.904 +//!@SYMTestCaseDesc		 NCP MPEG -4  VGA Video Rotation at 30 fps 3Mbps
   1.905 +//!@SYMTestActions
   1.906 +//!                1. NewL (inputfile = MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.907 +//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
   1.908 +//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
   1.909 +//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.910 +//!                5. GetOutputFormatListL (useDecoder = TRUE) 
   1.911 +//!                6. PostProcessorInfoLC
   1.912 +//!                7. FindCommonFormat
   1.913 +//!                8. SetOutputFormatL  (useDecoder = TRUE)
   1.914 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.915 +//!                10. GetOutputFormatListL (useDecoder = FALSE)
   1.916 +//!                11. SetOutputFormatL(useDecoder = TRUE) 
   1.917 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
   1.918 +//!                13. ReturnHeader
   1.919 +//!                14. SetVideoDestScreenL
   1.920 +//!                15. SetPostProcessTypesL (combination = 4C)
   1.921 +//!                16. GetBufferOptions
   1.922 +//!                17. SetBufferOptionsL
   1.923 +//!                18. SetClockSource  (synch = 1; framerate = 30)
   1.924 +//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
   1.925 +//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
   1.926 +//!                21. Initialize
   1.927 +//!                OUTSTANDING
   1.928 +//!                22. StartDirectScreenAccess (displayMode = EColor64K)
   1.929 +//!                23. Start 
   1.930 +//!                OUTSTANDING
   1.931 +//!                24. Stop
   1.932 +//!                25. AbortDirectScreenAccess
   1.933 +//!                26. ~
   1.934 +//!@SYMTestStatus		Verified
   1.935 +//!@SYMTestPriority		Normal
   1.936 +//!@SYMTestExpectedResults
   1.937 +//!                Video must be played with rotation of 90 degrees and without any blurrness
   1.938 +//!@SYMTestType			CIT
   1.939 +
   1.940 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
   1.941 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.942 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-NewL_command01
   1.943 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SelectDecoderL_command02
   1.944 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SelectPostProcessorL_command03
   1.945 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetInputFormat_command04
   1.946 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetOutputFormatListL_command05
   1.947 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.948 +		COMMAND		mmfdvplay		FindCommonFormat
   1.949 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetOutputFormatL_command08
   1.950 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetInputFormat_command09
   1.951 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetOutputFormatListL_command10
   1.952 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetOutputFormatL_command11
   1.953 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetHeaderInformationL_command12
   1.954 +		COMMAND		mmfdvplay		ReturnHeader
   1.955 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.956 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetPostProcessTypesL_command15
   1.957 +		COMMAND		mmfdvplay		GetBufferOptions
   1.958 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.959 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetClockSource_command18
   1.960 +		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetScaleOptionsL_command19
   1.961 +		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetRotateOptionsL_command20
   1.962 +		COMMAND		mmfdvplay		Initialize
   1.963 +		OUTSTANDING
   1.964 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-StartDirectScreenAccess_command22
   1.965 +		COMMAND		mmfdvplay		Start
   1.966 +		OUTSTANDING
   1.967 +		COMMAND		mmfdvplay		Stop
   1.968 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.969 +		COMMAND		mmfdvplay		~
   1.970 +	END_TEST_BLOCK
   1.971 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
   1.972 +
   1.973 +
   1.974 +
   1.975 +
   1.976 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010
   1.977 +
   1.978 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010
   1.979 +//!@SYMAPI
   1.980 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.981 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.982 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.983 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.984 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.985 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.986 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.987 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.988 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.989 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.990 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.991 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.992 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.993 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.994 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.995 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.996 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.997 +//!                CMMFDevVideoPlay:: Initialize();
   1.998 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.999 +//!                CMMFDevVideoPlay:: Start();
  1.1000 +//!                CMMFDevVideoPlay:: Stop();
  1.1001 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
  1.1002 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
  1.1003 +//!                CMMFDevVideoPlay:: Resume();
  1.1004 +//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
  1.1005 +//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
  1.1006 +//!@SYMAuthor			alavariega
  1.1007 +//!@SYMCreationDate		16/6/2008
  1.1008 +//!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_VGA_30_3M - (180)
  1.1009 +//!@SYMTestActions
  1.1010 +//!                1. NewL (inputfile = MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
  1.1011 +//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
  1.1012 +//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
  1.1013 +//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
  1.1014 +//!                5. GetOutputFormatListL (useDecoder = TRUE) 
  1.1015 +//!                6. PostProcessorInfoLC
  1.1016 +//!                7. FindCommonFormat
  1.1017 +//!                8. SetOutputFormatL  (useDecoder = TRUE)
  1.1018 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
  1.1019 +//!                10. GetOutputFormatListL (useDecoder = FALSE)
  1.1020 +//!                11. SetOutputFormatL(useDecoder = TRUE) 
  1.1021 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
  1.1022 +//!                13. ReturnHeader
  1.1023 +//!                14. SetVideoDestScreenL
  1.1024 +//!                15. SetPostProcessTypesL (combination = 4C)
  1.1025 +//!                16. GetBufferOptions
  1.1026 +//!                17. SetBufferOptionsL
  1.1027 +//!                18. SetClockSource  (synch = 1; framerate = 30)
  1.1028 +//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
  1.1029 +//!                20. SetRotateOptionsL (rotation = ERotate180)
  1.1030 +//!                21. Initialize
  1.1031 +//!                OUTSTANDING
  1.1032 +//!                22. StartDirectScreenAccess (displayMode = EColor64K)
  1.1033 +//!                23. Start 
  1.1034 +//!                OUTSTANDING
  1.1035 +//!                24. Stop
  1.1036 +//!                25. AbortDirectScreenAccess
  1.1037 +//!                26. ~
  1.1038 +//!@SYMTestStatus		Verified
  1.1039 +//!@SYMTestPriority		Normal
  1.1040 +//!@SYMTestExpectedResults
  1.1041 +//!                Video must be played with rotation of 180 degrees and without any blurrness
  1.1042 +//!@SYMTestType			CIT
  1.1043 +
  1.1044 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
  1.1045 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
  1.1046 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-NewL_command01
  1.1047 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SelectDecoderL_command02
  1.1048 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SelectPostProcessorL_command03
  1.1049 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetInputFormat_command04
  1.1050 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetOutputFormatListL_command05
  1.1051 +		COMMAND		mmfdvplay		PostProcessorInfoLC
  1.1052 +		COMMAND		mmfdvplay		FindCommonFormat
  1.1053 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetOutputFormatL_command08
  1.1054 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetInputFormat_command09
  1.1055 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetOutputFormatListL_command10
  1.1056 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetOutputFormatL_command11
  1.1057 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetHeaderInformationL_command12
  1.1058 +		COMMAND		mmfdvplay		ReturnHeader
  1.1059 +		COMMAND		mmfdvplay		SetVideoDestScreenL
  1.1060 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetPostProcessTypesL_command15
  1.1061 +		COMMAND		mmfdvplay		GetBufferOptions
  1.1062 +		COMMAND		mmfdvplay		SetBufferOptionsL
  1.1063 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetClockSource_command18
  1.1064 +		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetScaleOptionsL_command19
  1.1065 +		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetRotateOptionsL_command20
  1.1066 +		COMMAND		mmfdvplay		Initialize
  1.1067 +		OUTSTANDING
  1.1068 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-StartDirectScreenAccess_command22
  1.1069 +		COMMAND		mmfdvplay		Start
  1.1070 +		OUTSTANDING
  1.1071 +		COMMAND		mmfdvplay		Stop
  1.1072 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
  1.1073 +		COMMAND		mmfdvplay		~
  1.1074 +	END_TEST_BLOCK
  1.1075 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010