mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-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-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 DELAY 2000
       
    35 
       
    36 
       
    37 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0001
       
    38 
       
    39 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-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 //!@SYMAuthor			alavariega
       
    64 //!@SYMCreationDate		16/6/2008
       
    65 //!@SYMTestCaseDesc		 NCP MPEG -4 NTSC Video Playback at 30 fps 3Mbps
       
    66 //!@SYMTestActions
       
    67 //!                1. NewL (inputfile = akiyo_ntsc_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
    68 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
    69 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
    70 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
    71 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
    72 //!                6. PostProcessorInfoLC
       
    73 //!                7. FindCommonFormat
       
    74 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
    75 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
    76 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
    77 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
    78 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
    79 //!                13. ReturnHeader
       
    80 //!                14. SetVideoDestScreenL
       
    81 //!                15. SetPostProcessTypesL (combination = 44)
       
    82 //!                16. GetBufferOptions
       
    83 //!                17. SetBufferOptionsL
       
    84 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
    85 //!                19. Initialize
       
    86 //!                OUTSTANDING
       
    87 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
    88 //!                21. Start  
       
    89 //!                OUTSTANDING
       
    90 //!                22. Stop
       
    91 //!                23. AbortDirectScreenAccess
       
    92 //!                24. ~
       
    93 //!@SYMTestStatus		Verified
       
    94 //!@SYMTestPriority		Normal
       
    95 //!@SYMTestExpectedResults
       
    96 //!                Video must be played on the screen without any blurrness.
       
    97 //!@SYMTestType			CIT
       
    98 
       
    99 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
   100 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   101 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-NewL_command01
       
   102 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-SelectDecoderL_command02
       
   103 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-SelectPostProcessorL_command03
       
   104 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-SetInputFormat_command04
       
   105 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-GetOutputFormatListL_command05
       
   106 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   107 		COMMAND		mmfdvplay		FindCommonFormat
       
   108 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-SetOutputFormatL_command08
       
   109 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-SetInputFormat_command09
       
   110 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-GetOutputFormatListL_command10
       
   111 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-SetOutputFormatL_command11
       
   112 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-GetHeaderInformationL_command12
       
   113 		COMMAND		mmfdvplay		ReturnHeader
       
   114 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   115 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-SetPostProcessTypesL_command15
       
   116 		COMMAND		mmfdvplay		GetBufferOptions
       
   117 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   118 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-SetClockSource_command18
       
   119 		COMMAND		mmfdvplay		Initialize
       
   120 		OUTSTANDING
       
   121 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0001-0001-StartDirectScreenAccess_command20
       
   122 		COMMAND		mmfdvplay		Start
       
   123 		OUTSTANDING
       
   124 		COMMAND		mmfdvplay		Stop
       
   125 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   126 		COMMAND		mmfdvplay		~
       
   127 	END_TEST_BLOCK
       
   128 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0001
       
   129 
       
   130 
       
   131 
       
   132 
       
   133 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0002
       
   134 
       
   135 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0002
       
   136 //!@SYMAPI
       
   137 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   138 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   139 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   140 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   141 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   142 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   143 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   144 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   145 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   146 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   147 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   148 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   149 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   150 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   151 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   152 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   153 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   154 //!                CMMFDevVideoPlay:: Initialize();
       
   155 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   156 //!                CMMFDevVideoPlay:: Start();
       
   157 //!                CMMFDevVideoPlay:: Stop();
       
   158 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   159 //!@SYMAuthor			alavariega
       
   160 //!@SYMCreationDate		16/6/2008
       
   161 //!@SYMTestCaseDesc		 NCP MPEG -4 NTSC Video Playback at 30 fps 4Mbps
       
   162 //!@SYMTestActions
       
   163 //!                1. NewL (inputfile = akiyo_ntsc_30fps_4M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   164 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   165 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   166 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   167 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   168 //!                6. PostProcessorInfoLC
       
   169 //!                7. FindCommonFormat
       
   170 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   171 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   172 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   173 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   174 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   175 //!                13. ReturnHeader
       
   176 //!                14. SetVideoDestScreenL
       
   177 //!                15. SetPostProcessTypesL (combination = 44)
       
   178 //!                16. GetBufferOptions
       
   179 //!                17. SetBufferOptionsL
       
   180 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
   181 //!                19. Initialize
       
   182 //!                OUTSTANDING
       
   183 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
   184 //!                21. Start  
       
   185 //!                OUTSTANDING
       
   186 //!                22. Stop
       
   187 //!                23. AbortDirectScreenAccess
       
   188 //!                24. ~
       
   189 //!@SYMTestStatus		Verified
       
   190 //!@SYMTestPriority		Normal
       
   191 //!@SYMTestExpectedResults
       
   192 //!                Video must be played on the screen without any blurrness.
       
   193 //!@SYMTestType			CIT
       
   194 
       
   195 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
   196 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   197 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-NewL_command01
       
   198 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-SelectDecoderL_command02
       
   199 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-SelectPostProcessorL_command03
       
   200 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-SetInputFormat_command04
       
   201 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-GetOutputFormatListL_command05
       
   202 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   203 		COMMAND		mmfdvplay		FindCommonFormat
       
   204 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-SetOutputFormatL_command08
       
   205 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-SetInputFormat_command09
       
   206 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-GetOutputFormatListL_command10
       
   207 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-SetOutputFormatL_command11
       
   208 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-GetHeaderInformationL_command12
       
   209 		COMMAND		mmfdvplay		ReturnHeader
       
   210 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   211 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-SetPostProcessTypesL_command15
       
   212 		COMMAND		mmfdvplay		GetBufferOptions
       
   213 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   214 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-SetClockSource_command18
       
   215 		COMMAND		mmfdvplay		Initialize
       
   216 		OUTSTANDING
       
   217 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0002-0001-StartDirectScreenAccess_command20
       
   218 		COMMAND		mmfdvplay		Start
       
   219 		OUTSTANDING
       
   220 		COMMAND		mmfdvplay		Stop
       
   221 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   222 		COMMAND		mmfdvplay		~
       
   223 	END_TEST_BLOCK
       
   224 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0002
       
   225 
       
   226 
       
   227 
       
   228 
       
   229 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0003
       
   230 
       
   231 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0003
       
   232 //!@SYMAPI
       
   233 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   234 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   235 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   236 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   237 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   238 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   239 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   240 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   241 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   242 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   243 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   244 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   245 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   246 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   247 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   248 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   249 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   250 //!                CMMFDevVideoPlay:: Initialize();
       
   251 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   252 //!                CMMFDevVideoPlay:: Start();
       
   253 //!                CMMFDevVideoPlay:: Stop();
       
   254 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   255 //!@SYMAuthor			alavariega
       
   256 //!@SYMCreationDate		16/6/2008
       
   257 //!@SYMTestCaseDesc		 NCP MPEG -4 PAL Video Playback at 25 fps 3Mbps
       
   258 //!@SYMTestActions
       
   259 //!                1. NewL (inputfile = akiyo_pal_25fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   260 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   261 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   262 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   263 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   264 //!                6. PostProcessorInfoLC
       
   265 //!                7. FindCommonFormat
       
   266 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   267 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   268 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   269 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   270 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   271 //!                13. ReturnHeader
       
   272 //!                14. SetVideoDestScreenL
       
   273 //!                15. SetPostProcessTypesL (combination = 44)
       
   274 //!                16. GetBufferOptions
       
   275 //!                17. SetBufferOptionsL
       
   276 //!                18. SetClockSource  (synch = 1; framerate = 25)
       
   277 //!                19. Initialize
       
   278 //!                OUTSTANDING
       
   279 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
   280 //!                21. Start  
       
   281 //!                OUTSTANDING
       
   282 //!                22. Stop
       
   283 //!                23. AbortDirectScreenAccess
       
   284 //!                24. ~
       
   285 //!@SYMTestStatus		Verified
       
   286 //!@SYMTestPriority		Normal
       
   287 //!@SYMTestExpectedResults
       
   288 //!                Video must be played on the screen without any blurrness.
       
   289 //!@SYMTestType			CIT
       
   290 
       
   291 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
   292 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   293 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-NewL_command01
       
   294 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-SelectDecoderL_command02
       
   295 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-SelectPostProcessorL_command03
       
   296 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-SetInputFormat_command04
       
   297 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-GetOutputFormatListL_command05
       
   298 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   299 		COMMAND		mmfdvplay		FindCommonFormat
       
   300 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-SetOutputFormatL_command08
       
   301 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-SetInputFormat_command09
       
   302 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-GetOutputFormatListL_command10
       
   303 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-SetOutputFormatL_command11
       
   304 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-GetHeaderInformationL_command12
       
   305 		COMMAND		mmfdvplay		ReturnHeader
       
   306 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   307 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-SetPostProcessTypesL_command15
       
   308 		COMMAND		mmfdvplay		GetBufferOptions
       
   309 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   310 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-SetClockSource_command18
       
   311 		COMMAND		mmfdvplay		Initialize
       
   312 		OUTSTANDING
       
   313 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0003-0001-StartDirectScreenAccess_command20
       
   314 		COMMAND		mmfdvplay		Start
       
   315 		OUTSTANDING
       
   316 		COMMAND		mmfdvplay		Stop
       
   317 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   318 		COMMAND		mmfdvplay		~
       
   319 	END_TEST_BLOCK
       
   320 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0003
       
   321 
       
   322 
       
   323 
       
   324 
       
   325 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0004
       
   326 
       
   327 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0004
       
   328 //!@SYMAPI
       
   329 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   330 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   331 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   332 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   333 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   334 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   335 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   336 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   337 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   338 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   339 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   340 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   341 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   342 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   343 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   344 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   345 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   346 //!                CMMFDevVideoPlay:: Initialize();
       
   347 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   348 //!                CMMFDevVideoPlay:: Start();
       
   349 //!                CMMFDevVideoPlay:: Stop();
       
   350 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   351 //!@SYMAuthor			alavariega
       
   352 //!@SYMCreationDate		16/6/2008
       
   353 //!@SYMTestCaseDesc		 NCP MPEG -4 PAL Video Playback at 25 fps 4Mbps
       
   354 //!@SYMTestActions
       
   355 //!                1. NewL (inputfile = akiyo_pal_25fps_4M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   356 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   357 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   358 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   359 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   360 //!                6. PostProcessorInfoLC
       
   361 //!                7. FindCommonFormat
       
   362 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   363 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   364 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   365 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   366 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   367 //!                13. ReturnHeader
       
   368 //!                14. SetVideoDestScreenL
       
   369 //!                15. SetPostProcessTypesL (combination = 44)
       
   370 //!                16. GetBufferOptions
       
   371 //!                17. SetBufferOptionsL
       
   372 //!                18. SetClockSource  (synch = 1; framerate = 25)
       
   373 //!                19. Initialize
       
   374 //!                OUTSTANDING
       
   375 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
   376 //!                21. Start  
       
   377 //!                OUTSTANDING
       
   378 //!                22. Stop
       
   379 //!                23. AbortDirectScreenAccess
       
   380 //!                24. ~
       
   381 //!@SYMTestStatus		Verified
       
   382 //!@SYMTestPriority		Normal
       
   383 //!@SYMTestExpectedResults
       
   384 //!                Video must be played on the screen without any blurrness.
       
   385 //!@SYMTestType			CIT
       
   386 
       
   387 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
   388 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   389 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-NewL_command01
       
   390 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-SelectDecoderL_command02
       
   391 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-SelectPostProcessorL_command03
       
   392 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-SetInputFormat_command04
       
   393 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-GetOutputFormatListL_command05
       
   394 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   395 		COMMAND		mmfdvplay		FindCommonFormat
       
   396 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-SetOutputFormatL_command08
       
   397 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-SetInputFormat_command09
       
   398 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-GetOutputFormatListL_command10
       
   399 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-SetOutputFormatL_command11
       
   400 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-GetHeaderInformationL_command12
       
   401 		COMMAND		mmfdvplay		ReturnHeader
       
   402 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   403 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-SetPostProcessTypesL_command15
       
   404 		COMMAND		mmfdvplay		GetBufferOptions
       
   405 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   406 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-SetClockSource_command18
       
   407 		COMMAND		mmfdvplay		Initialize
       
   408 		OUTSTANDING
       
   409 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0004-0001-StartDirectScreenAccess_command20
       
   410 		COMMAND		mmfdvplay		Start
       
   411 		OUTSTANDING
       
   412 		COMMAND		mmfdvplay		Stop
       
   413 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   414 		COMMAND		mmfdvplay		~
       
   415 	END_TEST_BLOCK
       
   416 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0004
       
   417 
       
   418 
       
   419 
       
   420 
       
   421 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0005
       
   422 
       
   423 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0005
       
   424 //!@SYMAPI
       
   425 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   426 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   427 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   428 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   429 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   430 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   431 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   432 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   433 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   434 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   435 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   436 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   437 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   438 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   439 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   440 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   441 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   442 //!                CMMFDevVideoPlay:: Initialize();
       
   443 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   444 //!                CMMFDevVideoPlay:: Start();
       
   445 //!                CMMFDevVideoPlay:: Stop();
       
   446 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   447 //!@SYMAuthor			alavariega
       
   448 //!@SYMCreationDate		16/6/2008
       
   449 //!@SYMTestCaseDesc		 NCP MPEG -4  QCIF Video Playback   at 15 fps 128Kbps
       
   450 //!@SYMTestActions
       
   451 //!                1. NewL (inputfile = akiyo_qcif_15fps_128k_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   452 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   453 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   454 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   455 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   456 //!                6. PostProcessorInfoLC
       
   457 //!                7. FindCommonFormat
       
   458 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   459 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   460 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   461 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   462 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   463 //!                13. ReturnHeader
       
   464 //!                14. SetVideoDestScreenL
       
   465 //!                15. SetPostProcessTypesL (combination = 44)
       
   466 //!                16. GetBufferOptions
       
   467 //!                17. SetBufferOptionsL
       
   468 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
   469 //!                19. Initialize
       
   470 //!                OUTSTANDING
       
   471 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
   472 //!                21. Start  
       
   473 //!                OUTSTANDING
       
   474 //!                22. Stop
       
   475 //!                23. AbortDirectScreenAccess
       
   476 //!                24. ~
       
   477 //!@SYMTestStatus		Verified
       
   478 //!@SYMTestPriority		Normal
       
   479 //!@SYMTestExpectedResults
       
   480 //!                Video must be played on the screen without any blurrness.
       
   481 //!@SYMTestType			CIT
       
   482 
       
   483 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
   484 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   485 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-NewL_command01
       
   486 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-SelectDecoderL_command02
       
   487 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-SelectPostProcessorL_command03
       
   488 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-SetInputFormat_command04
       
   489 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-GetOutputFormatListL_command05
       
   490 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   491 		COMMAND		mmfdvplay		FindCommonFormat
       
   492 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-SetOutputFormatL_command08
       
   493 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-SetInputFormat_command09
       
   494 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-GetOutputFormatListL_command10
       
   495 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-SetOutputFormatL_command11
       
   496 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-GetHeaderInformationL_command12
       
   497 		COMMAND		mmfdvplay		ReturnHeader
       
   498 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   499 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-SetPostProcessTypesL_command15
       
   500 		COMMAND		mmfdvplay		GetBufferOptions
       
   501 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   502 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-SetClockSource_command18
       
   503 		COMMAND		mmfdvplay		Initialize
       
   504 		OUTSTANDING
       
   505 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0005-0001-StartDirectScreenAccess_command20
       
   506 		COMMAND		mmfdvplay		Start
       
   507 		OUTSTANDING
       
   508 		COMMAND		mmfdvplay		Stop
       
   509 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   510 		COMMAND		mmfdvplay		~
       
   511 	END_TEST_BLOCK
       
   512 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0005
       
   513 
       
   514 
       
   515 
       
   516 
       
   517 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0006
       
   518 
       
   519 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0006
       
   520 //!@SYMAPI
       
   521 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   522 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   523 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   524 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   525 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   526 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   527 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   528 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   529 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   530 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   531 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   532 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   533 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   534 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   535 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   536 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   537 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   538 //!                CMMFDevVideoPlay:: Initialize();
       
   539 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   540 //!                CMMFDevVideoPlay:: Start();
       
   541 //!                CMMFDevVideoPlay:: Stop();
       
   542 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   543 //!@SYMAuthor			alavariega
       
   544 //!@SYMCreationDate		16/6/2008
       
   545 //!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Playback at 15 fps 256Kbps
       
   546 //!@SYMTestActions
       
   547 //!                1. NewL (inputfile = MPEG4_QVGA_15fps_256_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   548 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   549 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   550 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   551 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   552 //!                6. PostProcessorInfoLC
       
   553 //!                7. FindCommonFormat
       
   554 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   555 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   556 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   557 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   558 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   559 //!                13. ReturnHeader
       
   560 //!                14. SetVideoDestScreenL
       
   561 //!                15. SetPostProcessTypesL (combination = 44)
       
   562 //!                16. GetBufferOptions
       
   563 //!                17. SetBufferOptionsL
       
   564 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
   565 //!                19. Initialize
       
   566 //!                OUTSTANDING
       
   567 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
   568 //!                21. Start  
       
   569 //!                OUTSTANDING
       
   570 //!                22. Stop
       
   571 //!                23. AbortDirectScreenAccess
       
   572 //!                24. ~
       
   573 //!@SYMTestStatus		Verified
       
   574 //!@SYMTestPriority		Normal
       
   575 //!@SYMTestExpectedResults
       
   576 //!                Video must be played on the screen without any blurrness.
       
   577 //!@SYMTestType			CIT
       
   578 
       
   579 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
   580 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   581 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-NewL_command01
       
   582 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-SelectDecoderL_command02
       
   583 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-SelectPostProcessorL_command03
       
   584 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-SetInputFormat_command04
       
   585 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-GetOutputFormatListL_command05
       
   586 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   587 		COMMAND		mmfdvplay		FindCommonFormat
       
   588 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-SetOutputFormatL_command08
       
   589 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-SetInputFormat_command09
       
   590 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-GetOutputFormatListL_command10
       
   591 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-SetOutputFormatL_command11
       
   592 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-GetHeaderInformationL_command12
       
   593 		COMMAND		mmfdvplay		ReturnHeader
       
   594 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   595 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-SetPostProcessTypesL_command15
       
   596 		COMMAND		mmfdvplay		GetBufferOptions
       
   597 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   598 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-SetClockSource_command18
       
   599 		COMMAND		mmfdvplay		Initialize
       
   600 		OUTSTANDING
       
   601 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0006-0001-StartDirectScreenAccess_command20
       
   602 		COMMAND		mmfdvplay		Start
       
   603 		OUTSTANDING
       
   604 		COMMAND		mmfdvplay		Stop
       
   605 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   606 		COMMAND		mmfdvplay		~
       
   607 	END_TEST_BLOCK
       
   608 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0006
       
   609 
       
   610 
       
   611 
       
   612 
       
   613 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0007
       
   614 
       
   615 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0007
       
   616 //!@SYMAPI
       
   617 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   618 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   619 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   620 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   621 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   622 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   623 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   624 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   625 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   626 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   627 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   628 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   629 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   630 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   631 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   632 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   633 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   634 //!                CMMFDevVideoPlay:: Initialize();
       
   635 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   636 //!                CMMFDevVideoPlay:: Start();
       
   637 //!                CMMFDevVideoPlay:: Stop();
       
   638 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   639 //!@SYMAuthor			alavariega
       
   640 //!@SYMCreationDate		16/6/2008
       
   641 //!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Playback at 30 fps 384Kbps
       
   642 //!@SYMTestActions
       
   643 //!                1. NewL (inputfile = MPEG4_QVGA_30fps_384k_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   644 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   645 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   646 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   647 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   648 //!                6. PostProcessorInfoLC
       
   649 //!                7. FindCommonFormat
       
   650 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   651 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   652 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   653 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   654 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   655 //!                13. ReturnHeader
       
   656 //!                14. SetVideoDestScreenL
       
   657 //!                15. SetPostProcessTypesL (combination = 44)
       
   658 //!                16. GetBufferOptions
       
   659 //!                17. SetBufferOptionsL
       
   660 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
   661 //!                19. Initialize
       
   662 //!                OUTSTANDING
       
   663 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
   664 //!                21. Start  
       
   665 //!                OUTSTANDING
       
   666 //!                22. Stop
       
   667 //!                23. AbortDirectScreenAccess
       
   668 //!                24. ~
       
   669 //!@SYMTestStatus		Verified
       
   670 //!@SYMTestPriority		Normal
       
   671 //!@SYMTestExpectedResults
       
   672 //!                Video must be played on the screen without any blurrness.
       
   673 //!@SYMTestType			CIT
       
   674 
       
   675 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
   676 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   677 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-NewL_command01
       
   678 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-SelectDecoderL_command02
       
   679 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-SelectPostProcessorL_command03
       
   680 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-SetInputFormat_command04
       
   681 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-GetOutputFormatListL_command05
       
   682 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   683 		COMMAND		mmfdvplay		FindCommonFormat
       
   684 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-SetOutputFormatL_command08
       
   685 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-SetInputFormat_command09
       
   686 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-GetOutputFormatListL_command10
       
   687 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-SetOutputFormatL_command11
       
   688 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-GetHeaderInformationL_command12
       
   689 		COMMAND		mmfdvplay		ReturnHeader
       
   690 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   691 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-SetPostProcessTypesL_command15
       
   692 		COMMAND		mmfdvplay		GetBufferOptions
       
   693 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   694 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-SetClockSource_command18
       
   695 		COMMAND		mmfdvplay		Initialize
       
   696 		OUTSTANDING
       
   697 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0007-0001-StartDirectScreenAccess_command20
       
   698 		COMMAND		mmfdvplay		Start
       
   699 		OUTSTANDING
       
   700 		COMMAND		mmfdvplay		Stop
       
   701 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   702 		COMMAND		mmfdvplay		~
       
   703 	END_TEST_BLOCK
       
   704 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0007
       
   705 
       
   706 
       
   707 
       
   708 
       
   709 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0008
       
   710 
       
   711 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0008
       
   712 //!@SYMAPI
       
   713 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   714 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   715 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   716 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   717 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   718 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   719 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   720 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   721 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   722 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   723 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   724 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   725 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   726 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   727 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   728 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   729 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   730 //!                CMMFDevVideoPlay:: Initialize();
       
   731 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   732 //!                CMMFDevVideoPlay:: Start();
       
   733 //!                CMMFDevVideoPlay:: Stop();
       
   734 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   735 //!@SYMAuthor			alavariega
       
   736 //!@SYMCreationDate		16/6/2008
       
   737 //!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Playback at 15 fps 512Kbps
       
   738 //!@SYMTestActions
       
   739 //!                1. NewL (inputfile = MPEG4_QVGA_15fps_512_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   740 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   741 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   742 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   743 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   744 //!                6. PostProcessorInfoLC
       
   745 //!                7. FindCommonFormat
       
   746 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   747 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   748 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   749 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   750 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   751 //!                13. ReturnHeader
       
   752 //!                14. SetVideoDestScreenL
       
   753 //!                15. SetPostProcessTypesL (combination = 44)
       
   754 //!                16. GetBufferOptions
       
   755 //!                17. SetBufferOptionsL
       
   756 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
   757 //!                19. Initialize
       
   758 //!                OUTSTANDING
       
   759 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
   760 //!                21. Start  
       
   761 //!                OUTSTANDING
       
   762 //!                22. Stop
       
   763 //!                23. AbortDirectScreenAccess
       
   764 //!                24. ~
       
   765 //!@SYMTestStatus		Verified
       
   766 //!@SYMTestPriority		Normal
       
   767 //!@SYMTestExpectedResults
       
   768 //!                Video must be played on the screen without any blurrness.
       
   769 //!@SYMTestType			CIT
       
   770 
       
   771 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
   772 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   773 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-NewL_command01
       
   774 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-SelectDecoderL_command02
       
   775 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-SelectPostProcessorL_command03
       
   776 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-SetInputFormat_command04
       
   777 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-GetOutputFormatListL_command05
       
   778 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   779 		COMMAND		mmfdvplay		FindCommonFormat
       
   780 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-SetOutputFormatL_command08
       
   781 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-SetInputFormat_command09
       
   782 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-GetOutputFormatListL_command10
       
   783 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-SetOutputFormatL_command11
       
   784 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-GetHeaderInformationL_command12
       
   785 		COMMAND		mmfdvplay		ReturnHeader
       
   786 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   787 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-SetPostProcessTypesL_command15
       
   788 		COMMAND		mmfdvplay		GetBufferOptions
       
   789 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   790 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-SetClockSource_command18
       
   791 		COMMAND		mmfdvplay		Initialize
       
   792 		OUTSTANDING
       
   793 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0008-0001-StartDirectScreenAccess_command20
       
   794 		COMMAND		mmfdvplay		Start
       
   795 		OUTSTANDING
       
   796 		COMMAND		mmfdvplay		Stop
       
   797 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   798 		COMMAND		mmfdvplay		~
       
   799 	END_TEST_BLOCK
       
   800 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0008
       
   801 
       
   802 
       
   803 
       
   804 
       
   805 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0009
       
   806 
       
   807 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0009
       
   808 //!@SYMAPI
       
   809 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   810 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   811 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   812 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   813 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   814 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   815 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   816 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   817 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   818 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   819 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   820 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   821 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   822 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   823 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   824 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   825 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   826 //!                CMMFDevVideoPlay:: Initialize();
       
   827 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   828 //!                CMMFDevVideoPlay:: Start();
       
   829 //!                CMMFDevVideoPlay:: Stop();
       
   830 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   831 //!@SYMAuthor			alavariega
       
   832 //!@SYMCreationDate		16/6/2008
       
   833 //!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Playback at 30 fps 768Kbps
       
   834 //!@SYMTestActions
       
   835 //!                1. NewL (inputfile = MPEG4_QVGA_30fps_768k_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   836 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   837 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   838 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   839 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   840 //!                6. PostProcessorInfoLC
       
   841 //!                7. FindCommonFormat
       
   842 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   843 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   844 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   845 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   846 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   847 //!                13. ReturnHeader
       
   848 //!                14. SetVideoDestScreenL
       
   849 //!                15. SetPostProcessTypesL (combination = 44)
       
   850 //!                16. GetBufferOptions
       
   851 //!                17. SetBufferOptionsL
       
   852 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
   853 //!                19. Initialize
       
   854 //!                OUTSTANDING
       
   855 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
   856 //!                21. Start  
       
   857 //!                OUTSTANDING
       
   858 //!                22. Stop
       
   859 //!                23. AbortDirectScreenAccess
       
   860 //!                24. ~
       
   861 //!@SYMTestStatus		Verified
       
   862 //!@SYMTestPriority		Normal
       
   863 //!@SYMTestExpectedResults
       
   864 //!                Video must be played on the screen without any blurrness.
       
   865 //!@SYMTestType			CIT
       
   866 
       
   867 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
   868 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   869 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-NewL_command01
       
   870 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-SelectDecoderL_command02
       
   871 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-SelectPostProcessorL_command03
       
   872 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-SetInputFormat_command04
       
   873 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-GetOutputFormatListL_command05
       
   874 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   875 		COMMAND		mmfdvplay		FindCommonFormat
       
   876 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-SetOutputFormatL_command08
       
   877 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-SetInputFormat_command09
       
   878 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-GetOutputFormatListL_command10
       
   879 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-SetOutputFormatL_command11
       
   880 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-GetHeaderInformationL_command12
       
   881 		COMMAND		mmfdvplay		ReturnHeader
       
   882 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   883 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-SetPostProcessTypesL_command15
       
   884 		COMMAND		mmfdvplay		GetBufferOptions
       
   885 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   886 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-SetClockSource_command18
       
   887 		COMMAND		mmfdvplay		Initialize
       
   888 		OUTSTANDING
       
   889 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0009-0001-StartDirectScreenAccess_command20
       
   890 		COMMAND		mmfdvplay		Start
       
   891 		OUTSTANDING
       
   892 		COMMAND		mmfdvplay		Stop
       
   893 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   894 		COMMAND		mmfdvplay		~
       
   895 	END_TEST_BLOCK
       
   896 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0009
       
   897 
       
   898 
       
   899 
       
   900 
       
   901 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0010
       
   902 
       
   903 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0010
       
   904 //!@SYMAPI
       
   905 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
   906 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
   907 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
   908 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
   909 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
   910 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
   911 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
   912 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
   913 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
   914 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
   915 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
   916 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
   917 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
   918 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
   919 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
   920 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
   921 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
   922 //!                CMMFDevVideoPlay:: Initialize();
       
   923 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
   924 //!                CMMFDevVideoPlay:: Start();
       
   925 //!                CMMFDevVideoPlay:: Stop();
       
   926 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
   927 //!@SYMAuthor			alavariega
       
   928 //!@SYMCreationDate		16/6/2008
       
   929 //!@SYMTestCaseDesc		 NCP MPEG -4  CIF Video Playback   at 15 fps 3Mbps
       
   930 //!@SYMTestActions
       
   931 //!                1. NewL (inputfile = paris_cif_15fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
   932 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
   933 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
   934 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
   935 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
   936 //!                6. PostProcessorInfoLC
       
   937 //!                7. FindCommonFormat
       
   938 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
   939 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
   940 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
   941 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
   942 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
   943 //!                13. ReturnHeader
       
   944 //!                14. SetVideoDestScreenL
       
   945 //!                15. SetPostProcessTypesL (combination = 44)
       
   946 //!                16. GetBufferOptions
       
   947 //!                17. SetBufferOptionsL
       
   948 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
   949 //!                19. Initialize
       
   950 //!                OUTSTANDING
       
   951 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
   952 //!                21. Start  
       
   953 //!                OUTSTANDING
       
   954 //!                22. Stop
       
   955 //!                23. AbortDirectScreenAccess
       
   956 //!                24. ~
       
   957 //!@SYMTestStatus		Verified
       
   958 //!@SYMTestPriority		Normal
       
   959 //!@SYMTestExpectedResults
       
   960 //!                Video must be played on the screen without any blurrness.
       
   961 //!@SYMTestType			CIT
       
   962 
       
   963 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
   964 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
   965 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-NewL_command01
       
   966 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-SelectDecoderL_command02
       
   967 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-SelectPostProcessorL_command03
       
   968 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-SetInputFormat_command04
       
   969 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-GetOutputFormatListL_command05
       
   970 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
   971 		COMMAND		mmfdvplay		FindCommonFormat
       
   972 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-SetOutputFormatL_command08
       
   973 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-SetInputFormat_command09
       
   974 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-GetOutputFormatListL_command10
       
   975 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-SetOutputFormatL_command11
       
   976 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-GetHeaderInformationL_command12
       
   977 		COMMAND		mmfdvplay		ReturnHeader
       
   978 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
   979 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-SetPostProcessTypesL_command15
       
   980 		COMMAND		mmfdvplay		GetBufferOptions
       
   981 		COMMAND		mmfdvplay		SetBufferOptionsL
       
   982 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-SetClockSource_command18
       
   983 		COMMAND		mmfdvplay		Initialize
       
   984 		OUTSTANDING
       
   985 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0010-0001-StartDirectScreenAccess_command20
       
   986 		COMMAND		mmfdvplay		Start
       
   987 		OUTSTANDING
       
   988 		COMMAND		mmfdvplay		Stop
       
   989 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
   990 		COMMAND		mmfdvplay		~
       
   991 	END_TEST_BLOCK
       
   992 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0010
       
   993 
       
   994 
       
   995 
       
   996 
       
   997 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0011
       
   998 
       
   999 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0011
       
  1000 //!@SYMAPI
       
  1001 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  1002 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  1003 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  1004 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  1005 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  1006 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  1007 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  1008 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  1009 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  1010 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  1011 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  1012 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  1013 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  1014 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  1015 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  1016 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  1017 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  1018 //!                CMMFDevVideoPlay:: Initialize();
       
  1019 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  1020 //!                CMMFDevVideoPlay:: Start();
       
  1021 //!                CMMFDevVideoPlay:: Stop();
       
  1022 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  1023 //!@SYMAuthor			alavariega
       
  1024 //!@SYMCreationDate		16/6/2008
       
  1025 //!@SYMTestCaseDesc		 NCP MPEG -4  CIF Video Playback   at 15 fps  784kbps
       
  1026 //!@SYMTestActions
       
  1027 //!                1. NewL (inputfile = paris_cif_15fps_784K_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1028 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1029 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1030 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1031 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1032 //!                6. PostProcessorInfoLC
       
  1033 //!                7. FindCommonFormat
       
  1034 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1035 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1036 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1037 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1038 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1039 //!                13. ReturnHeader
       
  1040 //!                14. SetVideoDestScreenL
       
  1041 //!                15. SetPostProcessTypesL (combination = 44)
       
  1042 //!                16. GetBufferOptions
       
  1043 //!                17. SetBufferOptionsL
       
  1044 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  1045 //!                19. Initialize
       
  1046 //!                OUTSTANDING
       
  1047 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  1048 //!                21. Start  
       
  1049 //!                OUTSTANDING
       
  1050 //!                22. Stop
       
  1051 //!                23. AbortDirectScreenAccess
       
  1052 //!                24. ~
       
  1053 //!@SYMTestStatus		Verified
       
  1054 //!@SYMTestPriority		Normal
       
  1055 //!@SYMTestExpectedResults
       
  1056 //!                Video must be played on the screen without any blurrness.
       
  1057 //!@SYMTestType			CIT
       
  1058 
       
  1059 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  1060 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  1061 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-NewL_command01
       
  1062 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-SelectDecoderL_command02
       
  1063 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-SelectPostProcessorL_command03
       
  1064 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-SetInputFormat_command04
       
  1065 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-GetOutputFormatListL_command05
       
  1066 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  1067 		COMMAND		mmfdvplay		FindCommonFormat
       
  1068 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-SetOutputFormatL_command08
       
  1069 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-SetInputFormat_command09
       
  1070 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-GetOutputFormatListL_command10
       
  1071 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-SetOutputFormatL_command11
       
  1072 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-GetHeaderInformationL_command12
       
  1073 		COMMAND		mmfdvplay		ReturnHeader
       
  1074 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  1075 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-SetPostProcessTypesL_command15
       
  1076 		COMMAND		mmfdvplay		GetBufferOptions
       
  1077 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  1078 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-SetClockSource_command18
       
  1079 		COMMAND		mmfdvplay		Initialize
       
  1080 		OUTSTANDING
       
  1081 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0011-0001-StartDirectScreenAccess_command20
       
  1082 		COMMAND		mmfdvplay		Start
       
  1083 		OUTSTANDING
       
  1084 		COMMAND		mmfdvplay		Stop
       
  1085 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  1086 		COMMAND		mmfdvplay		~
       
  1087 	END_TEST_BLOCK
       
  1088 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0011
       
  1089 
       
  1090 
       
  1091 
       
  1092 
       
  1093 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0012
       
  1094 
       
  1095 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0012
       
  1096 //!@SYMAPI
       
  1097 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  1098 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  1099 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  1100 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  1101 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  1102 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  1103 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  1104 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  1105 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  1106 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  1107 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  1108 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  1109 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  1110 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  1111 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  1112 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  1113 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  1114 //!                CMMFDevVideoPlay:: Initialize();
       
  1115 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  1116 //!                CMMFDevVideoPlay:: Start();
       
  1117 //!                CMMFDevVideoPlay:: Stop();
       
  1118 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  1119 //!@SYMAuthor			alavariega
       
  1120 //!@SYMCreationDate		16/6/2008
       
  1121 //!@SYMTestCaseDesc		 NCP MPEG -4  CIF Video Playback   at 30 fps 3Mbps
       
  1122 //!@SYMTestActions
       
  1123 //!                1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1124 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1125 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1126 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1127 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1128 //!                6. PostProcessorInfoLC
       
  1129 //!                7. FindCommonFormat
       
  1130 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1131 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1132 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1133 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1134 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1135 //!                13. ReturnHeader
       
  1136 //!                14. SetVideoDestScreenL
       
  1137 //!                15. SetPostProcessTypesL (combination = 44)
       
  1138 //!                16. GetBufferOptions
       
  1139 //!                17. SetBufferOptionsL
       
  1140 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  1141 //!                19. Initialize
       
  1142 //!                OUTSTANDING
       
  1143 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  1144 //!                21. Start  
       
  1145 //!                OUTSTANDING
       
  1146 //!                22. Stop
       
  1147 //!                23. AbortDirectScreenAccess
       
  1148 //!                24. ~
       
  1149 //!@SYMTestStatus		Verified
       
  1150 //!@SYMTestPriority		Normal
       
  1151 //!@SYMTestExpectedResults
       
  1152 //!                Video must be played on the screen without any blurrness.
       
  1153 //!@SYMTestType			CIT
       
  1154 
       
  1155 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  1156 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  1157 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-NewL_command01
       
  1158 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-SelectDecoderL_command02
       
  1159 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-SelectPostProcessorL_command03
       
  1160 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-SetInputFormat_command04
       
  1161 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-GetOutputFormatListL_command05
       
  1162 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  1163 		COMMAND		mmfdvplay		FindCommonFormat
       
  1164 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-SetOutputFormatL_command08
       
  1165 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-SetInputFormat_command09
       
  1166 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-GetOutputFormatListL_command10
       
  1167 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-SetOutputFormatL_command11
       
  1168 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-GetHeaderInformationL_command12
       
  1169 		COMMAND		mmfdvplay		ReturnHeader
       
  1170 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  1171 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-SetPostProcessTypesL_command15
       
  1172 		COMMAND		mmfdvplay		GetBufferOptions
       
  1173 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  1174 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-SetClockSource_command18
       
  1175 		COMMAND		mmfdvplay		Initialize
       
  1176 		OUTSTANDING
       
  1177 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0012-0001-StartDirectScreenAccess_command20
       
  1178 		COMMAND		mmfdvplay		Start
       
  1179 		OUTSTANDING
       
  1180 		COMMAND		mmfdvplay		Stop
       
  1181 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  1182 		COMMAND		mmfdvplay		~
       
  1183 	END_TEST_BLOCK
       
  1184 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0012
       
  1185 
       
  1186 
       
  1187 
       
  1188 
       
  1189 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0013
       
  1190 
       
  1191 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0013
       
  1192 //!@SYMAPI
       
  1193 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  1194 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  1195 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  1196 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  1197 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  1198 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  1199 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  1200 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  1201 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  1202 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  1203 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  1204 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  1205 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  1206 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  1207 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  1208 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  1209 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  1210 //!                CMMFDevVideoPlay:: Initialize();
       
  1211 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  1212 //!                CMMFDevVideoPlay:: Start();
       
  1213 //!                CMMFDevVideoPlay:: Stop();
       
  1214 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  1215 //!@SYMAuthor			alavariega
       
  1216 //!@SYMCreationDate		16/6/2008
       
  1217 //!@SYMTestCaseDesc		 NCP MPEG -4  CIF Video Playback   at 30 fps 64kbps
       
  1218 //!@SYMTestActions
       
  1219 //!                1. NewL (inputfile = paris_cif_30fps_64K_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1220 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1221 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1222 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1223 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1224 //!                6. PostProcessorInfoLC
       
  1225 //!                7. FindCommonFormat
       
  1226 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1227 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1228 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1229 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1230 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1231 //!                13. ReturnHeader
       
  1232 //!                14. SetVideoDestScreenL
       
  1233 //!                15. SetPostProcessTypesL (combination = 44)
       
  1234 //!                16. GetBufferOptions
       
  1235 //!                17. SetBufferOptionsL
       
  1236 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  1237 //!                19. Initialize
       
  1238 //!                OUTSTANDING
       
  1239 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  1240 //!                21. Start  
       
  1241 //!                OUTSTANDING
       
  1242 //!                22. Stop
       
  1243 //!                23. AbortDirectScreenAccess
       
  1244 //!                24. ~
       
  1245 //!@SYMTestStatus		Verified
       
  1246 //!@SYMTestPriority		Normal
       
  1247 //!@SYMTestExpectedResults
       
  1248 //!                Video must be played on the screen without any blurrness.
       
  1249 //!@SYMTestType			CIT
       
  1250 
       
  1251 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  1252 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  1253 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-NewL_command01
       
  1254 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-SelectDecoderL_command02
       
  1255 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-SelectPostProcessorL_command03
       
  1256 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-SetInputFormat_command04
       
  1257 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-GetOutputFormatListL_command05
       
  1258 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  1259 		COMMAND		mmfdvplay		FindCommonFormat
       
  1260 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-SetOutputFormatL_command08
       
  1261 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-SetInputFormat_command09
       
  1262 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-GetOutputFormatListL_command10
       
  1263 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-SetOutputFormatL_command11
       
  1264 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-GetHeaderInformationL_command12
       
  1265 		COMMAND		mmfdvplay		ReturnHeader
       
  1266 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  1267 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-SetPostProcessTypesL_command15
       
  1268 		COMMAND		mmfdvplay		GetBufferOptions
       
  1269 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  1270 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-SetClockSource_command18
       
  1271 		COMMAND		mmfdvplay		Initialize
       
  1272 		OUTSTANDING
       
  1273 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0013-0001-StartDirectScreenAccess_command20
       
  1274 		COMMAND		mmfdvplay		Start
       
  1275 		OUTSTANDING
       
  1276 		COMMAND		mmfdvplay		Stop
       
  1277 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  1278 		COMMAND		mmfdvplay		~
       
  1279 	END_TEST_BLOCK
       
  1280 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0013
       
  1281 
       
  1282 
       
  1283 
       
  1284 
       
  1285 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0014
       
  1286 
       
  1287 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0014
       
  1288 //!@SYMAPI
       
  1289 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  1290 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  1291 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  1292 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  1293 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  1294 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  1295 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  1296 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  1297 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  1298 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  1299 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  1300 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  1301 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  1302 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  1303 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  1304 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  1305 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  1306 //!                CMMFDevVideoPlay:: Initialize();
       
  1307 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  1308 //!                CMMFDevVideoPlay:: Start();
       
  1309 //!                CMMFDevVideoPlay:: Stop();
       
  1310 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  1311 //!@SYMAuthor			alavariega
       
  1312 //!@SYMCreationDate		16/6/2008
       
  1313 //!@SYMTestCaseDesc		 NCP MPEG -4  CIF Video Playback   at 30 fps 784Kbps
       
  1314 //!@SYMTestActions
       
  1315 //!                1. NewL (inputfile = paris_cif_30fps_784K_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1316 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1317 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1318 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1319 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1320 //!                6. PostProcessorInfoLC
       
  1321 //!                7. FindCommonFormat
       
  1322 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1323 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1324 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1325 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1326 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1327 //!                13. ReturnHeader
       
  1328 //!                14. SetVideoDestScreenL
       
  1329 //!                15. SetPostProcessTypesL (combination = 44)
       
  1330 //!                16. GetBufferOptions
       
  1331 //!                17. SetBufferOptionsL
       
  1332 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  1333 //!                19. Initialize
       
  1334 //!                OUTSTANDING
       
  1335 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  1336 //!                21. Start  
       
  1337 //!                OUTSTANDING
       
  1338 //!                22. Stop
       
  1339 //!                23. AbortDirectScreenAccess
       
  1340 //!                24. ~
       
  1341 //!@SYMTestStatus		Verified
       
  1342 //!@SYMTestPriority		Normal
       
  1343 //!@SYMTestExpectedResults
       
  1344 //!                Video must be played on the screen without any blurrness.
       
  1345 //!@SYMTestType			CIT
       
  1346 
       
  1347 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  1348 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  1349 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-NewL_command01
       
  1350 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-SelectDecoderL_command02
       
  1351 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-SelectPostProcessorL_command03
       
  1352 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-SetInputFormat_command04
       
  1353 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-GetOutputFormatListL_command05
       
  1354 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  1355 		COMMAND		mmfdvplay		FindCommonFormat
       
  1356 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-SetOutputFormatL_command08
       
  1357 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-SetInputFormat_command09
       
  1358 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-GetOutputFormatListL_command10
       
  1359 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-SetOutputFormatL_command11
       
  1360 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-GetHeaderInformationL_command12
       
  1361 		COMMAND		mmfdvplay		ReturnHeader
       
  1362 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  1363 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-SetPostProcessTypesL_command15
       
  1364 		COMMAND		mmfdvplay		GetBufferOptions
       
  1365 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  1366 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-SetClockSource_command18
       
  1367 		COMMAND		mmfdvplay		Initialize
       
  1368 		OUTSTANDING
       
  1369 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0014-0001-StartDirectScreenAccess_command20
       
  1370 		COMMAND		mmfdvplay		Start
       
  1371 		OUTSTANDING
       
  1372 		COMMAND		mmfdvplay		Stop
       
  1373 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  1374 		COMMAND		mmfdvplay		~
       
  1375 	END_TEST_BLOCK
       
  1376 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0014
       
  1377 
       
  1378 
       
  1379 
       
  1380 
       
  1381 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0015
       
  1382 
       
  1383 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0015
       
  1384 //!@SYMAPI
       
  1385 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  1386 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  1387 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  1388 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  1389 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  1390 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  1391 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  1392 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  1393 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  1394 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  1395 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  1396 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  1397 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  1398 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  1399 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  1400 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  1401 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  1402 //!                CMMFDevVideoPlay:: Initialize();
       
  1403 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  1404 //!                CMMFDevVideoPlay:: Start();
       
  1405 //!                CMMFDevVideoPlay:: Stop();
       
  1406 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  1407 //!@SYMAuthor			alavariega
       
  1408 //!@SYMCreationDate		16/6/2008
       
  1409 //!@SYMTestCaseDesc		 NCP MPEG -4  QCIF Video Playback   at 15 fps 3Mbps
       
  1410 //!@SYMTestActions
       
  1411 //!                1. NewL (inputfile = paris_qcif_15fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1412 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1413 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1414 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1415 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1416 //!                6. PostProcessorInfoLC
       
  1417 //!                7. FindCommonFormat
       
  1418 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1419 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1420 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1421 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1422 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1423 //!                13. ReturnHeader
       
  1424 //!                14. SetVideoDestScreenL
       
  1425 //!                15. SetPostProcessTypesL (combination = 44)
       
  1426 //!                16. GetBufferOptions
       
  1427 //!                17. SetBufferOptionsL
       
  1428 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  1429 //!                19. Initialize
       
  1430 //!                OUTSTANDING
       
  1431 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  1432 //!                21. Start  
       
  1433 //!                OUTSTANDING
       
  1434 //!                22. Stop
       
  1435 //!                23. AbortDirectScreenAccess
       
  1436 //!                24. ~
       
  1437 //!@SYMTestStatus		Verified
       
  1438 //!@SYMTestPriority		Normal
       
  1439 //!@SYMTestExpectedResults
       
  1440 //!                Video must be played on the screen without any blurrness.
       
  1441 //!@SYMTestType			CIT
       
  1442 
       
  1443 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  1444 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  1445 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-NewL_command01
       
  1446 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-SelectDecoderL_command02
       
  1447 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-SelectPostProcessorL_command03
       
  1448 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-SetInputFormat_command04
       
  1449 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-GetOutputFormatListL_command05
       
  1450 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  1451 		COMMAND		mmfdvplay		FindCommonFormat
       
  1452 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-SetOutputFormatL_command08
       
  1453 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-SetInputFormat_command09
       
  1454 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-GetOutputFormatListL_command10
       
  1455 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-SetOutputFormatL_command11
       
  1456 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-GetHeaderInformationL_command12
       
  1457 		COMMAND		mmfdvplay		ReturnHeader
       
  1458 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  1459 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-SetPostProcessTypesL_command15
       
  1460 		COMMAND		mmfdvplay		GetBufferOptions
       
  1461 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  1462 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-SetClockSource_command18
       
  1463 		COMMAND		mmfdvplay		Initialize
       
  1464 		OUTSTANDING
       
  1465 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0015-0001-StartDirectScreenAccess_command20
       
  1466 		COMMAND		mmfdvplay		Start
       
  1467 		OUTSTANDING
       
  1468 		COMMAND		mmfdvplay		Stop
       
  1469 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  1470 		COMMAND		mmfdvplay		~
       
  1471 	END_TEST_BLOCK
       
  1472 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0015
       
  1473 
       
  1474 
       
  1475 
       
  1476 
       
  1477 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0016
       
  1478 
       
  1479 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0016
       
  1480 //!@SYMAPI
       
  1481 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  1482 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  1483 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  1484 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  1485 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  1486 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  1487 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  1488 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  1489 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  1490 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  1491 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  1492 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  1493 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  1494 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  1495 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  1496 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  1497 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  1498 //!                CMMFDevVideoPlay:: Initialize();
       
  1499 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  1500 //!                CMMFDevVideoPlay:: Start();
       
  1501 //!                CMMFDevVideoPlay:: Stop();
       
  1502 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  1503 //!@SYMAuthor			alavariega
       
  1504 //!@SYMCreationDate		16/6/2008
       
  1505 //!@SYMTestCaseDesc		 NCP MPEG -4  QCIF Video Playback   at 15 fps 64Kbps
       
  1506 //!@SYMTestActions
       
  1507 //!                1. NewL (inputfile = paris_qcif_15fps_64K_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1508 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1509 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1510 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1511 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1512 //!                6. PostProcessorInfoLC
       
  1513 //!                7. FindCommonFormat
       
  1514 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1515 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1516 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1517 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1518 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1519 //!                13. ReturnHeader
       
  1520 //!                14. SetVideoDestScreenL
       
  1521 //!                15. SetPostProcessTypesL (combination = 44)
       
  1522 //!                16. GetBufferOptions
       
  1523 //!                17. SetBufferOptionsL
       
  1524 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  1525 //!                19. Initialize
       
  1526 //!                OUTSTANDING
       
  1527 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  1528 //!                21. Start  
       
  1529 //!                OUTSTANDING
       
  1530 //!                22. Stop
       
  1531 //!                23. AbortDirectScreenAccess
       
  1532 //!                24. ~
       
  1533 //!@SYMTestStatus		Verified
       
  1534 //!@SYMTestPriority		Normal
       
  1535 //!@SYMTestExpectedResults
       
  1536 //!                Video must be played on the screen without any blurrness.
       
  1537 //!@SYMTestType			CIT
       
  1538 
       
  1539 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  1540 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  1541 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-NewL_command01
       
  1542 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-SelectDecoderL_command02
       
  1543 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-SelectPostProcessorL_command03
       
  1544 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-SetInputFormat_command04
       
  1545 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-GetOutputFormatListL_command05
       
  1546 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  1547 		COMMAND		mmfdvplay		FindCommonFormat
       
  1548 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-SetOutputFormatL_command08
       
  1549 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-SetInputFormat_command09
       
  1550 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-GetOutputFormatListL_command10
       
  1551 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-SetOutputFormatL_command11
       
  1552 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-GetHeaderInformationL_command12
       
  1553 		COMMAND		mmfdvplay		ReturnHeader
       
  1554 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  1555 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-SetPostProcessTypesL_command15
       
  1556 		COMMAND		mmfdvplay		GetBufferOptions
       
  1557 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  1558 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-SetClockSource_command18
       
  1559 		COMMAND		mmfdvplay		Initialize
       
  1560 		OUTSTANDING
       
  1561 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0016-0001-StartDirectScreenAccess_command20
       
  1562 		COMMAND		mmfdvplay		Start
       
  1563 		OUTSTANDING
       
  1564 		COMMAND		mmfdvplay		Stop
       
  1565 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  1566 		COMMAND		mmfdvplay		~
       
  1567 	END_TEST_BLOCK
       
  1568 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0016
       
  1569 
       
  1570 
       
  1571 
       
  1572 
       
  1573 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0017
       
  1574 
       
  1575 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0017
       
  1576 //!@SYMAPI
       
  1577 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  1578 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  1579 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  1580 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  1581 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  1582 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  1583 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  1584 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  1585 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  1586 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  1587 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  1588 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  1589 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  1590 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  1591 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  1592 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  1593 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  1594 //!                CMMFDevVideoPlay:: Initialize();
       
  1595 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  1596 //!                CMMFDevVideoPlay:: Start();
       
  1597 //!                CMMFDevVideoPlay:: Stop();
       
  1598 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  1599 //!@SYMAuthor			alavariega
       
  1600 //!@SYMCreationDate		16/6/2008
       
  1601 //!@SYMTestCaseDesc		 NCP MPEG -4  QCIF Video Playback   at 15 fps 784Kbps
       
  1602 //!@SYMTestActions
       
  1603 //!                1. NewL (inputfile = paris_qcif_15fps_784K_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1604 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1605 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1606 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1607 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1608 //!                6. PostProcessorInfoLC
       
  1609 //!                7. FindCommonFormat
       
  1610 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1611 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1612 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1613 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1614 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1615 //!                13. ReturnHeader
       
  1616 //!                14. SetVideoDestScreenL
       
  1617 //!                15. SetPostProcessTypesL (combination = 44)
       
  1618 //!                16. GetBufferOptions
       
  1619 //!                17. SetBufferOptionsL
       
  1620 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  1621 //!                19. Initialize
       
  1622 //!                OUTSTANDING
       
  1623 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  1624 //!                21. Start  
       
  1625 //!                OUTSTANDING
       
  1626 //!                22. Stop
       
  1627 //!                23. AbortDirectScreenAccess
       
  1628 //!                24. ~
       
  1629 //!@SYMTestStatus		Verified
       
  1630 //!@SYMTestPriority		Normal
       
  1631 //!@SYMTestExpectedResults
       
  1632 //!                Video must be played on the screen without any blurrness.
       
  1633 //!@SYMTestType			CIT
       
  1634 
       
  1635 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  1636 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  1637 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-NewL_command01
       
  1638 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-SelectDecoderL_command02
       
  1639 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-SelectPostProcessorL_command03
       
  1640 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-SetInputFormat_command04
       
  1641 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-GetOutputFormatListL_command05
       
  1642 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  1643 		COMMAND		mmfdvplay		FindCommonFormat
       
  1644 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-SetOutputFormatL_command08
       
  1645 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-SetInputFormat_command09
       
  1646 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-GetOutputFormatListL_command10
       
  1647 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-SetOutputFormatL_command11
       
  1648 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-GetHeaderInformationL_command12
       
  1649 		COMMAND		mmfdvplay		ReturnHeader
       
  1650 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  1651 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-SetPostProcessTypesL_command15
       
  1652 		COMMAND		mmfdvplay		GetBufferOptions
       
  1653 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  1654 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-SetClockSource_command18
       
  1655 		COMMAND		mmfdvplay		Initialize
       
  1656 		OUTSTANDING
       
  1657 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0017-0001-StartDirectScreenAccess_command20
       
  1658 		COMMAND		mmfdvplay		Start
       
  1659 		OUTSTANDING
       
  1660 		COMMAND		mmfdvplay		Stop
       
  1661 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  1662 		COMMAND		mmfdvplay		~
       
  1663 	END_TEST_BLOCK
       
  1664 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0017
       
  1665 
       
  1666 
       
  1667 
       
  1668 
       
  1669 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0018
       
  1670 
       
  1671 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0018
       
  1672 //!@SYMAPI
       
  1673 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  1674 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  1675 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  1676 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  1677 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  1678 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  1679 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  1680 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  1681 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  1682 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  1683 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  1684 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  1685 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  1686 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  1687 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  1688 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  1689 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  1690 //!                CMMFDevVideoPlay:: Initialize();
       
  1691 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  1692 //!                CMMFDevVideoPlay:: Start();
       
  1693 //!                CMMFDevVideoPlay:: Stop();
       
  1694 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  1695 //!@SYMAuthor			alavariega
       
  1696 //!@SYMCreationDate		16/6/2008
       
  1697 //!@SYMTestCaseDesc		 NCP MPEG -4  QCIF Video Playback   at 30 fps 3Mbps
       
  1698 //!@SYMTestActions
       
  1699 //!                1. NewL (inputfile = paris_qcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1700 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1701 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1702 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1703 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1704 //!                6. PostProcessorInfoLC
       
  1705 //!                7. FindCommonFormat
       
  1706 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1707 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1708 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1709 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1710 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1711 //!                13. ReturnHeader
       
  1712 //!                14. SetVideoDestScreenL
       
  1713 //!                15. SetPostProcessTypesL (combination = 44)
       
  1714 //!                16. GetBufferOptions
       
  1715 //!                17. SetBufferOptionsL
       
  1716 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  1717 //!                19. Initialize
       
  1718 //!                OUTSTANDING
       
  1719 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  1720 //!                21. Start  
       
  1721 //!                OUTSTANDING
       
  1722 //!                22. Stop
       
  1723 //!                23. AbortDirectScreenAccess
       
  1724 //!                24. ~
       
  1725 //!@SYMTestStatus		Verified
       
  1726 //!@SYMTestPriority		Normal
       
  1727 //!@SYMTestExpectedResults
       
  1728 //!                Video must be played on the screen without any blurrness.
       
  1729 //!@SYMTestType			CIT
       
  1730 
       
  1731 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  1732 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  1733 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-NewL_command01
       
  1734 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-SelectDecoderL_command02
       
  1735 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-SelectPostProcessorL_command03
       
  1736 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-SetInputFormat_command04
       
  1737 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-GetOutputFormatListL_command05
       
  1738 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  1739 		COMMAND		mmfdvplay		FindCommonFormat
       
  1740 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-SetOutputFormatL_command08
       
  1741 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-SetInputFormat_command09
       
  1742 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-GetOutputFormatListL_command10
       
  1743 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-SetOutputFormatL_command11
       
  1744 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-GetHeaderInformationL_command12
       
  1745 		COMMAND		mmfdvplay		ReturnHeader
       
  1746 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  1747 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-SetPostProcessTypesL_command15
       
  1748 		COMMAND		mmfdvplay		GetBufferOptions
       
  1749 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  1750 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-SetClockSource_command18
       
  1751 		COMMAND		mmfdvplay		Initialize
       
  1752 		OUTSTANDING
       
  1753 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0018-0001-StartDirectScreenAccess_command20
       
  1754 		COMMAND		mmfdvplay		Start
       
  1755 		OUTSTANDING
       
  1756 		COMMAND		mmfdvplay		Stop
       
  1757 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  1758 		COMMAND		mmfdvplay		~
       
  1759 	END_TEST_BLOCK
       
  1760 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0018
       
  1761 
       
  1762 
       
  1763 
       
  1764 
       
  1765 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0019
       
  1766 
       
  1767 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0019
       
  1768 //!@SYMAPI
       
  1769 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  1770 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  1771 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  1772 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  1773 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  1774 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  1775 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  1776 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  1777 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  1778 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  1779 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  1780 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  1781 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  1782 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  1783 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  1784 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  1785 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  1786 //!                CMMFDevVideoPlay:: Initialize();
       
  1787 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  1788 //!                CMMFDevVideoPlay:: Start();
       
  1789 //!                CMMFDevVideoPlay:: Stop();
       
  1790 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  1791 //!@SYMAuthor			alavariega
       
  1792 //!@SYMCreationDate		16/6/2008
       
  1793 //!@SYMTestCaseDesc		 NCP MPEG -4  QCIF Video Playback   at 30 fps 64Kbps
       
  1794 //!@SYMTestActions
       
  1795 //!                1. NewL (inputfile = paris_qcif_30fps_64K_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1796 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1797 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1798 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1799 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1800 //!                6. PostProcessorInfoLC
       
  1801 //!                7. FindCommonFormat
       
  1802 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1803 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1804 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1805 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1806 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1807 //!                13. ReturnHeader
       
  1808 //!                14. SetVideoDestScreenL
       
  1809 //!                15. SetPostProcessTypesL (combination = 44)
       
  1810 //!                16. GetBufferOptions
       
  1811 //!                17. SetBufferOptionsL
       
  1812 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  1813 //!                19. Initialize
       
  1814 //!                OUTSTANDING
       
  1815 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  1816 //!                21. Start  
       
  1817 //!                OUTSTANDING
       
  1818 //!                22. Stop
       
  1819 //!                23. AbortDirectScreenAccess
       
  1820 //!                24. ~
       
  1821 //!@SYMTestStatus		Verified
       
  1822 //!@SYMTestPriority		Normal
       
  1823 //!@SYMTestExpectedResults
       
  1824 //!                Video must be played on the screen without any blurrness.
       
  1825 //!@SYMTestType			CIT
       
  1826 
       
  1827 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  1828 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  1829 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-NewL_command01
       
  1830 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-SelectDecoderL_command02
       
  1831 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-SelectPostProcessorL_command03
       
  1832 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-SetInputFormat_command04
       
  1833 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-GetOutputFormatListL_command05
       
  1834 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  1835 		COMMAND		mmfdvplay		FindCommonFormat
       
  1836 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-SetOutputFormatL_command08
       
  1837 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-SetInputFormat_command09
       
  1838 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-GetOutputFormatListL_command10
       
  1839 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-SetOutputFormatL_command11
       
  1840 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-GetHeaderInformationL_command12
       
  1841 		COMMAND		mmfdvplay		ReturnHeader
       
  1842 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  1843 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-SetPostProcessTypesL_command15
       
  1844 		COMMAND		mmfdvplay		GetBufferOptions
       
  1845 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  1846 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-SetClockSource_command18
       
  1847 		COMMAND		mmfdvplay		Initialize
       
  1848 		OUTSTANDING
       
  1849 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0019-0001-StartDirectScreenAccess_command20
       
  1850 		COMMAND		mmfdvplay		Start
       
  1851 		OUTSTANDING
       
  1852 		COMMAND		mmfdvplay		Stop
       
  1853 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  1854 		COMMAND		mmfdvplay		~
       
  1855 	END_TEST_BLOCK
       
  1856 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0019
       
  1857 
       
  1858 
       
  1859 
       
  1860 
       
  1861 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0020
       
  1862 
       
  1863 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0020
       
  1864 //!@SYMAPI
       
  1865 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  1866 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  1867 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  1868 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  1869 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  1870 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  1871 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  1872 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  1873 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  1874 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  1875 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  1876 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  1877 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  1878 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  1879 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  1880 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  1881 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  1882 //!                CMMFDevVideoPlay:: Initialize();
       
  1883 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  1884 //!                CMMFDevVideoPlay:: Start();
       
  1885 //!                CMMFDevVideoPlay:: Stop();
       
  1886 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  1887 //!@SYMAuthor			alavariega
       
  1888 //!@SYMCreationDate		16/6/2008
       
  1889 //!@SYMTestCaseDesc		 NCP MPEG -4  QCIF Video Playback   at 30 fps 784Kbps
       
  1890 //!@SYMTestActions
       
  1891 //!                1. NewL (inputfile = singing_qcif_30fps_784K_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1892 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1893 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1894 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1895 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1896 //!                6. PostProcessorInfoLC
       
  1897 //!                7. FindCommonFormat
       
  1898 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1899 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1900 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1901 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1902 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1903 //!                13. ReturnHeader
       
  1904 //!                14. SetVideoDestScreenL
       
  1905 //!                15. SetPostProcessTypesL (combination = 44)
       
  1906 //!                16. GetBufferOptions
       
  1907 //!                17. SetBufferOptionsL
       
  1908 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  1909 //!                19. Initialize
       
  1910 //!                OUTSTANDING
       
  1911 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  1912 //!                21. Start  
       
  1913 //!                OUTSTANDING
       
  1914 //!                22. Stop
       
  1915 //!                23. AbortDirectScreenAccess
       
  1916 //!                24. ~
       
  1917 //!@SYMTestStatus		Verified
       
  1918 //!@SYMTestPriority		Normal
       
  1919 //!@SYMTestExpectedResults
       
  1920 //!                Video must be played on the screen without any blurrness.
       
  1921 //!@SYMTestType			CIT
       
  1922 
       
  1923 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  1924 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  1925 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-NewL_command01
       
  1926 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-SelectDecoderL_command02
       
  1927 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-SelectPostProcessorL_command03
       
  1928 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-SetInputFormat_command04
       
  1929 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-GetOutputFormatListL_command05
       
  1930 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  1931 		COMMAND		mmfdvplay		FindCommonFormat
       
  1932 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-SetOutputFormatL_command08
       
  1933 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-SetInputFormat_command09
       
  1934 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-GetOutputFormatListL_command10
       
  1935 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-SetOutputFormatL_command11
       
  1936 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-GetHeaderInformationL_command12
       
  1937 		COMMAND		mmfdvplay		ReturnHeader
       
  1938 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  1939 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-SetPostProcessTypesL_command15
       
  1940 		COMMAND		mmfdvplay		GetBufferOptions
       
  1941 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  1942 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-SetClockSource_command18
       
  1943 		COMMAND		mmfdvplay		Initialize
       
  1944 		OUTSTANDING
       
  1945 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0020-0001-StartDirectScreenAccess_command20
       
  1946 		COMMAND		mmfdvplay		Start
       
  1947 		OUTSTANDING
       
  1948 		COMMAND		mmfdvplay		Stop
       
  1949 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  1950 		COMMAND		mmfdvplay		~
       
  1951 	END_TEST_BLOCK
       
  1952 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0020
       
  1953 
       
  1954 
       
  1955 
       
  1956 
       
  1957 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0021
       
  1958 
       
  1959 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0021
       
  1960 //!@SYMAPI
       
  1961 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  1962 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  1963 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  1964 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  1965 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  1966 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  1967 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  1968 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  1969 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  1970 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  1971 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  1972 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  1973 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  1974 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  1975 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  1976 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  1977 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  1978 //!                CMMFDevVideoPlay:: Initialize();
       
  1979 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  1980 //!                CMMFDevVideoPlay:: Start();
       
  1981 //!                CMMFDevVideoPlay:: Stop();
       
  1982 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  1983 //!@SYMAuthor			alavariega
       
  1984 //!@SYMCreationDate		16/6/2008
       
  1985 //!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Playback   at 15 fps 3Mbps
       
  1986 //!@SYMTestActions
       
  1987 //!                1. NewL (inputfile = MPEG4_QVGA_15fps_3m_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  1988 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  1989 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  1990 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  1991 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  1992 //!                6. PostProcessorInfoLC
       
  1993 //!                7. FindCommonFormat
       
  1994 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  1995 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  1996 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  1997 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  1998 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  1999 //!                13. ReturnHeader
       
  2000 //!                14. SetVideoDestScreenL
       
  2001 //!                15. SetPostProcessTypesL (combination = 44)
       
  2002 //!                16. GetBufferOptions
       
  2003 //!                17. SetBufferOptionsL
       
  2004 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  2005 //!                19. Initialize
       
  2006 //!                OUTSTANDING
       
  2007 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  2008 //!                21. Start  
       
  2009 //!                OUTSTANDING
       
  2010 //!                22. Stop
       
  2011 //!                23. AbortDirectScreenAccess
       
  2012 //!                24. ~
       
  2013 //!@SYMTestStatus		Verified
       
  2014 //!@SYMTestPriority		Normal
       
  2015 //!@SYMTestExpectedResults
       
  2016 //!                Video must be played on the screen without any blurrness.
       
  2017 //!@SYMTestType			CIT
       
  2018 
       
  2019 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  2020 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  2021 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-NewL_command01
       
  2022 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-SelectDecoderL_command02
       
  2023 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-SelectPostProcessorL_command03
       
  2024 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-SetInputFormat_command04
       
  2025 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-GetOutputFormatListL_command05
       
  2026 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  2027 		COMMAND		mmfdvplay		FindCommonFormat
       
  2028 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-SetOutputFormatL_command08
       
  2029 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-SetInputFormat_command09
       
  2030 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-GetOutputFormatListL_command10
       
  2031 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-SetOutputFormatL_command11
       
  2032 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-GetHeaderInformationL_command12
       
  2033 		COMMAND		mmfdvplay		ReturnHeader
       
  2034 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  2035 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-SetPostProcessTypesL_command15
       
  2036 		COMMAND		mmfdvplay		GetBufferOptions
       
  2037 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  2038 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-SetClockSource_command18
       
  2039 		COMMAND		mmfdvplay		Initialize
       
  2040 		OUTSTANDING
       
  2041 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0021-0001-StartDirectScreenAccess_command20
       
  2042 		COMMAND		mmfdvplay		Start
       
  2043 		OUTSTANDING
       
  2044 		COMMAND		mmfdvplay		Stop
       
  2045 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  2046 		COMMAND		mmfdvplay		~
       
  2047 	END_TEST_BLOCK
       
  2048 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0021
       
  2049 
       
  2050 
       
  2051 
       
  2052 
       
  2053 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0022
       
  2054 
       
  2055 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0022
       
  2056 //!@SYMAPI
       
  2057 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  2058 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  2059 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  2060 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  2061 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  2062 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  2063 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  2064 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  2065 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  2066 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  2067 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  2068 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  2069 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  2070 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  2071 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  2072 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  2073 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  2074 //!                CMMFDevVideoPlay:: Initialize();
       
  2075 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  2076 //!                CMMFDevVideoPlay:: Start();
       
  2077 //!                CMMFDevVideoPlay:: Stop();
       
  2078 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  2079 //!@SYMAuthor			alavariega
       
  2080 //!@SYMCreationDate		16/6/2008
       
  2081 //!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Playback   at 15 fps 64Kbps
       
  2082 //!@SYMTestActions
       
  2083 //!                1. NewL (inputfile = MPEG4_QVGA_15fps_64k_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  2084 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  2085 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  2086 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  2087 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  2088 //!                6. PostProcessorInfoLC
       
  2089 //!                7. FindCommonFormat
       
  2090 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  2091 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  2092 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  2093 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  2094 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  2095 //!                13. ReturnHeader
       
  2096 //!                14. SetVideoDestScreenL
       
  2097 //!                15. SetPostProcessTypesL (combination = 44)
       
  2098 //!                16. GetBufferOptions
       
  2099 //!                17. SetBufferOptionsL
       
  2100 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  2101 //!                19. Initialize
       
  2102 //!                OUTSTANDING
       
  2103 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  2104 //!                21. Start  
       
  2105 //!                OUTSTANDING
       
  2106 //!                22. Stop
       
  2107 //!                23. AbortDirectScreenAccess
       
  2108 //!                24. ~
       
  2109 //!@SYMTestStatus		Verified
       
  2110 //!@SYMTestPriority		Normal
       
  2111 //!@SYMTestExpectedResults
       
  2112 //!                Video must be played on the screen without any blurrness.
       
  2113 //!@SYMTestType			CIT
       
  2114 
       
  2115 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  2116 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  2117 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-NewL_command01
       
  2118 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-SelectDecoderL_command02
       
  2119 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-SelectPostProcessorL_command03
       
  2120 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-SetInputFormat_command04
       
  2121 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-GetOutputFormatListL_command05
       
  2122 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  2123 		COMMAND		mmfdvplay		FindCommonFormat
       
  2124 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-SetOutputFormatL_command08
       
  2125 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-SetInputFormat_command09
       
  2126 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-GetOutputFormatListL_command10
       
  2127 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-SetOutputFormatL_command11
       
  2128 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-GetHeaderInformationL_command12
       
  2129 		COMMAND		mmfdvplay		ReturnHeader
       
  2130 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  2131 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-SetPostProcessTypesL_command15
       
  2132 		COMMAND		mmfdvplay		GetBufferOptions
       
  2133 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  2134 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-SetClockSource_command18
       
  2135 		COMMAND		mmfdvplay		Initialize
       
  2136 		OUTSTANDING
       
  2137 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0022-0001-StartDirectScreenAccess_command20
       
  2138 		COMMAND		mmfdvplay		Start
       
  2139 		OUTSTANDING
       
  2140 		COMMAND		mmfdvplay		Stop
       
  2141 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  2142 		COMMAND		mmfdvplay		~
       
  2143 	END_TEST_BLOCK
       
  2144 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0022
       
  2145 
       
  2146 
       
  2147 
       
  2148 
       
  2149 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0023
       
  2150 
       
  2151 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0023
       
  2152 //!@SYMAPI
       
  2153 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  2154 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  2155 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  2156 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  2157 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  2158 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  2159 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  2160 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  2161 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  2162 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  2163 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  2164 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  2165 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  2166 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  2167 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  2168 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  2169 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  2170 //!                CMMFDevVideoPlay:: Initialize();
       
  2171 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  2172 //!                CMMFDevVideoPlay:: Start();
       
  2173 //!                CMMFDevVideoPlay:: Stop();
       
  2174 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  2175 //!@SYMAuthor			alavariega
       
  2176 //!@SYMCreationDate		16/6/2008
       
  2177 //!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Playback   at 15 fps 784Kbps
       
  2178 //!@SYMTestActions
       
  2179 //!                1. NewL (inputfile = MPEG4_QVGA_15fps_784_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  2180 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  2181 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  2182 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  2183 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  2184 //!                6. PostProcessorInfoLC
       
  2185 //!                7. FindCommonFormat
       
  2186 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  2187 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  2188 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  2189 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  2190 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  2191 //!                13. ReturnHeader
       
  2192 //!                14. SetVideoDestScreenL
       
  2193 //!                15. SetPostProcessTypesL (combination = 44)
       
  2194 //!                16. GetBufferOptions
       
  2195 //!                17. SetBufferOptionsL
       
  2196 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  2197 //!                19. Initialize
       
  2198 //!                OUTSTANDING
       
  2199 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  2200 //!                21. Start  
       
  2201 //!                OUTSTANDING
       
  2202 //!                22. Stop
       
  2203 //!                23. AbortDirectScreenAccess
       
  2204 //!                24. ~
       
  2205 //!@SYMTestStatus		Verified
       
  2206 //!@SYMTestPriority		Normal
       
  2207 //!@SYMTestExpectedResults
       
  2208 //!                Video must be played on the screen without any blurrness.
       
  2209 //!@SYMTestType			CIT
       
  2210 
       
  2211 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  2212 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  2213 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-NewL_command01
       
  2214 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-SelectDecoderL_command02
       
  2215 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-SelectPostProcessorL_command03
       
  2216 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-SetInputFormat_command04
       
  2217 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-GetOutputFormatListL_command05
       
  2218 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  2219 		COMMAND		mmfdvplay		FindCommonFormat
       
  2220 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-SetOutputFormatL_command08
       
  2221 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-SetInputFormat_command09
       
  2222 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-GetOutputFormatListL_command10
       
  2223 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-SetOutputFormatL_command11
       
  2224 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-GetHeaderInformationL_command12
       
  2225 		COMMAND		mmfdvplay		ReturnHeader
       
  2226 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  2227 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-SetPostProcessTypesL_command15
       
  2228 		COMMAND		mmfdvplay		GetBufferOptions
       
  2229 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  2230 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-SetClockSource_command18
       
  2231 		COMMAND		mmfdvplay		Initialize
       
  2232 		OUTSTANDING
       
  2233 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0023-0001-StartDirectScreenAccess_command20
       
  2234 		COMMAND		mmfdvplay		Start
       
  2235 		OUTSTANDING
       
  2236 		COMMAND		mmfdvplay		Stop
       
  2237 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  2238 		COMMAND		mmfdvplay		~
       
  2239 	END_TEST_BLOCK
       
  2240 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0023
       
  2241 
       
  2242 
       
  2243 
       
  2244 
       
  2245 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0024
       
  2246 
       
  2247 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0024
       
  2248 //!@SYMAPI
       
  2249 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  2250 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  2251 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  2252 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  2253 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  2254 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  2255 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  2256 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  2257 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  2258 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  2259 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  2260 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  2261 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  2262 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  2263 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  2264 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  2265 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  2266 //!                CMMFDevVideoPlay:: Initialize();
       
  2267 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  2268 //!                CMMFDevVideoPlay:: Start();
       
  2269 //!                CMMFDevVideoPlay:: Stop();
       
  2270 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  2271 //!@SYMAuthor			alavariega
       
  2272 //!@SYMCreationDate		16/6/2008
       
  2273 //!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Playback   at 30 fps 3Mbps
       
  2274 //!@SYMTestActions
       
  2275 //!                1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  2276 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  2277 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  2278 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  2279 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  2280 //!                6. PostProcessorInfoLC
       
  2281 //!                7. FindCommonFormat
       
  2282 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  2283 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  2284 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  2285 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  2286 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  2287 //!                13. ReturnHeader
       
  2288 //!                14. SetVideoDestScreenL
       
  2289 //!                15. SetPostProcessTypesL (combination = 44)
       
  2290 //!                16. GetBufferOptions
       
  2291 //!                17. SetBufferOptionsL
       
  2292 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  2293 //!                19. Initialize
       
  2294 //!                OUTSTANDING
       
  2295 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  2296 //!                21. Start  
       
  2297 //!                OUTSTANDING
       
  2298 //!                22. Stop
       
  2299 //!                23. AbortDirectScreenAccess
       
  2300 //!                24. ~
       
  2301 //!@SYMTestStatus		Verified
       
  2302 //!@SYMTestPriority		Normal
       
  2303 //!@SYMTestExpectedResults
       
  2304 //!                Video must be played on the screen without any blurrness.
       
  2305 //!@SYMTestType			CIT
       
  2306 
       
  2307 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  2308 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  2309 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-NewL_command01
       
  2310 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-SelectDecoderL_command02
       
  2311 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-SelectPostProcessorL_command03
       
  2312 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-SetInputFormat_command04
       
  2313 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-GetOutputFormatListL_command05
       
  2314 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  2315 		COMMAND		mmfdvplay		FindCommonFormat
       
  2316 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-SetOutputFormatL_command08
       
  2317 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-SetInputFormat_command09
       
  2318 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-GetOutputFormatListL_command10
       
  2319 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-SetOutputFormatL_command11
       
  2320 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-GetHeaderInformationL_command12
       
  2321 		COMMAND		mmfdvplay		ReturnHeader
       
  2322 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  2323 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-SetPostProcessTypesL_command15
       
  2324 		COMMAND		mmfdvplay		GetBufferOptions
       
  2325 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  2326 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-SetClockSource_command18
       
  2327 		COMMAND		mmfdvplay		Initialize
       
  2328 		OUTSTANDING
       
  2329 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0024-0001-StartDirectScreenAccess_command20
       
  2330 		COMMAND		mmfdvplay		Start
       
  2331 		OUTSTANDING
       
  2332 		COMMAND		mmfdvplay		Stop
       
  2333 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  2334 		COMMAND		mmfdvplay		~
       
  2335 	END_TEST_BLOCK
       
  2336 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0024
       
  2337 
       
  2338 
       
  2339 
       
  2340 
       
  2341 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0025
       
  2342 
       
  2343 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0025
       
  2344 //!@SYMAPI
       
  2345 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  2346 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  2347 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  2348 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  2349 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  2350 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  2351 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  2352 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  2353 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  2354 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  2355 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  2356 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  2357 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  2358 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  2359 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  2360 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  2361 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  2362 //!                CMMFDevVideoPlay:: Initialize();
       
  2363 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  2364 //!                CMMFDevVideoPlay:: Start();
       
  2365 //!                CMMFDevVideoPlay:: Stop();
       
  2366 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  2367 //!@SYMAuthor			alavariega
       
  2368 //!@SYMCreationDate		16/6/2008
       
  2369 //!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Playback   at 30 fps 64Kbps
       
  2370 //!@SYMTestActions
       
  2371 //!                1. NewL (inputfile = MPEG4_QVGA_30fps_64k_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  2372 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  2373 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  2374 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  2375 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  2376 //!                6. PostProcessorInfoLC
       
  2377 //!                7. FindCommonFormat
       
  2378 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  2379 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  2380 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  2381 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  2382 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  2383 //!                13. ReturnHeader
       
  2384 //!                14. SetVideoDestScreenL
       
  2385 //!                15. SetPostProcessTypesL (combination = 44)
       
  2386 //!                16. GetBufferOptions
       
  2387 //!                17. SetBufferOptionsL
       
  2388 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  2389 //!                19. Initialize
       
  2390 //!                OUTSTANDING
       
  2391 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  2392 //!                21. Start  
       
  2393 //!                OUTSTANDING
       
  2394 //!                22. Stop
       
  2395 //!                23. AbortDirectScreenAccess
       
  2396 //!                24. ~
       
  2397 //!@SYMTestStatus		Verified
       
  2398 //!@SYMTestPriority		Normal
       
  2399 //!@SYMTestExpectedResults
       
  2400 //!                Video must be played on the screen without any blurrness.
       
  2401 //!@SYMTestType			CIT
       
  2402 
       
  2403 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  2404 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  2405 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-NewL_command01
       
  2406 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-SelectDecoderL_command02
       
  2407 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-SelectPostProcessorL_command03
       
  2408 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-SetInputFormat_command04
       
  2409 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-GetOutputFormatListL_command05
       
  2410 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  2411 		COMMAND		mmfdvplay		FindCommonFormat
       
  2412 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-SetOutputFormatL_command08
       
  2413 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-SetInputFormat_command09
       
  2414 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-GetOutputFormatListL_command10
       
  2415 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-SetOutputFormatL_command11
       
  2416 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-GetHeaderInformationL_command12
       
  2417 		COMMAND		mmfdvplay		ReturnHeader
       
  2418 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  2419 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-SetPostProcessTypesL_command15
       
  2420 		COMMAND		mmfdvplay		GetBufferOptions
       
  2421 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  2422 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-SetClockSource_command18
       
  2423 		COMMAND		mmfdvplay		Initialize
       
  2424 		OUTSTANDING
       
  2425 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0025-0001-StartDirectScreenAccess_command20
       
  2426 		COMMAND		mmfdvplay		Start
       
  2427 		OUTSTANDING
       
  2428 		COMMAND		mmfdvplay		Stop
       
  2429 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  2430 		COMMAND		mmfdvplay		~
       
  2431 	END_TEST_BLOCK
       
  2432 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0025
       
  2433 
       
  2434 
       
  2435 
       
  2436 
       
  2437 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0026
       
  2438 
       
  2439 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0026
       
  2440 //!@SYMAPI
       
  2441 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  2442 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  2443 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  2444 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  2445 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  2446 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  2447 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  2448 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  2449 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  2450 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  2451 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  2452 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  2453 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  2454 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  2455 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  2456 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  2457 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  2458 //!                CMMFDevVideoPlay:: Initialize();
       
  2459 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  2460 //!                CMMFDevVideoPlay:: Start();
       
  2461 //!                CMMFDevVideoPlay:: Stop();
       
  2462 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  2463 //!@SYMAuthor			alavariega
       
  2464 //!@SYMCreationDate		16/6/2008
       
  2465 //!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Playback   at 30 fps 784Kbps
       
  2466 //!@SYMTestActions
       
  2467 //!                1. NewL (inputfile = MPEG4_QVGA_30fps_784k_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  2468 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  2469 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  2470 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  2471 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  2472 //!                6. PostProcessorInfoLC
       
  2473 //!                7. FindCommonFormat
       
  2474 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  2475 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  2476 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  2477 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  2478 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  2479 //!                13. ReturnHeader
       
  2480 //!                14. SetVideoDestScreenL
       
  2481 //!                15. SetPostProcessTypesL (combination = 44)
       
  2482 //!                16. GetBufferOptions
       
  2483 //!                17. SetBufferOptionsL
       
  2484 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  2485 //!                19. Initialize
       
  2486 //!                OUTSTANDING
       
  2487 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  2488 //!                21. Start  
       
  2489 //!                OUTSTANDING
       
  2490 //!                22. Stop
       
  2491 //!                23. AbortDirectScreenAccess
       
  2492 //!                24. ~
       
  2493 //!@SYMTestStatus		Verified
       
  2494 //!@SYMTestPriority		Normal
       
  2495 //!@SYMTestExpectedResults
       
  2496 //!                Video must be played on the screen without any blurrness.
       
  2497 //!@SYMTestType			CIT
       
  2498 
       
  2499 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  2500 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  2501 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-NewL_command01
       
  2502 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-SelectDecoderL_command02
       
  2503 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-SelectPostProcessorL_command03
       
  2504 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-SetInputFormat_command04
       
  2505 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-GetOutputFormatListL_command05
       
  2506 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  2507 		COMMAND		mmfdvplay		FindCommonFormat
       
  2508 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-SetOutputFormatL_command08
       
  2509 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-SetInputFormat_command09
       
  2510 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-GetOutputFormatListL_command10
       
  2511 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-SetOutputFormatL_command11
       
  2512 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-GetHeaderInformationL_command12
       
  2513 		COMMAND		mmfdvplay		ReturnHeader
       
  2514 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  2515 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-SetPostProcessTypesL_command15
       
  2516 		COMMAND		mmfdvplay		GetBufferOptions
       
  2517 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  2518 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-SetClockSource_command18
       
  2519 		COMMAND		mmfdvplay		Initialize
       
  2520 		OUTSTANDING
       
  2521 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0026-0001-StartDirectScreenAccess_command20
       
  2522 		COMMAND		mmfdvplay		Start
       
  2523 		OUTSTANDING
       
  2524 		COMMAND		mmfdvplay		Stop
       
  2525 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  2526 		COMMAND		mmfdvplay		~
       
  2527 	END_TEST_BLOCK
       
  2528 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0026
       
  2529 
       
  2530 
       
  2531 
       
  2532 
       
  2533 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0027
       
  2534 
       
  2535 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0027
       
  2536 //!@SYMAPI
       
  2537 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  2538 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  2539 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  2540 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  2541 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  2542 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  2543 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  2544 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  2545 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  2546 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  2547 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  2548 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  2549 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  2550 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  2551 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  2552 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  2553 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  2554 //!                CMMFDevVideoPlay:: Initialize();
       
  2555 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  2556 //!                CMMFDevVideoPlay:: Start();
       
  2557 //!                CMMFDevVideoPlay:: Stop();
       
  2558 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  2559 //!@SYMAuthor			alavariega
       
  2560 //!@SYMCreationDate		16/6/2008
       
  2561 //!@SYMTestCaseDesc		 NCP MPEG -4  SQCIF Video Playback   at 15 fps 3Mbps
       
  2562 //!@SYMTestActions
       
  2563 //!                1. NewL (inputfile = foreman_sqcif_15fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  2564 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  2565 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  2566 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  2567 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  2568 //!                6. PostProcessorInfoLC
       
  2569 //!                7. FindCommonFormat
       
  2570 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  2571 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  2572 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  2573 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  2574 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  2575 //!                13. ReturnHeader
       
  2576 //!                14. SetVideoDestScreenL
       
  2577 //!                15. SetPostProcessTypesL (combination = 44)
       
  2578 //!                16. GetBufferOptions
       
  2579 //!                17. SetBufferOptionsL
       
  2580 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  2581 //!                19. Initialize
       
  2582 //!                OUTSTANDING
       
  2583 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  2584 //!                21. Start  
       
  2585 //!                OUTSTANDING
       
  2586 //!                22. Stop
       
  2587 //!                23. AbortDirectScreenAccess
       
  2588 //!                24. ~
       
  2589 //!@SYMTestStatus		Verified
       
  2590 //!@SYMTestPriority		Normal
       
  2591 //!@SYMTestExpectedResults
       
  2592 //!                Video must be played on the screen without any blurrness.
       
  2593 //!@SYMTestType			CIT
       
  2594 
       
  2595 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  2596 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  2597 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-NewL_command01
       
  2598 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-SelectDecoderL_command02
       
  2599 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-SelectPostProcessorL_command03
       
  2600 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-SetInputFormat_command04
       
  2601 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-GetOutputFormatListL_command05
       
  2602 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  2603 		COMMAND		mmfdvplay		FindCommonFormat
       
  2604 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-SetOutputFormatL_command08
       
  2605 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-SetInputFormat_command09
       
  2606 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-GetOutputFormatListL_command10
       
  2607 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-SetOutputFormatL_command11
       
  2608 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-GetHeaderInformationL_command12
       
  2609 		COMMAND		mmfdvplay		ReturnHeader
       
  2610 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  2611 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-SetPostProcessTypesL_command15
       
  2612 		COMMAND		mmfdvplay		GetBufferOptions
       
  2613 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  2614 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-SetClockSource_command18
       
  2615 		COMMAND		mmfdvplay		Initialize
       
  2616 		OUTSTANDING
       
  2617 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0027-0001-StartDirectScreenAccess_command20
       
  2618 		COMMAND		mmfdvplay		Start
       
  2619 		OUTSTANDING
       
  2620 		COMMAND		mmfdvplay		Stop
       
  2621 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  2622 		COMMAND		mmfdvplay		~
       
  2623 	END_TEST_BLOCK
       
  2624 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0027
       
  2625 
       
  2626 
       
  2627 
       
  2628 
       
  2629 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0028
       
  2630 
       
  2631 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0028
       
  2632 //!@SYMAPI
       
  2633 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  2634 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  2635 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  2636 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  2637 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  2638 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  2639 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  2640 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  2641 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  2642 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  2643 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  2644 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  2645 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  2646 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  2647 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  2648 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  2649 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  2650 //!                CMMFDevVideoPlay:: Initialize();
       
  2651 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  2652 //!                CMMFDevVideoPlay:: Start();
       
  2653 //!                CMMFDevVideoPlay:: Stop();
       
  2654 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  2655 //!@SYMAuthor			alavariega
       
  2656 //!@SYMCreationDate		16/6/2008
       
  2657 //!@SYMTestCaseDesc		 NCP MPEG -4  SQCIF Video Playback   at 15 fps 64Kbps
       
  2658 //!@SYMTestActions
       
  2659 //!                1. NewL (inputfile = foreman_sqcif_15fps_64K_dec_mod.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  2660 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  2661 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  2662 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  2663 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  2664 //!                6. PostProcessorInfoLC
       
  2665 //!                7. FindCommonFormat
       
  2666 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  2667 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  2668 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  2669 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  2670 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  2671 //!                13. ReturnHeader
       
  2672 //!                14. SetVideoDestScreenL
       
  2673 //!                15. SetPostProcessTypesL (combination = 44)
       
  2674 //!                16. GetBufferOptions
       
  2675 //!                17. SetBufferOptionsL
       
  2676 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  2677 //!                19. Initialize
       
  2678 //!                OUTSTANDING
       
  2679 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  2680 //!                21. Start  
       
  2681 //!                OUTSTANDING
       
  2682 //!                22. Stop
       
  2683 //!                23. AbortDirectScreenAccess
       
  2684 //!                24. ~
       
  2685 //!@SYMTestStatus		Verified
       
  2686 //!@SYMTestPriority		Normal
       
  2687 //!@SYMTestExpectedResults
       
  2688 //!                Video must be played on the screen without any blurrness.
       
  2689 //!@SYMTestType			CIT
       
  2690 
       
  2691 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  2692 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  2693 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-NewL_command01
       
  2694 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-SelectDecoderL_command02
       
  2695 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-SelectPostProcessorL_command03
       
  2696 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-SetInputFormat_command04
       
  2697 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-GetOutputFormatListL_command05
       
  2698 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  2699 		COMMAND		mmfdvplay		FindCommonFormat
       
  2700 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-SetOutputFormatL_command08
       
  2701 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-SetInputFormat_command09
       
  2702 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-GetOutputFormatListL_command10
       
  2703 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-SetOutputFormatL_command11
       
  2704 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-GetHeaderInformationL_command12
       
  2705 		COMMAND		mmfdvplay		ReturnHeader
       
  2706 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  2707 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-SetPostProcessTypesL_command15
       
  2708 		COMMAND		mmfdvplay		GetBufferOptions
       
  2709 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  2710 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-SetClockSource_command18
       
  2711 		COMMAND		mmfdvplay		Initialize
       
  2712 		OUTSTANDING
       
  2713 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0028-0001-StartDirectScreenAccess_command20
       
  2714 		COMMAND		mmfdvplay		Start
       
  2715 		OUTSTANDING
       
  2716 		COMMAND		mmfdvplay		Stop
       
  2717 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  2718 		COMMAND		mmfdvplay		~
       
  2719 	END_TEST_BLOCK
       
  2720 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0028
       
  2721 
       
  2722 
       
  2723 
       
  2724 
       
  2725 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0029
       
  2726 
       
  2727 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0029
       
  2728 //!@SYMAPI
       
  2729 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  2730 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  2731 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  2732 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  2733 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  2734 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  2735 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  2736 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  2737 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  2738 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  2739 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  2740 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  2741 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  2742 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  2743 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  2744 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  2745 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  2746 //!                CMMFDevVideoPlay:: Initialize();
       
  2747 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  2748 //!                CMMFDevVideoPlay:: Start();
       
  2749 //!                CMMFDevVideoPlay:: Stop();
       
  2750 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  2751 //!@SYMAuthor			alavariega
       
  2752 //!@SYMCreationDate		16/6/2008
       
  2753 //!@SYMTestCaseDesc		 NCP MPEG -4  SQCIF Video Playback   at 15 fps 784Kbps
       
  2754 //!@SYMTestActions
       
  2755 //!                1. NewL (inputfile = foreman_sqcif_15fps_784K_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  2756 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  2757 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  2758 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  2759 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  2760 //!                6. PostProcessorInfoLC
       
  2761 //!                7. FindCommonFormat
       
  2762 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  2763 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  2764 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  2765 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  2766 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  2767 //!                13. ReturnHeader
       
  2768 //!                14. SetVideoDestScreenL
       
  2769 //!                15. SetPostProcessTypesL (combination = 44)
       
  2770 //!                16. GetBufferOptions
       
  2771 //!                17. SetBufferOptionsL
       
  2772 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  2773 //!                19. Initialize
       
  2774 //!                OUTSTANDING
       
  2775 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  2776 //!                21. Start  
       
  2777 //!                OUTSTANDING
       
  2778 //!                22. Stop
       
  2779 //!                23. AbortDirectScreenAccess
       
  2780 //!                24. ~
       
  2781 //!@SYMTestStatus		Verified
       
  2782 //!@SYMTestPriority		Normal
       
  2783 //!@SYMTestExpectedResults
       
  2784 //!                Video must be played on the screen without any blurrness.
       
  2785 //!@SYMTestType			CIT
       
  2786 
       
  2787 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  2788 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  2789 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-NewL_command01
       
  2790 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-SelectDecoderL_command02
       
  2791 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-SelectPostProcessorL_command03
       
  2792 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-SetInputFormat_command04
       
  2793 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-GetOutputFormatListL_command05
       
  2794 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  2795 		COMMAND		mmfdvplay		FindCommonFormat
       
  2796 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-SetOutputFormatL_command08
       
  2797 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-SetInputFormat_command09
       
  2798 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-GetOutputFormatListL_command10
       
  2799 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-SetOutputFormatL_command11
       
  2800 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-GetHeaderInformationL_command12
       
  2801 		COMMAND		mmfdvplay		ReturnHeader
       
  2802 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  2803 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-SetPostProcessTypesL_command15
       
  2804 		COMMAND		mmfdvplay		GetBufferOptions
       
  2805 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  2806 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-SetClockSource_command18
       
  2807 		COMMAND		mmfdvplay		Initialize
       
  2808 		OUTSTANDING
       
  2809 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0029-0001-StartDirectScreenAccess_command20
       
  2810 		COMMAND		mmfdvplay		Start
       
  2811 		OUTSTANDING
       
  2812 		COMMAND		mmfdvplay		Stop
       
  2813 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  2814 		COMMAND		mmfdvplay		~
       
  2815 	END_TEST_BLOCK
       
  2816 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0029
       
  2817 
       
  2818 
       
  2819 
       
  2820 
       
  2821 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0030
       
  2822 
       
  2823 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0030
       
  2824 //!@SYMAPI
       
  2825 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  2826 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  2827 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  2828 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  2829 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  2830 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  2831 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  2832 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  2833 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  2834 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  2835 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  2836 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  2837 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  2838 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  2839 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  2840 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  2841 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  2842 //!                CMMFDevVideoPlay:: Initialize();
       
  2843 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  2844 //!                CMMFDevVideoPlay:: Start();
       
  2845 //!                CMMFDevVideoPlay:: Stop();
       
  2846 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  2847 //!@SYMAuthor			alavariega
       
  2848 //!@SYMCreationDate		16/6/2008
       
  2849 //!@SYMTestCaseDesc		 NCP MPEG -4  SQCIF Video Playback   at 30 fps 3Mbps
       
  2850 //!@SYMTestActions
       
  2851 //!                1. NewL (inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  2852 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  2853 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  2854 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  2855 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  2856 //!                6. PostProcessorInfoLC
       
  2857 //!                7. FindCommonFormat
       
  2858 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  2859 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  2860 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  2861 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  2862 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  2863 //!                13. ReturnHeader
       
  2864 //!                14. SetVideoDestScreenL
       
  2865 //!                15. SetPostProcessTypesL (combination = 44)
       
  2866 //!                16. GetBufferOptions
       
  2867 //!                17. SetBufferOptionsL
       
  2868 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  2869 //!                19. Initialize
       
  2870 //!                OUTSTANDING
       
  2871 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  2872 //!                21. Start  
       
  2873 //!                OUTSTANDING
       
  2874 //!                22. Stop
       
  2875 //!                23. AbortDirectScreenAccess
       
  2876 //!                24. ~
       
  2877 //!@SYMTestStatus		Verified
       
  2878 //!@SYMTestPriority		Normal
       
  2879 //!@SYMTestExpectedResults
       
  2880 //!                Video must be played on the screen without any blurrness.
       
  2881 //!@SYMTestType			CIT
       
  2882 
       
  2883 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  2884 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  2885 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-NewL_command01
       
  2886 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-SelectDecoderL_command02
       
  2887 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-SelectPostProcessorL_command03
       
  2888 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-SetInputFormat_command04
       
  2889 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-GetOutputFormatListL_command05
       
  2890 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  2891 		COMMAND		mmfdvplay		FindCommonFormat
       
  2892 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-SetOutputFormatL_command08
       
  2893 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-SetInputFormat_command09
       
  2894 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-GetOutputFormatListL_command10
       
  2895 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-SetOutputFormatL_command11
       
  2896 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-GetHeaderInformationL_command12
       
  2897 		COMMAND		mmfdvplay		ReturnHeader
       
  2898 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  2899 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-SetPostProcessTypesL_command15
       
  2900 		COMMAND		mmfdvplay		GetBufferOptions
       
  2901 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  2902 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-SetClockSource_command18
       
  2903 		COMMAND		mmfdvplay		Initialize
       
  2904 		OUTSTANDING
       
  2905 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0030-0001-StartDirectScreenAccess_command20
       
  2906 		COMMAND		mmfdvplay		Start
       
  2907 		OUTSTANDING
       
  2908 		COMMAND		mmfdvplay		Stop
       
  2909 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  2910 		COMMAND		mmfdvplay		~
       
  2911 	END_TEST_BLOCK
       
  2912 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0030
       
  2913 
       
  2914 
       
  2915 
       
  2916 
       
  2917 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0031
       
  2918 
       
  2919 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0031
       
  2920 //!@SYMAPI
       
  2921 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  2922 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  2923 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  2924 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  2925 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  2926 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  2927 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  2928 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  2929 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  2930 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  2931 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  2932 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  2933 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  2934 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  2935 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  2936 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  2937 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  2938 //!                CMMFDevVideoPlay:: Initialize();
       
  2939 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  2940 //!                CMMFDevVideoPlay:: Start();
       
  2941 //!                CMMFDevVideoPlay:: Stop();
       
  2942 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  2943 //!@SYMAuthor			alavariega
       
  2944 //!@SYMCreationDate		16/6/2008
       
  2945 //!@SYMTestCaseDesc		 NCP MPEG -4  SQCIF Video Playback   at 30 fps 64Kbps
       
  2946 //!@SYMTestActions
       
  2947 //!                1. NewL (inputfile = foreman_sqcif_30fps_64K_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  2948 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  2949 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  2950 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  2951 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  2952 //!                6. PostProcessorInfoLC
       
  2953 //!                7. FindCommonFormat
       
  2954 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  2955 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  2956 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  2957 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  2958 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  2959 //!                13. ReturnHeader
       
  2960 //!                14. SetVideoDestScreenL
       
  2961 //!                15. SetPostProcessTypesL (combination = 44)
       
  2962 //!                16. GetBufferOptions
       
  2963 //!                17. SetBufferOptionsL
       
  2964 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  2965 //!                19. Initialize
       
  2966 //!                OUTSTANDING
       
  2967 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  2968 //!                21. Start  
       
  2969 //!                OUTSTANDING
       
  2970 //!                22. Stop
       
  2971 //!                23. AbortDirectScreenAccess
       
  2972 //!                24. ~
       
  2973 //!@SYMTestStatus		Verified
       
  2974 //!@SYMTestPriority		Normal
       
  2975 //!@SYMTestExpectedResults
       
  2976 //!                Video must be played on the screen without any blurrness.
       
  2977 //!@SYMTestType			CIT
       
  2978 
       
  2979 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  2980 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  2981 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-NewL_command01
       
  2982 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-SelectDecoderL_command02
       
  2983 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-SelectPostProcessorL_command03
       
  2984 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-SetInputFormat_command04
       
  2985 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-GetOutputFormatListL_command05
       
  2986 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  2987 		COMMAND		mmfdvplay		FindCommonFormat
       
  2988 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-SetOutputFormatL_command08
       
  2989 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-SetInputFormat_command09
       
  2990 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-GetOutputFormatListL_command10
       
  2991 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-SetOutputFormatL_command11
       
  2992 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-GetHeaderInformationL_command12
       
  2993 		COMMAND		mmfdvplay		ReturnHeader
       
  2994 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  2995 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-SetPostProcessTypesL_command15
       
  2996 		COMMAND		mmfdvplay		GetBufferOptions
       
  2997 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  2998 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-SetClockSource_command18
       
  2999 		COMMAND		mmfdvplay		Initialize
       
  3000 		OUTSTANDING
       
  3001 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0031-0001-StartDirectScreenAccess_command20
       
  3002 		COMMAND		mmfdvplay		Start
       
  3003 		OUTSTANDING
       
  3004 		COMMAND		mmfdvplay		Stop
       
  3005 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  3006 		COMMAND		mmfdvplay		~
       
  3007 	END_TEST_BLOCK
       
  3008 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0031
       
  3009 
       
  3010 
       
  3011 
       
  3012 
       
  3013 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0032
       
  3014 
       
  3015 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0032
       
  3016 //!@SYMAPI
       
  3017 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  3018 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  3019 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  3020 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  3021 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  3022 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  3023 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  3024 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  3025 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  3026 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  3027 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  3028 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  3029 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  3030 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  3031 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  3032 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  3033 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  3034 //!                CMMFDevVideoPlay:: Initialize();
       
  3035 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  3036 //!                CMMFDevVideoPlay:: Start();
       
  3037 //!                CMMFDevVideoPlay:: Stop();
       
  3038 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  3039 //!@SYMAuthor			alavariega
       
  3040 //!@SYMCreationDate		16/6/2008
       
  3041 //!@SYMTestCaseDesc		 NCP MPEG -4  SQCIF Video Playback   at 30 fps 784Kbps
       
  3042 //!@SYMTestActions
       
  3043 //!                1. NewL (inputfile = foreman_sqcif_30fps_784K_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  3044 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  3045 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  3046 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  3047 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  3048 //!                6. PostProcessorInfoLC
       
  3049 //!                7. FindCommonFormat
       
  3050 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  3051 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  3052 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  3053 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  3054 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  3055 //!                13. ReturnHeader
       
  3056 //!                14. SetVideoDestScreenL
       
  3057 //!                15. SetPostProcessTypesL (combination = 44)
       
  3058 //!                16. GetBufferOptions
       
  3059 //!                17. SetBufferOptionsL
       
  3060 //!                18. SetClockSource  (synch = 1; framerate = 30)
       
  3061 //!                19. Initialize
       
  3062 //!                OUTSTANDING
       
  3063 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  3064 //!                21. Start  
       
  3065 //!                OUTSTANDING
       
  3066 //!                22. Stop
       
  3067 //!                23. AbortDirectScreenAccess
       
  3068 //!                24. ~
       
  3069 //!@SYMTestStatus		Verified
       
  3070 //!@SYMTestPriority		Normal
       
  3071 //!@SYMTestExpectedResults
       
  3072 //!                Video must be played on the screen without any blurrness.
       
  3073 //!@SYMTestType			CIT
       
  3074 
       
  3075 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  3076 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  3077 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-NewL_command01
       
  3078 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-SelectDecoderL_command02
       
  3079 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-SelectPostProcessorL_command03
       
  3080 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-SetInputFormat_command04
       
  3081 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-GetOutputFormatListL_command05
       
  3082 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  3083 		COMMAND		mmfdvplay		FindCommonFormat
       
  3084 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-SetOutputFormatL_command08
       
  3085 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-SetInputFormat_command09
       
  3086 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-GetOutputFormatListL_command10
       
  3087 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-SetOutputFormatL_command11
       
  3088 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-GetHeaderInformationL_command12
       
  3089 		COMMAND		mmfdvplay		ReturnHeader
       
  3090 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  3091 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-SetPostProcessTypesL_command15
       
  3092 		COMMAND		mmfdvplay		GetBufferOptions
       
  3093 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  3094 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-SetClockSource_command18
       
  3095 		COMMAND		mmfdvplay		Initialize
       
  3096 		OUTSTANDING
       
  3097 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0032-0001-StartDirectScreenAccess_command20
       
  3098 		COMMAND		mmfdvplay		Start
       
  3099 		OUTSTANDING
       
  3100 		COMMAND		mmfdvplay		Stop
       
  3101 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  3102 		COMMAND		mmfdvplay		~
       
  3103 	END_TEST_BLOCK
       
  3104 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0032
       
  3105 
       
  3106 
       
  3107 
       
  3108 
       
  3109 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0033
       
  3110 
       
  3111 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0033
       
  3112 //!@SYMAPI
       
  3113 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  3114 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  3115 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  3116 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  3117 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  3118 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  3119 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  3120 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  3121 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  3122 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  3123 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  3124 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  3125 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  3126 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  3127 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  3128 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  3129 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  3130 //!                CMMFDevVideoPlay:: Initialize();
       
  3131 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  3132 //!                CMMFDevVideoPlay:: Start();
       
  3133 //!                CMMFDevVideoPlay:: Stop();
       
  3134 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  3135 //!@SYMAuthor			alavariega
       
  3136 //!@SYMCreationDate		16/6/2008
       
  3137 //!@SYMTestCaseDesc		 NCP MPEG -4  VGA Video Playback   at 15 fps 3Mbps
       
  3138 //!@SYMTestActions
       
  3139 //!                1. NewL (inputfile = MPEG4_VGA_15fps_3m_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  3140 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  3141 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  3142 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  3143 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  3144 //!                6. PostProcessorInfoLC
       
  3145 //!                7. FindCommonFormat
       
  3146 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  3147 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  3148 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  3149 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  3150 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  3151 //!                13. ReturnHeader
       
  3152 //!                14. SetVideoDestScreenL
       
  3153 //!                15. SetPostProcessTypesL (combination = 44)
       
  3154 //!                16. GetBufferOptions
       
  3155 //!                17. SetBufferOptionsL
       
  3156 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  3157 //!                19. Initialize
       
  3158 //!                OUTSTANDING
       
  3159 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  3160 //!                21. Start  
       
  3161 //!                OUTSTANDING
       
  3162 //!                22. Stop
       
  3163 //!                23. AbortDirectScreenAccess
       
  3164 //!                24. ~
       
  3165 //!@SYMTestStatus		Verified
       
  3166 //!@SYMTestPriority		Normal
       
  3167 //!@SYMTestExpectedResults
       
  3168 //!                Video must be played on the screen without any blurrness.
       
  3169 //!@SYMTestType			CIT
       
  3170 
       
  3171 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  3172 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  3173 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-NewL_command01
       
  3174 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-SelectDecoderL_command02
       
  3175 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-SelectPostProcessorL_command03
       
  3176 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-SetInputFormat_command04
       
  3177 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-GetOutputFormatListL_command05
       
  3178 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  3179 		COMMAND		mmfdvplay		FindCommonFormat
       
  3180 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-SetOutputFormatL_command08
       
  3181 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-SetInputFormat_command09
       
  3182 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-GetOutputFormatListL_command10
       
  3183 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-SetOutputFormatL_command11
       
  3184 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-GetHeaderInformationL_command12
       
  3185 		COMMAND		mmfdvplay		ReturnHeader
       
  3186 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  3187 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-SetPostProcessTypesL_command15
       
  3188 		COMMAND		mmfdvplay		GetBufferOptions
       
  3189 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  3190 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-SetClockSource_command18
       
  3191 		COMMAND		mmfdvplay		Initialize
       
  3192 		OUTSTANDING
       
  3193 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0033-0001-StartDirectScreenAccess_command20
       
  3194 		COMMAND		mmfdvplay		Start
       
  3195 		OUTSTANDING
       
  3196 		COMMAND		mmfdvplay		Stop
       
  3197 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  3198 		COMMAND		mmfdvplay		~
       
  3199 	END_TEST_BLOCK
       
  3200 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0033
       
  3201 
       
  3202 
       
  3203 
       
  3204 
       
  3205 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0034
       
  3206 
       
  3207 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0034
       
  3208 //!@SYMAPI
       
  3209 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  3210 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  3211 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  3212 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  3213 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  3214 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  3215 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  3216 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  3217 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  3218 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  3219 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  3220 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  3221 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  3222 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  3223 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  3224 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  3225 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  3226 //!                CMMFDevVideoPlay:: Initialize();
       
  3227 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  3228 //!                CMMFDevVideoPlay:: Start();
       
  3229 //!                CMMFDevVideoPlay:: Stop();
       
  3230 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  3231 //!@SYMAuthor			alavariega
       
  3232 //!@SYMCreationDate		16/6/2008
       
  3233 //!@SYMTestCaseDesc		 NCP MPEG -4  VGA Video Playback   at 15 fps 64kbps
       
  3234 //!@SYMTestActions
       
  3235 //!                1. NewL (inputfile = MPEG4_VGA_15fps_64k_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  3236 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  3237 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  3238 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  3239 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  3240 //!                6. PostProcessorInfoLC
       
  3241 //!                7. FindCommonFormat
       
  3242 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  3243 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  3244 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  3245 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  3246 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  3247 //!                13. ReturnHeader
       
  3248 //!                14. SetVideoDestScreenL
       
  3249 //!                15. SetPostProcessTypesL (combination = 44)
       
  3250 //!                16. GetBufferOptions
       
  3251 //!                17. SetBufferOptionsL
       
  3252 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  3253 //!                19. Initialize
       
  3254 //!                OUTSTANDING
       
  3255 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  3256 //!                21. Start  
       
  3257 //!                OUTSTANDING
       
  3258 //!                22. Stop
       
  3259 //!                23. AbortDirectScreenAccess
       
  3260 //!                24. ~
       
  3261 //!@SYMTestStatus		Verified
       
  3262 //!@SYMTestPriority		Normal
       
  3263 //!@SYMTestExpectedResults
       
  3264 //!                Video must be played on the screen without any blurrness.
       
  3265 //!@SYMTestType			CIT
       
  3266 
       
  3267 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  3268 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  3269 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-NewL_command01
       
  3270 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-SelectDecoderL_command02
       
  3271 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-SelectPostProcessorL_command03
       
  3272 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-SetInputFormat_command04
       
  3273 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-GetOutputFormatListL_command05
       
  3274 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  3275 		COMMAND		mmfdvplay		FindCommonFormat
       
  3276 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-SetOutputFormatL_command08
       
  3277 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-SetInputFormat_command09
       
  3278 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-GetOutputFormatListL_command10
       
  3279 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-SetOutputFormatL_command11
       
  3280 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-GetHeaderInformationL_command12
       
  3281 		COMMAND		mmfdvplay		ReturnHeader
       
  3282 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  3283 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-SetPostProcessTypesL_command15
       
  3284 		COMMAND		mmfdvplay		GetBufferOptions
       
  3285 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  3286 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-SetClockSource_command18
       
  3287 		COMMAND		mmfdvplay		Initialize
       
  3288 		OUTSTANDING
       
  3289 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0034-0001-StartDirectScreenAccess_command20
       
  3290 		COMMAND		mmfdvplay		Start
       
  3291 		OUTSTANDING
       
  3292 		COMMAND		mmfdvplay		Stop
       
  3293 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  3294 		COMMAND		mmfdvplay		~
       
  3295 	END_TEST_BLOCK
       
  3296 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0034
       
  3297 
       
  3298 
       
  3299 
       
  3300 
       
  3301 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0035
       
  3302 
       
  3303 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0035
       
  3304 //!@SYMAPI
       
  3305 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  3306 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  3307 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  3308 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  3309 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  3310 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  3311 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  3312 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  3313 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  3314 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  3315 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  3316 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  3317 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  3318 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  3319 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  3320 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  3321 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  3322 //!                CMMFDevVideoPlay:: Initialize();
       
  3323 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  3324 //!                CMMFDevVideoPlay:: Start();
       
  3325 //!                CMMFDevVideoPlay:: Stop();
       
  3326 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  3327 //!@SYMAuthor			alavariega
       
  3328 //!@SYMCreationDate		16/6/2008
       
  3329 //!@SYMTestCaseDesc		 NCP MPEG -4  VGA Video Playback   at 15 fps 784Kbps
       
  3330 //!@SYMTestActions
       
  3331 //!                1. NewL (inputfile = MPEG4_VGA_15fps_784k_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  3332 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  3333 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  3334 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  3335 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  3336 //!                6. PostProcessorInfoLC
       
  3337 //!                7. FindCommonFormat
       
  3338 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  3339 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  3340 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  3341 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  3342 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  3343 //!                13. ReturnHeader
       
  3344 //!                14. SetVideoDestScreenL
       
  3345 //!                15. SetPostProcessTypesL (combination = 44)
       
  3346 //!                16. GetBufferOptions
       
  3347 //!                17. SetBufferOptionsL
       
  3348 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  3349 //!                19. Initialize
       
  3350 //!                OUTSTANDING
       
  3351 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  3352 //!                21. Start  
       
  3353 //!                OUTSTANDING
       
  3354 //!                22. Stop
       
  3355 //!                23. AbortDirectScreenAccess
       
  3356 //!                24. ~
       
  3357 //!@SYMTestStatus		Verified
       
  3358 //!@SYMTestPriority		Normal
       
  3359 //!@SYMTestExpectedResults
       
  3360 //!                Video must be played on the screen without any blurrness.
       
  3361 //!@SYMTestType			CIT
       
  3362 
       
  3363 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  3364 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  3365 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-NewL_command01
       
  3366 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-SelectDecoderL_command02
       
  3367 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-SelectPostProcessorL_command03
       
  3368 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-SetInputFormat_command04
       
  3369 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-GetOutputFormatListL_command05
       
  3370 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  3371 		COMMAND		mmfdvplay		FindCommonFormat
       
  3372 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-SetOutputFormatL_command08
       
  3373 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-SetInputFormat_command09
       
  3374 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-GetOutputFormatListL_command10
       
  3375 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-SetOutputFormatL_command11
       
  3376 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-GetHeaderInformationL_command12
       
  3377 		COMMAND		mmfdvplay		ReturnHeader
       
  3378 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  3379 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-SetPostProcessTypesL_command15
       
  3380 		COMMAND		mmfdvplay		GetBufferOptions
       
  3381 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  3382 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-SetClockSource_command18
       
  3383 		COMMAND		mmfdvplay		Initialize
       
  3384 		OUTSTANDING
       
  3385 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0035-0001-StartDirectScreenAccess_command20
       
  3386 		COMMAND		mmfdvplay		Start
       
  3387 		OUTSTANDING
       
  3388 		COMMAND		mmfdvplay		Stop
       
  3389 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  3390 		COMMAND		mmfdvplay		~
       
  3391 	END_TEST_BLOCK
       
  3392 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0035
       
  3393 
       
  3394 
       
  3395 
       
  3396 
       
  3397 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0036
       
  3398 
       
  3399 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0036
       
  3400 //!@SYMAPI
       
  3401 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  3402 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  3403 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  3404 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  3405 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  3406 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  3407 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  3408 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  3409 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  3410 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  3411 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  3412 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  3413 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  3414 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  3415 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  3416 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  3417 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  3418 //!                CMMFDevVideoPlay:: Initialize();
       
  3419 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  3420 //!                CMMFDevVideoPlay:: Start();
       
  3421 //!                CMMFDevVideoPlay:: Stop();
       
  3422 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  3423 //!@SYMAuthor			alavariega
       
  3424 //!@SYMCreationDate		16/6/2008
       
  3425 //!@SYMTestCaseDesc		 NCP MPEG -4  VGA Video Playback at 30 fps 3Mbps
       
  3426 //!@SYMTestActions
       
  3427 //!                1. NewL (inputfile = MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  3428 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  3429 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  3430 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  3431 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  3432 //!                6. PostProcessorInfoLC
       
  3433 //!                7. FindCommonFormat
       
  3434 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  3435 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  3436 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  3437 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  3438 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  3439 //!                13. ReturnHeader
       
  3440 //!                14. SetVideoDestScreenL
       
  3441 //!                15. SetPostProcessTypesL (combination = 44)
       
  3442 //!                16. GetBufferOptions
       
  3443 //!                17. SetBufferOptionsL
       
  3444 //!                18. SetClockSource  (synch = 1; framerate = 25)
       
  3445 //!                19. Initialize
       
  3446 //!                OUTSTANDING
       
  3447 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  3448 //!                21. Start  
       
  3449 //!                OUTSTANDING
       
  3450 //!                22. Stop
       
  3451 //!                23. AbortDirectScreenAccess
       
  3452 //!                24. ~
       
  3453 //!@SYMTestStatus		Verified
       
  3454 //!@SYMTestPriority		Normal
       
  3455 //!@SYMTestExpectedResults
       
  3456 //!                Video must be played on the screen without any blurrness.
       
  3457 //!@SYMTestType			CIT
       
  3458 
       
  3459 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  3460 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  3461 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-NewL_command01
       
  3462 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-SelectDecoderL_command02
       
  3463 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-SelectPostProcessorL_command03
       
  3464 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-SetInputFormat_command04
       
  3465 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-GetOutputFormatListL_command05
       
  3466 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  3467 		COMMAND		mmfdvplay		FindCommonFormat
       
  3468 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-SetOutputFormatL_command08
       
  3469 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-SetInputFormat_command09
       
  3470 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-GetOutputFormatListL_command10
       
  3471 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-SetOutputFormatL_command11
       
  3472 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-GetHeaderInformationL_command12
       
  3473 		COMMAND		mmfdvplay		ReturnHeader
       
  3474 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  3475 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-SetPostProcessTypesL_command15
       
  3476 		COMMAND		mmfdvplay		GetBufferOptions
       
  3477 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  3478 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-SetClockSource_command18
       
  3479 		COMMAND		mmfdvplay		Initialize
       
  3480 		OUTSTANDING
       
  3481 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0036-0001-StartDirectScreenAccess_command20
       
  3482 		COMMAND		mmfdvplay		Start
       
  3483 		OUTSTANDING
       
  3484 		COMMAND		mmfdvplay		Stop
       
  3485 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  3486 		COMMAND		mmfdvplay		~
       
  3487 	END_TEST_BLOCK
       
  3488 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0036
       
  3489 
       
  3490 
       
  3491 
       
  3492 
       
  3493 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0037
       
  3494 
       
  3495 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0037
       
  3496 //!@SYMAPI
       
  3497 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  3498 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  3499 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  3500 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  3501 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  3502 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  3503 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  3504 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  3505 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  3506 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  3507 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  3508 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  3509 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  3510 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  3511 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  3512 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  3513 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  3514 //!                CMMFDevVideoPlay:: Initialize();
       
  3515 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  3516 //!                CMMFDevVideoPlay:: Start();
       
  3517 //!                CMMFDevVideoPlay:: Stop();
       
  3518 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  3519 //!@SYMAuthor			alavariega
       
  3520 //!@SYMCreationDate		16/6/2008
       
  3521 //!@SYMTestCaseDesc		 NCP MPEG -4  VGA Video Playback   at 30 fps 64kbps
       
  3522 //!@SYMTestActions
       
  3523 //!                1. NewL (inputfile = MPEG4_VGA_30fps_64k_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  3524 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  3525 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  3526 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  3527 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  3528 //!                6. PostProcessorInfoLC
       
  3529 //!                7. FindCommonFormat
       
  3530 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  3531 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  3532 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  3533 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  3534 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  3535 //!                13. ReturnHeader
       
  3536 //!                14. SetVideoDestScreenL
       
  3537 //!                15. SetPostProcessTypesL (combination = 44)
       
  3538 //!                16. GetBufferOptions
       
  3539 //!                17. SetBufferOptionsL
       
  3540 //!                18. SetClockSource  (synch = 1; framerate = 25)
       
  3541 //!                19. Initialize
       
  3542 //!                OUTSTANDING
       
  3543 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  3544 //!                21. Start  
       
  3545 //!                OUTSTANDING
       
  3546 //!                22. Stop
       
  3547 //!                23. AbortDirectScreenAccess
       
  3548 //!                24. ~
       
  3549 //!@SYMTestStatus		Verified
       
  3550 //!@SYMTestPriority		Normal
       
  3551 //!@SYMTestExpectedResults
       
  3552 //!                Video must be played on the screen without any blurrness.
       
  3553 //!@SYMTestType			CIT
       
  3554 
       
  3555 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  3556 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  3557 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-NewL_command01
       
  3558 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-SelectDecoderL_command02
       
  3559 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-SelectPostProcessorL_command03
       
  3560 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-SetInputFormat_command04
       
  3561 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-GetOutputFormatListL_command05
       
  3562 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  3563 		COMMAND		mmfdvplay		FindCommonFormat
       
  3564 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-SetOutputFormatL_command08
       
  3565 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-SetInputFormat_command09
       
  3566 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-GetOutputFormatListL_command10
       
  3567 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-SetOutputFormatL_command11
       
  3568 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-GetHeaderInformationL_command12
       
  3569 		COMMAND		mmfdvplay		ReturnHeader
       
  3570 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  3571 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-SetPostProcessTypesL_command15
       
  3572 		COMMAND		mmfdvplay		GetBufferOptions
       
  3573 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  3574 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-SetClockSource_command18
       
  3575 		COMMAND		mmfdvplay		Initialize
       
  3576 		OUTSTANDING
       
  3577 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0037-0001-StartDirectScreenAccess_command20
       
  3578 		COMMAND		mmfdvplay		Start
       
  3579 		OUTSTANDING
       
  3580 		COMMAND		mmfdvplay		Stop
       
  3581 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  3582 		COMMAND		mmfdvplay		~
       
  3583 	END_TEST_BLOCK
       
  3584 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0037
       
  3585 
       
  3586 
       
  3587 
       
  3588 
       
  3589 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0038
       
  3590 
       
  3591 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0038
       
  3592 //!@SYMAPI
       
  3593 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  3594 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  3595 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  3596 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  3597 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  3598 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  3599 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  3600 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  3601 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  3602 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  3603 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  3604 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  3605 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  3606 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  3607 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  3608 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  3609 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  3610 //!                CMMFDevVideoPlay:: Initialize();
       
  3611 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  3612 //!                CMMFDevVideoPlay:: Start();
       
  3613 //!                CMMFDevVideoPlay:: Stop();
       
  3614 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  3615 //!@SYMAuthor			alavariega
       
  3616 //!@SYMCreationDate		16/6/2008
       
  3617 //!@SYMTestCaseDesc		 NCP MPEG -4  VGA Video Playback   at 30 fps 784Kbps
       
  3618 //!@SYMTestActions
       
  3619 //!                1. NewL (inputfile = MPEG4_VGA_30fps_784k_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  3620 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  3621 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  3622 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  3623 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  3624 //!                6. PostProcessorInfoLC
       
  3625 //!                7. FindCommonFormat
       
  3626 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  3627 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  3628 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  3629 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  3630 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  3631 //!                13. ReturnHeader
       
  3632 //!                14. SetVideoDestScreenL
       
  3633 //!                15. SetPostProcessTypesL (combination = 44)
       
  3634 //!                16. GetBufferOptions
       
  3635 //!                17. SetBufferOptionsL
       
  3636 //!                18. SetClockSource  (synch = 1; framerate = 25)
       
  3637 //!                19. Initialize
       
  3638 //!                OUTSTANDING
       
  3639 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  3640 //!                21. Start  
       
  3641 //!                OUTSTANDING
       
  3642 //!                22. Stop
       
  3643 //!                23. AbortDirectScreenAccess
       
  3644 //!                24. ~
       
  3645 //!@SYMTestStatus		Verified
       
  3646 //!@SYMTestPriority		Normal
       
  3647 //!@SYMTestExpectedResults
       
  3648 //!                Video must be played on the screen without any blurrness.
       
  3649 //!@SYMTestType			CIT
       
  3650 
       
  3651 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  3652 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  3653 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-NewL_command01
       
  3654 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-SelectDecoderL_command02
       
  3655 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-SelectPostProcessorL_command03
       
  3656 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-SetInputFormat_command04
       
  3657 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-GetOutputFormatListL_command05
       
  3658 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  3659 		COMMAND		mmfdvplay		FindCommonFormat
       
  3660 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-SetOutputFormatL_command08
       
  3661 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-SetInputFormat_command09
       
  3662 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-GetOutputFormatListL_command10
       
  3663 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-SetOutputFormatL_command11
       
  3664 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-GetHeaderInformationL_command12
       
  3665 		COMMAND		mmfdvplay		ReturnHeader
       
  3666 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  3667 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-SetPostProcessTypesL_command15
       
  3668 		COMMAND		mmfdvplay		GetBufferOptions
       
  3669 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  3670 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-SetClockSource_command18
       
  3671 		COMMAND		mmfdvplay		Initialize
       
  3672 		OUTSTANDING
       
  3673 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0038-0001-StartDirectScreenAccess_command20
       
  3674 		COMMAND		mmfdvplay		Start
       
  3675 		OUTSTANDING
       
  3676 		COMMAND		mmfdvplay		Stop
       
  3677 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  3678 		COMMAND		mmfdvplay		~
       
  3679 	END_TEST_BLOCK
       
  3680 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0038
       
  3681 
       
  3682 
       
  3683 
       
  3684 
       
  3685 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0039
       
  3686 
       
  3687 //!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0039
       
  3688 //!@SYMAPI
       
  3689 //!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
       
  3690 //!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
       
  3691 //!                CMMFDevVideoPlay::SelectDecoderL(TUid);
       
  3692 //!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
       
  3693 //!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
       
  3694 //!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
       
  3695 //!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
       
  3696 //!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
       
  3697 //!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
       
  3698 //!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
       
  3699 //!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
       
  3700 //!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
       
  3701 //!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
       
  3702 //!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
       
  3703 //!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
       
  3704 //!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
       
  3705 //!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
       
  3706 //!                CMMFDevVideoPlay:: Initialize();
       
  3707 //!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
       
  3708 //!                CMMFDevVideoPlay:: Start();
       
  3709 //!                CMMFDevVideoPlay:: Stop();
       
  3710 //!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
       
  3711 //!@SYMAuthor			alavariega
       
  3712 //!@SYMCreationDate		16/6/2008
       
  3713 //!@SYMTestCaseDesc		 NCP MPEG -4  SQCIF Video Playback   at 15 fps 128Kbps
       
  3714 //!@SYMTestActions
       
  3715 //!                1. NewL (inputfile = MPEG4_SQCIF_15fps_128Kbps.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
       
  3716 //!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
       
  3717 //!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
       
  3718 //!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
       
  3719 //!                5. GetOutputFormatListL (useDecoder = TRUE) 
       
  3720 //!                6. PostProcessorInfoLC
       
  3721 //!                7. FindCommonFormat
       
  3722 //!                8. SetOutputFormatL  (useDecoder = TRUE)
       
  3723 //!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
       
  3724 //!                10. GetOutputFormatListL (useDecoder = FALSE)
       
  3725 //!                11. SetOutputFormatL(useDecoder = TRUE) 
       
  3726 //!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
       
  3727 //!                13. ReturnHeader
       
  3728 //!                14. SetVideoDestScreenL
       
  3729 //!                15. SetPostProcessTypesL (combination = 44)
       
  3730 //!                16. GetBufferOptions
       
  3731 //!                17. SetBufferOptionsL
       
  3732 //!                18. SetClockSource  (synch = 1; framerate = 15)
       
  3733 //!                19. Initialize
       
  3734 //!                OUTSTANDING
       
  3735 //!                20. StartDirectScreenAccess (displayMode = EColor64K)
       
  3736 //!                21. Start  
       
  3737 //!                OUTSTANDING
       
  3738 //!                22. Stop
       
  3739 //!                23. AbortDirectScreenAccess
       
  3740 //!                24. ~
       
  3741 //!@SYMTestStatus		Verified
       
  3742 //!@SYMTestPriority		Normal
       
  3743 //!@SYMTestExpectedResults
       
  3744 //!                Video must be played on the screen without any blurrness.
       
  3745 //!@SYMTestType			CIT
       
  3746 
       
  3747 	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-automated.ini
       
  3748 		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
       
  3749 		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-NewL_command01
       
  3750 		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-SelectDecoderL_command02
       
  3751 		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-SelectPostProcessorL_command03
       
  3752 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-SetInputFormat_command04
       
  3753 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-GetOutputFormatListL_command05
       
  3754 		COMMAND		mmfdvplay		PostProcessorInfoLC
       
  3755 		COMMAND		mmfdvplay		FindCommonFormat
       
  3756 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-SetOutputFormatL_command08
       
  3757 		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-SetInputFormat_command09
       
  3758 		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-GetOutputFormatListL_command10
       
  3759 		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-SetOutputFormatL_command11
       
  3760 		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-GetHeaderInformationL_command12
       
  3761 		COMMAND		mmfdvplay		ReturnHeader
       
  3762 		COMMAND		mmfdvplay		SetVideoDestScreenL
       
  3763 		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-SetPostProcessTypesL_command15
       
  3764 		COMMAND		mmfdvplay		GetBufferOptions
       
  3765 		COMMAND		mmfdvplay		SetBufferOptionsL
       
  3766 		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-SetClockSource_command18
       
  3767 		COMMAND		mmfdvplay		Initialize
       
  3768 		OUTSTANDING
       
  3769 		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-0039-0001-StartDirectScreenAccess_command20
       
  3770 		COMMAND		mmfdvplay		Start
       
  3771 		OUTSTANDING
       
  3772 		COMMAND		mmfdvplay		Stop
       
  3773 		COMMAND		mmfdvplay		AbortDirectScreenAccess
       
  3774 		COMMAND		mmfdvplay		~
       
  3775 	END_TEST_BLOCK
       
  3776 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-AUTOMATED-0039