|
1 // |
|
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". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 // |
|
17 //! @file |
|
18 //! @SYMTestSuiteName mm-mmf-devvideo-playback-mpeg4-forward-automated |
|
19 //! @SYMScriptTestEnvironment This test script requires a basic ROM. |
|
20 // |
|
21 // Tests all public elements of the MMMFDevVideoPlayObserver,CMMFDevVideoPlay |
|
22 // classes as a means of confidence that the APIs work as expected. |
|
23 // |
|
24 // The purpose is to provide a regression test suite of PublishedAll |
|
25 // APIs for: MMMFDevVideoPlayObserver,CMMFDevVideoPlay |
|
26 // The tests are fully automated. |
|
27 // |
|
28 |
|
29 |
|
30 |
|
31 LOAD_SUITE t_devvideo |
|
32 |
|
33 |
|
34 DELAY 2000 |
|
35 |
|
36 |
|
37 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0001 |
|
38 |
|
39 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0001 |
|
40 //!@SYMAPI |
|
41 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref}); |
|
42 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref}); |
|
43 //! CMMFDevVideoPlay::SelectDecoderL(TUid); |
|
44 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid); |
|
45 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
46 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref}); |
|
47 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid); |
|
48 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]); |
|
49 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
50 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref}); |
|
51 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr}); |
|
52 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr}); |
|
53 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool); |
|
54 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 ); |
|
55 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref}); |
|
56 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref}); |
|
57 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]); |
|
58 //! CMMFDevVideoPlay:: Initialize(); |
|
59 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref}); |
|
60 //! CMMFDevVideoPlay:: Start(); |
|
61 //! CMMFDevVideoPlay:: Stop(); |
|
62 //! CMMFDevVideoPlay:: AbortDirectScreenAccess(); |
|
63 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref}) |
|
64 //! CMMFDevVideoPlay:: Resume(); |
|
65 //!@SYMAuthor alavariega |
|
66 //!@SYMCreationDate 16/6/2008 |
|
67 //!@SYMTestCaseDesc Play back a MPEG4 NTSC video file with 3Mbps at 30fps screenout forward |
|
68 //!@SYMTestActions |
|
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}) |
|
81 //! 13. ReturnHeader |
|
82 //! 14. SetVideoDestScreenL |
|
83 //! 15. SetPostProcessTypesL(combination = 40) |
|
84 //! 16. GetBufferOptions |
|
85 //! 17. SetBufferOptionsL |
|
86 //! 18. SetClockSource(synch = 1; framerate = 30) |
|
87 //! 19. Initialize |
|
88 //! OUTSTANDING |
|
89 //! 20. StartDirectScreenAccess(displayMode = EColor64K) |
|
90 //! 21. Start |
|
91 //! ASYNC_DELAY 1000000 |
|
92 //! 22. Pause |
|
93 //! 23. SetPosition (pos = 5) |
|
94 //! 24. Resume |
|
95 //! OUTSTANDING |
|
96 //! 25. Stop |
|
97 //! 26. AbortDirectScreenAccess |
|
98 //! 27. ~ |
|
99 //!@SYMTestStatus Verified |
|
100 //!@SYMTestPriority Normal |
|
101 //!@SYMTestExpectedResults |
|
102 //! Video must be played with forward action and without any blurrness. |
|
103 //!@SYMTestType CIT |
|
104 |
|
105 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini |
|
106 CREATE_OBJECT CMMFDevVideoPlay video |
|
107 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-NewL_command01 |
|
108 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SelectDecoderL_command02 |
|
109 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SelectPostProcessorL_command03 |
|
110 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetInputFormat_command04 |
|
111 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-GetOutputFormatListL_command05 |
|
112 COMMAND video PostProcessorInfoLC |
|
113 COMMAND video FindCommonFormat |
|
114 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetOutputFormatL_command08 |
|
115 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetInputFormat_command09 |
|
116 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-GetOutputFormatListL_command10 |
|
117 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetOutputFormatL_command11 |
|
118 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-GetHeaderInformationL_command12 |
|
119 COMMAND video ReturnHeader |
|
120 COMMAND video SetVideoDestScreenL |
|
121 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetPostProcessTypesL_command15 |
|
122 COMMAND video GetBufferOptions |
|
123 COMMAND video SetBufferOptionsL |
|
124 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetClockSource_command18 |
|
125 COMMAND video Initialize |
|
126 OUTSTANDING |
|
127 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-StartDirectScreenAccess_command20 |
|
128 COMMAND video Start |
|
129 ASYNC_DELAY 1000000 |
|
130 COMMAND video Pause |
|
131 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0001-0001-SetPosition_command23 |
|
132 COMMAND video Resume |
|
133 COMMAND video Stop |
|
134 COMMAND video AbortDirectScreenAccess |
|
135 COMMAND video ~ |
|
136 END_TEST_BLOCK |
|
137 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0001 |
|
138 |
|
139 |
|
140 |
|
141 |
|
142 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0002 |
|
143 |
|
144 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0002 |
|
145 //!@SYMAPI |
|
146 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref}); |
|
147 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref}); |
|
148 //! CMMFDevVideoPlay::SelectDecoderL(TUid); |
|
149 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid); |
|
150 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
151 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref}); |
|
152 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid); |
|
153 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]); |
|
154 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
155 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref}); |
|
156 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr}); |
|
157 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr}); |
|
158 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool); |
|
159 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 ); |
|
160 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref}); |
|
161 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref}); |
|
162 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]); |
|
163 //! CMMFDevVideoPlay:: Initialize(); |
|
164 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref}); |
|
165 //! CMMFDevVideoPlay:: Start(); |
|
166 //! CMMFDevVideoPlay:: Stop(); |
|
167 //! CMMFDevVideoPlay:: AbortDirectScreenAccess(); |
|
168 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref}) |
|
169 //! CMMFDevVideoPlay:: Resume(); |
|
170 //!@SYMAuthor alavariega |
|
171 //!@SYMCreationDate 16/6/2008 |
|
172 //!@SYMTestCaseDesc NCP MPEG4 PAL Video SEEK Forward and Backward at 25 fps 4Mbps |
|
173 //!@SYMTestActions |
|
174 //! 1. NewL(inputfile = akiyo_pal_25fps_4M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath}) |
|
175 //! 2. SelectDecoderL(dec = {MPEG4, uid}) |
|
176 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid}) |
|
177 //! 4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V}) |
|
178 //! 5. GetOutputFormatListL(useDecoder = TRUE) |
|
179 //! 6. PostProcessorInfoLC |
|
180 //! 7. FindCommonFormat |
|
181 //! 8. SetOutputFormatL(useDecoder = TRUE) |
|
182 //! 9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V}) |
|
183 //! 10. GetOutputFormatListL(useDecoder = FALSE) |
|
184 //! 11. SetOutputFormatL(useDecoder = FALSE) |
|
185 //! 12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA}) |
|
186 //! 13. ReturnHeader |
|
187 //! 14. SetVideoDestScreenL |
|
188 //! 15. SetPostProcessTypesL(combination = 40) |
|
189 //! 16. GetBufferOptions |
|
190 //! 17. SetBufferOptionsL |
|
191 //! 18. SetClockSource(synch = 1; framerate = 25) |
|
192 //! 19. Initialize |
|
193 //! OUTSTANDING |
|
194 //! 20. StartDirectScreenAccess(displayMode = EColor64K) |
|
195 //! 21. Start |
|
196 //! ASYNC_DELAY 1000000 |
|
197 //! 22. Pause |
|
198 //! 23. SetPosition(pos = 5) |
|
199 //! 24. Resume |
|
200 //! OUTSTANDING |
|
201 //! 25. Stop |
|
202 //! 26. AbortDirectScreenAccess |
|
203 //! 27. ~ |
|
204 //! |
|
205 //!@SYMTestStatus Verified |
|
206 //!@SYMTestPriority Normal |
|
207 //!@SYMTestExpectedResults |
|
208 //! Video must be played with forward action and without any blurrness. |
|
209 //!@SYMTestType CIT |
|
210 |
|
211 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini |
|
212 CREATE_OBJECT CMMFDevVideoPlay video |
|
213 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-NewL_command01 |
|
214 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SelectDecoderL_command02 |
|
215 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SelectPostProcessorL_command03 |
|
216 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetInputFormat_command04 |
|
217 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-GetOutputFormatListL_command05 |
|
218 COMMAND video PostProcessorInfoLC |
|
219 COMMAND video FindCommonFormat |
|
220 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetOutputFormatL_command08 |
|
221 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetInputFormat_command09 |
|
222 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-GetOutputFormatListL_command10 |
|
223 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetOutputFormatL_command11 |
|
224 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-GetHeaderInformationL_command12 |
|
225 COMMAND video ReturnHeader |
|
226 COMMAND video SetVideoDestScreenL |
|
227 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetPostProcessTypesL_command15 |
|
228 COMMAND video GetBufferOptions |
|
229 COMMAND video SetBufferOptionsL |
|
230 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetClockSource_command18 |
|
231 COMMAND video Initialize |
|
232 OUTSTANDING |
|
233 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-StartDirectScreenAccess_command20 |
|
234 COMMAND video Start |
|
235 ASYNC_DELAY 1000000 |
|
236 COMMAND video Pause |
|
237 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0002-0001-SetPosition_command23 |
|
238 COMMAND video Resume |
|
239 COMMAND video Stop |
|
240 COMMAND video AbortDirectScreenAccess |
|
241 COMMAND video ~ |
|
242 END_TEST_BLOCK |
|
243 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0002 |
|
244 |
|
245 |
|
246 |
|
247 |
|
248 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0003 |
|
249 |
|
250 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0003 |
|
251 //!@SYMAPI |
|
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 |
|
279 //!@SYMTestActions |
|
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}) |
|
292 //! 13. ReturnHeader |
|
293 //! 14. SetVideoDestScreenL |
|
294 //! 15. SetPostProcessTypesL(combination = 40) |
|
295 //! 16. GetBufferOptions |
|
296 //! 17. SetBufferOptionsL |
|
297 //! 18. SetClockSource(synch = 1; framerate = 30) |
|
298 //! 19. Initialize |
|
299 //! OUTSTANDING |
|
300 //! 20. StartDirectScreenAccess(displayMode = EColor64K) |
|
301 //! 21. Start |
|
302 //! ASYNC_DELAY 1000000 |
|
303 //! 22. Pause |
|
304 //! 23. SetPosition (pos = 5) |
|
305 //! 24. Resume |
|
306 //! OUTSTANDING |
|
307 //! 25. Stop |
|
308 //! 26. AbortDirectScreenAccess |
|
309 //! 27. ~ |
|
310 //!@SYMTestStatus Verified |
|
311 //!@SYMTestPriority Normal |
|
312 //!@SYMTestExpectedResults |
|
313 //! Video must be played with forward action and without any blurrness. |
|
314 //!@SYMTestType CIT |
|
315 |
|
316 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini |
|
317 CREATE_OBJECT CMMFDevVideoPlay video |
|
318 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-NewL_command01 |
|
319 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SelectDecoderL_command02 |
|
320 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SelectPostProcessorL_command03 |
|
321 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetInputFormat_command04 |
|
322 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-GetOutputFormatListL_command05 |
|
323 COMMAND video PostProcessorInfoLC |
|
324 COMMAND video FindCommonFormat |
|
325 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetOutputFormatL_command08 |
|
326 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetInputFormat_command09 |
|
327 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-GetOutputFormatListL_command10 |
|
328 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetOutputFormatL_command11 |
|
329 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-GetHeaderInformationL_command12 |
|
330 COMMAND video ReturnHeader |
|
331 COMMAND video SetVideoDestScreenL |
|
332 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetPostProcessTypesL_command15 |
|
333 COMMAND video GetBufferOptions |
|
334 COMMAND video SetBufferOptionsL |
|
335 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetClockSource_command18 |
|
336 COMMAND video Initialize |
|
337 OUTSTANDING |
|
338 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-StartDirectScreenAccess_command20 |
|
339 COMMAND video Start |
|
340 ASYNC_DELAY 1000000 |
|
341 COMMAND video Pause |
|
342 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0003-0001-SetPosition_command23 |
|
343 COMMAND video Resume |
|
344 COMMAND video Stop |
|
345 COMMAND video AbortDirectScreenAccess |
|
346 COMMAND video ~ |
|
347 END_TEST_BLOCK |
|
348 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0003 |
|
349 |
|
350 |
|
351 |
|
352 |
|
353 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0004 |
|
354 |
|
355 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0004 |
|
356 //!@SYMAPI |
|
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 |
|
384 //!@SYMTestActions |
|
385 //! 1. NewL (inputfile = paris_qcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath}) |
|
386 //! 2. SelectDecoderL (dec = {MPEG4, uid}) |
|
387 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid}) |
|
388 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V}) |
|
389 //! 5. GetOutputFormatListL (useDecoder = TRUE) |
|
390 //! 6. PostProcessorInfoLC |
|
391 //! 7. FindCommonFormat |
|
392 //! 8. SetOutputFormatL(useDecoder = TRUE) |
|
393 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V}) |
|
394 //! 10. GetOutputFormatListL (useDecoder = FALSE) |
|
395 //! 11. SetOutputFormatL(useDecoder = FALSE) |
|
396 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KMP4MaxCodedSizeCIF}) |
|
397 //! 13. ReturnHeader |
|
398 //! 14. SetVideoDestScreenL |
|
399 //! 15. SetPostProcessTypesL(combination = 40) |
|
400 //! 16. GetBufferOptions |
|
401 //! 17. SetBufferOptionsL |
|
402 //! 18. SetClockSource (synch = 1; framerate = 30) |
|
403 //! 19. Initialize |
|
404 //! OUTSTANDING |
|
405 //! 20. StartDirectScreenAccess(displayMode = EColor64K) |
|
406 //! 21. Start |
|
407 //! ASYNC_DELAY 1000000 |
|
408 //! 22. Pause |
|
409 //! 23. SetPosition(pos = 5) |
|
410 //! 24. Resume |
|
411 //! OUTSTANDING |
|
412 //! 25. Stop |
|
413 //! 26. AbortDirectScreenAccess |
|
414 //! 27. ~ |
|
415 //!@SYMTestStatus Verified |
|
416 //!@SYMTestPriority Normal |
|
417 //!@SYMTestExpectedResults |
|
418 //! Video must be played with forward action and without any blurrness. |
|
419 //!@SYMTestType CIT |
|
420 |
|
421 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini |
|
422 CREATE_OBJECT CMMFDevVideoPlay video |
|
423 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-NewL_command01 |
|
424 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SelectDecoderL_command02 |
|
425 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SelectPostProcessorL_command03 |
|
426 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetInputFormat_command04 |
|
427 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-GetOutputFormatListL_command05 |
|
428 COMMAND video PostProcessorInfoLC |
|
429 COMMAND video FindCommonFormat |
|
430 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetOutputFormatL_command08 |
|
431 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetInputFormat_command09 |
|
432 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-GetOutputFormatListL_command10 |
|
433 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetOutputFormatL_command11 |
|
434 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-GetHeaderInformationL_command12 |
|
435 COMMAND video ReturnHeader |
|
436 COMMAND video SetVideoDestScreenL |
|
437 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetPostProcessTypesL_command15 |
|
438 COMMAND video GetBufferOptions |
|
439 COMMAND video SetBufferOptionsL |
|
440 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetClockSource_command18 |
|
441 COMMAND video Initialize |
|
442 OUTSTANDING |
|
443 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-StartDirectScreenAccess_command20 |
|
444 COMMAND video Start |
|
445 ASYNC_DELAY 1000000 |
|
446 COMMAND video Pause |
|
447 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0004-0001-SetPosition_command23 |
|
448 COMMAND video Resume |
|
449 COMMAND video Stop |
|
450 COMMAND video AbortDirectScreenAccess |
|
451 COMMAND video ~ |
|
452 END_TEST_BLOCK |
|
453 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0004 |
|
454 |
|
455 |
|
456 |
|
457 |
|
458 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0005 |
|
459 |
|
460 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0005 |
|
461 //!@SYMAPI |
|
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 |
|
489 //!@SYMTestActions |
|
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}) |
|
502 //! 13. ReturnHeader |
|
503 //! 14. SetVideoDestScreenL |
|
504 //! 15. SetPostProcessTypesL(combination = 40) |
|
505 //! 16. GetBufferOptions |
|
506 //! 17. SetBufferOptionsL |
|
507 //! 18. SetClockSource(synch = 1; framerate = 30) |
|
508 //! 19. Initialize |
|
509 //! OUTSTANDING |
|
510 //! 20. StartDirectScreenAccess(displayMode = EColor64K) |
|
511 //! 21. Start |
|
512 //! ASYNC_DELAY 1000000 |
|
513 //! 22. Pause |
|
514 //! 23. SetPosition(pos = 5) |
|
515 //! 24. Resume |
|
516 //! OUTSTANDING |
|
517 //! 25. Stop |
|
518 //! 26. AbortDirectScreenAccess |
|
519 //! 27. ~ |
|
520 //!@SYMTestStatus Verified |
|
521 //!@SYMTestPriority Normal |
|
522 //!@SYMTestExpectedResults |
|
523 //! Video must be played with forward action and without any blurrness. |
|
524 //!@SYMTestType CIT |
|
525 |
|
526 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini |
|
527 CREATE_OBJECT CMMFDevVideoPlay video |
|
528 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-NewL_command01 |
|
529 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SelectDecoderL_command02 |
|
530 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SelectPostProcessorL_command03 |
|
531 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetInputFormat_command04 |
|
532 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-GetOutputFormatListL_command05 |
|
533 COMMAND video PostProcessorInfoLC |
|
534 COMMAND video FindCommonFormat |
|
535 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetOutputFormatL_command08 |
|
536 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetInputFormat_command09 |
|
537 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-GetOutputFormatListL_command10 |
|
538 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetOutputFormatL_command11 |
|
539 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-GetHeaderInformationL_command12 |
|
540 COMMAND video ReturnHeader |
|
541 COMMAND video SetVideoDestScreenL |
|
542 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetPostProcessTypesL_command15 |
|
543 COMMAND video GetBufferOptions |
|
544 COMMAND video SetBufferOptionsL |
|
545 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetClockSource_command18 |
|
546 COMMAND video Initialize |
|
547 OUTSTANDING |
|
548 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-StartDirectScreenAccess_command20 |
|
549 COMMAND video Start |
|
550 ASYNC_DELAY 1000000 |
|
551 COMMAND video Pause |
|
552 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0005-0001-SetPosition_command23 |
|
553 COMMAND video Resume |
|
554 COMMAND video Stop |
|
555 COMMAND video AbortDirectScreenAccess |
|
556 COMMAND video ~ |
|
557 END_TEST_BLOCK |
|
558 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0005 |
|
559 |
|
560 |
|
561 |
|
562 |
|
563 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0006 |
|
564 |
|
565 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0006 |
|
566 //!@SYMAPI |
|
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 |
|
594 //!@SYMTestActions |
|
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}) |
|
607 //! 13. ReturnHeader |
|
608 //! 14. SetVideoDestScreenL |
|
609 //! 15. SetPostProcessTypesL(combination = 44) |
|
610 //! 16. GetBufferOptions |
|
611 //! 17. SetBufferOptionsL |
|
612 //! 18. SetClockSource(synch = 1; framerate = 30) |
|
613 //! 19. Initialize |
|
614 //! OUTSTANDING |
|
615 //! 20. StartDirectScreenAccess(displayMode = EColor64K) |
|
616 //! 21. Start |
|
617 //! ASYNC_DELAY 1000000 |
|
618 //! 22. Pause |
|
619 //! 23. SetPosition(pos = 5) |
|
620 //! 24. Resume |
|
621 //! OUTSTANDING |
|
622 //! 25. Stop |
|
623 //! 26. AbortDirectScreenAccess |
|
624 //! 27. ~ |
|
625 //!@SYMTestStatus Verified |
|
626 //!@SYMTestPriority Normal |
|
627 //!@SYMTestExpectedResults |
|
628 //! Video must be played with forward action and without any blurrness. |
|
629 //!@SYMTestType CIT |
|
630 |
|
631 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini |
|
632 CREATE_OBJECT CMMFDevVideoPlay video |
|
633 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-NewL_command01 |
|
634 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SelectDecoderL_command02 |
|
635 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SelectPostProcessorL_command03 |
|
636 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetInputFormat_command04 |
|
637 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-GetOutputFormatListL_command05 |
|
638 COMMAND video PostProcessorInfoLC |
|
639 COMMAND video FindCommonFormat |
|
640 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetOutputFormatL_command08 |
|
641 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetInputFormat_command09 |
|
642 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-GetOutputFormatListL_command10 |
|
643 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetOutputFormatL_command11 |
|
644 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-GetHeaderInformationL_command12 |
|
645 COMMAND video ReturnHeader |
|
646 COMMAND video SetVideoDestScreenL |
|
647 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetPostProcessTypesL_command15 |
|
648 COMMAND video GetBufferOptions |
|
649 COMMAND video SetBufferOptionsL |
|
650 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetClockSource_command18 |
|
651 COMMAND video Initialize |
|
652 OUTSTANDING |
|
653 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-StartDirectScreenAccess_command20 |
|
654 COMMAND video Start |
|
655 ASYNC_DELAY 1000000 |
|
656 COMMAND video Pause |
|
657 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0006-0001-SetPosition_command23 |
|
658 COMMAND video Resume |
|
659 COMMAND video Stop |
|
660 COMMAND video AbortDirectScreenAccess |
|
661 COMMAND video ~ |
|
662 END_TEST_BLOCK |
|
663 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0006 |
|
664 |
|
665 |
|
666 |
|
667 |
|
668 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0007 |
|
669 |
|
670 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0007 |
|
671 //!@SYMAPI |
|
672 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref}); |
|
673 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref}); |
|
674 //! CMMFDevVideoPlay::SelectDecoderL(TUid); |
|
675 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid); |
|
676 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
677 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref}); |
|
678 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid); |
|
679 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]); |
|
680 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
681 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref}); |
|
682 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr}); |
|
683 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr}); |
|
684 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool); |
|
685 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 ); |
|
686 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref}); |
|
687 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref}); |
|
688 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]); |
|
689 //! CMMFDevVideoPlay:: Initialize(); |
|
690 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref}); |
|
691 //! CMMFDevVideoPlay:: Start(); |
|
692 //! CMMFDevVideoPlay:: Stop(); |
|
693 //! CMMFDevVideoPlay:: AbortDirectScreenAccess(); |
|
694 //! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref}) |
|
695 //! CMMFDevVideoPlay:: Resume(); |
|
696 //!@SYMAuthor alavariega |
|
697 //!@SYMCreationDate 16/6/2008 |
|
698 //!@SYMTestCaseDesc NCP MPEG -4 VGA Video SEEK Forward and Backward at 30 fps 3Mbps |
|
699 //!@SYMTestActions |
|
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}) |
|
712 //! 13. ReturnHeader |
|
713 //! 14. SetVideoDestScreenL |
|
714 //! 15. SetPostProcessTypesL(combination = 40) |
|
715 //! 16. GetBufferOptions |
|
716 //! 17. SetBufferOptionsL |
|
717 //! 18. SetClockSource(synch = 1; framerate = 25) |
|
718 //! 19. Initialize |
|
719 //! OUTSTANDING |
|
720 //! 20. StartDirectScreenAccess(displayMode = EColor64K) |
|
721 //! 21. Start |
|
722 //! ASYNC_DELAY 1000000 |
|
723 //! 22. Pause |
|
724 //! 23. SetPosition(pos = 5) |
|
725 //! 24. Resume |
|
726 //! OUTSTANDING |
|
727 //! 25. Stop |
|
728 //! 26. AbortDirectScreenAccess |
|
729 //! 27. ~ |
|
730 //! |
|
731 //!@SYMTestStatus Verified |
|
732 //!@SYMTestPriority Normal |
|
733 //!@SYMTestExpectedResults |
|
734 //! Video must be played with forward action and without any blurrness. |
|
735 //!@SYMTestType CIT |
|
736 |
|
737 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-forward-automated.ini |
|
738 CREATE_OBJECT CMMFDevVideoPlay video |
|
739 COMMAND video NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-NewL_command01 |
|
740 COMMAND video SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SelectDecoderL_command02 |
|
741 COMMAND video SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SelectPostProcessorL_command03 |
|
742 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetInputFormat_command04 |
|
743 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-GetOutputFormatListL_command05 |
|
744 COMMAND video PostProcessorInfoLC |
|
745 COMMAND video FindCommonFormat |
|
746 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetOutputFormatL_command08 |
|
747 COMMAND video SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetInputFormat_command09 |
|
748 COMMAND video GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-GetOutputFormatListL_command10 |
|
749 COMMAND video SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetOutputFormatL_command11 |
|
750 COMMAND video GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-GetHeaderInformationL_command12 |
|
751 COMMAND video ReturnHeader |
|
752 COMMAND video SetVideoDestScreenL |
|
753 COMMAND video SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetPostProcessTypesL_command15 |
|
754 COMMAND video GetBufferOptions |
|
755 COMMAND video SetBufferOptionsL |
|
756 COMMAND video SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetClockSource_command18 |
|
757 COMMAND video Initialize |
|
758 OUTSTANDING |
|
759 COMMAND video StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-StartDirectScreenAccess_command20 |
|
760 COMMAND video Start |
|
761 ASYNC_DELAY 1000000 |
|
762 COMMAND video Pause |
|
763 COMMAND video SetPosition MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Forward-0007-0001-SetPosition_command23 |
|
764 COMMAND video Resume |
|
765 COMMAND video Stop |
|
766 COMMAND video AbortDirectScreenAccess |
|
767 COMMAND video ~ |
|
768 END_TEST_BLOCK |
|
769 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-FORWARD-AUTOMATED-0007 |