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