os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-pause-resume-automated.script
Update contrib.
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".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
18 //! @SYMTestSuiteName mm-mmf-devvideo-playback-mpeg4-pause-resume-automated
19 //! @SYMScriptTestEnvironment This test script requires a basic ROM.
21 // Tests all public elements of the MMMFDevVideoPlayObserver,CMMFDevVideoPlay
22 // classes as a means of confidence that the APIs work as expected.
24 // The purpose is to provide a regression test suite of PublishedAll
25 // APIs for: MMMFDevVideoPlayObserver,CMMFDevVideoPlay
26 // The tests are fully automated.
37 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0001
39 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0001
41 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
42 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
43 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
44 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
45 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
46 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
47 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
48 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
49 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
50 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
51 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
52 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
53 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
54 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
55 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
56 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
57 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
58 //! CMMFDevVideoPlay:: Initialize();
59 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
60 //! CMMFDevVideoPlay:: Start();
61 //! CMMFDevVideoPlay:: Stop();
62 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
63 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
64 //! CMMFDevVideoPlay:: Resume();
65 //!@SYMAuthor alavariega
66 //!@SYMCreationDate 16/6/2008
67 //!@SYMTestCaseDesc NCP MPEG4 NTSC Video Play Pause resume stop at 30 fps 4Mbps
69 //! 1. NewL(inputfile = akiyo_ntsc_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
70 //! 2. SelectDecoderL(dec = {MPEG4, uid})
71 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
72 //! 4. SetInputFormat (mimeType= {MIME,MP4V}; useDecoder = TRUE)
73 //! 5. GetOutputFormatListL (useDecoder = TRUE)
74 //! 6. PostProcessorInfoLC
75 //! 7. FindCommonFormat
76 //! 8. SetOutputFormatL(useDecoder = TRUE)
77 //! 9. SetInputFormat (mimeType= {MIME,MP4V}; useDecoder = FALSE)
78 //! 10. GetOutputFormatListL (useDecoder = TRUE)
79 //! 11. SetOutputFormatL(useDecoder = FALSE)
80 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
82 //! 14. SetVideoDestScreenL
83 //! 15. SetPostProcessTypesL(combination = 44)
84 //! 16. GetBufferOptions
85 //! 17. SetBufferOptionsL
86 //! 18. SetClockSource (synch = 1; framerate = 30)
88 //! 20. StartDirectScreenAccess (displayMode = EColor64K)
90 //! ASYNC_DELAY 2000000
94 //! ASYNC_DELAY 500000
100 //! 27. AbortDirectScreenAccess
102 //!@SYMTestStatus Verified
103 //!@SYMTestPriority Normal
104 //!@SYMTestExpectedResults
105 //! Video must be played with play pause action without any blurrness.
108 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-pause-resume-automated.ini
109 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
110 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-NewL_command01
111 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-SelectDecoderL_command02
112 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-SelectPostProcessorL_command03
113 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-SetInputFormat_command04
114 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-GetOutputFormatListL_command05
115 COMMAND mmfdvplay PostProcessorInfoLC
116 COMMAND mmfdvplay FindCommonFormat
117 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-SetOutputFormatL_command08
118 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-SetInputFormat_command09
119 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-GetOutputFormatListL_command10
120 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-SetOutputFormatL_command11
121 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-GetHeaderInformationL_command12
122 COMMAND mmfdvplay ReturnHeader
123 COMMAND mmfdvplay SetVideoDestScreenL
124 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-SetPostProcessTypesL_command15
125 COMMAND mmfdvplay GetBufferOptions
126 COMMAND mmfdvplay SetBufferOptionsL
127 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-SetClockSource_command18
128 COMMAND mmfdvplay Initialize
130 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0001-0001-StartDirectScreenAccess_command20
131 COMMAND mmfdvplay Start
133 COMMAND mmfdvplay Pause
135 COMMAND mmfdvplay Resume
137 COMMAND mmfdvplay Pause
139 COMMAND mmfdvplay Resume
141 COMMAND mmfdvplay Stop
142 COMMAND mmfdvplay AbortDirectScreenAccess
145 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0001
150 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0002
152 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0002
154 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
155 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
156 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
157 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
158 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
159 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
160 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
161 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
162 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
163 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
164 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
165 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
166 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
167 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
168 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
169 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
170 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
171 //! CMMFDevVideoPlay:: Initialize();
172 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
173 //! CMMFDevVideoPlay:: Start();
174 //! CMMFDevVideoPlay:: Stop();
175 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
176 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
177 //! CMMFDevVideoPlay:: Resume();
178 //!@SYMAuthor alavariega
179 //!@SYMCreationDate 16/6/2008
180 //!@SYMTestCaseDesc NCP MPEG4 PAL Video Play Pause resume stop at 25 fps 4Mbps
182 //! 1. NewL( inputfile =akiyo_pal_25fps_4M_dec.m4v; screen = TRUE;codec =EMPEG4;synch = 1; inputPath = {PATHVIDEOS, inputPath})
183 //! 2. SelectDecoderL (dec = {MPEG4, uid})
184 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
185 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
186 //! 5. GetOutputFormatListL(useDecoder = TRUE)
187 //! 6. PostProcessorInfoLC
188 //! 7. FindCommonFormat
189 //! 8. SetOutputFormatL(useDecoder = TRUE)
190 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
191 //! 10. GetOutputFormatListL(useDecoder = FALSE)
192 //! 11. SetOutputFormatL(useDecoder = FALSE)
193 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
195 //! 14. SetVideoDestScreenL
196 //! 15. SetPostProcessTypesL(combination = 44)
197 //! 16. GetBufferOptions
198 //! 17. SetBufferOptionsL
199 //! 18. SetClockSource(synch = 1; framerate = 25)
202 //! 20. StartDirectScreenAccess (displayMode = EColor64K)
204 //! ASYNC_DELAY 2000000
208 //! ASYNC_DELAY 500000
214 //! 27. AbortDirectScreenAccess
216 //!@SYMTestStatus Verified
217 //!@SYMTestPriority Normal
218 //!@SYMTestExpectedResults
219 //! Video must be played with play pause action without any blurrness.
222 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-pause-resume-automated.ini
223 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
224 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-NewL_command01
225 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-SelectDecoderL_command02
226 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-SelectPostProcessorL_command03
227 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-SetInputFormat_command04
228 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-GetOutputFormatListL_command05
229 COMMAND mmfdvplay PostProcessorInfoLC
230 COMMAND mmfdvplay FindCommonFormat
231 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-SetOutputFormatL_command08
232 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-SetInputFormat_command09
233 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-GetOutputFormatListL_command10
234 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-SetOutputFormatL_command11
235 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-GetHeaderInformationL_command12
236 COMMAND mmfdvplay ReturnHeader
237 COMMAND mmfdvplay SetVideoDestScreenL
238 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-SetPostProcessTypesL_command15
239 COMMAND mmfdvplay GetBufferOptions
240 COMMAND mmfdvplay SetBufferOptionsL
241 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-SetClockSource_command18
242 COMMAND mmfdvplay Initialize
244 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0002-0001-StartDirectScreenAccess_command20
245 COMMAND mmfdvplay Start
247 COMMAND mmfdvplay Pause
249 COMMAND mmfdvplay Resume
251 COMMAND mmfdvplay Pause
253 COMMAND mmfdvplay Resume
255 COMMAND mmfdvplay Stop
256 COMMAND mmfdvplay AbortDirectScreenAccess
259 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0002
264 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0003
266 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0003
268 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
269 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
270 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
271 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
272 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
273 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
274 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
275 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
276 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
277 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
278 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
279 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
280 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
281 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
282 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
283 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
284 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
285 //! CMMFDevVideoPlay:: Initialize();
286 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
287 //! CMMFDevVideoPlay:: Start();
288 //! CMMFDevVideoPlay:: Stop();
289 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
290 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
291 //! CMMFDevVideoPlay:: Resume();
292 //!@SYMAuthor alavariega
293 //!@SYMCreationDate 16/6/2008
294 //!@SYMTestCaseDesc NCP MPEG -4 CIF Video Play, Pause, resume, stop at 30 fps 3Mbps
296 //! 1. NewL(inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec =EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
297 //! 2. SelectDecoderL (dec = {MPEG4, uid})
298 //! 3. SelectPostProcessorL(postprocessor = {POSTPROCESSOR, uid})
299 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
300 //! 5. GetOutputFormatListL (useDecoder = TRUE)
301 //! 6. PostProcessorInfoLC
302 //! 7. FindCommonFormat
303 //! 8. SetOutputFormatL(useDecoder = TRUE)
304 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
305 //! 10. GetOutputFormatListL (useDecoder = FALSE)
306 //! 11. SetOutputFormatL (useDecoder = FALSE)
307 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
309 //! 14. SetVideoDestScreenL
310 //! 15. SetPostProcessTypesL(combination = 40)
311 //! 16. GetBufferOptions
312 //! 17. SetBufferOptionsL
313 //! 18. SetClockSource(synch = 1; framerate = 30)
316 //! 20. StartDirectScreenAccess (displayMode = EColor64K)
318 //! ASYNC_DELAY 500000
322 //! ASYNC_DELAY 500000
328 //! 27. AbortDirectScreenAccess
330 //!@SYMTestStatus Verified
331 //!@SYMTestPriority Normal
332 //!@SYMTestExpectedResults
333 //! Video must be played with play pause action without any blurrness.
336 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-pause-resume-automated.ini
337 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
338 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-NewL_command01
339 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-SelectDecoderL_command02
340 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-SelectPostProcessorL_command03
341 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-SetInputFormat_command04
342 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-GetOutputFormatListL_command05
343 COMMAND mmfdvplay PostProcessorInfoLC
344 COMMAND mmfdvplay FindCommonFormat
345 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-SetOutputFormatL_command08
346 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-SetInputFormat_command09
347 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-GetOutputFormatListL_command10
348 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-SetOutputFormatL_command11
349 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-GetHeaderInformationL_command12
350 COMMAND mmfdvplay ReturnHeader
351 COMMAND mmfdvplay SetVideoDestScreenL
352 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-SetPostProcessTypesL_command15
353 COMMAND mmfdvplay GetBufferOptions
354 COMMAND mmfdvplay SetBufferOptionsL
355 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-SetClockSource_command18
356 COMMAND mmfdvplay Initialize
358 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0003-0001-StartDirectScreenAccess_command20
359 COMMAND mmfdvplay Start
361 COMMAND mmfdvplay Pause
363 COMMAND mmfdvplay Resume
365 COMMAND mmfdvplay Pause
367 COMMAND mmfdvplay Resume
369 COMMAND mmfdvplay Stop
370 COMMAND mmfdvplay AbortDirectScreenAccess
373 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0003
378 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0004
380 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0004
382 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
383 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
384 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
385 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
386 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
387 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
388 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
389 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
390 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
391 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
392 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
393 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
394 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
395 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
396 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
397 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
398 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
399 //! CMMFDevVideoPlay:: Initialize();
400 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
401 //! CMMFDevVideoPlay:: Start();
402 //! CMMFDevVideoPlay:: Stop();
403 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
404 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
405 //! CMMFDevVideoPlay:: Resume();
406 //!@SYMAuthor alavariega
407 //!@SYMCreationDate 16/6/2008
408 //!@SYMTestCaseDesc NCP MPEG -4 QCIF Video Play, Pause, resume, stop at 30 fps 3Mbps
410 //! 1. NewL (inputfile = paris_qcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
411 //! 2. SelectDecoderL(dec = {MPEG4, uid})
412 //! 3. SelectPostProcessorL(postprocessor = {POSTPROCESSOR, uid})
413 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
414 //! 5. GetOutputFormatListL (useDecoder = TRUE)
415 //! 6. PostProcessorInfoLC
416 //! 7. FindCommonFormat
417 //! 8. SetOutputFormatL(useDecoder = TRUE)
418 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
419 //! 10. GetOutputFormatListL(useDecoder = FALSE)
420 //! 11. SetOutputFormatL (useDecoder = FALSE)
421 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KMP4MaxCodedSizeCIF})
423 //! 14. SetVideoDestScreenL
424 //! 15. SetPostProcessTypesL(combination = 40)
425 //! 16. GetBufferOptions
426 //! 17. SetBufferOptionsL
427 //! 18. SetClockSource (synch = 1; framerate = 30)
430 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
432 //! ASYNC_DELAY 500000
436 //! ASYNC_DELAY 500000
442 //! 27. AbortDirectScreenAccess
445 //!@SYMTestStatus Verified
446 //!@SYMTestPriority Normal
447 //!@SYMTestExpectedResults
448 //! Video must be played with play pause action without any blurrness.
451 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-pause-resume-automated.ini
452 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
453 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-NewL_command01
454 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-SelectDecoderL_command02
455 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-SelectPostProcessorL_command03
456 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-SetInputFormat_command04
457 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-GetOutputFormatListL_command05
458 COMMAND mmfdvplay PostProcessorInfoLC
459 COMMAND mmfdvplay FindCommonFormat
460 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-SetOutputFormatL_command08
461 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-SetInputFormat_command09
462 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-GetOutputFormatListL_command10
463 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-SetOutputFormatL_command11
464 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-GetHeaderInformationL_command12
465 COMMAND mmfdvplay ReturnHeader
466 COMMAND mmfdvplay SetVideoDestScreenL
467 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-SetPostProcessTypesL_command15
468 COMMAND mmfdvplay GetBufferOptions
469 COMMAND mmfdvplay SetBufferOptionsL
470 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-SetClockSource_command18
471 COMMAND mmfdvplay Initialize
473 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0004-0001-StartDirectScreenAccess_command20
474 COMMAND mmfdvplay Start
476 COMMAND mmfdvplay Pause
478 COMMAND mmfdvplay Resume
480 COMMAND mmfdvplay Pause
482 COMMAND mmfdvplay Resume
484 COMMAND mmfdvplay Stop
485 COMMAND mmfdvplay AbortDirectScreenAccess
488 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0004
493 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0005
495 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0005
497 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
498 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
499 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
500 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
501 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
502 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
503 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
504 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
505 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
506 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
507 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
508 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
509 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
510 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
511 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
512 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
513 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
514 //! CMMFDevVideoPlay:: Initialize();
515 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
516 //! CMMFDevVideoPlay:: Start();
517 //! CMMFDevVideoPlay:: Stop();
518 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
519 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
520 //! CMMFDevVideoPlay:: Resume();
521 //!@SYMAuthor alavariega
522 //!@SYMCreationDate 16/6/2008
523 //!@SYMTestCaseDesc NCP MPEG -4 QVGA Video Play, Pause, resume, stop at 30 fps 3Mbps
525 //! 1. NewL(inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE;codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
526 //! 2. SelectDecoderL (dec = {MPEG4, uid})
527 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
528 //! 4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
529 //! 5. GetOutputFormatListL (useDecoder = TRUE)
530 //! 6. PostProcessorInfoLC
531 //! 7. FindCommonFormat
532 //! 8. SetOutputFormatL (useDecoder = TRUE)
533 //! 9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
534 //! 10. GetOutputFormatListL(useDecoder = FALSE)
535 //! 11. SetOutputFormatL(useDecoder = FALSE)
536 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
538 //! 14. SetVideoDestScreenL
539 //! 15. SetPostProcessTypesL(combination = 40)
540 //! 16. GetBufferOptions
541 //! 17. SetBufferOptionsL
542 //! 18. SetClockSource(synch = 1; framerate = 30)
545 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
547 //! ASYNC_DELAY 500000
551 //! ASYNC_DELAY 500000
557 //! 27. AbortDirectScreenAccess
560 //!@SYMTestStatus Verified
561 //!@SYMTestPriority Normal
562 //!@SYMTestExpectedResults
563 //! Video must be played with play pause action without any blurrness.
566 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-pause-resume-automated.ini
567 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
568 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-NewL_command01
569 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-SelectDecoderL_command02
570 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-SelectPostProcessorL_command03
571 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-SetInputFormat_command04
572 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-GetOutputFormatListL_command05
573 COMMAND mmfdvplay PostProcessorInfoLC
574 COMMAND mmfdvplay FindCommonFormat
575 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-SetOutputFormatL_command08
576 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-SetInputFormat_command09
577 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-GetOutputFormatListL_command10
578 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-SetOutputFormatL_command11
579 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-GetHeaderInformationL_command12
580 COMMAND mmfdvplay ReturnHeader
581 COMMAND mmfdvplay SetVideoDestScreenL
582 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-SetPostProcessTypesL_command15
583 COMMAND mmfdvplay GetBufferOptions
584 COMMAND mmfdvplay SetBufferOptionsL
585 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-SetClockSource_command18
586 COMMAND mmfdvplay Initialize
588 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0005-0001-StartDirectScreenAccess_command20
589 COMMAND mmfdvplay Start
591 COMMAND mmfdvplay Pause
593 COMMAND mmfdvplay Resume
595 COMMAND mmfdvplay Pause
597 COMMAND mmfdvplay Resume
599 COMMAND mmfdvplay Stop
600 COMMAND mmfdvplay AbortDirectScreenAccess
603 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0005
608 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0006
610 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0006
612 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
613 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
614 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
615 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
616 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
617 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
618 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
619 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
620 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
621 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
622 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
623 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
624 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
625 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
626 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
627 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
628 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
629 //! CMMFDevVideoPlay:: Initialize();
630 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
631 //! CMMFDevVideoPlay:: Start();
632 //! CMMFDevVideoPlay:: Stop();
633 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
634 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
635 //! CMMFDevVideoPlay:: Resume();
636 //!@SYMAuthor alavariega
637 //!@SYMCreationDate 16/6/2008
638 //!@SYMTestCaseDesc NCP MPEG -4 SQCIF Video Play, Pause, resume, stop at 30 fps 3Mbps
640 //! 1. NewL(inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
641 //! 2. SelectDecoderL(dec = {MPEG4, uid})
642 //! 3. SelectPostProcessorL(postprocessor = {POSTPROCESSOR, uid})
643 //! 4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
644 //! 5. GetOutputFormatListL(useDecoder = TRUE)
645 //! 6. PostProcessorInfoLC
646 //! 7. FindCommonFormat
647 //! 8. SetOutputFormatL(useDecoder = TRUE)
648 //! 9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
649 //! 10. GetOutputFormatListL(useDecoder = FALSE)
650 //! 11. SetOutputFormatL(useDecoder = FALSE)
651 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeQCIF})
653 //! 14. SetVideoDestScreenL
654 //! 15. SetPostProcessTypesL(combination = 40)
655 //! 16. GetBufferOptions
656 //! 17. SetBufferOptionsL
657 //! 18. SetClockSource(synch = 1; framerate = 30)
660 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
662 //! ASYNC_DELAY 500000
666 //! ASYNC_DELAY 500000
672 //! 27. AbortDirectScreenAccess
675 //!@SYMTestStatus Verified
676 //!@SYMTestPriority Normal
677 //!@SYMTestExpectedResults
678 //! Video must be played with play pause action without any blurrness.
681 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-pause-resume-automated.ini
682 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
683 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-NewL_command01
684 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-SelectDecoderL_command02
685 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-SelectPostProcessorL_command03
686 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-SetInputFormat_command04
687 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-GetOutputFormatListL_command05
688 COMMAND mmfdvplay PostProcessorInfoLC
689 COMMAND mmfdvplay FindCommonFormat
690 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-SetOutputFormatL_command08
691 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-SetInputFormat_command09
692 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-GetOutputFormatListL_command10
693 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-SetOutputFormatL_command11
694 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-GetHeaderInformationL_command12
695 COMMAND mmfdvplay ReturnHeader
696 COMMAND mmfdvplay SetVideoDestScreenL
697 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-SetPostProcessTypesL_command15
698 COMMAND mmfdvplay GetBufferOptions
699 COMMAND mmfdvplay SetBufferOptionsL
700 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-SetClockSource_command18
701 COMMAND mmfdvplay Initialize
703 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0006-0001-StartDirectScreenAccess_command20
704 COMMAND mmfdvplay Start
706 COMMAND mmfdvplay Pause
708 COMMAND mmfdvplay Resume
710 COMMAND mmfdvplay Pause
712 COMMAND mmfdvplay Resume
714 COMMAND mmfdvplay Stop
715 COMMAND mmfdvplay AbortDirectScreenAccess
718 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0006
723 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0007
725 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0007
727 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
728 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
729 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
730 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
731 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
732 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
733 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
734 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
735 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
736 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
737 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
738 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
739 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
740 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
741 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
742 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
743 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
744 //! CMMFDevVideoPlay:: Initialize();
745 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
746 //! CMMFDevVideoPlay:: Start();
747 //! CMMFDevVideoPlay:: Stop();
748 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
749 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
750 //! CMMFDevVideoPlay:: Resume();
751 //!@SYMAuthor alavariega
752 //!@SYMCreationDate 16/6/2008
753 //!@SYMTestCaseDesc NCP MPEG -4 VGA Video Play Pause resume stop at 30 fps 3Mbps
755 //! 1. NewL(inputfile = MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
756 //! 2. SelectDecoderL(dec = {MPEG4, uid})
757 //! 3. SelectPostProcessorL(postprocessor = {POSTPROCESSOR, uid})
758 //! 4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
759 //! 5. GetOutputFormatListL(useDecoder = TRUE)
760 //! 6. PostProcessorInfoLC
761 //! 7. FindCommonFormat
762 //! 8. SetOutputFormatL(useDecoder = TRUE)
763 //! 9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
764 //! 10. GetOutputFormatListL(useDecoder = FALSE)
765 //! 11. SetOutputFormatL(useDecoder = FALSE)
766 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
768 //! 14. SetVideoDestScreenL
769 //! 15. SetPostProcessTypesL(combination = 40)
770 //! 16. GetBufferOptions
771 //! 17. SetBufferOptionsL
772 //! 18. SetClockSource(synch = 1; framerate = 25)
775 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
777 //! ASYNC_DELAY 500000
781 //! ASYNC_DELAY 500000
787 //! 27. AbortDirectScreenAccess
789 //!@SYMTestStatus Verified
790 //!@SYMTestPriority Normal
791 //!@SYMTestExpectedResults
792 //! Video must be played with play pause action without any blurrness.
795 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-pause-resume-automated.ini
796 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
797 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-NewL_command01
798 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-SelectDecoderL_command02
799 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-SelectPostProcessorL_command03
800 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-SetInputFormat_command04
801 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-GetOutputFormatListL_command05
802 COMMAND mmfdvplay PostProcessorInfoLC
803 COMMAND mmfdvplay FindCommonFormat
804 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-SetOutputFormatL_command08
805 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-SetInputFormat_command09
806 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-GetOutputFormatListL_command10
807 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-SetOutputFormatL_command11
808 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-GetHeaderInformationL_command12
809 COMMAND mmfdvplay ReturnHeader
810 COMMAND mmfdvplay SetVideoDestScreenL
811 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-SetPostProcessTypesL_command15
812 COMMAND mmfdvplay GetBufferOptions
813 COMMAND mmfdvplay SetBufferOptionsL
814 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-SetClockSource_command18
815 COMMAND mmfdvplay Initialize
817 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Pause-Resume-0007-0001-StartDirectScreenAccess_command20
818 COMMAND mmfdvplay Start
820 COMMAND mmfdvplay Pause
822 COMMAND mmfdvplay Resume
824 COMMAND mmfdvplay Pause
826 COMMAND mmfdvplay Resume
828 COMMAND mmfdvplay Stop
829 COMMAND mmfdvplay AbortDirectScreenAccess
832 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-PAUSE-RESUME-AUTOMATED-0007