os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-scale-automated.script
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-scale-automated.script Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,432 @@
1.4 +//
1.5 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// under the terms of "Eclipse Public License v1.0"
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +//
1.20 +//! @file
1.21 +//! @SYMTestSuiteName mm-mmf-devvideo-playback-mpeg4-scale-automated
1.22 +//! @SYMScriptTestEnvironment This test script requires a basic ROM.
1.23 +//
1.24 +// Tests all public elements of the MMMFDevVideoPlayObserver,CMMFDevVideoPlay
1.25 +// classes as a means of confidence that the APIs work as expected.
1.26 +//
1.27 +// The purpose is to provide a regression test suite of PublishedAll
1.28 +// APIs for: MMMFDevVideoPlayObserver,CMMFDevVideoPlay
1.29 +// The tests are fully automated.
1.30 +//
1.31 +
1.32 +
1.33 +
1.34 +LOAD_SUITE t_devvideo
1.35 +
1.36 +DELAY 2000
1.37 +
1.38 +
1.39 +
1.40 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0001
1.41 +
1.42 +//!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0001
1.43 +//!@SYMAPI
1.44 +//! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
1.45 +//! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
1.46 +//! CMMFDevVideoPlay::SelectDecoderL(TUid);
1.47 +//! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
1.48 +//! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
1.49 +//! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
1.50 +//! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
1.51 +//! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
1.52 +//! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
1.53 +//! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
1.54 +//! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
1.55 +//! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
1.56 +//! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
1.57 +//! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
1.58 +//! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
1.59 +//! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
1.60 +//! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
1.61 +//! CMMFDevVideoPlay:: Initialize();
1.62 +//! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
1.63 +//! CMMFDevVideoPlay:: Start();
1.64 +//! CMMFDevVideoPlay:: Stop();
1.65 +//! CMMFDevVideoPlay:: AbortDirectScreenAccess();
1.66 +//! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
1.67 +//! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
1.68 +//!@SYMAuthor alavariega
1.69 +//!@SYMCreationDate 16/6/2008
1.70 +//!@SYMTestCaseDesc NCP MPEG -4 QCIF Video FULL SCREEN at 30 fps 3Mbps
1.71 +//!@SYMTestActions
1.72 +//! 1. NewL (inputfile = paris_qcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
1.73 +//! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
1.74 +//! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
1.75 +//! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
1.76 +//! 5. GetOutputFormatListL (useDecoder = TRUE)
1.77 +//! 6. PostProcessorInfoLC
1.78 +//! 7. FindCommonFormat
1.79 +//! 8. SetOutputFormatL (useDecoder = TRUE)
1.80 +//! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
1.81 +//! 10. GetOutputFormatListL (useDecoder = FALSE)
1.82 +//! 11. SetOutputFormatL(useDecoder = TRUE)
1.83 +//! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
1.84 +//! 13. ReturnHeader
1.85 +//! 14. SetVideoDestScreenL
1.86 +//! 15. SetPostProcessTypesL (combination = 48)
1.87 +//! 16. GetBufferOptions
1.88 +//! 17. SetBufferOptionsL
1.89 +//! 18. SetClockSource (synch = 1; framerate = 30)
1.90 +//! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
1.91 +//! 20. Initialize
1.92 +//! OUTSTANDING
1.93 +//! 21. StartDirectScreenAccess (displayMode = EColor64K)
1.94 +//! 22. Start
1.95 +//! OUTSTANDING
1.96 +//! 23. Stop
1.97 +//! 24. AbortDirectScreenAccess
1.98 +//! 25. ~
1.99 +//!@SYMTestStatus Verified
1.100 +//!@SYMTestPriority Normal
1.101 +//!@SYMTestExpectedResults
1.102 +//! Video must be played on the full screen without any blurrness.
1.103 +//!@SYMTestType CIT
1.104 +
1.105 + START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-scale-automated.ini
1.106 + CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
1.107 + COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-NewL_command01
1.108 + COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SelectDecoderL_command02
1.109 + COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SelectPostProcessorL_command03
1.110 + COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetInputFormat_command04
1.111 + COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-GetOutputFormatListL_command05
1.112 + COMMAND mmfdvplay PostProcessorInfoLC
1.113 + COMMAND mmfdvplay FindCommonFormat
1.114 + COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetOutputFormatL_command08
1.115 + COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetInputFormat_command09
1.116 + COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-GetOutputFormatListL_command10
1.117 + COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetOutputFormatL_command11
1.118 + COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-GetHeaderInformationL_command12
1.119 + COMMAND mmfdvplay ReturnHeader
1.120 + COMMAND mmfdvplay SetVideoDestScreenL
1.121 + COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetPostProcessTypesL_command15
1.122 + COMMAND mmfdvplay GetBufferOptions
1.123 + COMMAND mmfdvplay SetBufferOptionsL
1.124 + COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetClockSource_command18
1.125 + COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-SetScaleOptionsL_command19
1.126 + COMMAND mmfdvplay Initialize
1.127 + OUTSTANDING
1.128 + COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0001-0001-StartDirectScreenAccess_command21
1.129 + COMMAND mmfdvplay Start
1.130 + OUTSTANDING
1.131 + COMMAND mmfdvplay Stop
1.132 + COMMAND mmfdvplay AbortDirectScreenAccess
1.133 + COMMAND mmfdvplay ~
1.134 + END_TEST_BLOCK
1.135 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0001
1.136 +
1.137 +
1.138 +
1.139 +
1.140 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0002
1.141 +
1.142 +//!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0002
1.143 +//!@SYMAPI
1.144 +//! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
1.145 +//! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
1.146 +//! CMMFDevVideoPlay::SelectDecoderL(TUid);
1.147 +//! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
1.148 +//! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
1.149 +//! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
1.150 +//! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
1.151 +//! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
1.152 +//! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
1.153 +//! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
1.154 +//! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
1.155 +//! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
1.156 +//! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
1.157 +//! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
1.158 +//! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
1.159 +//! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
1.160 +//! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
1.161 +//! CMMFDevVideoPlay:: Initialize();
1.162 +//! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
1.163 +//! CMMFDevVideoPlay:: Start();
1.164 +//! CMMFDevVideoPlay:: Stop();
1.165 +//! CMMFDevVideoPlay:: AbortDirectScreenAccess();
1.166 +//! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
1.167 +//! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
1.168 +//!@SYMAuthor alavariega
1.169 +//!@SYMCreationDate 16/6/2008
1.170 +//!@SYMTestCaseDesc NCP MPEG -4 SQCIF Video FULL SCREEN at 30 fps 3Mbps
1.171 +//!@SYMTestActions
1.172 +//! 1. NewL (inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
1.173 +//! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
1.174 +//! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
1.175 +//! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
1.176 +//! 5. GetOutputFormatListL (useDecoder = TRUE)
1.177 +//! 6. PostProcessorInfoLC
1.178 +//! 7. FindCommonFormat
1.179 +//! 8. SetOutputFormatL (useDecoder = TRUE)
1.180 +//! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
1.181 +//! 10. GetOutputFormatListL (useDecoder = FALSE)
1.182 +//! 11. SetOutputFormatL(useDecoder = TRUE)
1.183 +//! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
1.184 +//! 13. ReturnHeader
1.185 +//! 14. SetVideoDestScreenL
1.186 +//! 15. SetPostProcessTypesL (combination = 48)
1.187 +//! 16. GetBufferOptions
1.188 +//! 17. SetBufferOptionsL
1.189 +//! 18. SetClockSource (synch = 1; framerate = 30)
1.190 +//! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
1.191 +//! 20. Initialize
1.192 +//! OUTSTANDING
1.193 +//! 21. StartDirectScreenAccess (displayMode = EColor64K)
1.194 +//! 22. Start
1.195 +//! OUTSTANDING
1.196 +//! 23. Stop
1.197 +//! 24. AbortDirectScreenAccess
1.198 +//! 25. ~
1.199 +//!@SYMTestStatus Verified
1.200 +//!@SYMTestPriority Normal
1.201 +//!@SYMTestExpectedResults
1.202 +//! Video must be played on the full screen without any blurrness.
1.203 +//!@SYMTestType CIT
1.204 +
1.205 + START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-scale-automated.ini
1.206 + CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
1.207 + COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-NewL_command01
1.208 + COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SelectDecoderL_command02
1.209 + COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SelectPostProcessorL_command03
1.210 + COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetInputFormat_command04
1.211 + COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-GetOutputFormatListL_command05
1.212 + COMMAND mmfdvplay PostProcessorInfoLC
1.213 + COMMAND mmfdvplay FindCommonFormat
1.214 + COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetOutputFormatL_command08
1.215 + COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetInputFormat_command09
1.216 + COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-GetOutputFormatListL_command10
1.217 + COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetOutputFormatL_command11
1.218 + COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-GetHeaderInformationL_command12
1.219 + COMMAND mmfdvplay ReturnHeader
1.220 + COMMAND mmfdvplay SetVideoDestScreenL
1.221 + COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetPostProcessTypesL_command15
1.222 + COMMAND mmfdvplay GetBufferOptions
1.223 + COMMAND mmfdvplay SetBufferOptionsL
1.224 + COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetClockSource_command18
1.225 + COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-SetScaleOptionsL_command19
1.226 + COMMAND mmfdvplay Initialize
1.227 + OUTSTANDING
1.228 + COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0002-0001-StartDirectScreenAccess_command21
1.229 + COMMAND mmfdvplay Start
1.230 + OUTSTANDING
1.231 + COMMAND mmfdvplay Stop
1.232 + COMMAND mmfdvplay AbortDirectScreenAccess
1.233 + COMMAND mmfdvplay ~
1.234 + END_TEST_BLOCK
1.235 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0002
1.236 +
1.237 +
1.238 +
1.239 +
1.240 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0003
1.241 +
1.242 +//!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0003
1.243 +//!@SYMAPI
1.244 +//! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
1.245 +//! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
1.246 +//! CMMFDevVideoPlay::SelectDecoderL(TUid);
1.247 +//! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
1.248 +//! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
1.249 +//! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
1.250 +//! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
1.251 +//! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
1.252 +//! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
1.253 +//! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
1.254 +//! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
1.255 +//! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
1.256 +//! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
1.257 +//! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
1.258 +//! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
1.259 +//! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
1.260 +//! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
1.261 +//! CMMFDevVideoPlay:: Initialize();
1.262 +//! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
1.263 +//! CMMFDevVideoPlay:: Start();
1.264 +//! CMMFDevVideoPlay:: Stop();
1.265 +//! CMMFDevVideoPlay:: AbortDirectScreenAccess();
1.266 +//! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
1.267 +//! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
1.268 +//!@SYMAuthor alavariega
1.269 +//!@SYMCreationDate 16/6/2008
1.270 +//!@SYMTestCaseDesc NCP MPEG -4 CIF Video FULL SCREEN at 30 fps 3Mbps
1.271 +//!@SYMTestActions
1.272 +//! 1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
1.273 +//! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
1.274 +//! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
1.275 +//! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
1.276 +//! 5. GetOutputFormatListL (useDecoder = TRUE)
1.277 +//! 6. PostProcessorInfoLC
1.278 +//! 7. FindCommonFormat
1.279 +//! 8. SetOutputFormatL (useDecoder = TRUE)
1.280 +//! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
1.281 +//! 10. GetOutputFormatListL (useDecoder = FALSE)
1.282 +//! 11. SetOutputFormatL(useDecoder = TRUE)
1.283 +//! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
1.284 +//! 13. ReturnHeader
1.285 +//! 14. SetVideoDestScreenL
1.286 +//! 15. SetPostProcessTypesL (combination = 48)
1.287 +//! 16. GetBufferOptions
1.288 +//! 17. SetBufferOptionsL
1.289 +//! 18. SetClockSource (synch = 1; framerate = 30)
1.290 +//! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
1.291 +//! 20. Initialize
1.292 +//! OUTSTANDING
1.293 +//! 21. StartDirectScreenAccess (displayMode = EColor64K)
1.294 +//! 22. Start
1.295 +//! OUTSTANDING
1.296 +//! 23. Stop
1.297 +//! 24. AbortDirectScreenAccess
1.298 +//! 25. ~
1.299 +//!@SYMTestStatus Verified
1.300 +//!@SYMTestPriority Normal
1.301 +//!@SYMTestExpectedResults
1.302 +//! Video must be played on the full screen without any blurrness.
1.303 +//!@SYMTestType CIT
1.304 +
1.305 + START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-scale-automated.ini
1.306 + CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
1.307 + COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-NewL_command01
1.308 + COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SelectDecoderL_command02
1.309 + COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SelectPostProcessorL_command03
1.310 + COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetInputFormat_command04
1.311 + COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-GetOutputFormatListL_command05
1.312 + COMMAND mmfdvplay PostProcessorInfoLC
1.313 + COMMAND mmfdvplay FindCommonFormat
1.314 + COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetOutputFormatL_command08
1.315 + COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetInputFormat_command09
1.316 + COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-GetOutputFormatListL_command10
1.317 + COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetOutputFormatL_command11
1.318 + COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-GetHeaderInformationL_command12
1.319 + COMMAND mmfdvplay ReturnHeader
1.320 + COMMAND mmfdvplay SetVideoDestScreenL
1.321 + COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetPostProcessTypesL_command15
1.322 + COMMAND mmfdvplay GetBufferOptions
1.323 + COMMAND mmfdvplay SetBufferOptionsL
1.324 + COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetClockSource_command18
1.325 + COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-SetScaleOptionsL_command19
1.326 + COMMAND mmfdvplay Initialize
1.327 + OUTSTANDING
1.328 + COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0003-0001-StartDirectScreenAccess_command21
1.329 + COMMAND mmfdvplay Start
1.330 + OUTSTANDING
1.331 + COMMAND mmfdvplay Stop
1.332 + COMMAND mmfdvplay AbortDirectScreenAccess
1.333 + COMMAND mmfdvplay ~
1.334 + END_TEST_BLOCK
1.335 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0003
1.336 +
1.337 +
1.338 +
1.339 +
1.340 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0004
1.341 +
1.342 +//!@SYMTestCaseID MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0004
1.343 +//!@SYMAPI
1.344 +//! CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
1.345 +//! CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
1.346 +//! CMMFDevVideoPlay::SelectDecoderL(TUid);
1.347 +//! CMMFDevVideoPlay::SelectPostProcessorL(TUid);
1.348 +//! CMMFDevVideoPlay::SetInputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
1.349 +//! CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
1.350 +//! CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
1.351 +//! CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
1.352 +//! CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
1.353 +//! CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
1.354 +//! CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
1.355 +//! CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
1.356 +//! CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
1.357 +//! CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
1.358 +//! CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
1.359 +//! CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
1.360 +//! CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
1.361 +//! CMMFDevVideoPlay:: Initialize();
1.362 +//! CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
1.363 +//! CMMFDevVideoPlay:: Start();
1.364 +//! CMMFDevVideoPlay:: Stop();
1.365 +//! CMMFDevVideoPlay:: AbortDirectScreenAccess();
1.366 +//! CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
1.367 +//! CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
1.368 +//!@SYMAuthor alavariega
1.369 +//!@SYMCreationDate 16/6/2008
1.370 +//!@SYMTestCaseDesc NCP MPEG -4 QVGA Video FULL SCREEN at 30 fps 3Mbps
1.371 +//!@SYMTestActions
1.372 +//! 1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
1.373 +//! 2. SelectDecoderL (dec = {DECODERS, MPEG4})
1.374 +//! 3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
1.375 +//! 4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
1.376 +//! 5. GetOutputFormatListL (useDecoder = TRUE)
1.377 +//! 6. PostProcessorInfoLC
1.378 +//! 7. FindCommonFormat
1.379 +//! 8. SetOutputFormatL (useDecoder = TRUE)
1.380 +//! 9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
1.381 +//! 10. GetOutputFormatListL (useDecoder = FALSE)
1.382 +//! 11. SetOutputFormatL(useDecoder = TRUE)
1.383 +//! 12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
1.384 +//! 13. ReturnHeader
1.385 +//! 14. SetVideoDestScreenL
1.386 +//! 15. SetPostProcessTypesL (combination = 48)
1.387 +//! 16. GetBufferOptions
1.388 +//! 17. SetBufferOptionsL
1.389 +//! 18. SetClockSource (synch = 1; framerate = 30)
1.390 +//! 19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
1.391 +//! 20. Initialize
1.392 +//! OUTSTANDING
1.393 +//! 21. StartDirectScreenAccess (displayMode = EColor64K)
1.394 +//! 22. Start
1.395 +//! OUTSTANDING
1.396 +//! 23. Stop
1.397 +//! 24. AbortDirectScreenAccess
1.398 +//! 25. ~
1.399 +//!@SYMTestStatus Verified
1.400 +//!@SYMTestPriority Normal
1.401 +//!@SYMTestExpectedResults
1.402 +//! Video must be played on the full screen without any blurrness.
1.403 +//!@SYMTestType CIT
1.404 +
1.405 + START_TEST_BLOCK 900 t_devvideo \multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-scale-automated.ini
1.406 + CREATE_OBJECT CMMFDevVideoPlay mmfdvplay
1.407 + COMMAND mmfdvplay NewL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-NewL_command01
1.408 + COMMAND mmfdvplay SelectDecoderL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SelectDecoderL_command02
1.409 + COMMAND mmfdvplay SelectPostProcessorL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SelectPostProcessorL_command03
1.410 + COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetInputFormat_command04
1.411 + COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-GetOutputFormatListL_command05
1.412 + COMMAND mmfdvplay PostProcessorInfoLC
1.413 + COMMAND mmfdvplay FindCommonFormat
1.414 + COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetOutputFormatL_command08
1.415 + COMMAND mmfdvplay SetInputFormat MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetInputFormat_command09
1.416 + COMMAND mmfdvplay GetOutputFormatListL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-GetOutputFormatListL_command10
1.417 + COMMAND mmfdvplay SetOutputFormatL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetOutputFormatL_command11
1.418 + COMMAND mmfdvplay GetHeaderInformationL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-GetHeaderInformationL_command12
1.419 + COMMAND mmfdvplay ReturnHeader
1.420 + COMMAND mmfdvplay SetVideoDestScreenL
1.421 + COMMAND mmfdvplay SetPostProcessTypesL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetPostProcessTypesL_command15
1.422 + COMMAND mmfdvplay GetBufferOptions
1.423 + COMMAND mmfdvplay SetBufferOptionsL
1.424 + COMMAND mmfdvplay SetClockSource MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetClockSource_command18
1.425 + COMMAND mmfdvplay SetScaleOptionsL MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-SetScaleOptionsL_command19
1.426 + COMMAND mmfdvplay Initialize
1.427 + OUTSTANDING
1.428 + COMMAND mmfdvplay StartDirectScreenAccess MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Scale-0004-0001-StartDirectScreenAccess_command21
1.429 + COMMAND mmfdvplay Start
1.430 + OUTSTANDING
1.431 + COMMAND mmfdvplay Stop
1.432 + COMMAND mmfdvplay AbortDirectScreenAccess
1.433 + COMMAND mmfdvplay ~
1.434 + END_TEST_BLOCK
1.435 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-SCALE-AUTOMATED-0004