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