os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-forward-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-forward-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-FORWARD-AUTOMATED-0001
39 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-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 Play back a MPEG4 NTSC video file with 3Mbps at 30fps screenout forward
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(useDecoder = TRUE; mimeType= {MIME,MP4V})
73 //! 5. GetOutputFormatListL(useDecoder = TRUE)
74 //! 6. PostProcessorInfoLC
75 //! 7. FindCommonFormat
76 //! 8. SetOutputFormatL (useDecoder = TRUE)
77 //! 9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
78 //! 10. GetOutputFormatListL(useDecoder = FALSE)
79 //! 11. SetOutputFormatL(useDecoder = FALSE)
80 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
82 //! 14. SetVideoDestScreenL
83 //! 15. SetPostProcessTypesL(combination = 40)
84 //! 16. GetBufferOptions
85 //! 17. SetBufferOptionsL
86 //! 18. SetClockSource(synch = 1; framerate = 30)
89 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
91 //! ASYNC_DELAY 1000000
93 //! 23. SetPosition (pos = 5)
97 //! 26. AbortDirectScreenAccess
99 //!@SYMTestStatus Verified
100 //!@SYMTestPriority Normal
101 //!@SYMTestExpectedResults
102 //! Video must be played with forward action and without any blurrness.
105 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini
106 CREATE_OBJECT CMMFDevVideoPlay video
107 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-NewL_command01
108 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SelectDecoderL_command02
109 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SelectPostProcessorL_command03
110 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetInputFormat_command04
111 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-GetOutputFormatListL_command05
112 COMMAND video PostProcessorInfoLC
113 COMMAND video FindCommonFormat
114 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetOutputFormatL_command08
115 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetInputFormat_command09
116 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-GetOutputFormatListL_command10
117 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetOutputFormatL_command11
118 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-GetHeaderInformationL_command12
119 COMMAND video ReturnHeader
120 COMMAND video SetVideoDestScreenL
121 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetPostProcessTypesL_command15
122 COMMAND video GetBufferOptions
123 COMMAND video SetBufferOptionsL
124 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetClockSource_command18
125 COMMAND video Initialize
127 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-StartDirectScreenAccess_command20
131 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetPosition_command23
134 COMMAND video AbortDirectScreenAccess
137 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0001
142 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0002
144 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0002
146 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
147 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
148 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
149 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
150 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
151 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
152 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
153 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
154 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
155 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
156 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
157 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
158 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
159 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
160 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
161 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
162 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
163 //! CMMFDevVideoPlay:: Initialize();
164 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
165 //! CMMFDevVideoPlay:: Start();
166 //! CMMFDevVideoPlay:: Stop();
167 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
168 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
169 //! CMMFDevVideoPlay:: Resume();
170 //!@SYMAuthor alavariega
171 //!@SYMCreationDate 16/6/2008
172 //!@SYMTestCaseDesc NCP MPEG4 PAL Video SEEK Forward and Backward at 25 fps 4Mbps
174 //! 1. NewL(inputfile = akiyo_pal_25fps_4M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
175 //! 2. SelectDecoderL(dec = {MPEG4, uid})
176 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
177 //! 4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
178 //! 5. GetOutputFormatListL(useDecoder = TRUE)
179 //! 6. PostProcessorInfoLC
180 //! 7. FindCommonFormat
181 //! 8. SetOutputFormatL(useDecoder = TRUE)
182 //! 9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
183 //! 10. GetOutputFormatListL(useDecoder = FALSE)
184 //! 11. SetOutputFormatL(useDecoder = FALSE)
185 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
187 //! 14. SetVideoDestScreenL
188 //! 15. SetPostProcessTypesL(combination = 40)
189 //! 16. GetBufferOptions
190 //! 17. SetBufferOptionsL
191 //! 18. SetClockSource(synch = 1; framerate = 25)
194 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
196 //! ASYNC_DELAY 1000000
198 //! 23. SetPosition(pos = 5)
202 //! 26. AbortDirectScreenAccess
205 //!@SYMTestStatus Verified
206 //!@SYMTestPriority Normal
207 //!@SYMTestExpectedResults
208 //! Video must be played with forward action and without any blurrness.
211 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini
212 CREATE_OBJECT CMMFDevVideoPlay video
213 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-NewL_command01
214 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SelectDecoderL_command02
215 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SelectPostProcessorL_command03
216 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetInputFormat_command04
217 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-GetOutputFormatListL_command05
218 COMMAND video PostProcessorInfoLC
219 COMMAND video FindCommonFormat
220 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetOutputFormatL_command08
221 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetInputFormat_command09
222 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-GetOutputFormatListL_command10
223 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetOutputFormatL_command11
224 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-GetHeaderInformationL_command12
225 COMMAND video ReturnHeader
226 COMMAND video SetVideoDestScreenL
227 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetPostProcessTypesL_command15
228 COMMAND video GetBufferOptions
229 COMMAND video SetBufferOptionsL
230 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetClockSource_command18
231 COMMAND video Initialize
233 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-StartDirectScreenAccess_command20
237 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetPosition_command23
240 COMMAND video AbortDirectScreenAccess
243 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0002
248 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0003
250 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0003
252 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
253 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
254 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
255 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
256 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
257 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
258 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
259 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
260 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
261 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
262 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
263 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
264 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
265 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
266 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
267 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
268 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
269 //! CMMFDevVideoPlay:: Initialize();
270 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
271 //! CMMFDevVideoPlay:: Start();
272 //! CMMFDevVideoPlay:: Stop();
273 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
274 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
275 //! CMMFDevVideoPlay:: Resume();
276 //!@SYMAuthor alavariega
277 //!@SYMCreationDate 16/6/2008
278 //!@SYMTestCaseDesc NCP MPEG -4 CIF Video SEEK Forward and Backward at 30 fps 3Mbps
280 //! 1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
281 //! 2. SelectDecoderL(dec = {MPEG4, uid})
282 //! 3. SelectPostProcessorL(postprocessor = {POSTPROCESSOR, uid})
283 //! 4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
284 //! 5. GetOutputFormatListL(useDecoder = TRUE)
285 //! 6. PostProcessorInfoLC
286 //! 7. FindCommonFormat
287 //! 8. SetOutputFormatL(useDecoder = TRUE)
288 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
289 //! 10. GetOutputFormatListL(useDecoder = FALSE)
290 //! 11. SetOutputFormatL(useDecoder = FALSE)
291 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
293 //! 14. SetVideoDestScreenL
294 //! 15. SetPostProcessTypesL(combination = 40)
295 //! 16. GetBufferOptions
296 //! 17. SetBufferOptionsL
297 //! 18. SetClockSource(synch = 1; framerate = 30)
300 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
302 //! ASYNC_DELAY 1000000
304 //! 23. SetPosition (pos = 5)
308 //! 26. AbortDirectScreenAccess
310 //!@SYMTestStatus Verified
311 //!@SYMTestPriority Normal
312 //!@SYMTestExpectedResults
313 //! Video must be played with forward action and without any blurrness.
316 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini
317 CREATE_OBJECT CMMFDevVideoPlay video
318 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-NewL_command01
319 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SelectDecoderL_command02
320 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SelectPostProcessorL_command03
321 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetInputFormat_command04
322 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-GetOutputFormatListL_command05
323 COMMAND video PostProcessorInfoLC
324 COMMAND video FindCommonFormat
325 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetOutputFormatL_command08
326 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetInputFormat_command09
327 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-GetOutputFormatListL_command10
328 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetOutputFormatL_command11
329 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-GetHeaderInformationL_command12
330 COMMAND video ReturnHeader
331 COMMAND video SetVideoDestScreenL
332 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetPostProcessTypesL_command15
333 COMMAND video GetBufferOptions
334 COMMAND video SetBufferOptionsL
335 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetClockSource_command18
336 COMMAND video Initialize
338 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-StartDirectScreenAccess_command20
342 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetPosition_command23
345 COMMAND video AbortDirectScreenAccess
348 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0003
353 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0004
355 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0004
357 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
358 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
359 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
360 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
361 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
362 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
363 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
364 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
365 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
366 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
367 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
368 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
369 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
370 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
371 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
372 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
373 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
374 //! CMMFDevVideoPlay:: Initialize();
375 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
376 //! CMMFDevVideoPlay:: Start();
377 //! CMMFDevVideoPlay:: Stop();
378 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
379 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
380 //! CMMFDevVideoPlay:: Resume();
381 //!@SYMAuthor alavariega
382 //!@SYMCreationDate 16/6/2008
383 //!@SYMTestCaseDesc NCP MPEG -4 QCIF Video SEEK Forward and Backward at 30 fps 3Mbps
385 //! 1. NewL (inputfile = paris_qcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
386 //! 2. SelectDecoderL (dec = {MPEG4, uid})
387 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
388 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
389 //! 5. GetOutputFormatListL (useDecoder = TRUE)
390 //! 6. PostProcessorInfoLC
391 //! 7. FindCommonFormat
392 //! 8. SetOutputFormatL(useDecoder = TRUE)
393 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
394 //! 10. GetOutputFormatListL (useDecoder = FALSE)
395 //! 11. SetOutputFormatL(useDecoder = FALSE)
396 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KMP4MaxCodedSizeCIF})
398 //! 14. SetVideoDestScreenL
399 //! 15. SetPostProcessTypesL(combination = 40)
400 //! 16. GetBufferOptions
401 //! 17. SetBufferOptionsL
402 //! 18. SetClockSource (synch = 1; framerate = 30)
405 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
407 //! ASYNC_DELAY 1000000
409 //! 23. SetPosition(pos = 5)
413 //! 26. AbortDirectScreenAccess
415 //!@SYMTestStatus Verified
416 //!@SYMTestPriority Normal
417 //!@SYMTestExpectedResults
418 //! Video must be played with forward action and without any blurrness.
421 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini
422 CREATE_OBJECT CMMFDevVideoPlay video
423 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-NewL_command01
424 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SelectDecoderL_command02
425 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SelectPostProcessorL_command03
426 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetInputFormat_command04
427 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-GetOutputFormatListL_command05
428 COMMAND video PostProcessorInfoLC
429 COMMAND video FindCommonFormat
430 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetOutputFormatL_command08
431 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetInputFormat_command09
432 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-GetOutputFormatListL_command10
433 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetOutputFormatL_command11
434 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-GetHeaderInformationL_command12
435 COMMAND video ReturnHeader
436 COMMAND video SetVideoDestScreenL
437 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetPostProcessTypesL_command15
438 COMMAND video GetBufferOptions
439 COMMAND video SetBufferOptionsL
440 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetClockSource_command18
441 COMMAND video Initialize
443 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-StartDirectScreenAccess_command20
447 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetPosition_command23
450 COMMAND video AbortDirectScreenAccess
453 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0004
458 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0005
460 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0005
462 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
463 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
464 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
465 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
466 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
467 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
468 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
469 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
470 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
471 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
472 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
473 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
474 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
475 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
476 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
477 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
478 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
479 //! CMMFDevVideoPlay:: Initialize();
480 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
481 //! CMMFDevVideoPlay:: Start();
482 //! CMMFDevVideoPlay:: Stop();
483 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
484 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
485 //! CMMFDevVideoPlay:: Resume();
486 //!@SYMAuthor alavariega
487 //!@SYMCreationDate 16/6/2008
488 //!@SYMTestCaseDesc NCP MPEG -4 QVGA Video SEEK Forward and Backward at 30 fps 3Mbps
490 //! 1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
491 //! 2. SelectDecoderL (dec = {MPEG4, uid})
492 //! 3. SelectPostProcessorL(postprocessor = {POSTPROCESSOR, uid})
493 //! 4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
494 //! 5. GetOutputFormatListL(useDecoder = TRUE)
495 //! 6. PostProcessorInfoLC
496 //! 7. FindCommonFormat
497 //! 8. SetOutputFormatL(useDecoder = TRUE)
498 //! 9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
499 //! 10. GetOutputFormatListL(useDecoder = FALSE)
500 //! 11. SetOutputFormatL(useDecoder = FALSE)
501 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
503 //! 14. SetVideoDestScreenL
504 //! 15. SetPostProcessTypesL(combination = 40)
505 //! 16. GetBufferOptions
506 //! 17. SetBufferOptionsL
507 //! 18. SetClockSource(synch = 1; framerate = 30)
510 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
512 //! ASYNC_DELAY 1000000
514 //! 23. SetPosition(pos = 5)
518 //! 26. AbortDirectScreenAccess
520 //!@SYMTestStatus Verified
521 //!@SYMTestPriority Normal
522 //!@SYMTestExpectedResults
523 //! Video must be played with forward action and without any blurrness.
526 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini
527 CREATE_OBJECT CMMFDevVideoPlay video
528 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-NewL_command01
529 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SelectDecoderL_command02
530 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SelectPostProcessorL_command03
531 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetInputFormat_command04
532 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-GetOutputFormatListL_command05
533 COMMAND video PostProcessorInfoLC
534 COMMAND video FindCommonFormat
535 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetOutputFormatL_command08
536 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetInputFormat_command09
537 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-GetOutputFormatListL_command10
538 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetOutputFormatL_command11
539 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-GetHeaderInformationL_command12
540 COMMAND video ReturnHeader
541 COMMAND video SetVideoDestScreenL
542 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetPostProcessTypesL_command15
543 COMMAND video GetBufferOptions
544 COMMAND video SetBufferOptionsL
545 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetClockSource_command18
546 COMMAND video Initialize
548 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-StartDirectScreenAccess_command20
552 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetPosition_command23
555 COMMAND video AbortDirectScreenAccess
558 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0005
563 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0006
565 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0006
567 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
568 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
569 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
570 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
571 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
572 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
573 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
574 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
575 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
576 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
577 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
578 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
579 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
580 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
581 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
582 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
583 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
584 //! CMMFDevVideoPlay:: Initialize();
585 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
586 //! CMMFDevVideoPlay:: Start();
587 //! CMMFDevVideoPlay:: Stop();
588 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
589 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
590 //! CMMFDevVideoPlay:: Resume();
591 //!@SYMAuthor alavariega
592 //!@SYMCreationDate 16/6/2008
593 //!@SYMTestCaseDesc NCP MPEG -4 SQCIF Video SEEK Forward and Backward at 30 fps 3Mbps
595 //! 1. NewL(inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1;inputPath = {PATHVIDEOS, inputPath})
596 //! 2. SelectDecoderL(dec = {MPEG4, uid})
597 //! 3. SelectPostProcessorL(postprocessor = {POSTPROCESSOR, uid})
598 //! 4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
599 //! 5. GetOutputFormatListL(useDecoder = TRUE)
600 //! 6. PostProcessorInfoLC
601 //! 7. FindCommonFormat
602 //! 8. SetOutputFormatL(useDecoder = TRUE)
603 //! 9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
604 //! 10. GetOutputFormatListL(useDecoder = FALSE)
605 //! 11. SetOutputFormatL(useDecoder = FALSE)
606 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeQCIF})
608 //! 14. SetVideoDestScreenL
609 //! 15. SetPostProcessTypesL(combination = 44)
610 //! 16. GetBufferOptions
611 //! 17. SetBufferOptionsL
612 //! 18. SetClockSource(synch = 1; framerate = 30)
615 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
617 //! ASYNC_DELAY 1000000
619 //! 23. SetPosition(pos = 5)
623 //! 26. AbortDirectScreenAccess
625 //!@SYMTestStatus Verified
626 //!@SYMTestPriority Normal
627 //!@SYMTestExpectedResults
628 //! Video must be played with forward action and without any blurrness.
631 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini
632 CREATE_OBJECT CMMFDevVideoPlay video
633 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-NewL_command01
634 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SelectDecoderL_command02
635 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SelectPostProcessorL_command03
636 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetInputFormat_command04
637 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-GetOutputFormatListL_command05
638 COMMAND video PostProcessorInfoLC
639 COMMAND video FindCommonFormat
640 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetOutputFormatL_command08
641 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetInputFormat_command09
642 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-GetOutputFormatListL_command10
643 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetOutputFormatL_command11
644 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-GetHeaderInformationL_command12
645 COMMAND video ReturnHeader
646 COMMAND video SetVideoDestScreenL
647 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetPostProcessTypesL_command15
648 COMMAND video GetBufferOptions
649 COMMAND video SetBufferOptionsL
650 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetClockSource_command18
651 COMMAND video Initialize
653 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-StartDirectScreenAccess_command20
657 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetPosition_command23
660 COMMAND video AbortDirectScreenAccess
663 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0006
668 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0007
670 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0007
672 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
673 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
674 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
675 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
676 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
677 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
678 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
679 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
680 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
681 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
682 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
683 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
684 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
685 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
686 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
687 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
688 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
689 //! CMMFDevVideoPlay:: Initialize();
690 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
691 //! CMMFDevVideoPlay:: Start();
692 //! CMMFDevVideoPlay:: Stop();
693 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
694 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
695 //! CMMFDevVideoPlay:: Resume();
696 //!@SYMAuthor alavariega
697 //!@SYMCreationDate 16/6/2008
698 //!@SYMTestCaseDesc NCP MPEG -4 VGA Video SEEK Forward and Backward at 30 fps 3Mbps
700 //! 1. NewL(inputfile = MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE;codec = EMPEG4;synch = 1;inputPath = {PATHVIDEOS, inputPath})
701 //! 2. SelectDecoderL(dec = {MPEG4, uid})
702 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
703 //! 4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
704 //! 5. GetOutputFormatListL(useDecoder = TRUE)
705 //! 6. PostProcessorInfoLC
706 //! 7. FindCommonFormat
707 //! 8. SetOutputFormatL(useDecoder = TRUE)
708 //! 9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
709 //! 10. GetOutputFormatListL(useDecoder = FALSE)
710 //! 11. SetOutputFormatL(useDecoder = FALSE)
711 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
713 //! 14. SetVideoDestScreenL
714 //! 15. SetPostProcessTypesL(combination = 40)
715 //! 16. GetBufferOptions
716 //! 17. SetBufferOptionsL
717 //! 18. SetClockSource(synch = 1; framerate = 25)
720 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
722 //! ASYNC_DELAY 1000000
724 //! 23. SetPosition(pos = 5)
728 //! 26. AbortDirectScreenAccess
731 //!@SYMTestStatus Verified
732 //!@SYMTestPriority Normal
733 //!@SYMTestExpectedResults
734 //! Video must be played with forward action and without any blurrness.
737 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini
738 CREATE_OBJECT CMMFDevVideoPlay video
739 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-NewL_command01
740 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SelectDecoderL_command02
741 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SelectPostProcessorL_command03
742 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetInputFormat_command04
743 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-GetOutputFormatListL_command05
744 COMMAND video PostProcessorInfoLC
745 COMMAND video FindCommonFormat
746 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetOutputFormatL_command08
747 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetInputFormat_command09
748 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-GetOutputFormatListL_command10
749 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetOutputFormatL_command11
750 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-GetHeaderInformationL_command12
751 COMMAND video ReturnHeader
752 COMMAND video SetVideoDestScreenL
753 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetPostProcessTypesL_command15
754 COMMAND video GetBufferOptions
755 COMMAND video SetBufferOptionsL
756 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetClockSource_command18
757 COMMAND video Initialize
759 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-StartDirectScreenAccess_command20
763 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetPosition_command23
766 COMMAND video AbortDirectScreenAccess
769 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0007