os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-backward-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-backward-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-BACKWARD-AUTOMATED-0001
39 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-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 backward
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 = -4)
97 //! 26. AbortDirectScreenAccess
100 //!@SYMTestStatus Verified
101 //!@SYMTestPriority Normal
102 //!@SYMTestExpectedResults
103 //! Video must be played with backward action and without any blurrness.
106 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
107 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
108 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-NewL_command01
109 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SelectDecoderL_command02
110 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SelectPostProcessorL_command03
111 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetInputFormat_command04
112 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-GetOutputFormatListL_command05
113 COMMAND mmfdvplay PostProcessorInfoLC
114 COMMAND mmfdvplay FindCommonFormat
115 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetOutputFormatL_command08
116 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetInputFormat_command09
117 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-GetOutputFormatListL_command10
118 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetOutputFormatL_command11
119 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-GetHeaderInformationL_command12
120 COMMAND mmfdvplay ReturnHeader
121 COMMAND mmfdvplay SetVideoDestScreenL
122 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetPostProcessTypesL_command15
123 COMMAND mmfdvplay GetBufferOptions
124 COMMAND mmfdvplay SetBufferOptionsL
125 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetClockSource_command18
126 COMMAND mmfdvplay Initialize
128 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-StartDirectScreenAccess_command20
129 COMMAND mmfdvplay Start
131 COMMAND mmfdvplay Pause
132 COMMAND mmfdvplay SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetPosition_command23
133 COMMAND mmfdvplay Resume
134 COMMAND mmfdvplay Stop
135 COMMAND mmfdvplay AbortDirectScreenAccess
138 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0001
143 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0002
145 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0002
147 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
148 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
149 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
150 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
151 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
152 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
153 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
154 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
155 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
156 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
157 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
158 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
159 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
160 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
161 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
162 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
163 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
164 //! CMMFDevVideoPlay:: Initialize();
165 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
166 //! CMMFDevVideoPlay:: Start();
167 //! CMMFDevVideoPlay:: Stop();
168 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
169 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
170 //! CMMFDevVideoPlay:: Resume();
171 //!@SYMAuthor alavariega
172 //!@SYMCreationDate 16/6/2008
173 //!@SYMTestCaseDesc NCP MPEG4 PAL Video SEEK Forward and Backward at 25 fps 4Mbps
175 //! 1. NewL(inputfile = akiyo_pal_25fps_4M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
176 //! 2. SelectDecoderL(dec = {MPEG4, uid})
177 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
178 //! 4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
179 //! 5. GetOutputFormatListL(useDecoder = TRUE)
180 //! 6. PostProcessorInfoLC
181 //! 7. FindCommonFormat
182 //! 8. SetOutputFormatL(useDecoder = TRUE)
183 //! 9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
184 //! 10. GetOutputFormatListL(useDecoder = FALSE)
185 //! 11. SetOutputFormatL(useDecoder = FALSE)
186 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
188 //! 14. SetVideoDestScreenL
189 //! 15. SetPostProcessTypesL(combination = 40)
190 //! 16. GetBufferOptions
191 //! 17. SetBufferOptionsL
192 //! 18. SetClockSource(synch = 1; framerate = 25)
195 //! 20. StartDirectScreenAccess(displayMode = EColor64K)
197 //! ASYNC_DELAY 1000000
199 //! 23. SetPosition(pos = -4)
203 //! 26. AbortDirectScreenAccess
205 //!@SYMTestStatus Verified
206 //!@SYMTestPriority Normal
207 //!@SYMTestExpectedResults
208 //! Video must be played with backward action and without any blurrness.
211 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
212 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
213 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-NewL_command01
214 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SelectDecoderL_command02
215 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SelectPostProcessorL_command03
216 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetInputFormat_command04
217 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-GetOutputFormatListL_command05
218 COMMAND mmfdvplay PostProcessorInfoLC
219 COMMAND mmfdvplay FindCommonFormat
220 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetOutputFormatL_command08
221 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetInputFormat_command09
222 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-GetOutputFormatListL_command10
223 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetOutputFormatL_command11
224 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-GetHeaderInformationL_command12
225 COMMAND mmfdvplay ReturnHeader
226 COMMAND mmfdvplay SetVideoDestScreenL
227 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetPostProcessTypesL_command15
228 COMMAND mmfdvplay GetBufferOptions
229 COMMAND mmfdvplay SetBufferOptionsL
230 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetClockSource_command18
231 COMMAND mmfdvplay Initialize
233 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-StartDirectScreenAccess_command20
234 COMMAND mmfdvplay Start
236 COMMAND mmfdvplay Pause
237 COMMAND mmfdvplay SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetPosition_command23
238 COMMAND mmfdvplay Resume
239 COMMAND mmfdvplay Stop
240 COMMAND mmfdvplay AbortDirectScreenAccess
243 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0002
248 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0003
250 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-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 = -4)
308 //! 26. AbortDirectScreenAccess
310 //!@SYMTestStatus Verified
311 //!@SYMTestPriority Normal
312 //!@SYMTestExpectedResults
313 //! Video must be played with backward action and without any blurrness.
316 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
317 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
318 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-NewL_command01
319 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SelectDecoderL_command02
320 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SelectPostProcessorL_command03
321 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetInputFormat_command04
322 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-GetOutputFormatListL_command05
323 COMMAND mmfdvplay PostProcessorInfoLC
324 COMMAND mmfdvplay FindCommonFormat
325 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetOutputFormatL_command08
326 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetInputFormat_command09
327 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-GetOutputFormatListL_command10
328 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetOutputFormatL_command11
329 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-GetHeaderInformationL_command12
330 COMMAND mmfdvplay ReturnHeader
331 COMMAND mmfdvplay SetVideoDestScreenL
332 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetPostProcessTypesL_command15
333 COMMAND mmfdvplay GetBufferOptions
334 COMMAND mmfdvplay SetBufferOptionsL
335 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetClockSource_command18
336 COMMAND mmfdvplay Initialize
338 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-StartDirectScreenAccess_command20
339 COMMAND mmfdvplay Start
341 COMMAND mmfdvplay Pause
342 COMMAND mmfdvplay SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetPosition_command23
343 COMMAND mmfdvplay Resume
344 COMMAND mmfdvplay Stop
345 COMMAND mmfdvplay AbortDirectScreenAccess
348 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0003
353 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0004
355 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-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, KMP4MaxCodedSizeVGA})
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 = -4)
413 //! 26. AbortDirectScreenAccess
415 //!@SYMTestStatus Verified
416 //!@SYMTestPriority Normal
417 //!@SYMTestExpectedResults
418 //! Video must be played with backward action and without any blurrness.
421 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
422 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
423 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-NewL_command01
424 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SelectDecoderL_command02
425 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SelectPostProcessorL_command03
426 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetInputFormat_command04
427 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-GetOutputFormatListL_command05
428 COMMAND mmfdvplay PostProcessorInfoLC
429 COMMAND mmfdvplay FindCommonFormat
430 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetOutputFormatL_command08
431 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetInputFormat_command09
432 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-GetOutputFormatListL_command10
433 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetOutputFormatL_command11
434 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-GetHeaderInformationL_command12
435 COMMAND mmfdvplay ReturnHeader
436 COMMAND mmfdvplay SetVideoDestScreenL
437 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetPostProcessTypesL_command15
438 COMMAND mmfdvplay GetBufferOptions
439 COMMAND mmfdvplay SetBufferOptionsL
440 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetClockSource_command18
441 COMMAND mmfdvplay Initialize
443 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-StartDirectScreenAccess_command20
444 COMMAND mmfdvplay Start
446 COMMAND mmfdvplay Pause
447 COMMAND mmfdvplay SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetPosition_command23
448 COMMAND mmfdvplay Resume
449 COMMAND mmfdvplay Stop
450 COMMAND mmfdvplay AbortDirectScreenAccess
453 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0004
458 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0005
460 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-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 = -4)
518 //! 26. AbortDirectScreenAccess
520 //!@SYMTestStatus Verified
521 //!@SYMTestPriority Normal
522 //!@SYMTestExpectedResults
523 //! Video must be played with backward action and without any blurrness.
526 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
527 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
528 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-NewL_command01
529 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SelectDecoderL_command02
530 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SelectPostProcessorL_command03
531 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetInputFormat_command04
532 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-GetOutputFormatListL_command05
533 COMMAND mmfdvplay PostProcessorInfoLC
534 COMMAND mmfdvplay FindCommonFormat
535 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetOutputFormatL_command08
536 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetInputFormat_command09
537 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-GetOutputFormatListL_command10
538 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetOutputFormatL_command11
539 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-GetHeaderInformationL_command12
540 COMMAND mmfdvplay ReturnHeader
541 COMMAND mmfdvplay SetVideoDestScreenL
542 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetPostProcessTypesL_command15
543 COMMAND mmfdvplay GetBufferOptions
544 COMMAND mmfdvplay SetBufferOptionsL
545 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetClockSource_command18
546 COMMAND mmfdvplay Initialize
548 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-StartDirectScreenAccess_command20
549 COMMAND mmfdvplay Start
551 COMMAND mmfdvplay Pause
552 COMMAND mmfdvplay SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetPosition_command23
553 COMMAND mmfdvplay Resume
554 COMMAND mmfdvplay Stop
555 COMMAND mmfdvplay AbortDirectScreenAccess
558 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0005
563 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0006
565 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-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 = -4)
623 //! 26. AbortDirectScreenAccess
625 //!@SYMTestStatus Verified
626 //!@SYMTestPriority Normal
627 //!@SYMTestExpectedResults
628 //! Video must be played with backward action and without any blurrness.
631 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
632 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
633 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-NewL_command01
634 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SelectDecoderL_command02
635 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SelectPostProcessorL_command03
636 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetInputFormat_command04
637 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-GetOutputFormatListL_command05
638 COMMAND mmfdvplay PostProcessorInfoLC
639 COMMAND mmfdvplay FindCommonFormat
640 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetOutputFormatL_command08
641 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetInputFormat_command09
642 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-GetOutputFormatListL_command10
643 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetOutputFormatL_command11
644 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-GetHeaderInformationL_command12
645 COMMAND mmfdvplay ReturnHeader
646 COMMAND mmfdvplay SetVideoDestScreenL
647 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetPostProcessTypesL_command15
648 COMMAND mmfdvplay GetBufferOptions
649 COMMAND mmfdvplay SetBufferOptionsL
650 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetClockSource_command18
651 COMMAND mmfdvplay Initialize
653 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-StartDirectScreenAccess_command20
654 COMMAND mmfdvplay Start
656 COMMAND mmfdvplay Pause
657 COMMAND mmfdvplay SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetPosition_command23
658 COMMAND mmfdvplay Resume
659 COMMAND mmfdvplay Stop
660 COMMAND mmfdvplay AbortDirectScreenAccess
663 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0006
668 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0007
670 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-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
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 = -4)
728 //! 26. AbortDirectScreenAccess
731 //!@SYMTestStatus Verified
732 //!@SYMTestPriority Normal
733 //!@SYMTestExpectedResults
734 //! Video must be played with backward action and without any blurrness.
737 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
738 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
739 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-NewL_command01
740 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SelectDecoderL_command02
741 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SelectPostProcessorL_command03
742 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetInputFormat_command04
743 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-GetOutputFormatListL_command05
744 COMMAND mmfdvplay PostProcessorInfoLC
745 COMMAND mmfdvplay FindCommonFormat
746 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetOutputFormatL_command08
747 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetInputFormat_command09
748 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-GetOutputFormatListL_command10
749 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetOutputFormatL_command11
750 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-GetHeaderInformationL_command12
751 COMMAND mmfdvplay ReturnHeader
752 COMMAND mmfdvplay SetVideoDestScreenL
753 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetPostProcessTypesL_command15
754 COMMAND mmfdvplay GetBufferOptions
755 COMMAND mmfdvplay SetBufferOptionsL
756 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetClockSource_command18
757 COMMAND mmfdvplay Initialize
759 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-StartDirectScreenAccess_command20
760 COMMAND mmfdvplay Start
762 COMMAND mmfdvplay Pause
763 COMMAND mmfdvplay SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetPosition_command23
764 COMMAND mmfdvplay Resume
765 COMMAND mmfdvplay Stop
766 COMMAND mmfdvplay AbortDirectScreenAccess
769 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0007