mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-rotation-automated.script
branchRCL_3
changeset 23 545d349d14da
equal deleted inserted replaced
20:67584cc761d1 23:545d349d14da
       
     1 //
       
     2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description: 
       
    15 //
       
    16 //
       
    17 //! @file
       
    18 //! @SYMTestSuiteName mm-mmf-devvideo-playback-mpeg4-rotation-automated
       
    19 //! @SYMScriptTestEnvironment This test script requires a basic ROM.
       
    20 //
       
    21 // Tests all public elements of the MMMFDevVideoPlayObserver,CMMFDevVideoPlay 
       
    22 // classes as a means of confidence that the APIs work as expected.
       
    23 // 
       
    24 // The purpose is to provide a regression test suite of PublishedAll
       
    25 // APIs for: MMMFDevVideoPlayObserver,CMMFDevVideoPlay 
       
    26 // The tests are fully automated.
       
    27 //
       
    28 
       
    29 
       
    30 
       
    31 LOAD_SUITE t_devvideo
       
    32 
       
    33 
       
    34 
       
    35 DELAY 2000
       
    36 
       
    37 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0001
       
    38 
       
    39 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0001
       
    40 //!@SYMAPI
       
    41 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
    42 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
    43 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
    44 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
    45 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
    46 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
    47 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
    48 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
    49 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
    50 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
    51 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
    52 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
    53 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
    54 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
    55 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
    56 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
    57 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
    58 //!                CMMFDevVideoPlay:: Initialize();
       
    59 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
    60 //!                CMMFDevVideoPlay:: Start();
       
    61 //!                CMMFDevVideoPlay:: Stop();
       
    62 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
    63 //!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
       
    64 //!                CMMFDevVideoPlay:: Resume();
       
    65 //!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
       
    66 //!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
       
    67 //!@SYMAuthor			alavariega
       
    68 //!@SYMCreationDate		16/6/2008
       
    69 //!@SYMTestCaseDesc		 NCP MPEG4 NTSC Video Rotation at 30 fps 4Mbps
       
    70 //!@SYMTestActions
       
    71 //!                1. NewL (inputfile = akiyo_ntsc_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
    72 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
    73 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
    74 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
    75 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
    76 //!                6. PostProcessorInfoLC
       
    77 //!                7. FindCommonFormat
       
    78 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
    79 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
    80 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
    81 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
    82 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
    83 //!                13. ReturnHeader
       
    84 //!                14. SetVideoDestScreenL
       
    85 //!                15. SetPostProcessTypesL (combination = 4C)
       
    86 //!                16. GetBufferOptions
       
    87 //!                17. SetBufferOptionsL
       
    88 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
    89 //!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
       
    90 //!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
       
    91 //!                21. Initialize
       
    92 //!                OUTSTANDING
       
    93 //!                22. StartDirectScreenAccess (displayMode = EColor64K)
       
    94 //!                23. Start 
       
    95 //!                OUTSTANDING
       
    96 //!                24. Stop
       
    97 //!                25. AbortDirectScreenAccess
       
    98 //!                26. ~
       
    99 //!@SYMTestStatus		Verified
       
   100 //!@SYMTestPriority		Normal
       
   101 //!@SYMTestExpectedResults
       
   102 //!                Video must be played with rotation of 90 degrees and without any blurrness
       
   103 //!@SYMTestType			CIT
       
   104 
       
   105 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
       
   106 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   107 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-NewL_command01
       
   108 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SelectDecoderL_command02
       
   109 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SelectPostProcessorL_command03
       
   110 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetInputFormat_command04
       
   111 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetOutputFormatListL_command05
       
   112 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   113 		COMMAND		mmfdvplay		FindCommonFormat
       
   114 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetOutputFormatL_command08
       
   115 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetInputFormat_command09
       
   116 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetOutputFormatListL_command10
       
   117 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetOutputFormatL_command11
       
   118 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetHeaderInformationL_command12
       
   119 		COMMAND		mmfdvplay		ReturnHeader
       
   120 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   121 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetPostProcessTypesL_command15
       
   122 		COMMAND		mmfdvplay		GetBufferOptions
       
   123 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   124 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetClockSource_command18
       
   125 		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetScaleOptionsL_command19
       
   126 		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetRotateOptionsL_command20
       
   127 		COMMAND		mmfdvplay		Initialize
       
   128 		OUTSTANDING
       
   129 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-StartDirectScreenAccess_command22
       
   130 		COMMAND		mmfdvplay		Start
       
   131 		OUTSTANDING
       
   132 		COMMAND		mmfdvplay		Stop
       
   133 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   134 		COMMAND		mmfdvplay		~
       
   135 	END_TEST_BLOCK
       
   136 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0001
       
   137 
       
   138 
       
   139 
       
   140 
       
   141 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
       
   142 
       
   143 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
       
   144 //!@SYMAPI
       
   145 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   146 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   147 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   148 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   149 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   150 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   151 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   152 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   153 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   154 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   155 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   156 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   157 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   158 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   159 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   160 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   161 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   162 //!                CMMFDevVideoPlay:: Initialize();
       
   163 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   164 //!                CMMFDevVideoPlay:: Start();
       
   165 //!                CMMFDevVideoPlay:: Stop();
       
   166 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   167 //!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
       
   168 //!                CMMFDevVideoPlay:: Resume();
       
   169 //!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
       
   170 //!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
       
   171 //!@SYMAuthor			alavariega
       
   172 //!@SYMCreationDate		16/6/2008
       
   173 //!@SYMTestCaseDesc		 NCP MPEG4 PAL Video Rotation at 25 fps 4Mbps
       
   174 //!@SYMTestActions
       
   175 //!                1. NewL (inputfile = akiyo_pal_25fps_4M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   176 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   177 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   178 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   179 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   180 //!                6. PostProcessorInfoLC
       
   181 //!                7. FindCommonFormat
       
   182 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   183 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   184 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   185 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   186 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   187 //!                13. ReturnHeader
       
   188 //!                14. SetVideoDestScreenL
       
   189 //!                15. SetPostProcessTypesL (combination = 4C)
       
   190 //!                16. GetBufferOptions
       
   191 //!                17. SetBufferOptionsL
       
   192 //!                18. SetClockSource  (synch = 1; framerate = 25)
       
   193 //!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
       
   194 //!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
       
   195 //!                21. Initialize
       
   196 //!                OUTSTANDING
       
   197 //!                22. StartDirectScreenAccess (displayMode = EColor64K)
       
   198 //!                23. Start 
       
   199 //!                OUTSTANDING
       
   200 //!                24. Stop
       
   201 //!                25. AbortDirectScreenAccess
       
   202 //!                26. ~
       
   203 //!@SYMTestStatus		Verified
       
   204 //!@SYMTestPriority		Normal
       
   205 //!@SYMTestExpectedResults
       
   206 //!                Video must be played with rotation of 90 degrees and without any blurrness
       
   207 //!@SYMTestType			CIT
       
   208 
       
   209 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
       
   210 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   211 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-NewL_command01
       
   212 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SelectDecoderL_command02
       
   213 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SelectPostProcessorL_command03
       
   214 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetInputFormat_command04
       
   215 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetOutputFormatListL_command05
       
   216 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   217 		COMMAND		mmfdvplay		FindCommonFormat
       
   218 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetOutputFormatL_command08
       
   219 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetInputFormat_command09
       
   220 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetOutputFormatListL_command10
       
   221 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetOutputFormatL_command11
       
   222 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetHeaderInformationL_command12
       
   223 		COMMAND		mmfdvplay		ReturnHeader
       
   224 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   225 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetPostProcessTypesL_command15
       
   226 		COMMAND		mmfdvplay		GetBufferOptions
       
   227 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   228 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetClockSource_command18
       
   229 		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetScaleOptionsL_command19
       
   230 		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetRotateOptionsL_command20
       
   231 		COMMAND		mmfdvplay		Initialize
       
   232 		OUTSTANDING
       
   233 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-StartDirectScreenAccess_command22
       
   234 		COMMAND		mmfdvplay		Start
       
   235 		OUTSTANDING
       
   236 		COMMAND		mmfdvplay		Stop
       
   237 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   238 		COMMAND		mmfdvplay		~
       
   239 	END_TEST_BLOCK
       
   240 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
       
   241 
       
   242 
       
   243 
       
   244 
       
   245 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
       
   246 
       
   247 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
       
   248 //!@SYMAPI
       
   249 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   250 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   251 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   252 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   253 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   254 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   255 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   256 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   257 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   258 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   259 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   260 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   261 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   262 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   263 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   264 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   265 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   266 //!                CMMFDevVideoPlay:: Initialize();
       
   267 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   268 //!                CMMFDevVideoPlay:: Start();
       
   269 //!                CMMFDevVideoPlay:: Stop();
       
   270 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   271 //!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
       
   272 //!                CMMFDevVideoPlay:: Resume();
       
   273 //!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
       
   274 //!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
       
   275 //!@SYMAuthor			alavariega
       
   276 //!@SYMCreationDate		16/6/2008
       
   277 //!@SYMTestCaseDesc		 NCP MPEG -4  CIF Video Rotation at 30 fps 3Mbps
       
   278 //!@SYMTestActions
       
   279 //!                1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   280 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   281 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   282 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   283 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   284 //!                6. PostProcessorInfoLC
       
   285 //!                7. FindCommonFormat
       
   286 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   287 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   288 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   289 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   290 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   291 //!                13. ReturnHeader
       
   292 //!                14. SetVideoDestScreenL
       
   293 //!                15. SetPostProcessTypesL (combination = 4C)
       
   294 //!                16. GetBufferOptions
       
   295 //!                17. SetBufferOptionsL
       
   296 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
   297 //!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
       
   298 //!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
       
   299 //!                21. Initialize
       
   300 //!                OUTSTANDING
       
   301 //!                22. StartDirectScreenAccess (displayMode = EColor64K)
       
   302 //!                23. Start 
       
   303 //!                OUTSTANDING
       
   304 //!                24. Stop
       
   305 //!                25. AbortDirectScreenAccess
       
   306 //!                26. ~
       
   307 //!@SYMTestStatus		Verified
       
   308 //!@SYMTestPriority		Normal
       
   309 //!@SYMTestExpectedResults
       
   310 //!                Video must be played with rotation of 90 degrees and without any blurrness
       
   311 //!@SYMTestType			CIT
       
   312 
       
   313 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
       
   314 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   315 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-NewL_command01
       
   316 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SelectDecoderL_command02
       
   317 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SelectPostProcessorL_command03
       
   318 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetInputFormat_command04
       
   319 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetOutputFormatListL_command05
       
   320 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   321 		COMMAND		mmfdvplay		FindCommonFormat
       
   322 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetOutputFormatL_command08
       
   323 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetInputFormat_command09
       
   324 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetOutputFormatListL_command10
       
   325 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetOutputFormatL_command11
       
   326 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetHeaderInformationL_command12
       
   327 		COMMAND		mmfdvplay		ReturnHeader
       
   328 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   329 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetPostProcessTypesL_command15
       
   330 		COMMAND		mmfdvplay		GetBufferOptions
       
   331 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   332 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetClockSource_command18
       
   333 		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetScaleOptionsL_command19
       
   334 		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetRotateOptionsL_command20
       
   335 		COMMAND		mmfdvplay		Initialize
       
   336 		OUTSTANDING
       
   337 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-StartDirectScreenAccess_command22
       
   338 		COMMAND		mmfdvplay		Start
       
   339 		OUTSTANDING
       
   340 		COMMAND		mmfdvplay		Stop
       
   341 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   342 		COMMAND		mmfdvplay		~
       
   343 	END_TEST_BLOCK
       
   344 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
       
   345 
       
   346 
       
   347 
       
   348 
       
   349 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
       
   350 
       
   351 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
       
   352 //!@SYMAPI
       
   353 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   354 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   355 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   356 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   357 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   358 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   359 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   360 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   361 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   362 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   363 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   364 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   365 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   366 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   367 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   368 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   369 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   370 //!                CMMFDevVideoPlay:: Initialize();
       
   371 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   372 //!                CMMFDevVideoPlay:: Start();
       
   373 //!                CMMFDevVideoPlay:: Stop();
       
   374 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   375 //!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
       
   376 //!                CMMFDevVideoPlay:: Resume();
       
   377 //!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
       
   378 //!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
       
   379 //!@SYMAuthor			alavariega
       
   380 //!@SYMCreationDate		16/6/2008
       
   381 //!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_CIF_30_3M
       
   382 //!@SYMTestActions
       
   383 //!                1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   384 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   385 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   386 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   387 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   388 //!                6. PostProcessorInfoLC
       
   389 //!                7. FindCommonFormat
       
   390 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   391 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   392 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   393 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   394 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   395 //!                13. ReturnHeader
       
   396 //!                14. SetVideoDestScreenL
       
   397 //!                15. SetPostProcessTypesL (combination = 4C)
       
   398 //!                16. GetBufferOptions
       
   399 //!                17. SetBufferOptionsL
       
   400 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
   401 //!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
       
   402 //!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
       
   403 //!                21. Initialize
       
   404 //!                OUTSTANDING
       
   405 //!                22. StartDirectScreenAccess (displayMode = EColor64K)
       
   406 //!                23. Start 
       
   407 //!                OUTSTANDING
       
   408 //!                24. Stop
       
   409 //!                25. AbortDirectScreenAccess
       
   410 //!                26. ~
       
   411 //!@SYMTestStatus		Verified
       
   412 //!@SYMTestPriority		Normal
       
   413 //!@SYMTestExpectedResults
       
   414 //!                Video must be played with rotation of 90 degrees and without any blurrness
       
   415 //!@SYMTestType			CIT
       
   416 
       
   417 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
       
   418 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   419 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-NewL_command01
       
   420 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SelectDecoderL_command02
       
   421 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SelectPostProcessorL_command03
       
   422 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetInputFormat_command04
       
   423 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetOutputFormatListL_command05
       
   424 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   425 		COMMAND		mmfdvplay		FindCommonFormat
       
   426 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetOutputFormatL_command08
       
   427 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetInputFormat_command09
       
   428 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetOutputFormatListL_command10
       
   429 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetOutputFormatL_command11
       
   430 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetHeaderInformationL_command12
       
   431 		COMMAND		mmfdvplay		ReturnHeader
       
   432 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   433 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetPostProcessTypesL_command15
       
   434 		COMMAND		mmfdvplay		GetBufferOptions
       
   435 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   436 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetClockSource_command18
       
   437 		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetScaleOptionsL_command19
       
   438 		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetRotateOptionsL_command20
       
   439 		COMMAND		mmfdvplay		Initialize
       
   440 		OUTSTANDING
       
   441 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-StartDirectScreenAccess_command22
       
   442 		COMMAND		mmfdvplay		Start
       
   443 		OUTSTANDING
       
   444 		COMMAND		mmfdvplay		Stop
       
   445 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   446 		COMMAND		mmfdvplay		~
       
   447 	END_TEST_BLOCK
       
   448 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
       
   449 
       
   450 
       
   451 
       
   452 
       
   453 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
       
   454 
       
   455 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
       
   456 //!@SYMAPI
       
   457 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   458 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   459 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   460 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   461 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   462 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   463 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   464 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   465 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   466 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   467 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   468 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   469 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   470 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   471 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   472 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   473 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   474 //!                CMMFDevVideoPlay:: Initialize();
       
   475 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   476 //!                CMMFDevVideoPlay:: Start();
       
   477 //!                CMMFDevVideoPlay:: Stop();
       
   478 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   479 //!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
       
   480 //!                CMMFDevVideoPlay:: Resume();
       
   481 //!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
       
   482 //!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
       
   483 //!@SYMAuthor			alavariega
       
   484 //!@SYMCreationDate		16/6/2008
       
   485 //!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Rotation at 30 fps 3Mbps
       
   486 //!@SYMTestActions
       
   487 //!                1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   488 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   489 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   490 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   491 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   492 //!                6. PostProcessorInfoLC
       
   493 //!                7. FindCommonFormat
       
   494 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   495 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   496 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   497 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   498 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   499 //!                13. ReturnHeader
       
   500 //!                14. SetVideoDestScreenL
       
   501 //!                15. SetPostProcessTypesL (combination = 4C)
       
   502 //!                16. GetBufferOptions
       
   503 //!                17. SetBufferOptionsL
       
   504 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
   505 //!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
       
   506 //!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
       
   507 //!                21. Initialize
       
   508 //!                OUTSTANDING
       
   509 //!                22. StartDirectScreenAccess (displayMode = EColor64K)
       
   510 //!                23. Start 
       
   511 //!                OUTSTANDING
       
   512 //!                24. Stop
       
   513 //!                25. AbortDirectScreenAccess
       
   514 //!                26. ~
       
   515 //!@SYMTestStatus		Verified
       
   516 //!@SYMTestPriority		Normal
       
   517 //!@SYMTestExpectedResults
       
   518 //!                Video must be played with rotation of 90 degrees and without any blurrness
       
   519 //!@SYMTestType			CIT
       
   520 
       
   521 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
       
   522 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   523 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-NewL_command01
       
   524 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SelectDecoderL_command02
       
   525 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SelectPostProcessorL_command03
       
   526 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetInputFormat_command04
       
   527 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetOutputFormatListL_command05
       
   528 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   529 		COMMAND		mmfdvplay		FindCommonFormat
       
   530 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetOutputFormatL_command08
       
   531 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetInputFormat_command09
       
   532 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetOutputFormatListL_command10
       
   533 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetOutputFormatL_command11
       
   534 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetHeaderInformationL_command12
       
   535 		COMMAND		mmfdvplay		ReturnHeader
       
   536 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   537 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetPostProcessTypesL_command15
       
   538 		COMMAND		mmfdvplay		GetBufferOptions
       
   539 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   540 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetClockSource_command18
       
   541 		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetScaleOptionsL_command19
       
   542 		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetRotateOptionsL_command20
       
   543 		COMMAND		mmfdvplay		Initialize
       
   544 		OUTSTANDING
       
   545 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-StartDirectScreenAccess_command22
       
   546 		COMMAND		mmfdvplay		Start
       
   547 		OUTSTANDING
       
   548 		COMMAND		mmfdvplay		Stop
       
   549 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   550 		COMMAND		mmfdvplay		~
       
   551 	END_TEST_BLOCK
       
   552 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
       
   553 
       
   554 
       
   555 
       
   556 
       
   557 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
       
   558 
       
   559 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
       
   560 //!@SYMAPI
       
   561 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   562 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   563 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   564 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   565 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   566 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   567 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   568 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   569 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   570 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   571 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   572 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   573 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   574 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   575 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   576 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   577 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   578 //!                CMMFDevVideoPlay:: Initialize();
       
   579 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   580 //!                CMMFDevVideoPlay:: Start();
       
   581 //!                CMMFDevVideoPlay:: Stop();
       
   582 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   583 //!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
       
   584 //!                CMMFDevVideoPlay:: Resume();
       
   585 //!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
       
   586 //!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
       
   587 //!@SYMAuthor			alavariega
       
   588 //!@SYMCreationDate		16/6/2008
       
   589 //!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_QVGA_30_3M - (180)
       
   590 //!@SYMTestActions
       
   591 //!                1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   592 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   593 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   594 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   595 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   596 //!                6. PostProcessorInfoLC
       
   597 //!                7. FindCommonFormat
       
   598 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   599 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   600 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   601 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   602 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   603 //!                13. ReturnHeader
       
   604 //!                14. SetVideoDestScreenL
       
   605 //!                15. SetPostProcessTypesL (combination = 4C)
       
   606 //!                16. GetBufferOptions
       
   607 //!                17. SetBufferOptionsL
       
   608 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
   609 //!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
       
   610 //!                20. SetRotateOptionsL (rotation = ERotate180)
       
   611 //!                21. Initialize
       
   612 //!                OUTSTANDING
       
   613 //!                22. StartDirectScreenAccess (displayMode = EColor64K)
       
   614 //!                23. Start 
       
   615 //!                OUTSTANDING
       
   616 //!                24. Stop
       
   617 //!                25. AbortDirectScreenAccess
       
   618 //!                26. ~
       
   619 //!@SYMTestStatus		Verified
       
   620 //!@SYMTestPriority		Normal
       
   621 //!@SYMTestExpectedResults
       
   622 //!                Video must be played with rotation of 180 degrees and without any blurrness
       
   623 //!@SYMTestType			CIT
       
   624 
       
   625 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
       
   626 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   627 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-NewL_command01
       
   628 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SelectDecoderL_command02
       
   629 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SelectPostProcessorL_command03
       
   630 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetInputFormat_command04
       
   631 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetOutputFormatListL_command05
       
   632 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   633 		COMMAND		mmfdvplay		FindCommonFormat
       
   634 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetOutputFormatL_command08
       
   635 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetInputFormat_command09
       
   636 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetOutputFormatListL_command10
       
   637 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetOutputFormatL_command11
       
   638 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetHeaderInformationL_command12
       
   639 		COMMAND		mmfdvplay		ReturnHeader
       
   640 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   641 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetPostProcessTypesL_command15
       
   642 		COMMAND		mmfdvplay		GetBufferOptions
       
   643 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   644 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetClockSource_command18
       
   645 		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetScaleOptionsL_command19
       
   646 		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetRotateOptionsL_command20
       
   647 		COMMAND		mmfdvplay		Initialize
       
   648 		OUTSTANDING
       
   649 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-StartDirectScreenAccess_command22
       
   650 		COMMAND		mmfdvplay		Start
       
   651 		OUTSTANDING
       
   652 		COMMAND		mmfdvplay		Stop
       
   653 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   654 		COMMAND		mmfdvplay		~
       
   655 	END_TEST_BLOCK
       
   656 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
       
   657 
       
   658 
       
   659 
       
   660 
       
   661 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
       
   662 
       
   663 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
       
   664 //!@SYMAPI
       
   665 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   666 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   667 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   668 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   669 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   670 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   671 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   672 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   673 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   674 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   675 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   676 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   677 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   678 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   679 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   680 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   681 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   682 //!                CMMFDevVideoPlay:: Initialize();
       
   683 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   684 //!                CMMFDevVideoPlay:: Start();
       
   685 //!                CMMFDevVideoPlay:: Stop();
       
   686 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   687 //!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
       
   688 //!                CMMFDevVideoPlay:: Resume();
       
   689 //!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
       
   690 //!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
       
   691 //!@SYMAuthor			alavariega
       
   692 //!@SYMCreationDate		16/6/2008
       
   693 //!@SYMTestCaseDesc		 NCP MPEG -4  SQCIF Video Rotation at 30 fps 3Mbps
       
   694 //!@SYMTestActions
       
   695 //!                1. NewL (inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   696 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   697 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   698 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   699 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   700 //!                6. PostProcessorInfoLC
       
   701 //!                7. FindCommonFormat
       
   702 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   703 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   704 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   705 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   706 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   707 //!                13. ReturnHeader
       
   708 //!                14. SetVideoDestScreenL
       
   709 //!                15. SetPostProcessTypesL (combination = 4C)
       
   710 //!                16. GetBufferOptions
       
   711 //!                17. SetBufferOptionsL
       
   712 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
   713 //!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
       
   714 //!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
       
   715 //!                21. Initialize
       
   716 //!                OUTSTANDING
       
   717 //!                22. StartDirectScreenAccess (displayMode = EColor64K)
       
   718 //!                23. Start 
       
   719 //!                OUTSTANDING
       
   720 //!                24. Stop
       
   721 //!                25. AbortDirectScreenAccess
       
   722 //!                26. ~
       
   723 //!@SYMTestStatus		Verified
       
   724 //!@SYMTestPriority		Normal
       
   725 //!@SYMTestExpectedResults
       
   726 //!                Video must be played with rotation of 90 degrees and without any blurrness
       
   727 //!@SYMTestType			CIT
       
   728 
       
   729 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
       
   730 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   731 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-NewL_command01
       
   732 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SelectDecoderL_command02
       
   733 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SelectPostProcessorL_command03
       
   734 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetInputFormat_command04
       
   735 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetOutputFormatListL_command05
       
   736 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   737 		COMMAND		mmfdvplay		FindCommonFormat
       
   738 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetOutputFormatL_command08
       
   739 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetInputFormat_command09
       
   740 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetOutputFormatListL_command10
       
   741 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetOutputFormatL_command11
       
   742 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetHeaderInformationL_command12
       
   743 		COMMAND		mmfdvplay		ReturnHeader
       
   744 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   745 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetPostProcessTypesL_command15
       
   746 		COMMAND		mmfdvplay		GetBufferOptions
       
   747 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   748 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetClockSource_command18
       
   749 		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetScaleOptionsL_command19
       
   750 		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetRotateOptionsL_command20
       
   751 		COMMAND		mmfdvplay		Initialize
       
   752 		OUTSTANDING
       
   753 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-StartDirectScreenAccess_command22
       
   754 		COMMAND		mmfdvplay		Start
       
   755 		OUTSTANDING
       
   756 		COMMAND		mmfdvplay		Stop
       
   757 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   758 		COMMAND		mmfdvplay		~
       
   759 	END_TEST_BLOCK
       
   760 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
       
   761 
       
   762 
       
   763 
       
   764 
       
   765 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
       
   766 
       
   767 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
       
   768 //!@SYMAPI
       
   769 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   770 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   771 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   772 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   773 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   774 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   775 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   776 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   777 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   778 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   779 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   780 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   781 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   782 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   783 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   784 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   785 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   786 //!                CMMFDevVideoPlay:: Initialize();
       
   787 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   788 //!                CMMFDevVideoPlay:: Start();
       
   789 //!                CMMFDevVideoPlay:: Stop();
       
   790 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   791 //!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
       
   792 //!                CMMFDevVideoPlay:: Resume();
       
   793 //!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
       
   794 //!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
       
   795 //!@SYMAuthor			alavariega
       
   796 //!@SYMCreationDate		16/6/2008
       
   797 //!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_SQCIF_30_3M - (180)
       
   798 //!@SYMTestActions
       
   799 //!                1. NewL (inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   800 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   801 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   802 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   803 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   804 //!                6. PostProcessorInfoLC
       
   805 //!                7. FindCommonFormat
       
   806 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   807 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   808 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   809 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   810 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   811 //!                13. ReturnHeader
       
   812 //!                14. SetVideoDestScreenL
       
   813 //!                15. SetPostProcessTypesL (combination = 4C)
       
   814 //!                16. GetBufferOptions
       
   815 //!                17. SetBufferOptionsL
       
   816 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
   817 //!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
       
   818 //!                20. SetRotateOptionsL (rotation = ERotate180)
       
   819 //!                21. Initialize
       
   820 //!                OUTSTANDING
       
   821 //!                22. StartDirectScreenAccess (displayMode = EColor64K)
       
   822 //!                23. Start 
       
   823 //!                OUTSTANDING
       
   824 //!                24. Stop
       
   825 //!                25. AbortDirectScreenAccess
       
   826 //!                26. ~
       
   827 //!@SYMTestStatus		Verified
       
   828 //!@SYMTestPriority		Normal
       
   829 //!@SYMTestExpectedResults
       
   830 //!                Video must be played with rotation of 180 degrees and without any blurrness
       
   831 //!@SYMTestType			CIT
       
   832 
       
   833 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
       
   834 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   835 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-NewL_command01
       
   836 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SelectDecoderL_command02
       
   837 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SelectPostProcessorL_command03
       
   838 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetInputFormat_command04
       
   839 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetOutputFormatListL_command05
       
   840 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   841 		COMMAND		mmfdvplay		FindCommonFormat
       
   842 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetOutputFormatL_command08
       
   843 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetInputFormat_command09
       
   844 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetOutputFormatListL_command10
       
   845 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetOutputFormatL_command11
       
   846 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetHeaderInformationL_command12
       
   847 		COMMAND		mmfdvplay		ReturnHeader
       
   848 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   849 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetPostProcessTypesL_command15
       
   850 		COMMAND		mmfdvplay		GetBufferOptions
       
   851 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   852 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetClockSource_command18
       
   853 		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetScaleOptionsL_command19
       
   854 		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetRotateOptionsL_command20
       
   855 		COMMAND		mmfdvplay		Initialize
       
   856 		OUTSTANDING
       
   857 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-StartDirectScreenAccess_command22
       
   858 		COMMAND		mmfdvplay		Start
       
   859 		OUTSTANDING
       
   860 		COMMAND		mmfdvplay		Stop
       
   861 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   862 		COMMAND		mmfdvplay		~
       
   863 	END_TEST_BLOCK
       
   864 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
       
   865 
       
   866 
       
   867 
       
   868 
       
   869 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
       
   870 
       
   871 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
       
   872 //!@SYMAPI
       
   873 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   874 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   875 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   876 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   877 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   878 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   879 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   880 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   881 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   882 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   883 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   884 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   885 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   886 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   887 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   888 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   889 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   890 //!                CMMFDevVideoPlay:: Initialize();
       
   891 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   892 //!                CMMFDevVideoPlay:: Start();
       
   893 //!                CMMFDevVideoPlay:: Stop();
       
   894 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   895 //!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
       
   896 //!                CMMFDevVideoPlay:: Resume();
       
   897 //!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
       
   898 //!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
       
   899 //!@SYMAuthor			alavariega
       
   900 //!@SYMCreationDate		16/6/2008
       
   901 //!@SYMTestCaseDesc		 NCP MPEG -4  VGA Video Rotation at 30 fps 3Mbps
       
   902 //!@SYMTestActions
       
   903 //!                1. NewL (inputfile = MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   904 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   905 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   906 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   907 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   908 //!                6. PostProcessorInfoLC
       
   909 //!                7. FindCommonFormat
       
   910 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   911 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   912 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   913 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   914 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   915 //!                13. ReturnHeader
       
   916 //!                14. SetVideoDestScreenL
       
   917 //!                15. SetPostProcessTypesL (combination = 4C)
       
   918 //!                16. GetBufferOptions
       
   919 //!                17. SetBufferOptionsL
       
   920 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
   921 //!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
       
   922 //!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
       
   923 //!                21. Initialize
       
   924 //!                OUTSTANDING
       
   925 //!                22. StartDirectScreenAccess (displayMode = EColor64K)
       
   926 //!                23. Start 
       
   927 //!                OUTSTANDING
       
   928 //!                24. Stop
       
   929 //!                25. AbortDirectScreenAccess
       
   930 //!                26. ~
       
   931 //!@SYMTestStatus		Verified
       
   932 //!@SYMTestPriority		Normal
       
   933 //!@SYMTestExpectedResults
       
   934 //!                Video must be played with rotation of 90 degrees and without any blurrness
       
   935 //!@SYMTestType			CIT
       
   936 
       
   937 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
       
   938 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   939 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-NewL_command01
       
   940 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SelectDecoderL_command02
       
   941 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SelectPostProcessorL_command03
       
   942 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetInputFormat_command04
       
   943 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetOutputFormatListL_command05
       
   944 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   945 		COMMAND		mmfdvplay		FindCommonFormat
       
   946 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetOutputFormatL_command08
       
   947 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetInputFormat_command09
       
   948 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetOutputFormatListL_command10
       
   949 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetOutputFormatL_command11
       
   950 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetHeaderInformationL_command12
       
   951 		COMMAND		mmfdvplay		ReturnHeader
       
   952 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   953 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetPostProcessTypesL_command15
       
   954 		COMMAND		mmfdvplay		GetBufferOptions
       
   955 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   956 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetClockSource_command18
       
   957 		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetScaleOptionsL_command19
       
   958 		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetRotateOptionsL_command20
       
   959 		COMMAND		mmfdvplay		Initialize
       
   960 		OUTSTANDING
       
   961 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-StartDirectScreenAccess_command22
       
   962 		COMMAND		mmfdvplay		Start
       
   963 		OUTSTANDING
       
   964 		COMMAND		mmfdvplay		Stop
       
   965 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   966 		COMMAND		mmfdvplay		~
       
   967 	END_TEST_BLOCK
       
   968 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
       
   969 
       
   970 
       
   971 
       
   972 
       
   973 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010
       
   974 
       
   975 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010
       
   976 //!@SYMAPI
       
   977 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   978 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   979 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   980 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   981 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   982 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   983 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   984 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   985 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   986 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   987 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   988 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   989 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   990 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   991 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   992 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   993 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   994 //!                CMMFDevVideoPlay:: Initialize();
       
   995 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   996 //!                CMMFDevVideoPlay:: Start();
       
   997 //!                CMMFDevVideoPlay:: Stop();
       
   998 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   999 //!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
       
  1000 //!                CMMFDevVideoPlay:: Resume();
       
  1001 //!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
       
  1002 //!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
       
  1003 //!@SYMAuthor			alavariega
       
  1004 //!@SYMCreationDate		16/6/2008
       
  1005 //!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_VGA_30_3M - (180)
       
  1006 //!@SYMTestActions
       
  1007 //!                1. NewL (inputfile = MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1008 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1009 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1010 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1011 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1012 //!                6. PostProcessorInfoLC
       
  1013 //!                7. FindCommonFormat
       
  1014 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1015 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1016 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1017 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1018 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1019 //!                13. ReturnHeader
       
  1020 //!                14. SetVideoDestScreenL
       
  1021 //!                15. SetPostProcessTypesL (combination = 4C)
       
  1022 //!                16. GetBufferOptions
       
  1023 //!                17. SetBufferOptionsL
       
  1024 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  1025 //!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
       
  1026 //!                20. SetRotateOptionsL (rotation = ERotate180)
       
  1027 //!                21. Initialize
       
  1028 //!                OUTSTANDING
       
  1029 //!                22. StartDirectScreenAccess (displayMode = EColor64K)
       
  1030 //!                23. Start 
       
  1031 //!                OUTSTANDING
       
  1032 //!                24. Stop
       
  1033 //!                25. AbortDirectScreenAccess
       
  1034 //!                26. ~
       
  1035 //!@SYMTestStatus		Verified
       
  1036 //!@SYMTestPriority		Normal
       
  1037 //!@SYMTestExpectedResults
       
  1038 //!                Video must be played with rotation of 180 degrees and without any blurrness
       
  1039 //!@SYMTestType			CIT
       
  1040 
       
  1041 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
       
  1042 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  1043 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-NewL_command01
       
  1044 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SelectDecoderL_command02
       
  1045 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SelectPostProcessorL_command03
       
  1046 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetInputFormat_command04
       
  1047 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetOutputFormatListL_command05
       
  1048 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  1049 		COMMAND		mmfdvplay		FindCommonFormat
       
  1050 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetOutputFormatL_command08
       
  1051 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetInputFormat_command09
       
  1052 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetOutputFormatListL_command10
       
  1053 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetOutputFormatL_command11
       
  1054 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetHeaderInformationL_command12
       
  1055 		COMMAND		mmfdvplay		ReturnHeader
       
  1056 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  1057 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetPostProcessTypesL_command15
       
  1058 		COMMAND		mmfdvplay		GetBufferOptions
       
  1059 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  1060 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetClockSource_command18
       
  1061 		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetScaleOptionsL_command19
       
  1062 		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetRotateOptionsL_command20
       
  1063 		COMMAND		mmfdvplay		Initialize
       
  1064 		OUTSTANDING
       
  1065 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-StartDirectScreenAccess_command22
       
  1066 		COMMAND		mmfdvplay		Start
       
  1067 		OUTSTANDING
       
  1068 		COMMAND		mmfdvplay		Stop
       
  1069 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  1070 		COMMAND		mmfdvplay		~
       
  1071 	END_TEST_BLOCK
       
  1072 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010