os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-scale-automated.script
First public contribution.
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-scale-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-SCALE-AUTOMATED-0001
39 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-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:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
65 //!@SYMAuthor alavariega
66 //!@SYMCreationDate 16/6/2008
67 //!@SYMTestCaseDesc NCP MPEG -4 QCIF Video FULL SCREEN at 30 fps 3Mbps
69 //! 1. NewL (inputfile = paris_qcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
70 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
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 = TRUE)
80 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
82 //! 14. SetVideoDestScreenL
83 //! 15. SetPostProcessTypesL (combination = 48)
84 //! 16. GetBufferOptions
85 //! 17. SetBufferOptionsL
86 //! 18. SetClockSource (synch = 1; framerate = 30)
87 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
90 //! 21. StartDirectScreenAccess (displayMode = EColor64K)
94 //! 24. AbortDirectScreenAccess
96 //!@SYMTestStatus Verified
97 //!@SYMTestPriority Normal
98 //!@SYMTestExpectedResults
99 //! Video must be played on the full screen without any blurrness.
102 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-scale-automated.ini
103 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
104 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-NewL_command01
105 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SelectDecoderL_command02
106 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SelectPostProcessorL_command03
107 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetInputFormat_command04
108 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-GetOutputFormatListL_command05
109 COMMAND mmfdvplay PostProcessorInfoLC
110 COMMAND mmfdvplay FindCommonFormat
111 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetOutputFormatL_command08
112 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetInputFormat_command09
113 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-GetOutputFormatListL_command10
114 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetOutputFormatL_command11
115 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-GetHeaderInformationL_command12
116 COMMAND mmfdvplay ReturnHeader
117 COMMAND mmfdvplay SetVideoDestScreenL
118 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetPostProcessTypesL_command15
119 COMMAND mmfdvplay GetBufferOptions
120 COMMAND mmfdvplay SetBufferOptionsL
121 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetClockSource_command18
122 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetScaleOptionsL_command19
123 COMMAND mmfdvplay Initialize
125 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-StartDirectScreenAccess_command21
126 COMMAND mmfdvplay Start
128 COMMAND mmfdvplay Stop
129 COMMAND mmfdvplay AbortDirectScreenAccess
132 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0001
137 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0002
139 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0002
141 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
142 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
143 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
144 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
145 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
146 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
147 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
148 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
149 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
150 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
151 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
152 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
153 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
154 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
155 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
156 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
157 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
158 //! CMMFDevVideoPlay:: Initialize();
159 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
160 //! CMMFDevVideoPlay:: Start();
161 //! CMMFDevVideoPlay:: Stop();
162 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
163 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
164 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
165 //!@SYMAuthor alavariega
166 //!@SYMCreationDate 16/6/2008
167 //!@SYMTestCaseDesc NCP MPEG -4 SQCIF Video FULL SCREEN at 30 fps 3Mbps
169 //! 1. NewL (inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
170 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
171 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
172 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
173 //! 5. GetOutputFormatListL (useDecoder = TRUE)
174 //! 6. PostProcessorInfoLC
175 //! 7. FindCommonFormat
176 //! 8. SetOutputFormatL (useDecoder = TRUE)
177 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
178 //! 10. GetOutputFormatListL (useDecoder = FALSE)
179 //! 11. SetOutputFormatL(useDecoder = TRUE)
180 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
182 //! 14. SetVideoDestScreenL
183 //! 15. SetPostProcessTypesL (combination = 48)
184 //! 16. GetBufferOptions
185 //! 17. SetBufferOptionsL
186 //! 18. SetClockSource (synch = 1; framerate = 30)
187 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
190 //! 21. StartDirectScreenAccess (displayMode = EColor64K)
194 //! 24. AbortDirectScreenAccess
196 //!@SYMTestStatus Verified
197 //!@SYMTestPriority Normal
198 //!@SYMTestExpectedResults
199 //! Video must be played on the full screen without any blurrness.
202 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-scale-automated.ini
203 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
204 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-NewL_command01
205 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SelectDecoderL_command02
206 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SelectPostProcessorL_command03
207 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetInputFormat_command04
208 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-GetOutputFormatListL_command05
209 COMMAND mmfdvplay PostProcessorInfoLC
210 COMMAND mmfdvplay FindCommonFormat
211 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetOutputFormatL_command08
212 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetInputFormat_command09
213 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-GetOutputFormatListL_command10
214 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetOutputFormatL_command11
215 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-GetHeaderInformationL_command12
216 COMMAND mmfdvplay ReturnHeader
217 COMMAND mmfdvplay SetVideoDestScreenL
218 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetPostProcessTypesL_command15
219 COMMAND mmfdvplay GetBufferOptions
220 COMMAND mmfdvplay SetBufferOptionsL
221 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetClockSource_command18
222 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetScaleOptionsL_command19
223 COMMAND mmfdvplay Initialize
225 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-StartDirectScreenAccess_command21
226 COMMAND mmfdvplay Start
228 COMMAND mmfdvplay Stop
229 COMMAND mmfdvplay AbortDirectScreenAccess
232 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0002
237 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0003
239 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0003
241 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
242 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
243 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
244 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
245 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
246 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
247 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
248 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
249 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
250 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
251 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
252 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
253 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
254 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
255 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
256 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
257 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
258 //! CMMFDevVideoPlay:: Initialize();
259 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
260 //! CMMFDevVideoPlay:: Start();
261 //! CMMFDevVideoPlay:: Stop();
262 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
263 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
264 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
265 //!@SYMAuthor alavariega
266 //!@SYMCreationDate 16/6/2008
267 //!@SYMTestCaseDesc NCP MPEG -4 CIF Video FULL SCREEN at 30 fps 3Mbps
269 //! 1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
270 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
271 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
272 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
273 //! 5. GetOutputFormatListL (useDecoder = TRUE)
274 //! 6. PostProcessorInfoLC
275 //! 7. FindCommonFormat
276 //! 8. SetOutputFormatL (useDecoder = TRUE)
277 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
278 //! 10. GetOutputFormatListL (useDecoder = FALSE)
279 //! 11. SetOutputFormatL(useDecoder = TRUE)
280 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
282 //! 14. SetVideoDestScreenL
283 //! 15. SetPostProcessTypesL (combination = 48)
284 //! 16. GetBufferOptions
285 //! 17. SetBufferOptionsL
286 //! 18. SetClockSource (synch = 1; framerate = 30)
287 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
290 //! 21. StartDirectScreenAccess (displayMode = EColor64K)
294 //! 24. AbortDirectScreenAccess
296 //!@SYMTestStatus Verified
297 //!@SYMTestPriority Normal
298 //!@SYMTestExpectedResults
299 //! Video must be played on the full screen without any blurrness.
302 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-scale-automated.ini
303 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
304 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-NewL_command01
305 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SelectDecoderL_command02
306 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SelectPostProcessorL_command03
307 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetInputFormat_command04
308 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-GetOutputFormatListL_command05
309 COMMAND mmfdvplay PostProcessorInfoLC
310 COMMAND mmfdvplay FindCommonFormat
311 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetOutputFormatL_command08
312 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetInputFormat_command09
313 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-GetOutputFormatListL_command10
314 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetOutputFormatL_command11
315 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-GetHeaderInformationL_command12
316 COMMAND mmfdvplay ReturnHeader
317 COMMAND mmfdvplay SetVideoDestScreenL
318 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetPostProcessTypesL_command15
319 COMMAND mmfdvplay GetBufferOptions
320 COMMAND mmfdvplay SetBufferOptionsL
321 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetClockSource_command18
322 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetScaleOptionsL_command19
323 COMMAND mmfdvplay Initialize
325 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-StartDirectScreenAccess_command21
326 COMMAND mmfdvplay Start
328 COMMAND mmfdvplay Stop
329 COMMAND mmfdvplay AbortDirectScreenAccess
332 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0003
337 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0004
339 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0004
341 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
342 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
343 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
344 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
345 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
346 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
347 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
348 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
349 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
350 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
351 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
352 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
353 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
354 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
355 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
356 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
357 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
358 //! CMMFDevVideoPlay:: Initialize();
359 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
360 //! CMMFDevVideoPlay:: Start();
361 //! CMMFDevVideoPlay:: Stop();
362 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
363 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
364 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
365 //!@SYMAuthor alavariega
366 //!@SYMCreationDate 16/6/2008
367 //!@SYMTestCaseDesc NCP MPEG -4 QVGA Video FULL SCREEN at 30 fps 3Mbps
369 //! 1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
370 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
371 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
372 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
373 //! 5. GetOutputFormatListL (useDecoder = TRUE)
374 //! 6. PostProcessorInfoLC
375 //! 7. FindCommonFormat
376 //! 8. SetOutputFormatL (useDecoder = TRUE)
377 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
378 //! 10. GetOutputFormatListL (useDecoder = FALSE)
379 //! 11. SetOutputFormatL(useDecoder = TRUE)
380 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
382 //! 14. SetVideoDestScreenL
383 //! 15. SetPostProcessTypesL (combination = 48)
384 //! 16. GetBufferOptions
385 //! 17. SetBufferOptionsL
386 //! 18. SetClockSource (synch = 1; framerate = 30)
387 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
390 //! 21. StartDirectScreenAccess (displayMode = EColor64K)
394 //! 24. AbortDirectScreenAccess
396 //!@SYMTestStatus Verified
397 //!@SYMTestPriority Normal
398 //!@SYMTestExpectedResults
399 //! Video must be played on the full screen without any blurrness.
402 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-scale-automated.ini
403 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
404 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-NewL_command01
405 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SelectDecoderL_command02
406 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SelectPostProcessorL_command03
407 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetInputFormat_command04
408 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-GetOutputFormatListL_command05
409 COMMAND mmfdvplay PostProcessorInfoLC
410 COMMAND mmfdvplay FindCommonFormat
411 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetOutputFormatL_command08
412 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetInputFormat_command09
413 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-GetOutputFormatListL_command10
414 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetOutputFormatL_command11
415 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-GetHeaderInformationL_command12
416 COMMAND mmfdvplay ReturnHeader
417 COMMAND mmfdvplay SetVideoDestScreenL
418 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetPostProcessTypesL_command15
419 COMMAND mmfdvplay GetBufferOptions
420 COMMAND mmfdvplay SetBufferOptionsL
421 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetClockSource_command18
422 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetScaleOptionsL_command19
423 COMMAND mmfdvplay Initialize
425 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-StartDirectScreenAccess_command21
426 COMMAND mmfdvplay Start
428 COMMAND mmfdvplay Stop
429 COMMAND mmfdvplay AbortDirectScreenAccess
432 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0004