os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-rotation-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-rotation-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-ROTATION-AUTOMATED-0001
39 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-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 //! CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
66 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
67 //!@SYMAuthor alavariega
68 //!@SYMCreationDate 16/6/2008
69 //!@SYMTestCaseDesc NCP MPEG4 NTSC Video Rotation at 30 fps 4Mbps
71 //! 1. NewL (inputfile = akiyo_ntsc_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
72 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
73 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
74 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
75 //! 5. GetOutputFormatListL (useDecoder = TRUE)
76 //! 6. PostProcessorInfoLC
77 //! 7. FindCommonFormat
78 //! 8. SetOutputFormatL (useDecoder = TRUE)
79 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
80 //! 10. GetOutputFormatListL (useDecoder = FALSE)
81 //! 11. SetOutputFormatL(useDecoder = TRUE)
82 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
84 //! 14. SetVideoDestScreenL
85 //! 15. SetPostProcessTypesL (combination = 4C)
86 //! 16. GetBufferOptions
87 //! 17. SetBufferOptionsL
88 //! 18. SetClockSource (synch = 1; framerate = 30)
89 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
90 //! 20. SetRotateOptionsL (rotation = ERotate90Clockwise)
93 //! 22. StartDirectScreenAccess (displayMode = EColor64K)
97 //! 25. AbortDirectScreenAccess
99 //!@SYMTestStatus Verified
100 //!@SYMTestPriority Normal
101 //!@SYMTestExpectedResults
102 //! Video must be played with rotation of 90 degrees and without any blurrness
105 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
106 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
107 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-NewL_command01
108 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SelectDecoderL_command02
109 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SelectPostProcessorL_command03
110 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetInputFormat_command04
111 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetOutputFormatListL_command05
112 COMMAND mmfdvplay PostProcessorInfoLC
113 COMMAND mmfdvplay FindCommonFormat
114 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetOutputFormatL_command08
115 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetInputFormat_command09
116 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetOutputFormatListL_command10
117 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetOutputFormatL_command11
118 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetHeaderInformationL_command12
119 COMMAND mmfdvplay ReturnHeader
120 COMMAND mmfdvplay SetVideoDestScreenL
121 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetPostProcessTypesL_command15
122 COMMAND mmfdvplay GetBufferOptions
123 COMMAND mmfdvplay SetBufferOptionsL
124 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetClockSource_command18
125 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetScaleOptionsL_command19
126 COMMAND mmfdvplay SetRotateOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetRotateOptionsL_command20
127 COMMAND mmfdvplay Initialize
129 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-StartDirectScreenAccess_command22
130 COMMAND mmfdvplay Start
132 COMMAND mmfdvplay Stop
133 COMMAND mmfdvplay AbortDirectScreenAccess
136 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0001
141 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
143 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
145 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
146 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
147 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
148 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
149 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
150 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
151 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
152 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
153 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
154 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
155 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
156 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
157 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
158 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
159 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
160 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
161 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
162 //! CMMFDevVideoPlay:: Initialize();
163 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
164 //! CMMFDevVideoPlay:: Start();
165 //! CMMFDevVideoPlay:: Stop();
166 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
167 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
168 //! CMMFDevVideoPlay:: Resume();
169 //! CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
170 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
171 //!@SYMAuthor alavariega
172 //!@SYMCreationDate 16/6/2008
173 //!@SYMTestCaseDesc NCP MPEG4 PAL Video Rotation 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 = {DECODERS, MPEG4})
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 = TRUE)
186 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
188 //! 14. SetVideoDestScreenL
189 //! 15. SetPostProcessTypesL (combination = 4C)
190 //! 16. GetBufferOptions
191 //! 17. SetBufferOptionsL
192 //! 18. SetClockSource (synch = 1; framerate = 25)
193 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
194 //! 20. SetRotateOptionsL (rotation = ERotate90Clockwise)
197 //! 22. StartDirectScreenAccess (displayMode = EColor64K)
201 //! 25. AbortDirectScreenAccess
203 //!@SYMTestStatus Verified
204 //!@SYMTestPriority Normal
205 //!@SYMTestExpectedResults
206 //! Video must be played with rotation of 90 degrees and without any blurrness
209 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
210 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
211 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-NewL_command01
212 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SelectDecoderL_command02
213 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SelectPostProcessorL_command03
214 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetInputFormat_command04
215 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetOutputFormatListL_command05
216 COMMAND mmfdvplay PostProcessorInfoLC
217 COMMAND mmfdvplay FindCommonFormat
218 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetOutputFormatL_command08
219 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetInputFormat_command09
220 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetOutputFormatListL_command10
221 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetOutputFormatL_command11
222 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetHeaderInformationL_command12
223 COMMAND mmfdvplay ReturnHeader
224 COMMAND mmfdvplay SetVideoDestScreenL
225 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetPostProcessTypesL_command15
226 COMMAND mmfdvplay GetBufferOptions
227 COMMAND mmfdvplay SetBufferOptionsL
228 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetClockSource_command18
229 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetScaleOptionsL_command19
230 COMMAND mmfdvplay SetRotateOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetRotateOptionsL_command20
231 COMMAND mmfdvplay Initialize
233 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-StartDirectScreenAccess_command22
234 COMMAND mmfdvplay Start
236 COMMAND mmfdvplay Stop
237 COMMAND mmfdvplay AbortDirectScreenAccess
240 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
245 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
247 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
249 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
250 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
251 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
252 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
253 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
254 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
255 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
256 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
257 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
258 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
259 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
260 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
261 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
262 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
263 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
264 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
265 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
266 //! CMMFDevVideoPlay:: Initialize();
267 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
268 //! CMMFDevVideoPlay:: Start();
269 //! CMMFDevVideoPlay:: Stop();
270 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
271 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
272 //! CMMFDevVideoPlay:: Resume();
273 //! CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
274 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
275 //!@SYMAuthor alavariega
276 //!@SYMCreationDate 16/6/2008
277 //!@SYMTestCaseDesc NCP MPEG -4 CIF Video Rotation at 30 fps 3Mbps
279 //! 1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
280 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
281 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
282 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
283 //! 5. GetOutputFormatListL (useDecoder = TRUE)
284 //! 6. PostProcessorInfoLC
285 //! 7. FindCommonFormat
286 //! 8. SetOutputFormatL (useDecoder = TRUE)
287 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
288 //! 10. GetOutputFormatListL (useDecoder = FALSE)
289 //! 11. SetOutputFormatL(useDecoder = TRUE)
290 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
292 //! 14. SetVideoDestScreenL
293 //! 15. SetPostProcessTypesL (combination = 4C)
294 //! 16. GetBufferOptions
295 //! 17. SetBufferOptionsL
296 //! 18. SetClockSource (synch = 1; framerate = 30)
297 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
298 //! 20. SetRotateOptionsL (rotation = ERotate90Clockwise)
301 //! 22. StartDirectScreenAccess (displayMode = EColor64K)
305 //! 25. AbortDirectScreenAccess
307 //!@SYMTestStatus Verified
308 //!@SYMTestPriority Normal
309 //!@SYMTestExpectedResults
310 //! Video must be played with rotation of 90 degrees and without any blurrness
313 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
314 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
315 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-NewL_command01
316 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SelectDecoderL_command02
317 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SelectPostProcessorL_command03
318 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetInputFormat_command04
319 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetOutputFormatListL_command05
320 COMMAND mmfdvplay PostProcessorInfoLC
321 COMMAND mmfdvplay FindCommonFormat
322 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetOutputFormatL_command08
323 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetInputFormat_command09
324 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetOutputFormatListL_command10
325 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetOutputFormatL_command11
326 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetHeaderInformationL_command12
327 COMMAND mmfdvplay ReturnHeader
328 COMMAND mmfdvplay SetVideoDestScreenL
329 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetPostProcessTypesL_command15
330 COMMAND mmfdvplay GetBufferOptions
331 COMMAND mmfdvplay SetBufferOptionsL
332 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetClockSource_command18
333 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetScaleOptionsL_command19
334 COMMAND mmfdvplay SetRotateOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetRotateOptionsL_command20
335 COMMAND mmfdvplay Initialize
337 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-StartDirectScreenAccess_command22
338 COMMAND mmfdvplay Start
340 COMMAND mmfdvplay Stop
341 COMMAND mmfdvplay AbortDirectScreenAccess
344 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
349 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
351 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
353 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
354 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
355 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
356 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
357 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
358 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
359 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
360 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
361 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
362 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
363 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
364 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
365 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
366 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
367 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
368 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
369 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
370 //! CMMFDevVideoPlay:: Initialize();
371 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
372 //! CMMFDevVideoPlay:: Start();
373 //! CMMFDevVideoPlay:: Stop();
374 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
375 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
376 //! CMMFDevVideoPlay:: Resume();
377 //! CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
378 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
379 //!@SYMAuthor alavariega
380 //!@SYMCreationDate 16/6/2008
381 //!@SYMTestCaseDesc VideoPlayback_Rotation_MPEG4_CIF_30_3M
383 //! 1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
384 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
385 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
386 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
387 //! 5. GetOutputFormatListL (useDecoder = TRUE)
388 //! 6. PostProcessorInfoLC
389 //! 7. FindCommonFormat
390 //! 8. SetOutputFormatL (useDecoder = TRUE)
391 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
392 //! 10. GetOutputFormatListL (useDecoder = FALSE)
393 //! 11. SetOutputFormatL(useDecoder = TRUE)
394 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
396 //! 14. SetVideoDestScreenL
397 //! 15. SetPostProcessTypesL (combination = 4C)
398 //! 16. GetBufferOptions
399 //! 17. SetBufferOptionsL
400 //! 18. SetClockSource (synch = 1; framerate = 30)
401 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
402 //! 20. SetRotateOptionsL (rotation = ERotate90Clockwise)
405 //! 22. StartDirectScreenAccess (displayMode = EColor64K)
409 //! 25. AbortDirectScreenAccess
411 //!@SYMTestStatus Verified
412 //!@SYMTestPriority Normal
413 //!@SYMTestExpectedResults
414 //! Video must be played with rotation of 90 degrees and without any blurrness
417 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
418 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
419 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-NewL_command01
420 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SelectDecoderL_command02
421 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SelectPostProcessorL_command03
422 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetInputFormat_command04
423 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetOutputFormatListL_command05
424 COMMAND mmfdvplay PostProcessorInfoLC
425 COMMAND mmfdvplay FindCommonFormat
426 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetOutputFormatL_command08
427 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetInputFormat_command09
428 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetOutputFormatListL_command10
429 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetOutputFormatL_command11
430 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetHeaderInformationL_command12
431 COMMAND mmfdvplay ReturnHeader
432 COMMAND mmfdvplay SetVideoDestScreenL
433 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetPostProcessTypesL_command15
434 COMMAND mmfdvplay GetBufferOptions
435 COMMAND mmfdvplay SetBufferOptionsL
436 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetClockSource_command18
437 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetScaleOptionsL_command19
438 COMMAND mmfdvplay SetRotateOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetRotateOptionsL_command20
439 COMMAND mmfdvplay Initialize
441 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-StartDirectScreenAccess_command22
442 COMMAND mmfdvplay Start
444 COMMAND mmfdvplay Stop
445 COMMAND mmfdvplay AbortDirectScreenAccess
448 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
453 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
455 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
457 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
458 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
459 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
460 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
461 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
462 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
463 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
464 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
465 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
466 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
467 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
468 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
469 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
470 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
471 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
472 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
473 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
474 //! CMMFDevVideoPlay:: Initialize();
475 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
476 //! CMMFDevVideoPlay:: Start();
477 //! CMMFDevVideoPlay:: Stop();
478 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
479 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
480 //! CMMFDevVideoPlay:: Resume();
481 //! CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
482 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
483 //!@SYMAuthor alavariega
484 //!@SYMCreationDate 16/6/2008
485 //!@SYMTestCaseDesc NCP MPEG -4 QVGA Video Rotation at 30 fps 3Mbps
487 //! 1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
488 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
489 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
490 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
491 //! 5. GetOutputFormatListL (useDecoder = TRUE)
492 //! 6. PostProcessorInfoLC
493 //! 7. FindCommonFormat
494 //! 8. SetOutputFormatL (useDecoder = TRUE)
495 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
496 //! 10. GetOutputFormatListL (useDecoder = FALSE)
497 //! 11. SetOutputFormatL(useDecoder = TRUE)
498 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
500 //! 14. SetVideoDestScreenL
501 //! 15. SetPostProcessTypesL (combination = 4C)
502 //! 16. GetBufferOptions
503 //! 17. SetBufferOptionsL
504 //! 18. SetClockSource (synch = 1; framerate = 30)
505 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
506 //! 20. SetRotateOptionsL (rotation = ERotate90Clockwise)
509 //! 22. StartDirectScreenAccess (displayMode = EColor64K)
513 //! 25. AbortDirectScreenAccess
515 //!@SYMTestStatus Verified
516 //!@SYMTestPriority Normal
517 //!@SYMTestExpectedResults
518 //! Video must be played with rotation of 90 degrees and without any blurrness
521 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
522 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
523 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-NewL_command01
524 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SelectDecoderL_command02
525 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SelectPostProcessorL_command03
526 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetInputFormat_command04
527 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetOutputFormatListL_command05
528 COMMAND mmfdvplay PostProcessorInfoLC
529 COMMAND mmfdvplay FindCommonFormat
530 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetOutputFormatL_command08
531 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetInputFormat_command09
532 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetOutputFormatListL_command10
533 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetOutputFormatL_command11
534 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetHeaderInformationL_command12
535 COMMAND mmfdvplay ReturnHeader
536 COMMAND mmfdvplay SetVideoDestScreenL
537 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetPostProcessTypesL_command15
538 COMMAND mmfdvplay GetBufferOptions
539 COMMAND mmfdvplay SetBufferOptionsL
540 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetClockSource_command18
541 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetScaleOptionsL_command19
542 COMMAND mmfdvplay SetRotateOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetRotateOptionsL_command20
543 COMMAND mmfdvplay Initialize
545 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-StartDirectScreenAccess_command22
546 COMMAND mmfdvplay Start
548 COMMAND mmfdvplay Stop
549 COMMAND mmfdvplay AbortDirectScreenAccess
552 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
557 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
559 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
561 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
562 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
563 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
564 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
565 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
566 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
567 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
568 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
569 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
570 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
571 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
572 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
573 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
574 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
575 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
576 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
577 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
578 //! CMMFDevVideoPlay:: Initialize();
579 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
580 //! CMMFDevVideoPlay:: Start();
581 //! CMMFDevVideoPlay:: Stop();
582 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
583 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
584 //! CMMFDevVideoPlay:: Resume();
585 //! CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
586 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
587 //!@SYMAuthor alavariega
588 //!@SYMCreationDate 16/6/2008
589 //!@SYMTestCaseDesc VideoPlayback_Rotation_MPEG4_QVGA_30_3M - (180)
591 //! 1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
592 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
593 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
594 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
595 //! 5. GetOutputFormatListL (useDecoder = TRUE)
596 //! 6. PostProcessorInfoLC
597 //! 7. FindCommonFormat
598 //! 8. SetOutputFormatL (useDecoder = TRUE)
599 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
600 //! 10. GetOutputFormatListL (useDecoder = FALSE)
601 //! 11. SetOutputFormatL(useDecoder = TRUE)
602 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
604 //! 14. SetVideoDestScreenL
605 //! 15. SetPostProcessTypesL (combination = 4C)
606 //! 16. GetBufferOptions
607 //! 17. SetBufferOptionsL
608 //! 18. SetClockSource (synch = 1; framerate = 30)
609 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
610 //! 20. SetRotateOptionsL (rotation = ERotate180)
613 //! 22. StartDirectScreenAccess (displayMode = EColor64K)
617 //! 25. AbortDirectScreenAccess
619 //!@SYMTestStatus Verified
620 //!@SYMTestPriority Normal
621 //!@SYMTestExpectedResults
622 //! Video must be played with rotation of 180 degrees and without any blurrness
625 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
626 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
627 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-NewL_command01
628 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SelectDecoderL_command02
629 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SelectPostProcessorL_command03
630 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetInputFormat_command04
631 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetOutputFormatListL_command05
632 COMMAND mmfdvplay PostProcessorInfoLC
633 COMMAND mmfdvplay FindCommonFormat
634 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetOutputFormatL_command08
635 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetInputFormat_command09
636 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetOutputFormatListL_command10
637 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetOutputFormatL_command11
638 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetHeaderInformationL_command12
639 COMMAND mmfdvplay ReturnHeader
640 COMMAND mmfdvplay SetVideoDestScreenL
641 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetPostProcessTypesL_command15
642 COMMAND mmfdvplay GetBufferOptions
643 COMMAND mmfdvplay SetBufferOptionsL
644 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetClockSource_command18
645 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetScaleOptionsL_command19
646 COMMAND mmfdvplay SetRotateOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetRotateOptionsL_command20
647 COMMAND mmfdvplay Initialize
649 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-StartDirectScreenAccess_command22
650 COMMAND mmfdvplay Start
652 COMMAND mmfdvplay Stop
653 COMMAND mmfdvplay AbortDirectScreenAccess
656 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
661 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
663 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
665 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
666 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
667 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
668 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
669 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
670 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
671 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
672 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
673 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
674 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
675 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
676 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
677 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
678 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
679 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
680 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
681 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
682 //! CMMFDevVideoPlay:: Initialize();
683 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
684 //! CMMFDevVideoPlay:: Start();
685 //! CMMFDevVideoPlay:: Stop();
686 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
687 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
688 //! CMMFDevVideoPlay:: Resume();
689 //! CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
690 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
691 //!@SYMAuthor alavariega
692 //!@SYMCreationDate 16/6/2008
693 //!@SYMTestCaseDesc NCP MPEG -4 SQCIF Video Rotation at 30 fps 3Mbps
695 //! 1. NewL (inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
696 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
697 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
698 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
699 //! 5. GetOutputFormatListL (useDecoder = TRUE)
700 //! 6. PostProcessorInfoLC
701 //! 7. FindCommonFormat
702 //! 8. SetOutputFormatL (useDecoder = TRUE)
703 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
704 //! 10. GetOutputFormatListL (useDecoder = FALSE)
705 //! 11. SetOutputFormatL(useDecoder = TRUE)
706 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
708 //! 14. SetVideoDestScreenL
709 //! 15. SetPostProcessTypesL (combination = 4C)
710 //! 16. GetBufferOptions
711 //! 17. SetBufferOptionsL
712 //! 18. SetClockSource (synch = 1; framerate = 30)
713 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
714 //! 20. SetRotateOptionsL (rotation = ERotate90Clockwise)
717 //! 22. StartDirectScreenAccess (displayMode = EColor64K)
721 //! 25. AbortDirectScreenAccess
723 //!@SYMTestStatus Verified
724 //!@SYMTestPriority Normal
725 //!@SYMTestExpectedResults
726 //! Video must be played with rotation of 90 degrees and without any blurrness
729 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
730 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
731 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-NewL_command01
732 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SelectDecoderL_command02
733 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SelectPostProcessorL_command03
734 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetInputFormat_command04
735 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetOutputFormatListL_command05
736 COMMAND mmfdvplay PostProcessorInfoLC
737 COMMAND mmfdvplay FindCommonFormat
738 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetOutputFormatL_command08
739 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetInputFormat_command09
740 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetOutputFormatListL_command10
741 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetOutputFormatL_command11
742 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetHeaderInformationL_command12
743 COMMAND mmfdvplay ReturnHeader
744 COMMAND mmfdvplay SetVideoDestScreenL
745 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetPostProcessTypesL_command15
746 COMMAND mmfdvplay GetBufferOptions
747 COMMAND mmfdvplay SetBufferOptionsL
748 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetClockSource_command18
749 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetScaleOptionsL_command19
750 COMMAND mmfdvplay SetRotateOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetRotateOptionsL_command20
751 COMMAND mmfdvplay Initialize
753 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-StartDirectScreenAccess_command22
754 COMMAND mmfdvplay Start
756 COMMAND mmfdvplay Stop
757 COMMAND mmfdvplay AbortDirectScreenAccess
760 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
765 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
767 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
769 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
770 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
771 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
772 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
773 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
774 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
775 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
776 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
777 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
778 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
779 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
780 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
781 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
782 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
783 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
784 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
785 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
786 //! CMMFDevVideoPlay:: Initialize();
787 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
788 //! CMMFDevVideoPlay:: Start();
789 //! CMMFDevVideoPlay:: Stop();
790 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
791 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
792 //! CMMFDevVideoPlay:: Resume();
793 //! CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
794 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
795 //!@SYMAuthor alavariega
796 //!@SYMCreationDate 16/6/2008
797 //!@SYMTestCaseDesc VideoPlayback_Rotation_MPEG4_SQCIF_30_3M - (180)
799 //! 1. NewL (inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
800 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
801 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
802 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
803 //! 5. GetOutputFormatListL (useDecoder = TRUE)
804 //! 6. PostProcessorInfoLC
805 //! 7. FindCommonFormat
806 //! 8. SetOutputFormatL (useDecoder = TRUE)
807 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
808 //! 10. GetOutputFormatListL (useDecoder = FALSE)
809 //! 11. SetOutputFormatL(useDecoder = TRUE)
810 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
812 //! 14. SetVideoDestScreenL
813 //! 15. SetPostProcessTypesL (combination = 4C)
814 //! 16. GetBufferOptions
815 //! 17. SetBufferOptionsL
816 //! 18. SetClockSource (synch = 1; framerate = 30)
817 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
818 //! 20. SetRotateOptionsL (rotation = ERotate180)
821 //! 22. StartDirectScreenAccess (displayMode = EColor64K)
825 //! 25. AbortDirectScreenAccess
827 //!@SYMTestStatus Verified
828 //!@SYMTestPriority Normal
829 //!@SYMTestExpectedResults
830 //! Video must be played with rotation of 180 degrees and without any blurrness
833 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
834 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
835 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-NewL_command01
836 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SelectDecoderL_command02
837 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SelectPostProcessorL_command03
838 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetInputFormat_command04
839 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetOutputFormatListL_command05
840 COMMAND mmfdvplay PostProcessorInfoLC
841 COMMAND mmfdvplay FindCommonFormat
842 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetOutputFormatL_command08
843 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetInputFormat_command09
844 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetOutputFormatListL_command10
845 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetOutputFormatL_command11
846 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetHeaderInformationL_command12
847 COMMAND mmfdvplay ReturnHeader
848 COMMAND mmfdvplay SetVideoDestScreenL
849 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetPostProcessTypesL_command15
850 COMMAND mmfdvplay GetBufferOptions
851 COMMAND mmfdvplay SetBufferOptionsL
852 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetClockSource_command18
853 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetScaleOptionsL_command19
854 COMMAND mmfdvplay SetRotateOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetRotateOptionsL_command20
855 COMMAND mmfdvplay Initialize
857 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-StartDirectScreenAccess_command22
858 COMMAND mmfdvplay Start
860 COMMAND mmfdvplay Stop
861 COMMAND mmfdvplay AbortDirectScreenAccess
864 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
869 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
871 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
873 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
874 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
875 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
876 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
877 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
878 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
879 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
880 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
881 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
882 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
883 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
884 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
885 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
886 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
887 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
888 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
889 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
890 //! CMMFDevVideoPlay:: Initialize();
891 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
892 //! CMMFDevVideoPlay:: Start();
893 //! CMMFDevVideoPlay:: Stop();
894 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
895 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
896 //! CMMFDevVideoPlay:: Resume();
897 //! CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
898 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
899 //!@SYMAuthor alavariega
900 //!@SYMCreationDate 16/6/2008
901 //!@SYMTestCaseDesc NCP MPEG -4 VGA Video Rotation at 30 fps 3Mbps
903 //! 1. NewL (inputfile = MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
904 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
905 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
906 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
907 //! 5. GetOutputFormatListL (useDecoder = TRUE)
908 //! 6. PostProcessorInfoLC
909 //! 7. FindCommonFormat
910 //! 8. SetOutputFormatL (useDecoder = TRUE)
911 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
912 //! 10. GetOutputFormatListL (useDecoder = FALSE)
913 //! 11. SetOutputFormatL(useDecoder = TRUE)
914 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
916 //! 14. SetVideoDestScreenL
917 //! 15. SetPostProcessTypesL (combination = 4C)
918 //! 16. GetBufferOptions
919 //! 17. SetBufferOptionsL
920 //! 18. SetClockSource (synch = 1; framerate = 30)
921 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
922 //! 20. SetRotateOptionsL (rotation = ERotate90Clockwise)
925 //! 22. StartDirectScreenAccess (displayMode = EColor64K)
929 //! 25. AbortDirectScreenAccess
931 //!@SYMTestStatus Verified
932 //!@SYMTestPriority Normal
933 //!@SYMTestExpectedResults
934 //! Video must be played with rotation of 90 degrees and without any blurrness
937 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
938 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
939 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-NewL_command01
940 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SelectDecoderL_command02
941 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SelectPostProcessorL_command03
942 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetInputFormat_command04
943 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetOutputFormatListL_command05
944 COMMAND mmfdvplay PostProcessorInfoLC
945 COMMAND mmfdvplay FindCommonFormat
946 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetOutputFormatL_command08
947 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetInputFormat_command09
948 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetOutputFormatListL_command10
949 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetOutputFormatL_command11
950 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetHeaderInformationL_command12
951 COMMAND mmfdvplay ReturnHeader
952 COMMAND mmfdvplay SetVideoDestScreenL
953 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetPostProcessTypesL_command15
954 COMMAND mmfdvplay GetBufferOptions
955 COMMAND mmfdvplay SetBufferOptionsL
956 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetClockSource_command18
957 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetScaleOptionsL_command19
958 COMMAND mmfdvplay SetRotateOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetRotateOptionsL_command20
959 COMMAND mmfdvplay Initialize
961 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-StartDirectScreenAccess_command22
962 COMMAND mmfdvplay Start
964 COMMAND mmfdvplay Stop
965 COMMAND mmfdvplay AbortDirectScreenAccess
968 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
973 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010
975 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010
977 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
978 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
979 //! CMMFDevVideoPlay::SelectDecoderL(TUid);
980 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
981 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
982 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
983 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
984 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
985 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
986 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
987 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
988 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
989 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
990 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
991 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
992 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
993 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
994 //! CMMFDevVideoPlay:: Initialize();
995 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
996 //! CMMFDevVideoPlay:: Start();
997 //! CMMFDevVideoPlay:: Stop();
998 //! CMMFDevVideoPlay:: AbortDirectScreenAccess();
999 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
1000 //! CMMFDevVideoPlay:: Resume();
1001 //! CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
1002 //! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
1003 //!@SYMAuthor alavariega
1004 //!@SYMCreationDate 16/6/2008
1005 //!@SYMTestCaseDesc VideoPlayback_Rotation_MPEG4_VGA_30_3M - (180)
1007 //! 1. NewL (inputfile = MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
1008 //! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
1009 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
1010 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
1011 //! 5. GetOutputFormatListL (useDecoder = TRUE)
1012 //! 6. PostProcessorInfoLC
1013 //! 7. FindCommonFormat
1014 //! 8. SetOutputFormatL (useDecoder = TRUE)
1015 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
1016 //! 10. GetOutputFormatListL (useDecoder = FALSE)
1017 //! 11. SetOutputFormatL(useDecoder = TRUE)
1018 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
1019 //! 13. ReturnHeader
1020 //! 14. SetVideoDestScreenL
1021 //! 15. SetPostProcessTypesL (combination = 4C)
1022 //! 16. GetBufferOptions
1023 //! 17. SetBufferOptionsL
1024 //! 18. SetClockSource (synch = 1; framerate = 30)
1025 //! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
1026 //! 20. SetRotateOptionsL (rotation = ERotate180)
1029 //! 22. StartDirectScreenAccess (displayMode = EColor64K)
1033 //! 25. AbortDirectScreenAccess
1035 //!@SYMTestStatus Verified
1036 //!@SYMTestPriority Normal
1037 //!@SYMTestExpectedResults
1038 //! Video must be played with rotation of 180 degrees and without any blurrness
1041 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
1042 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
1043 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-NewL_command01
1044 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SelectDecoderL_command02
1045 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SelectPostProcessorL_command03
1046 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetInputFormat_command04
1047 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetOutputFormatListL_command05
1048 COMMAND mmfdvplay PostProcessorInfoLC
1049 COMMAND mmfdvplay FindCommonFormat
1050 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetOutputFormatL_command08
1051 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetInputFormat_command09
1052 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetOutputFormatListL_command10
1053 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetOutputFormatL_command11
1054 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetHeaderInformationL_command12
1055 COMMAND mmfdvplay ReturnHeader
1056 COMMAND mmfdvplay SetVideoDestScreenL
1057 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetPostProcessTypesL_command15
1058 COMMAND mmfdvplay GetBufferOptions
1059 COMMAND mmfdvplay SetBufferOptionsL
1060 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetClockSource_command18
1061 COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetScaleOptionsL_command19
1062 COMMAND mmfdvplay SetRotateOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetRotateOptionsL_command20
1063 COMMAND mmfdvplay Initialize
1065 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-StartDirectScreenAccess_command22
1066 COMMAND mmfdvplay Start
1068 COMMAND mmfdvplay Stop
1069 COMMAND mmfdvplay AbortDirectScreenAccess
1072 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010