|
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-h263-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 DELAY 2000 |
|
34 |
|
35 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0001 |
|
36 |
|
37 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0001 |
|
38 //!@SYMAPI |
|
39 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref}); |
|
40 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref}); |
|
41 //! CMMFDevVideoPlay::SelectDecoderL(TUid); |
|
42 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid); |
|
43 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
44 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref}); |
|
45 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid); |
|
46 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]); |
|
47 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
48 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref}); |
|
49 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr}); |
|
50 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr}); |
|
51 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool); |
|
52 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 ); |
|
53 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref}); |
|
54 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref}); |
|
55 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]); |
|
56 //! CMMFDevVideoPlay:: Initialize(); |
|
57 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref}); |
|
58 //! CMMFDevVideoPlay:: Start(); |
|
59 //! CMMFDevVideoPlay:: Stop(); |
|
60 //! CMMFDevVideoPlay:: AbortDirectScreenAccess(); |
|
61 //! |
|
62 //!@SYMAuthor alavariega |
|
63 //!@SYMCreationDate 16/6/2008 |
|
64 //!@SYMTestCaseDesc NCP H.263 CIF Video Playback at 15fps 384kbps |
|
65 //!@SYMTestActions |
|
66 //! 1. NewL (inputfile = akiyo_cif_15fps_384k_dec.h263; screen = TRUE; codec = EH263; synch = 1; inputPath = {PATHVIDEOS, inputPath}) |
|
67 //! 2. SelectDecoderL (dec = {DECODERS, H263}) |
|
68 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid}) |
|
69 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,H263}) |
|
70 //! 5. GetOutputFormatListL (useDecoder = TRUE) |
|
71 //! 6. PostProcessorInfoLC |
|
72 //! 7. FindCommonFormat |
|
73 //! 8. SetOutputFormatL (useDecoder = TRUE) |
|
74 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,H263}) |
|
75 //! 10. GetOutputFormatListL (useDecoder = FALSE) |
|
76 //! 11. SetOutputFormatL (useDecoder = FALSE) |
|
77 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF}) |
|
78 //! 13. ReturnHeader |
|
79 //! 14. SetVideoDestScreenL |
|
80 //! 15. SetPostProcessTypesL (combination = 44) |
|
81 //! 16. GetBufferOptions |
|
82 //! 17. SetBufferOptionsL |
|
83 //! 18. SetClockSource (synch = 1; framerate = 15) |
|
84 //! 19. Initialize |
|
85 //! OUTSTANDING |
|
86 //! 20. StartDirectScreenAccess (displayMode = EColor64K) |
|
87 //! 21. Start |
|
88 //! OUTSTANDING |
|
89 //! 22. Stop |
|
90 //! 23. AbortDirectScreenAccess |
|
91 //! 24. ~ |
|
92 //!@SYMTestStatus Verified |
|
93 //!@SYMTestPriority Normal |
|
94 //!@SYMTestExpectedResults |
|
95 //! Video must be played on the screen without any blurrness. |
|
96 //!@SYMTestType CIT |
|
97 |
|
98 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-h263-automated.ini |
|
99 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay |
|
100 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-NewL_command01 |
|
101 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-SelectDecoderL_command02 |
|
102 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-SelectPostProcessorL_command03 |
|
103 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-SetInputFormat_command04 |
|
104 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-GetOutputFormatListL_command05 |
|
105 COMMAND mmfdvplay PostProcessorInfoLC |
|
106 COMMAND mmfdvplay FindCommonFormat |
|
107 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-SetOutputFormatL_command08 |
|
108 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-SetInputFormat_command09 |
|
109 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-GetOutputFormatListL_command10 |
|
110 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-SetOutputFormatL_command11 |
|
111 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-GetHeaderInformationL_command12 |
|
112 COMMAND mmfdvplay ReturnHeader |
|
113 COMMAND mmfdvplay SetVideoDestScreenL |
|
114 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-SetPostProcessTypesL_command15 |
|
115 COMMAND mmfdvplay GetBufferOptions |
|
116 COMMAND mmfdvplay SetBufferOptionsL |
|
117 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-SetClockSource_command18 |
|
118 COMMAND mmfdvplay Initialize |
|
119 OUTSTANDING |
|
120 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-H263-0001-0001-StartDirectScreenAccess_command20 |
|
121 COMMAND mmfdvplay Start |
|
122 OUTSTANDING |
|
123 COMMAND mmfdvplay Stop |
|
124 COMMAND mmfdvplay AbortDirectScreenAccess |
|
125 COMMAND mmfdvplay ~ |
|
126 END_TEST_BLOCK |
|
127 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0001 |
|
128 |
|
129 |
|
130 |
|
131 |
|
132 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0002 |
|
133 |
|
134 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0002 |
|
135 //!@SYMAPI |
|
136 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref}); |
|
137 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref}); |
|
138 //! CMMFDevVideoPlay::SelectDecoderL(TUid); |
|
139 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid); |
|
140 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
141 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref}); |
|
142 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid); |
|
143 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]); |
|
144 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
145 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref}); |
|
146 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr}); |
|
147 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr}); |
|
148 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool); |
|
149 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 ); |
|
150 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref}); |
|
151 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref}); |
|
152 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]); |
|
153 //! CMMFDevVideoPlay:: Initialize(); |
|
154 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref}); |
|
155 //! CMMFDevVideoPlay:: Start(); |
|
156 //! CMMFDevVideoPlay:: Stop(); |
|
157 //! CMMFDevVideoPlay:: AbortDirectScreenAccess(); |
|
158 //!@SYMAuthor alavariega |
|
159 //!@SYMCreationDate 16/6/2008 |
|
160 //!@SYMTestCaseDesc NCP H.263 CIF Video Playback at 30fps 384kbps |
|
161 //!@SYMTestActions |
|
162 //! 1. NewL (inputfile = akiyo_cif_30fps_384k_dec.h263; screen = TRUE; codec = EH263; synch = 1; inputPath = {PATHVIDEOS, inputPath}) |
|
163 //! 2. SelectDecoderL (dec = {DECODERS, H263}) |
|
164 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid}) |
|
165 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,H263}) |
|
166 //! 5. GetOutputFormatListL (useDecoder = TRUE) |
|
167 //! 6. PostProcessorInfoLC |
|
168 //! 7. FindCommonFormat |
|
169 //! 8. SetOutputFormatL (useDecoder = TRUE) |
|
170 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,H263}) |
|
171 //! 10. GetOutputFormatListL (useDecoder = FALSE) |
|
172 //! 11. SetOutputFormatL (useDecoder = FALSE) |
|
173 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF}) |
|
174 //! 13. ReturnHeader |
|
175 //! 14. SetVideoDestScreenL |
|
176 //! 15. SetPostProcessTypesL (combination = 44) |
|
177 //! 16. GetBufferOptions |
|
178 //! 17. SetBufferOptionsL |
|
179 //! 18. SetClockSource (synch = 1; framerate = 30) |
|
180 //! 19. Initialize |
|
181 //! OUTSTANDING |
|
182 //! 20. StartDirectScreenAccess (displayMode = EColor64K) |
|
183 //! 21. Start |
|
184 //! OUTSTANDING |
|
185 //! 22. Stop |
|
186 //! 23. AbortDirectScreenAccess |
|
187 //! 24. ~ |
|
188 //!@SYMTestStatus Verified |
|
189 //!@SYMTestPriority Normal |
|
190 //!@SYMTestExpectedResults |
|
191 //! Video must be played on the screen without any blurrness. |
|
192 //!@SYMTestType CIT |
|
193 |
|
194 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-h263-automated.ini |
|
195 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay |
|
196 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-NewL_command01 |
|
197 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-SelectDecoderL_command02 |
|
198 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-SelectPostProcessorL_command03 |
|
199 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-SetInputFormat_command04 |
|
200 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-GetOutputFormatListL_command05 |
|
201 COMMAND mmfdvplay PostProcessorInfoLC |
|
202 COMMAND mmfdvplay FindCommonFormat |
|
203 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-SetOutputFormatL_command08 |
|
204 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-SetInputFormat_command09 |
|
205 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-GetOutputFormatListL_command10 |
|
206 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-SetOutputFormatL_command11 |
|
207 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-GetHeaderInformationL_command12 |
|
208 COMMAND mmfdvplay ReturnHeader |
|
209 COMMAND mmfdvplay SetVideoDestScreenL |
|
210 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-SetPostProcessTypesL_command15 |
|
211 COMMAND mmfdvplay GetBufferOptions |
|
212 COMMAND mmfdvplay SetBufferOptionsL |
|
213 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-SetClockSource_command18 |
|
214 COMMAND mmfdvplay Initialize |
|
215 OUTSTANDING |
|
216 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-H263-0002-0001-StartDirectScreenAccess_command20 |
|
217 COMMAND mmfdvplay Start |
|
218 OUTSTANDING |
|
219 COMMAND mmfdvplay Stop |
|
220 COMMAND mmfdvplay AbortDirectScreenAccess |
|
221 COMMAND mmfdvplay ~ |
|
222 END_TEST_BLOCK |
|
223 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0002 |
|
224 |
|
225 |
|
226 |
|
227 |
|
228 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0003 |
|
229 |
|
230 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0003 |
|
231 //!@SYMAPI |
|
232 //! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref}); |
|
233 //! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref}); |
|
234 //! CMMFDevVideoPlay::SelectDecoderL(TUid); |
|
235 //! CMMFDevVideoPlay::SelectPostProcessorL(TUid); |
|
236 //! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
237 //! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref}); |
|
238 //! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid); |
|
239 //! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]); |
|
240 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
241 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref}); |
|
242 //! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr}); |
|
243 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr}); |
|
244 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool); |
|
245 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 ); |
|
246 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref}); |
|
247 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref}); |
|
248 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]); |
|
249 //! CMMFDevVideoPlay:: Initialize(); |
|
250 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref}); |
|
251 //! CMMFDevVideoPlay:: Start(); |
|
252 //! CMMFDevVideoPlay:: Stop(); |
|
253 //! CMMFDevVideoPlay:: AbortDirectScreenAccess(); |
|
254 //!@SYMAuthor alavariega |
|
255 //!@SYMCreationDate 16/6/2008 |
|
256 //!@SYMTestCaseDesc NCP H.263 CIF Video Playback at 15fps 128kbps |
|
257 //!@SYMTestActions |
|
258 //! 1. NewL (inputfile = akiyo_cif_15fps_128k_dec.h263; screen = TRUE; codec = EH263; synch = 1; inputPath = {PATHVIDEOS, inputPath}) |
|
259 //! 2. SelectDecoderL (dec = {DECODERS, H263}) |
|
260 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid}) |
|
261 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,H263}) |
|
262 //! 5. GetOutputFormatListL (useDecoder = TRUE) |
|
263 //! 6. PostProcessorInfoLC |
|
264 //! 7. FindCommonFormat |
|
265 //! 8. SetOutputFormatL (useDecoder = TRUE) |
|
266 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,H263}) |
|
267 //! 10. GetOutputFormatListL (useDecoder = FALSE) |
|
268 //! 11. SetOutputFormatL (useDecoder = FALSE) |
|
269 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF}) |
|
270 //! 13. ReturnHeader |
|
271 //! 14. SetVideoDestScreenL |
|
272 //! 15. SetPostProcessTypesL (combination = 44) |
|
273 //! 16. GetBufferOptions |
|
274 //! 17. SetBufferOptionsL |
|
275 //! 18. SetClockSource (synch = 1; framerate = 15) |
|
276 //! 19. Initialize |
|
277 //! OUTSTANDING |
|
278 //! 20. StartDirectScreenAccess (displayMode = EColor64K) |
|
279 //! 21. Start |
|
280 //! OUTSTANDING |
|
281 //! 22. Stop |
|
282 //! 23. AbortDirectScreenAccess |
|
283 //! 24. ~ |
|
284 //!@SYMTestStatus Verified |
|
285 //!@SYMTestPriority Normal |
|
286 //!@SYMTestExpectedResults |
|
287 //! Video must be played on the screen without any blurrness. |
|
288 //!@SYMTestType CIT |
|
289 |
|
290 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-h263-automated.ini |
|
291 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay |
|
292 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-NewL_command01 |
|
293 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-SelectDecoderL_command02 |
|
294 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-SelectPostProcessorL_command03 |
|
295 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-SetInputFormat_command04 |
|
296 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-GetOutputFormatListL_command05 |
|
297 COMMAND mmfdvplay PostProcessorInfoLC |
|
298 COMMAND mmfdvplay FindCommonFormat |
|
299 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-SetOutputFormatL_command08 |
|
300 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-SetInputFormat_command09 |
|
301 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-GetOutputFormatListL_command10 |
|
302 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-SetOutputFormatL_command11 |
|
303 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-GetHeaderInformationL_command12 |
|
304 COMMAND mmfdvplay ReturnHeader |
|
305 COMMAND mmfdvplay SetVideoDestScreenL |
|
306 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-SetPostProcessTypesL_command15 |
|
307 COMMAND mmfdvplay GetBufferOptions |
|
308 COMMAND mmfdvplay SetBufferOptionsL |
|
309 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-SetClockSource_command18 |
|
310 COMMAND mmfdvplay Initialize |
|
311 OUTSTANDING |
|
312 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-H263-0003-0001-StartDirectScreenAccess_command20 |
|
313 COMMAND mmfdvplay Start |
|
314 OUTSTANDING |
|
315 COMMAND mmfdvplay Stop |
|
316 COMMAND mmfdvplay AbortDirectScreenAccess |
|
317 COMMAND mmfdvplay ~ |
|
318 END_TEST_BLOCK |
|
319 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0003 |
|
320 |
|
321 |
|
322 |
|
323 |
|
324 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0004 |
|
325 |
|
326 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0004 |
|
327 //!@SYMAPI |
|
328 //! CMMFDevVideoPlay:: GetDecoderListL(RArray< TUid > {ref}); |
|
329 //! CMMFDevVideoPlay:: GetPostProcessorListL(RArray< TUid > {ref}); |
|
330 //! CMMFDevVideoPlay:: SelectDecoderL(TUid); |
|
331 //! CMMFDevVideoPlay:: SelectPostProcessorL(TUid); |
|
332 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
333 //! CMMFDevVideoPlay:: GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref}); |
|
334 //! CMMFDevVideoPlay:: {ptr}PostProcessorInfoLC(TUid); |
|
335 //! CMMFDevVideoPlay:: FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], TUncompressedVideoFormat {ref]); |
|
336 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
337 //! CMMFDevVideoPlay:: {ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr}); |
|
338 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr}); |
|
339 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool); |
|
340 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 ); |
|
341 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref}); |
|
342 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref}); |
|
343 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]); |
|
344 //! CMMFDevVideoPlay:: Initialize(); |
|
345 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref}); |
|
346 //! CMMFDevVideoPlay:: Start(); |
|
347 //! CMMFDevVideoPlay:: Stop(); |
|
348 //! CMMFDevVideoPlay:: AbortDirectScreenAccess(); |
|
349 //!@SYMAuthor alavariega |
|
350 //!@SYMCreationDate 16/6/2008 |
|
351 //!@SYMTestCaseDesc NCP H.263 CIF Video Playback at 15fps 64kbps |
|
352 //!@SYMTestActions |
|
353 //! 1. NewL (inputfile = akiyo_cif_15fps_64k_dec.h263 ; screen = TRUE; codec = EH263; synch = 1; inputPath = {PATHVIDEOS, inputPath}) |
|
354 //! 2. SelectDecoderL (dec = {DECODERS, H263}) |
|
355 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid}) |
|
356 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,H263}) |
|
357 //! 5. GetOutputFormatListL (useDecoder = TRUE) |
|
358 //! 6. PostProcessorInfoLC |
|
359 //! 7. FindCommonFormat |
|
360 //! 8. SetOutputFormatL (useDecoder = TRUE) |
|
361 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,H263}) |
|
362 //! 10. GetOutputFormatListL (useDecoder = FALSE) |
|
363 //! 11. SetOutputFormatL (useDecoder = FALSE) |
|
364 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF}) |
|
365 //! 13. ReturnHeader |
|
366 //! 14. SetVideoDestScreenL |
|
367 //! 15. SetPostProcessTypesL (combination = 44) |
|
368 //! 16. GetBufferOptions |
|
369 //! 17. SetBufferOptionsL |
|
370 //! 18. SetClockSource (synch = 1; framerate = 15) |
|
371 //! 19. Initialize |
|
372 //! OUTSTANDING |
|
373 //! 20. StartDirectScreenAccess (displayMode = EColor64K) |
|
374 //! 21. Start |
|
375 //! OUTSTANDING |
|
376 //! 22. Stop |
|
377 //! 23. AbortDirectScreenAccess |
|
378 //! 24. ~ |
|
379 //!@SYMTestStatus Verified |
|
380 //!@SYMTestPriority Normal |
|
381 //!@SYMTestExpectedResults |
|
382 //! Video must be played on the screen without any blurrness. |
|
383 //!@SYMTestType CIT |
|
384 |
|
385 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-h263-automated.ini |
|
386 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay |
|
387 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-NewL_command01 |
|
388 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-SelectDecoderL_command02 |
|
389 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-SelectPostProcessorL_command03 |
|
390 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-SetInputFormat_command04 |
|
391 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-GetOutputFormatListL_command05 |
|
392 COMMAND mmfdvplay PostProcessorInfoLC |
|
393 COMMAND mmfdvplay FindCommonFormat |
|
394 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-SetOutputFormatL_command08 |
|
395 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-SetInputFormat_command09 |
|
396 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-GetOutputFormatListL_command10 |
|
397 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-SetOutputFormatL_command11 |
|
398 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-GetHeaderInformationL_command12 |
|
399 COMMAND mmfdvplay ReturnHeader |
|
400 COMMAND mmfdvplay SetVideoDestScreenL |
|
401 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-SetPostProcessTypesL_command15 |
|
402 COMMAND mmfdvplay GetBufferOptions |
|
403 COMMAND mmfdvplay SetBufferOptionsL |
|
404 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-SetClockSource_command18 |
|
405 COMMAND mmfdvplay Initialize |
|
406 OUTSTANDING |
|
407 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-H263-0004-0001-StartDirectScreenAccess_command20 |
|
408 COMMAND mmfdvplay Start |
|
409 OUTSTANDING |
|
410 COMMAND mmfdvplay Stop |
|
411 COMMAND mmfdvplay AbortDirectScreenAccess |
|
412 COMMAND mmfdvplay ~ |
|
413 END_TEST_BLOCK |
|
414 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0004 |
|
415 |
|
416 |
|
417 |
|
418 |
|
419 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0005 |
|
420 |
|
421 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0005 |
|
422 //!@SYMAPI |
|
423 //! CMMFDevVideoPlay:: GetDecoderListL(RArray< TUid > {ref}); |
|
424 //! CMMFDevVideoPlay:: GetPostProcessorListL(RArray< TUid > {ref}); |
|
425 //! CMMFDevVideoPlay:: SelectDecoderL(TUid); |
|
426 //! CMMFDevVideoPlay:: SelectPostProcessorL(TUid); |
|
427 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
428 //! CMMFDevVideoPlay:: GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref}); |
|
429 //! CMMFDevVideoPlay:: {ptr}PostProcessorInfoLC(TUid); |
|
430 //! CMMFDevVideoPlay:: FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], TUncompressedVideoFormat {ref]); |
|
431 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
432 //! CMMFDevVideoPlay:: {ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr}); |
|
433 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr}); |
|
434 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool); |
|
435 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 ); |
|
436 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref}); |
|
437 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref}); |
|
438 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]); |
|
439 //! CMMFDevVideoPlay:: Initialize(); |
|
440 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref}); |
|
441 //! CMMFDevVideoPlay:: Start(); |
|
442 //! CMMFDevVideoPlay:: Stop(); |
|
443 //! CMMFDevVideoPlay:: AbortDirectScreenAccess(); |
|
444 //!@SYMAuthor alavariega |
|
445 //!@SYMCreationDate 16/6/2008 |
|
446 //!@SYMTestCaseDesc NCP H.263 QCIF Video playback at 15fps, 128kbps |
|
447 //!@SYMTestActions |
|
448 //! 1. NewL (inputfile = football_qcif_15fps_128k_dec.h263; screen = TRUE; codec = EH263; synch = 1; inputPath = {PATHVIDEOS, inputPath}) |
|
449 //! 2. SelectDecoderL (dec = {DECODERS, H263}) |
|
450 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid}) |
|
451 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,H263}) |
|
452 //! 5. GetOutputFormatListL (useDecoder = TRUE) |
|
453 //! 6. PostProcessorInfoLC |
|
454 //! 7. FindCommonFormat |
|
455 //! 8. SetOutputFormatL (useDecoder = TRUE) |
|
456 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,H263}) |
|
457 //! 10. GetOutputFormatListL (useDecoder = FALSE) |
|
458 //! 11. SetOutputFormatL (useDecoder = FALSE) |
|
459 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF}) |
|
460 //! 13. ReturnHeader |
|
461 //! 14. SetVideoDestScreenL |
|
462 //! 15. SetPostProcessTypesL (combination = 44) |
|
463 //! 16. GetBufferOptions |
|
464 //! 17. SetBufferOptionsL |
|
465 //! 18. SetClockSource (synch = 1; framerate = 15) |
|
466 //! 19. Initialize |
|
467 //! OUTSTANDING |
|
468 //! 20. StartDirectScreenAccess (displayMode = EColor64K) |
|
469 //! 21. Start |
|
470 //! OUTSTANDING |
|
471 //! 22. Stop |
|
472 //! 23. AbortDirectScreenAccess |
|
473 //! 24. ~ |
|
474 //!@SYMTestStatus Verified |
|
475 //!@SYMTestPriority Normal |
|
476 //!@SYMTestExpectedResults |
|
477 //! Video must be played on the screen without any blurrness. |
|
478 //!@SYMTestType CIT |
|
479 |
|
480 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-h263-automated.ini |
|
481 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay |
|
482 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-NewL_command01 |
|
483 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-SelectDecoderL_command02 |
|
484 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-SelectPostProcessorL_command03 |
|
485 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-SetInputFormat_command04 |
|
486 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-GetOutputFormatListL_command05 |
|
487 COMMAND mmfdvplay PostProcessorInfoLC |
|
488 COMMAND mmfdvplay FindCommonFormat |
|
489 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-SetOutputFormatL_command08 |
|
490 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-SetInputFormat_command09 |
|
491 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-GetOutputFormatListL_command10 |
|
492 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-SetOutputFormatL_command11 |
|
493 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-GetHeaderInformationL_command12 |
|
494 COMMAND mmfdvplay ReturnHeader |
|
495 COMMAND mmfdvplay SetVideoDestScreenL |
|
496 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-SetPostProcessTypesL_command15 |
|
497 COMMAND mmfdvplay GetBufferOptions |
|
498 COMMAND mmfdvplay SetBufferOptionsL |
|
499 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-SetClockSource_command18 |
|
500 COMMAND mmfdvplay Initialize |
|
501 OUTSTANDING |
|
502 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-H263-0005-0001-StartDirectScreenAccess_command20 |
|
503 COMMAND mmfdvplay Start |
|
504 OUTSTANDING |
|
505 COMMAND mmfdvplay Stop |
|
506 COMMAND mmfdvplay AbortDirectScreenAccess |
|
507 COMMAND mmfdvplay ~ |
|
508 END_TEST_BLOCK |
|
509 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0005 |
|
510 |
|
511 |
|
512 |
|
513 |
|
514 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0006 |
|
515 |
|
516 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0006 |
|
517 //!@SYMAPI |
|
518 //! CMMFDevVideoPlay:: GetDecoderListL(RArray< TUid > {ref}); |
|
519 //! CMMFDevVideoPlay:: GetPostProcessorListL(RArray< TUid > {ref}); |
|
520 //! CMMFDevVideoPlay:: SelectDecoderL(TUid); |
|
521 //! CMMFDevVideoPlay:: SelectPostProcessorL(TUid); |
|
522 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
523 //! CMMFDevVideoPlay:: GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref}); |
|
524 //! CMMFDevVideoPlay:: {ptr}PostProcessorInfoLC(TUid); |
|
525 //! CMMFDevVideoPlay:: FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], TUncompressedVideoFormat {ref]); |
|
526 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
527 //! CMMFDevVideoPlay:: {ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr}); |
|
528 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr}); |
|
529 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool); |
|
530 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 ); |
|
531 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref}); |
|
532 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref}); |
|
533 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]); |
|
534 //! CMMFDevVideoPlay:: Initialize(); |
|
535 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref}); |
|
536 //! CMMFDevVideoPlay:: Start(); |
|
537 //! CMMFDevVideoPlay:: Stop(); |
|
538 //! CMMFDevVideoPlay:: AbortDirectScreenAccess(); |
|
539 //!@SYMAuthor alavariega |
|
540 //!@SYMCreationDate 16/6/2008 |
|
541 //!@SYMTestCaseDesc NCP H.263 SQCIF Video Playback at 15fps 128kbps |
|
542 //!@SYMTestActions |
|
543 //! 1. NewL (inputfile = foreman_sqcif_15fps_128k_dec.h263; screen = TRUE; codec = EH263; synch = 1; inputPath = {PATHVIDEOS, inputPath}) |
|
544 //! 2. SelectDecoderL (dec = {DECODERS, H263}) |
|
545 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid}) |
|
546 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,H263}) |
|
547 //! 5. GetOutputFormatListL (useDecoder = TRUE) |
|
548 //! 6. PostProcessorInfoLC |
|
549 //! 7. FindCommonFormat |
|
550 //! 8. SetOutputFormatL (useDecoder = TRUE) |
|
551 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,H263}) |
|
552 //! 10. GetOutputFormatListL (useDecoder = FALSE) |
|
553 //! 11. SetOutputFormatL (useDecoder = FALSE) |
|
554 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF}) |
|
555 //! 13. ReturnHeader |
|
556 //! 14. SetVideoDestScreenL |
|
557 //! 15. SetPostProcessTypesL (combination = 44) |
|
558 //! 16. GetBufferOptions |
|
559 //! 17. SetBufferOptionsL |
|
560 //! 18. SetClockSource (synch = 1; framerate = 15) |
|
561 //! 19. Initialize |
|
562 //! OUTSTANDING |
|
563 //! 20. StartDirectScreenAccess (displayMode = EColor64K) |
|
564 //! 21. Start |
|
565 //! OUTSTANDING |
|
566 //! 22. Stop |
|
567 //! 23. AbortDirectScreenAccess |
|
568 //! 24. ~ |
|
569 //!@SYMTestStatus Verified |
|
570 //!@SYMTestPriority Normal |
|
571 //!@SYMTestExpectedResults |
|
572 //! Video must be played on the screen without any blurrness. |
|
573 //!@SYMTestType CIT |
|
574 |
|
575 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-h263-automated.ini |
|
576 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay |
|
577 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-NewL_command01 |
|
578 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-SelectDecoderL_command02 |
|
579 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-SelectPostProcessorL_command03 |
|
580 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-SetInputFormat_command04 |
|
581 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-GetOutputFormatListL_command05 |
|
582 COMMAND mmfdvplay PostProcessorInfoLC |
|
583 COMMAND mmfdvplay FindCommonFormat |
|
584 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-SetOutputFormatL_command08 |
|
585 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-SetInputFormat_command09 |
|
586 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-GetOutputFormatListL_command10 |
|
587 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-SetOutputFormatL_command11 |
|
588 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-GetHeaderInformationL_command12 |
|
589 COMMAND mmfdvplay ReturnHeader |
|
590 COMMAND mmfdvplay SetVideoDestScreenL |
|
591 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-SetPostProcessTypesL_command15 |
|
592 COMMAND mmfdvplay GetBufferOptions |
|
593 COMMAND mmfdvplay SetBufferOptionsL |
|
594 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-SetClockSource_command18 |
|
595 COMMAND mmfdvplay Initialize |
|
596 OUTSTANDING |
|
597 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-H263-0006-0001-StartDirectScreenAccess_command20 |
|
598 COMMAND mmfdvplay Start |
|
599 OUTSTANDING |
|
600 COMMAND mmfdvplay Stop |
|
601 COMMAND mmfdvplay AbortDirectScreenAccess |
|
602 COMMAND mmfdvplay ~ |
|
603 END_TEST_BLOCK |
|
604 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0006 |
|
605 |
|
606 |
|
607 |
|
608 |
|
609 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0007 |
|
610 |
|
611 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0007 |
|
612 //!@SYMAPI |
|
613 //! CMMFDevVideoPlay:: GetDecoderListL(RArray< TUid > {ref}); |
|
614 //! CMMFDevVideoPlay:: GetPostProcessorListL(RArray< TUid > {ref}); |
|
615 //! CMMFDevVideoPlay:: SelectDecoderL(TUid); |
|
616 //! CMMFDevVideoPlay:: SelectPostProcessorL(TUid); |
|
617 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
618 //! CMMFDevVideoPlay:: GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref}); |
|
619 //! CMMFDevVideoPlay:: {ptr}PostProcessorInfoLC(TUid); |
|
620 //! CMMFDevVideoPlay:: FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], TUncompressedVideoFormat {ref]); |
|
621 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
622 //! CMMFDevVideoPlay:: {ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr}); |
|
623 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr}); |
|
624 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool); |
|
625 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 ); |
|
626 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref}); |
|
627 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref}); |
|
628 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]); |
|
629 //! CMMFDevVideoPlay:: Initialize(); |
|
630 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref}); |
|
631 //! CMMFDevVideoPlay:: Start(); |
|
632 //! CMMFDevVideoPlay:: Stop(); |
|
633 //! CMMFDevVideoPlay:: AbortDirectScreenAccess(); |
|
634 //!@SYMAuthor alavariega |
|
635 //!@SYMCreationDate 16/6/2008 |
|
636 //!@SYMTestCaseDesc NCP H.263 QCIF Video Playback at 15fps 64kbps |
|
637 //!@SYMTestActions |
|
638 //! 1. NewL (inputfile = football_qcif_15fps_64k_dec.h263; screen = TRUE; codec = EH263; synch = 1; inputPath = {PATHVIDEOS, inputPath}) |
|
639 //! 2. SelectDecoderL (dec = {DECODERS, H263}) |
|
640 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid}) |
|
641 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,H263}) |
|
642 //! 5. GetOutputFormatListL (useDecoder = TRUE) |
|
643 //! 6. PostProcessorInfoLC |
|
644 //! 7. FindCommonFormat |
|
645 //! 8. SetOutputFormatL (useDecoder = TRUE) |
|
646 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,H263}) |
|
647 //! 10. GetOutputFormatListL (useDecoder = FALSE) |
|
648 //! 11. SetOutputFormatL (useDecoder = FALSE) |
|
649 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF}) |
|
650 //! 13. ReturnHeader |
|
651 //! 14. SetVideoDestScreenL |
|
652 //! 15. SetPostProcessTypesL (combination = 44) |
|
653 //! 16. GetBufferOptions |
|
654 //! 17. SetBufferOptionsL |
|
655 //! 18. SetClockSource (synch = 1; framerate = 15) |
|
656 //! 19. Initialize |
|
657 //! OUTSTANDING |
|
658 //! 20. StartDirectScreenAccess (displayMode = EColor64K) |
|
659 //! 21. Start |
|
660 //! OUTSTANDING |
|
661 //! 22. Stop |
|
662 //! 23. AbortDirectScreenAccess |
|
663 //! 24. ~ |
|
664 //!@SYMTestStatus Verified |
|
665 //!@SYMTestPriority Normal |
|
666 //!@SYMTestExpectedResults |
|
667 //! Video must be played on the screen without any blurrness. |
|
668 //!@SYMTestType CIT |
|
669 |
|
670 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-h263-automated.ini |
|
671 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay |
|
672 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-NewL_command01 |
|
673 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-SelectDecoderL_command02 |
|
674 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-SelectPostProcessorL_command03 |
|
675 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-SetInputFormat_command04 |
|
676 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-GetOutputFormatListL_command05 |
|
677 COMMAND mmfdvplay PostProcessorInfoLC |
|
678 COMMAND mmfdvplay FindCommonFormat |
|
679 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-SetOutputFormatL_command08 |
|
680 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-SetInputFormat_command09 |
|
681 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-GetOutputFormatListL_command10 |
|
682 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-SetOutputFormatL_command11 |
|
683 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-GetHeaderInformationL_command12 |
|
684 COMMAND mmfdvplay ReturnHeader |
|
685 COMMAND mmfdvplay SetVideoDestScreenL |
|
686 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-SetPostProcessTypesL_command15 |
|
687 COMMAND mmfdvplay GetBufferOptions |
|
688 COMMAND mmfdvplay SetBufferOptionsL |
|
689 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-SetClockSource_command18 |
|
690 COMMAND mmfdvplay Initialize |
|
691 OUTSTANDING |
|
692 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-H263-0007-0001-StartDirectScreenAccess_command20 |
|
693 COMMAND mmfdvplay Start |
|
694 OUTSTANDING |
|
695 COMMAND mmfdvplay Stop |
|
696 COMMAND mmfdvplay AbortDirectScreenAccess |
|
697 COMMAND mmfdvplay ~ |
|
698 END_TEST_BLOCK |
|
699 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0007 |
|
700 |
|
701 |
|
702 |
|
703 |
|
704 START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0008 |
|
705 |
|
706 //!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0008 |
|
707 //!@SYMAPI |
|
708 //! CMMFDevVideoPlay:: GetDecoderListL(RArray< TUid > {ref}); |
|
709 //! CMMFDevVideoPlay:: GetPostProcessorListL(RArray< TUid > {ref}); |
|
710 //! CMMFDevVideoPlay:: SelectDecoderL(TUid); |
|
711 //! CMMFDevVideoPlay:: SelectPostProcessorL(TUid); |
|
712 //! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
713 //! CMMFDevVideoPlay:: GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref}); |
|
714 //! CMMFDevVideoPlay:: {ptr}PostProcessorInfoLC(TUid); |
|
715 //! CMMFDevVideoPlay:: FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], TUncompressedVideoFormat {ref]); |
|
716 //! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref}); |
|
717 //! CMMFDevVideoPlay:: {ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr}); |
|
718 //! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr}); |
|
719 //! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool); |
|
720 //! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 ); |
|
721 //! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref}); |
|
722 //! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref}); |
|
723 //! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]); |
|
724 //! CMMFDevVideoPlay:: Initialize(); |
|
725 //! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref}); |
|
726 //! CMMFDevVideoPlay:: Start(); |
|
727 //! CMMFDevVideoPlay:: Stop(); |
|
728 //! CMMFDevVideoPlay:: AbortDirectScreenAccess(); |
|
729 //!@SYMAuthor alavariega |
|
730 //!@SYMCreationDate 16/6/2008 |
|
731 //!@SYMTestCaseDesc NCP H.263 SQCIF Video Playback at 15fps 64kbps |
|
732 //!@SYMTestActions |
|
733 //! 1. NewL (inputfile = foreman_sqcif_15fps_64k_dec.h263; screen = TRUE; codec = EH263; synch = 1; inputPath = {PATHVIDEOS, inputPath}) |
|
734 //! 2. SelectDecoderL (dec = {DECODERS, H263}) |
|
735 //! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid}) |
|
736 //! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,H263}) |
|
737 //! 5. GetOutputFormatListL (useDecoder = TRUE) |
|
738 //! 6. PostProcessorInfoLC |
|
739 //! 7. FindCommonFormat |
|
740 //! 8. SetOutputFormatL (useDecoder = TRUE) |
|
741 //! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,H263}) |
|
742 //! 10. GetOutputFormatListL (useDecoder = FALSE) |
|
743 //! 11. SetOutputFormatL (useDecoder = FALSE) |
|
744 //! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF}) |
|
745 //! 13. ReturnHeader |
|
746 //! 14. SetVideoDestScreenL |
|
747 //! 15. SetPostProcessTypesL (combination = 44) |
|
748 //! 16. GetBufferOptions |
|
749 //! 17. SetBufferOptionsL |
|
750 //! 18. SetClockSource (synch = 1; framerate = 15) |
|
751 //! 19. Initialize |
|
752 //! OUTSTANDING |
|
753 //! 20. StartDirectScreenAccess (displayMode = EColor64K) |
|
754 //! 21. Start |
|
755 //! OUTSTANDING |
|
756 //! 22. Stop |
|
757 //! 23. AbortDirectScreenAccess |
|
758 //! 24. ~ |
|
759 //!@SYMTestStatus Verified |
|
760 //!@SYMTestPriority Normal |
|
761 //!@SYMTestExpectedResults |
|
762 //! Video must be played on the screen without any blurrness. |
|
763 //!@SYMTestType CIT |
|
764 |
|
765 START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-h263-automated.ini |
|
766 CREATE_OBJECT CMMFDevVideoPlay mmfdvplay |
|
767 COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-NewL_command01 |
|
768 COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-SelectDecoderL_command02 |
|
769 COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-SelectPostProcessorL_command03 |
|
770 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-SetInputFormat_command04 |
|
771 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-GetOutputFormatListL_command05 |
|
772 COMMAND mmfdvplay PostProcessorInfoLC |
|
773 COMMAND mmfdvplay FindCommonFormat |
|
774 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-SetOutputFormatL_command08 |
|
775 COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-SetInputFormat_command09 |
|
776 COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-GetOutputFormatListL_command10 |
|
777 COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-SetOutputFormatL_command11 |
|
778 COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-GetHeaderInformationL_command12 |
|
779 COMMAND mmfdvplay ReturnHeader |
|
780 COMMAND mmfdvplay SetVideoDestScreenL |
|
781 COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-SetPostProcessTypesL_command15 |
|
782 COMMAND mmfdvplay GetBufferOptions |
|
783 COMMAND mmfdvplay SetBufferOptionsL |
|
784 COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-SetClockSource_command18 |
|
785 COMMAND mmfdvplay Initialize |
|
786 OUTSTANDING |
|
787 COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-H263-0008-0001-StartDirectScreenAccess_command20 |
|
788 COMMAND mmfdvplay Start |
|
789 OUTSTANDING |
|
790 COMMAND mmfdvplay Stop |
|
791 COMMAND mmfdvplay AbortDirectScreenAccess |
|
792 COMMAND mmfdvplay ~ |
|
793 END_TEST_BLOCK |
|
794 END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-H.263-AUTOMATED-0008 |