os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-backward-automated.script
changeset 0 bde4ae8d615e
     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-backward-automated.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,769 @@
     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-backward-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-BACKWARD-AUTOMATED-0001
    1.41 +
    1.42 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-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:: Resume();
    1.68 +//!@SYMAuthor			alavariega
    1.69 +//!@SYMCreationDate		16/6/2008
    1.70 +//!@SYMTestCaseDesc		Play back a MPEG4 NTSC  video file with 3Mbps at 30fps screenout backward
    1.71 +//!@SYMTestActions
    1.72 +//!                1. NewL (inputfile =  akiyo_ntsc_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
    1.73 +//!                2. SelectDecoderL (dec = {MPEG4, uid})
    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 = FALSE)
    1.83 +//!                12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
    1.84 +//!                13. ReturnHeader
    1.85 +//!                14. SetVideoDestScreenL
    1.86 +//!                15. SetPostProcessTypesL(combination = 40)
    1.87 +//!                16. GetBufferOptions
    1.88 +//!                17. SetBufferOptionsL
    1.89 +//!                18. SetClockSource(synch = 1; framerate = 30)
    1.90 +//!                19. Initialize
    1.91 +//!                OUTSTANDING
    1.92 +//!                20. StartDirectScreenAccess(displayMode = EColor64K)
    1.93 +//!                21. Start 
    1.94 +//!                ASYNC_DELAY 1000000
    1.95 +//!                22. Pause
    1.96 +//!                23. SetPosition (pos = -4)
    1.97 +//!                24. Resume 
    1.98 +//!                OUTSTANDING
    1.99 +//!                25. Stop
   1.100 +//!                26. AbortDirectScreenAccess
   1.101 +//!                27. ~
   1.102 +//!                
   1.103 +//!@SYMTestStatus		Verified
   1.104 +//!@SYMTestPriority		Normal
   1.105 +//!@SYMTestExpectedResults
   1.106 +//!                Video must be played with backward action and without any blurrness.
   1.107 +//!@SYMTestType			CIT
   1.108 +
   1.109 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
   1.110 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.111 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-NewL_command01
   1.112 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SelectDecoderL_command02
   1.113 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SelectPostProcessorL_command03
   1.114 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetInputFormat_command04
   1.115 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-GetOutputFormatListL_command05
   1.116 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.117 +		COMMAND		mmfdvplay		FindCommonFormat
   1.118 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetOutputFormatL_command08
   1.119 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetInputFormat_command09
   1.120 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-GetOutputFormatListL_command10
   1.121 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetOutputFormatL_command11
   1.122 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-GetHeaderInformationL_command12
   1.123 +		COMMAND		mmfdvplay		ReturnHeader
   1.124 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.125 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetPostProcessTypesL_command15
   1.126 +		COMMAND		mmfdvplay		GetBufferOptions
   1.127 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.128 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetClockSource_command18
   1.129 +		COMMAND		mmfdvplay		Initialize
   1.130 +		OUTSTANDING
   1.131 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-StartDirectScreenAccess_command20
   1.132 +		COMMAND		mmfdvplay		Start
   1.133 +		ASYNC_DELAY  1000000 
   1.134 +		COMMAND		mmfdvplay		Pause
   1.135 +		COMMAND		mmfdvplay		SetPosition			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0001-0001-SetPosition_command23
   1.136 +		COMMAND		mmfdvplay		Resume
   1.137 +		COMMAND		mmfdvplay		Stop
   1.138 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.139 +		COMMAND		mmfdvplay		~
   1.140 +	END_TEST_BLOCK
   1.141 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0001
   1.142 +
   1.143 +
   1.144 +
   1.145 +
   1.146 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0002
   1.147 +
   1.148 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0002
   1.149 +//!@SYMAPI
   1.150 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.151 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.152 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.153 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.154 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.155 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.156 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.157 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.158 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.159 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.160 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.161 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.162 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.163 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.164 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.165 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.166 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.167 +//!                CMMFDevVideoPlay:: Initialize();
   1.168 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.169 +//!                CMMFDevVideoPlay:: Start();
   1.170 +//!                CMMFDevVideoPlay:: Stop();
   1.171 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.172 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.173 +//!                CMMFDevVideoPlay:: Resume();
   1.174 +//!@SYMAuthor			alavariega
   1.175 +//!@SYMCreationDate		16/6/2008
   1.176 +//!@SYMTestCaseDesc		 NCP MPEG4 PAL Video SEEK Forward and Backward at 25 fps 4Mbps
   1.177 +//!@SYMTestActions
   1.178 +//!                1. NewL(inputfile =  akiyo_pal_25fps_4M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.179 +//!                2. SelectDecoderL(dec = {MPEG4, uid})
   1.180 +//!                3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid}) 
   1.181 +//!                4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.182 +//!                5. GetOutputFormatListL(useDecoder = TRUE)
   1.183 +//!                6. PostProcessorInfoLC
   1.184 +//!                7. FindCommonFormat
   1.185 +//!                8. SetOutputFormatL(useDecoder = TRUE)
   1.186 +//!                9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.187 +//!                10. GetOutputFormatListL(useDecoder = FALSE)
   1.188 +//!                11. SetOutputFormatL(useDecoder = FALSE)
   1.189 +//!                12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
   1.190 +//!                13. ReturnHeader
   1.191 +//!                14. SetVideoDestScreenL
   1.192 +//!                15. SetPostProcessTypesL(combination = 40)
   1.193 +//!                16. GetBufferOptions
   1.194 +//!                17. SetBufferOptionsL
   1.195 +//!                18. SetClockSource(synch = 1; framerate = 25)
   1.196 +//!                19. Initialize
   1.197 +//!                OUTSTANDING
   1.198 +//!                20. StartDirectScreenAccess(displayMode = EColor64K)
   1.199 +//!                21. Start 
   1.200 +//!                ASYNC_DELAY 1000000
   1.201 +//!                22. Pause
   1.202 +//!                23. SetPosition(pos = -4)
   1.203 +//!                24. Resume 
   1.204 +//!                OUTSTANDING
   1.205 +//!                25. Stop
   1.206 +//!                26. AbortDirectScreenAccess
   1.207 +//!                27. ~
   1.208 +//!@SYMTestStatus		Verified
   1.209 +//!@SYMTestPriority		Normal
   1.210 +//!@SYMTestExpectedResults
   1.211 +//!                Video must be played with backward action and without any blurrness.
   1.212 +//!@SYMTestType			CIT
   1.213 +
   1.214 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
   1.215 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.216 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-NewL_command01
   1.217 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SelectDecoderL_command02
   1.218 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SelectPostProcessorL_command03
   1.219 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetInputFormat_command04
   1.220 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-GetOutputFormatListL_command05
   1.221 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.222 +		COMMAND		mmfdvplay		FindCommonFormat
   1.223 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetOutputFormatL_command08
   1.224 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetInputFormat_command09
   1.225 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-GetOutputFormatListL_command10
   1.226 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetOutputFormatL_command11
   1.227 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-GetHeaderInformationL_command12
   1.228 +		COMMAND		mmfdvplay		ReturnHeader
   1.229 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.230 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetPostProcessTypesL_command15
   1.231 +		COMMAND		mmfdvplay		GetBufferOptions
   1.232 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.233 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetClockSource_command18
   1.234 +		COMMAND		mmfdvplay		Initialize
   1.235 +		OUTSTANDING
   1.236 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-StartDirectScreenAccess_command20
   1.237 +		COMMAND		mmfdvplay		Start
   1.238 +		ASYNC_DELAY  1000000 
   1.239 +		COMMAND		mmfdvplay		Pause
   1.240 +		COMMAND		mmfdvplay		SetPosition			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0002-0001-SetPosition_command23
   1.241 +		COMMAND		mmfdvplay		Resume
   1.242 +		COMMAND		mmfdvplay		Stop
   1.243 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.244 +		COMMAND		mmfdvplay		~
   1.245 +	END_TEST_BLOCK
   1.246 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0002
   1.247 +
   1.248 +
   1.249 +
   1.250 +
   1.251 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0003
   1.252 +
   1.253 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0003
   1.254 +//!@SYMAPI
   1.255 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.256 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.257 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.258 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.259 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.260 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.261 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.262 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.263 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.264 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.265 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.266 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.267 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.268 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.269 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.270 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.271 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.272 +//!                CMMFDevVideoPlay:: Initialize();
   1.273 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.274 +//!                CMMFDevVideoPlay:: Start();
   1.275 +//!                CMMFDevVideoPlay:: Stop();
   1.276 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.277 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.278 +//!                CMMFDevVideoPlay:: Resume();
   1.279 +//!@SYMAuthor			alavariega
   1.280 +//!@SYMCreationDate		16/6/2008
   1.281 +//!@SYMTestCaseDesc		 NCP MPEG -4  CIF Video SEEK Forward and Backward at 30 fps 3Mbps
   1.282 +//!@SYMTestActions
   1.283 +//!                1. NewL (inputfile =  paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.284 +//!                2. SelectDecoderL(dec = {MPEG4, uid})
   1.285 +//!                3. SelectPostProcessorL(postprocessor = {POSTPROCESSOR, uid}) 
   1.286 +//!                4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.287 +//!                5. GetOutputFormatListL(useDecoder = TRUE)
   1.288 +//!                6. PostProcessorInfoLC
   1.289 +//!                7. FindCommonFormat
   1.290 +//!                8. SetOutputFormatL(useDecoder = TRUE)
   1.291 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.292 +//!                10. GetOutputFormatListL(useDecoder = FALSE)
   1.293 +//!                11. SetOutputFormatL(useDecoder = FALSE)
   1.294 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
   1.295 +//!                13. ReturnHeader
   1.296 +//!                14. SetVideoDestScreenL
   1.297 +//!                15. SetPostProcessTypesL(combination = 40)
   1.298 +//!                16. GetBufferOptions
   1.299 +//!                17. SetBufferOptionsL
   1.300 +//!                18. SetClockSource(synch = 1; framerate = 30)
   1.301 +//!                19. Initialize
   1.302 +//!                OUTSTANDING
   1.303 +//!                20. StartDirectScreenAccess(displayMode = EColor64K)
   1.304 +//!                21. Start 
   1.305 +//!                ASYNC_DELAY 1000000
   1.306 +//!                22. Pause
   1.307 +//!                23. SetPosition (pos = -4)
   1.308 +//!                24. Resume 
   1.309 +//!                OUTSTANDING
   1.310 +//!                25. Stop
   1.311 +//!                26. AbortDirectScreenAccess
   1.312 +//!                27. ~
   1.313 +//!@SYMTestStatus		Verified
   1.314 +//!@SYMTestPriority		Normal
   1.315 +//!@SYMTestExpectedResults
   1.316 +//!                Video must be played with backward action and without any blurrness.
   1.317 +//!@SYMTestType			CIT
   1.318 +
   1.319 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
   1.320 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.321 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-NewL_command01
   1.322 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SelectDecoderL_command02
   1.323 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SelectPostProcessorL_command03
   1.324 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetInputFormat_command04
   1.325 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-GetOutputFormatListL_command05
   1.326 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.327 +		COMMAND		mmfdvplay		FindCommonFormat
   1.328 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetOutputFormatL_command08
   1.329 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetInputFormat_command09
   1.330 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-GetOutputFormatListL_command10
   1.331 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetOutputFormatL_command11
   1.332 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-GetHeaderInformationL_command12
   1.333 +		COMMAND		mmfdvplay		ReturnHeader
   1.334 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.335 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetPostProcessTypesL_command15
   1.336 +		COMMAND		mmfdvplay		GetBufferOptions
   1.337 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.338 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetClockSource_command18
   1.339 +		COMMAND		mmfdvplay		Initialize
   1.340 +		OUTSTANDING
   1.341 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-StartDirectScreenAccess_command20
   1.342 +		COMMAND		mmfdvplay		Start
   1.343 +		ASYNC_DELAY  1000000 
   1.344 +		COMMAND		mmfdvplay		Pause
   1.345 +		COMMAND		mmfdvplay		SetPosition			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0003-0001-SetPosition_command23
   1.346 +		COMMAND		mmfdvplay		Resume
   1.347 +		COMMAND		mmfdvplay		Stop
   1.348 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.349 +		COMMAND		mmfdvplay		~
   1.350 +	END_TEST_BLOCK
   1.351 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0003
   1.352 +
   1.353 +
   1.354 +
   1.355 +
   1.356 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0004
   1.357 +
   1.358 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0004
   1.359 +//!@SYMAPI
   1.360 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.361 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.362 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.363 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.364 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.365 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.366 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.367 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.368 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.369 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.370 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.371 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.372 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.373 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.374 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.375 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.376 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.377 +//!                CMMFDevVideoPlay:: Initialize();
   1.378 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.379 +//!                CMMFDevVideoPlay:: Start();
   1.380 +//!                CMMFDevVideoPlay:: Stop();
   1.381 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.382 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.383 +//!                CMMFDevVideoPlay:: Resume();
   1.384 +//!@SYMAuthor			alavariega
   1.385 +//!@SYMCreationDate		16/6/2008
   1.386 +//!@SYMTestCaseDesc		 NCP MPEG -4  QCIF Video SEEK Forward and Backward at 30 fps 3Mbps
   1.387 +//!@SYMTestActions
   1.388 +//!                1. NewL (inputfile = paris_qcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.389 +//!                2. SelectDecoderL(dec = {MPEG4, uid})
   1.390 +//!                3. SelectPostProcessorL(postprocessor = {POSTPROCESSOR, uid}) 
   1.391 +//!                4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.392 +//!                5. GetOutputFormatListL(useDecoder = TRUE)
   1.393 +//!                6. PostProcessorInfoLC
   1.394 +//!                7. FindCommonFormat
   1.395 +//!                8. SetOutputFormatL(useDecoder = TRUE)
   1.396 +//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.397 +//!                10. GetOutputFormatListL(useDecoder = FALSE)
   1.398 +//!                11. SetOutputFormatL(useDecoder = FALSE)
   1.399 +//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
   1.400 +//!                13. ReturnHeader
   1.401 +//!                14. SetVideoDestScreenL
   1.402 +//!                15. SetPostProcessTypesL(combination = 40)
   1.403 +//!                16. GetBufferOptions
   1.404 +//!                17. SetBufferOptionsL
   1.405 +//!                18. SetClockSource(synch = 1; framerate = 30)
   1.406 +//!                19. Initialize
   1.407 +//!                OUTSTANDING
   1.408 +//!                20. StartDirectScreenAccess(displayMode = EColor64K)
   1.409 +//!                21. Start 
   1.410 +//!                ASYNC_DELAY 1000000
   1.411 +//!                22. Pause
   1.412 +//!                23. SetPosition (pos = -4)
   1.413 +//!                24. Resume 
   1.414 +//!                OUTSTANDING
   1.415 +//!                25. Stop
   1.416 +//!                26. AbortDirectScreenAccess
   1.417 +//!                27. ~
   1.418 +//!@SYMTestStatus		Verified
   1.419 +//!@SYMTestPriority		Normal
   1.420 +//!@SYMTestExpectedResults
   1.421 +//!                Video must be played with backward action and without any blurrness.
   1.422 +//!@SYMTestType			CIT
   1.423 +
   1.424 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
   1.425 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.426 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-NewL_command01
   1.427 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SelectDecoderL_command02
   1.428 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SelectPostProcessorL_command03
   1.429 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetInputFormat_command04
   1.430 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-GetOutputFormatListL_command05
   1.431 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.432 +		COMMAND		mmfdvplay		FindCommonFormat
   1.433 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetOutputFormatL_command08
   1.434 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetInputFormat_command09
   1.435 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-GetOutputFormatListL_command10
   1.436 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetOutputFormatL_command11
   1.437 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-GetHeaderInformationL_command12
   1.438 +		COMMAND		mmfdvplay		ReturnHeader
   1.439 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.440 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetPostProcessTypesL_command15
   1.441 +		COMMAND		mmfdvplay		GetBufferOptions
   1.442 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.443 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetClockSource_command18
   1.444 +		COMMAND		mmfdvplay		Initialize
   1.445 +		OUTSTANDING
   1.446 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-StartDirectScreenAccess_command20
   1.447 +		COMMAND		mmfdvplay		Start
   1.448 +		ASYNC_DELAY  1000000 
   1.449 +		COMMAND		mmfdvplay		Pause
   1.450 +		COMMAND		mmfdvplay		SetPosition			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0004-0001-SetPosition_command23
   1.451 +		COMMAND		mmfdvplay		Resume
   1.452 +		COMMAND		mmfdvplay		Stop
   1.453 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.454 +		COMMAND		mmfdvplay		~
   1.455 +	END_TEST_BLOCK
   1.456 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0004
   1.457 +
   1.458 +
   1.459 +
   1.460 +
   1.461 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0005
   1.462 +
   1.463 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0005
   1.464 +//!@SYMAPI
   1.465 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.466 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.467 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.468 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.469 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.470 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.471 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.472 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.473 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.474 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.475 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.476 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.477 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.478 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.479 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.480 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.481 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.482 +//!                CMMFDevVideoPlay:: Initialize();
   1.483 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.484 +//!                CMMFDevVideoPlay:: Start();
   1.485 +//!                CMMFDevVideoPlay:: Stop();
   1.486 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.487 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.488 +//!                CMMFDevVideoPlay:: Resume();
   1.489 +//!@SYMAuthor			alavariega
   1.490 +//!@SYMCreationDate		16/6/2008
   1.491 +//!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video SEEK Forward and Backward at 30 fps 3Mbps
   1.492 +//!@SYMTestActions
   1.493 +//!                1. NewL (inputfile =  MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
   1.494 +//!                2. SelectDecoderL (dec = {MPEG4, uid})
   1.495 +//!                3. SelectPostProcessorL(postprocessor = {POSTPROCESSOR, uid})
   1.496 +//!                4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.497 +//!                5. GetOutputFormatListL(useDecoder = TRUE)
   1.498 +//!                6. PostProcessorInfoLC
   1.499 +//!                7. FindCommonFormat
   1.500 +//!                8. SetOutputFormatL(useDecoder = TRUE)
   1.501 +//!                9. SetInputFormat(useDecoder = FALSE;  mimeType= {MIME,MP4V})
   1.502 +//!                10. GetOutputFormatListL(useDecoder = FALSE)
   1.503 +//!                11. SetOutputFormatL(useDecoder = FALSE)
   1.504 +//!                12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
   1.505 +//!                13. ReturnHeader
   1.506 +//!                14. SetVideoDestScreenL
   1.507 +//!                15. SetPostProcessTypesL(combination = 40)
   1.508 +//!                16. GetBufferOptions
   1.509 +//!                17. SetBufferOptionsL
   1.510 +//!                18. SetClockSource(synch = 1; framerate = 30)
   1.511 +//!                19. Initialize
   1.512 +//!                OUTSTANDING
   1.513 +//!                20. StartDirectScreenAccess(displayMode = EColor64K)
   1.514 +//!                21. Start 
   1.515 +//!                ASYNC_DELAY 1000000
   1.516 +//!                22. Pause
   1.517 +//!                23. SetPosition(pos = -4)
   1.518 +//!                24. Resume 
   1.519 +//!                OUTSTANDING
   1.520 +//!                25. Stop
   1.521 +//!                26. AbortDirectScreenAccess
   1.522 +//!                27. ~
   1.523 +//!@SYMTestStatus		Verified
   1.524 +//!@SYMTestPriority		Normal
   1.525 +//!@SYMTestExpectedResults
   1.526 +//!                Video must be played with backward action and without any blurrness.
   1.527 +//!@SYMTestType			CIT
   1.528 +
   1.529 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
   1.530 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.531 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-NewL_command01
   1.532 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SelectDecoderL_command02
   1.533 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SelectPostProcessorL_command03
   1.534 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetInputFormat_command04
   1.535 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-GetOutputFormatListL_command05
   1.536 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.537 +		COMMAND		mmfdvplay		FindCommonFormat
   1.538 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetOutputFormatL_command08
   1.539 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetInputFormat_command09
   1.540 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-GetOutputFormatListL_command10
   1.541 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetOutputFormatL_command11
   1.542 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-GetHeaderInformationL_command12
   1.543 +		COMMAND		mmfdvplay		ReturnHeader
   1.544 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.545 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetPostProcessTypesL_command15
   1.546 +		COMMAND		mmfdvplay		GetBufferOptions
   1.547 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.548 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetClockSource_command18
   1.549 +		COMMAND		mmfdvplay		Initialize
   1.550 +		OUTSTANDING
   1.551 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-StartDirectScreenAccess_command20
   1.552 +		COMMAND		mmfdvplay		Start
   1.553 +		ASYNC_DELAY  1000000 
   1.554 +		COMMAND		mmfdvplay		Pause
   1.555 +		COMMAND		mmfdvplay		SetPosition			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0005-0001-SetPosition_command23
   1.556 +		COMMAND		mmfdvplay		Resume
   1.557 +		COMMAND		mmfdvplay		Stop
   1.558 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.559 +		COMMAND		mmfdvplay		~
   1.560 +	END_TEST_BLOCK
   1.561 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0005
   1.562 +
   1.563 +
   1.564 +
   1.565 +
   1.566 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0006
   1.567 +
   1.568 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0006
   1.569 +//!@SYMAPI
   1.570 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.571 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.572 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.573 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.574 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.575 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.576 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.577 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.578 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.579 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.580 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.581 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.582 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.583 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.584 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.585 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.586 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.587 +//!                CMMFDevVideoPlay:: Initialize();
   1.588 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.589 +//!                CMMFDevVideoPlay:: Start();
   1.590 +//!                CMMFDevVideoPlay:: Stop();
   1.591 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.592 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.593 +//!                CMMFDevVideoPlay:: Resume();
   1.594 +//!@SYMAuthor			alavariega
   1.595 +//!@SYMCreationDate		16/6/2008
   1.596 +//!@SYMTestCaseDesc		 NCP MPEG -4  SQCIF Video SEEK Forward and Backward at 30 fps 3Mbps
   1.597 +//!@SYMTestActions
   1.598 +//!                1. NewL(inputfile =  foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1;inputPath = {PATHVIDEOS, inputPath})
   1.599 +//!                2. SelectDecoderL(dec = {MPEG4, uid})
   1.600 +//!                3. SelectPostProcessorL(postprocessor = {POSTPROCESSOR, uid}) 
   1.601 +//!                4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.602 +//!                5. GetOutputFormatListL(useDecoder = TRUE)
   1.603 +//!                6. PostProcessorInfoLC
   1.604 +//!                7. FindCommonFormat
   1.605 +//!                8. SetOutputFormatL(useDecoder = TRUE)
   1.606 +//!                9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.607 +//!                10. GetOutputFormatListL(useDecoder = FALSE)
   1.608 +//!                11. SetOutputFormatL(useDecoder = FALSE)
   1.609 +//!                12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeQCIF})
   1.610 +//!                13. ReturnHeader
   1.611 +//!                14. SetVideoDestScreenL
   1.612 +//!                15. SetPostProcessTypesL(combination = 44)
   1.613 +//!                16. GetBufferOptions
   1.614 +//!                17. SetBufferOptionsL
   1.615 +//!                18. SetClockSource(synch = 1; framerate = 30)
   1.616 +//!                19. Initialize
   1.617 +//!                OUTSTANDING
   1.618 +//!                20. StartDirectScreenAccess(displayMode = EColor64K)
   1.619 +//!                21. Start 
   1.620 +//!                ASYNC_DELAY 1000000
   1.621 +//!                22. Pause
   1.622 +//!                23. SetPosition(pos = -4)
   1.623 +//!                24. Resume 
   1.624 +//!                OUTSTANDING
   1.625 +//!                25. Stop
   1.626 +//!                26. AbortDirectScreenAccess
   1.627 +//!                27. ~
   1.628 +//!@SYMTestStatus		Verified
   1.629 +//!@SYMTestPriority		Normal
   1.630 +//!@SYMTestExpectedResults
   1.631 +//!                Video must be played with backward action and without any blurrness.
   1.632 +//!@SYMTestType			CIT
   1.633 +
   1.634 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
   1.635 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.636 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-NewL_command01
   1.637 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SelectDecoderL_command02
   1.638 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SelectPostProcessorL_command03
   1.639 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetInputFormat_command04
   1.640 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-GetOutputFormatListL_command05
   1.641 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.642 +		COMMAND		mmfdvplay		FindCommonFormat
   1.643 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetOutputFormatL_command08
   1.644 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetInputFormat_command09
   1.645 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-GetOutputFormatListL_command10
   1.646 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetOutputFormatL_command11
   1.647 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-GetHeaderInformationL_command12
   1.648 +		COMMAND		mmfdvplay		ReturnHeader
   1.649 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.650 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetPostProcessTypesL_command15
   1.651 +		COMMAND		mmfdvplay		GetBufferOptions
   1.652 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.653 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetClockSource_command18
   1.654 +		COMMAND		mmfdvplay		Initialize
   1.655 +		OUTSTANDING
   1.656 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-StartDirectScreenAccess_command20
   1.657 +		COMMAND		mmfdvplay		Start
   1.658 +		ASYNC_DELAY  1000000 
   1.659 +		COMMAND		mmfdvplay		Pause
   1.660 +		COMMAND		mmfdvplay		SetPosition			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0006-0001-SetPosition_command23
   1.661 +		COMMAND		mmfdvplay		Resume
   1.662 +		COMMAND		mmfdvplay		Stop
   1.663 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.664 +		COMMAND		mmfdvplay		~
   1.665 +	END_TEST_BLOCK
   1.666 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0006
   1.667 +
   1.668 +
   1.669 +
   1.670 +
   1.671 +START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0007
   1.672 +
   1.673 +//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0007
   1.674 +//!@SYMAPI
   1.675 +//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
   1.676 +//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
   1.677 +//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
   1.678 +//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
   1.679 +//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
   1.680 +//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
   1.681 +//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
   1.682 +//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
   1.683 +//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
   1.684 +//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
   1.685 +//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
   1.686 +//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
   1.687 +//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
   1.688 +//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
   1.689 +//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
   1.690 +//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
   1.691 +//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
   1.692 +//!                CMMFDevVideoPlay:: Initialize();
   1.693 +//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
   1.694 +//!                CMMFDevVideoPlay:: Start();
   1.695 +//!                CMMFDevVideoPlay:: Stop();
   1.696 +//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
   1.697 +//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
   1.698 +//!                CMMFDevVideoPlay:: Resume();
   1.699 +//!@SYMAuthor			alavariega
   1.700 +//!@SYMCreationDate		16/6/2008
   1.701 +//!@SYMTestCaseDesc		
   1.702 +//!@SYMTestActions
   1.703 +//!                1. NewL(inputfile =  MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE;codec = EMPEG4;synch = 1;inputPath = {PATHVIDEOS, inputPath})
   1.704 +//!                2. SelectDecoderL(dec = {MPEG4, uid})
   1.705 +//!                3. SelectPostProcessorL (postprocessor = {POSTPROCESSOR, uid})
   1.706 +//!                4. SetInputFormat(useDecoder = TRUE; mimeType= {MIME,MP4V})
   1.707 +//!                5. GetOutputFormatListL(useDecoder = TRUE)
   1.708 +//!                6. PostProcessorInfoLC
   1.709 +//!                7. FindCommonFormat
   1.710 +//!                8. SetOutputFormatL(useDecoder = TRUE)
   1.711 +//!                9. SetInputFormat(useDecoder = FALSE; mimeType= {MIME,MP4V})
   1.712 +//!                10. GetOutputFormatListL(useDecoder = FALSE)
   1.713 +//!                11. SetOutputFormatL(useDecoder = FALSE)
   1.714 +//!                12. GetHeaderInformationL(buffer = {BUFFER_SIZE, KMP4MaxCodedSizeVGA})
   1.715 +//!                13. ReturnHeader
   1.716 +//!                14. SetVideoDestScreenL
   1.717 +//!                15. SetPostProcessTypesL(combination = 40)
   1.718 +//!                16. GetBufferOptions
   1.719 +//!                17. SetBufferOptionsL
   1.720 +//!                18. SetClockSource(synch = 1; framerate = 25)
   1.721 +//!                19. Initialize
   1.722 +//!                OUTSTANDING
   1.723 +//!                20. StartDirectScreenAccess(displayMode = EColor64K)
   1.724 +//!                21. Start 
   1.725 +//!                ASYNC_DELAY 1000000
   1.726 +//!                22. Pause
   1.727 +//!                23. SetPosition(pos = -4)
   1.728 +//!                24. Resume 
   1.729 +//!                OUTSTANDING
   1.730 +//!                25. Stop
   1.731 +//!                26. AbortDirectScreenAccess
   1.732 +//!                27. ~
   1.733 +//!                
   1.734 +//!@SYMTestStatus		Verified
   1.735 +//!@SYMTestPriority		Normal
   1.736 +//!@SYMTestExpectedResults
   1.737 +//!                Video must be played with backward action and without any blurrness.
   1.738 +//!@SYMTestType			CIT
   1.739 +
   1.740 +	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-backward-automated.ini
   1.741 +		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
   1.742 +		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-NewL_command01
   1.743 +		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SelectDecoderL_command02
   1.744 +		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SelectPostProcessorL_command03
   1.745 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetInputFormat_command04
   1.746 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-GetOutputFormatListL_command05
   1.747 +		COMMAND		mmfdvplay		PostProcessorInfoLC
   1.748 +		COMMAND		mmfdvplay		FindCommonFormat
   1.749 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetOutputFormatL_command08
   1.750 +		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetInputFormat_command09
   1.751 +		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-GetOutputFormatListL_command10
   1.752 +		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetOutputFormatL_command11
   1.753 +		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-GetHeaderInformationL_command12
   1.754 +		COMMAND		mmfdvplay		ReturnHeader
   1.755 +		COMMAND		mmfdvplay		SetVideoDestScreenL
   1.756 +		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetPostProcessTypesL_command15
   1.757 +		COMMAND		mmfdvplay		GetBufferOptions
   1.758 +		COMMAND		mmfdvplay		SetBufferOptionsL
   1.759 +		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetClockSource_command18
   1.760 +		COMMAND		mmfdvplay		Initialize
   1.761 +		OUTSTANDING
   1.762 +		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-StartDirectScreenAccess_command20
   1.763 +		COMMAND		mmfdvplay		Start
   1.764 +		ASYNC_DELAY  1000000 
   1.765 +		COMMAND		mmfdvplay		Pause
   1.766 +		COMMAND		mmfdvplay		SetPosition			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Backward-0007-0001-SetPosition_command23
   1.767 +		COMMAND		mmfdvplay		Resume
   1.768 +		COMMAND		mmfdvplay		Stop
   1.769 +		COMMAND		mmfdvplay		AbortDirectScreenAccess
   1.770 +		COMMAND		mmfdvplay		~
   1.771 +	END_TEST_BLOCK
   1.772 +END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-BACKWARD-AUTOMATED-0007