os/mm/mmapitest/devvideohaitest/scripts/mm-mmf-devvideo-playback-mpeg4-rotation-automated.script
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
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-rotation-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
sl@0
    35
DELAY 2000
sl@0
    36
sl@0
    37
START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0001
sl@0
    38
sl@0
    39
//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-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
//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
sl@0
    66
//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
sl@0
    67
//!@SYMAuthor			alavariega
sl@0
    68
//!@SYMCreationDate		16/6/2008
sl@0
    69
//!@SYMTestCaseDesc		 NCP MPEG4 NTSC Video Rotation at 30 fps 4Mbps
sl@0
    70
//!@SYMTestActions
sl@0
    71
//!                1. NewL (inputfile = akiyo_ntsc_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
sl@0
    72
//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
sl@0
    73
//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
sl@0
    74
//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
sl@0
    75
//!                5. GetOutputFormatListL (useDecoder = TRUE) 
sl@0
    76
//!                6. PostProcessorInfoLC
sl@0
    77
//!                7. FindCommonFormat
sl@0
    78
//!                8. SetOutputFormatL  (useDecoder = TRUE)
sl@0
    79
//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
sl@0
    80
//!                10. GetOutputFormatListL (useDecoder = FALSE)
sl@0
    81
//!                11. SetOutputFormatL(useDecoder = TRUE) 
sl@0
    82
//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
sl@0
    83
//!                13. ReturnHeader
sl@0
    84
//!                14. SetVideoDestScreenL
sl@0
    85
//!                15. SetPostProcessTypesL (combination = 4C)
sl@0
    86
//!                16. GetBufferOptions
sl@0
    87
//!                17. SetBufferOptionsL
sl@0
    88
//!                18. SetClockSource  (synch = 1; framerate = 30)
sl@0
    89
//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
sl@0
    90
//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
sl@0
    91
//!                21. Initialize
sl@0
    92
//!                OUTSTANDING
sl@0
    93
//!                22. StartDirectScreenAccess (displayMode = EColor64K)
sl@0
    94
//!                23. Start 
sl@0
    95
//!                OUTSTANDING
sl@0
    96
//!                24. Stop
sl@0
    97
//!                25. AbortDirectScreenAccess
sl@0
    98
//!                26. ~
sl@0
    99
//!@SYMTestStatus		Verified
sl@0
   100
//!@SYMTestPriority		Normal
sl@0
   101
//!@SYMTestExpectedResults
sl@0
   102
//!                Video must be played with rotation of 90 degrees and without any blurrness
sl@0
   103
//!@SYMTestType			CIT
sl@0
   104
sl@0
   105
	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
sl@0
   106
		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
sl@0
   107
		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-NewL_command01
sl@0
   108
		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SelectDecoderL_command02
sl@0
   109
		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SelectPostProcessorL_command03
sl@0
   110
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetInputFormat_command04
sl@0
   111
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetOutputFormatListL_command05
sl@0
   112
		COMMAND		mmfdvplay		PostProcessorInfoLC
sl@0
   113
		COMMAND		mmfdvplay		FindCommonFormat
sl@0
   114
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetOutputFormatL_command08
sl@0
   115
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetInputFormat_command09
sl@0
   116
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetOutputFormatListL_command10
sl@0
   117
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetOutputFormatL_command11
sl@0
   118
		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-GetHeaderInformationL_command12
sl@0
   119
		COMMAND		mmfdvplay		ReturnHeader
sl@0
   120
		COMMAND		mmfdvplay		SetVideoDestScreenL
sl@0
   121
		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetPostProcessTypesL_command15
sl@0
   122
		COMMAND		mmfdvplay		GetBufferOptions
sl@0
   123
		COMMAND		mmfdvplay		SetBufferOptionsL
sl@0
   124
		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetClockSource_command18
sl@0
   125
		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetScaleOptionsL_command19
sl@0
   126
		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-SetRotateOptionsL_command20
sl@0
   127
		COMMAND		mmfdvplay		Initialize
sl@0
   128
		OUTSTANDING
sl@0
   129
		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0001-0001-StartDirectScreenAccess_command22
sl@0
   130
		COMMAND		mmfdvplay		Start
sl@0
   131
		OUTSTANDING
sl@0
   132
		COMMAND		mmfdvplay		Stop
sl@0
   133
		COMMAND		mmfdvplay		AbortDirectScreenAccess
sl@0
   134
		COMMAND		mmfdvplay		~
sl@0
   135
	END_TEST_BLOCK
sl@0
   136
END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0001
sl@0
   137
sl@0
   138
sl@0
   139
sl@0
   140
sl@0
   141
START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
sl@0
   142
sl@0
   143
//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
sl@0
   144
//!@SYMAPI
sl@0
   145
//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
sl@0
   146
//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
sl@0
   147
//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
sl@0
   148
//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
sl@0
   149
//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
sl@0
   150
//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
sl@0
   151
//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
sl@0
   152
//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
sl@0
   153
//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
sl@0
   154
//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
sl@0
   155
//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
sl@0
   156
//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
sl@0
   157
//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
sl@0
   158
//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
sl@0
   159
//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
sl@0
   160
//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
sl@0
   161
//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
sl@0
   162
//!                CMMFDevVideoPlay:: Initialize();
sl@0
   163
//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
sl@0
   164
//!                CMMFDevVideoPlay:: Start();
sl@0
   165
//!                CMMFDevVideoPlay:: Stop();
sl@0
   166
//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
sl@0
   167
//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
sl@0
   168
//!                CMMFDevVideoPlay:: Resume();
sl@0
   169
//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
sl@0
   170
//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
sl@0
   171
//!@SYMAuthor			alavariega
sl@0
   172
//!@SYMCreationDate		16/6/2008
sl@0
   173
//!@SYMTestCaseDesc		 NCP MPEG4 PAL Video Rotation at 25 fps 4Mbps
sl@0
   174
//!@SYMTestActions
sl@0
   175
//!                1. NewL (inputfile = akiyo_pal_25fps_4M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
sl@0
   176
//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
sl@0
   177
//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
sl@0
   178
//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
sl@0
   179
//!                5. GetOutputFormatListL (useDecoder = TRUE) 
sl@0
   180
//!                6. PostProcessorInfoLC
sl@0
   181
//!                7. FindCommonFormat
sl@0
   182
//!                8. SetOutputFormatL  (useDecoder = TRUE)
sl@0
   183
//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
sl@0
   184
//!                10. GetOutputFormatListL (useDecoder = FALSE)
sl@0
   185
//!                11. SetOutputFormatL(useDecoder = TRUE) 
sl@0
   186
//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
sl@0
   187
//!                13. ReturnHeader
sl@0
   188
//!                14. SetVideoDestScreenL
sl@0
   189
//!                15. SetPostProcessTypesL (combination = 4C)
sl@0
   190
//!                16. GetBufferOptions
sl@0
   191
//!                17. SetBufferOptionsL
sl@0
   192
//!                18. SetClockSource  (synch = 1; framerate = 25)
sl@0
   193
//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
sl@0
   194
//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
sl@0
   195
//!                21. Initialize
sl@0
   196
//!                OUTSTANDING
sl@0
   197
//!                22. StartDirectScreenAccess (displayMode = EColor64K)
sl@0
   198
//!                23. Start 
sl@0
   199
//!                OUTSTANDING
sl@0
   200
//!                24. Stop
sl@0
   201
//!                25. AbortDirectScreenAccess
sl@0
   202
//!                26. ~
sl@0
   203
//!@SYMTestStatus		Verified
sl@0
   204
//!@SYMTestPriority		Normal
sl@0
   205
//!@SYMTestExpectedResults
sl@0
   206
//!                Video must be played with rotation of 90 degrees and without any blurrness
sl@0
   207
//!@SYMTestType			CIT
sl@0
   208
sl@0
   209
	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
sl@0
   210
		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
sl@0
   211
		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-NewL_command01
sl@0
   212
		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SelectDecoderL_command02
sl@0
   213
		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SelectPostProcessorL_command03
sl@0
   214
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetInputFormat_command04
sl@0
   215
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetOutputFormatListL_command05
sl@0
   216
		COMMAND		mmfdvplay		PostProcessorInfoLC
sl@0
   217
		COMMAND		mmfdvplay		FindCommonFormat
sl@0
   218
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetOutputFormatL_command08
sl@0
   219
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetInputFormat_command09
sl@0
   220
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetOutputFormatListL_command10
sl@0
   221
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetOutputFormatL_command11
sl@0
   222
		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-GetHeaderInformationL_command12
sl@0
   223
		COMMAND		mmfdvplay		ReturnHeader
sl@0
   224
		COMMAND		mmfdvplay		SetVideoDestScreenL
sl@0
   225
		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetPostProcessTypesL_command15
sl@0
   226
		COMMAND		mmfdvplay		GetBufferOptions
sl@0
   227
		COMMAND		mmfdvplay		SetBufferOptionsL
sl@0
   228
		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetClockSource_command18
sl@0
   229
		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetScaleOptionsL_command19
sl@0
   230
		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-SetRotateOptionsL_command20
sl@0
   231
		COMMAND		mmfdvplay		Initialize
sl@0
   232
		OUTSTANDING
sl@0
   233
		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0002-0001-StartDirectScreenAccess_command22
sl@0
   234
		COMMAND		mmfdvplay		Start
sl@0
   235
		OUTSTANDING
sl@0
   236
		COMMAND		mmfdvplay		Stop
sl@0
   237
		COMMAND		mmfdvplay		AbortDirectScreenAccess
sl@0
   238
		COMMAND		mmfdvplay		~
sl@0
   239
	END_TEST_BLOCK
sl@0
   240
END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0002
sl@0
   241
sl@0
   242
sl@0
   243
sl@0
   244
sl@0
   245
START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
sl@0
   246
sl@0
   247
//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
sl@0
   248
//!@SYMAPI
sl@0
   249
//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
sl@0
   250
//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
sl@0
   251
//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
sl@0
   252
//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
sl@0
   253
//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
sl@0
   254
//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
sl@0
   255
//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
sl@0
   256
//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
sl@0
   257
//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
sl@0
   258
//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
sl@0
   259
//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
sl@0
   260
//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
sl@0
   261
//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
sl@0
   262
//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
sl@0
   263
//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
sl@0
   264
//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
sl@0
   265
//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
sl@0
   266
//!                CMMFDevVideoPlay:: Initialize();
sl@0
   267
//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
sl@0
   268
//!                CMMFDevVideoPlay:: Start();
sl@0
   269
//!                CMMFDevVideoPlay:: Stop();
sl@0
   270
//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
sl@0
   271
//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
sl@0
   272
//!                CMMFDevVideoPlay:: Resume();
sl@0
   273
//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
sl@0
   274
//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
sl@0
   275
//!@SYMAuthor			alavariega
sl@0
   276
//!@SYMCreationDate		16/6/2008
sl@0
   277
//!@SYMTestCaseDesc		 NCP MPEG -4  CIF Video Rotation at 30 fps 3Mbps
sl@0
   278
//!@SYMTestActions
sl@0
   279
//!                1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
sl@0
   280
//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
sl@0
   281
//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
sl@0
   282
//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
sl@0
   283
//!                5. GetOutputFormatListL (useDecoder = TRUE) 
sl@0
   284
//!                6. PostProcessorInfoLC
sl@0
   285
//!                7. FindCommonFormat
sl@0
   286
//!                8. SetOutputFormatL  (useDecoder = TRUE)
sl@0
   287
//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
sl@0
   288
//!                10. GetOutputFormatListL (useDecoder = FALSE)
sl@0
   289
//!                11. SetOutputFormatL(useDecoder = TRUE) 
sl@0
   290
//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
sl@0
   291
//!                13. ReturnHeader
sl@0
   292
//!                14. SetVideoDestScreenL
sl@0
   293
//!                15. SetPostProcessTypesL (combination = 4C)
sl@0
   294
//!                16. GetBufferOptions
sl@0
   295
//!                17. SetBufferOptionsL
sl@0
   296
//!                18. SetClockSource  (synch = 1; framerate = 30)
sl@0
   297
//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
sl@0
   298
//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
sl@0
   299
//!                21. Initialize
sl@0
   300
//!                OUTSTANDING
sl@0
   301
//!                22. StartDirectScreenAccess (displayMode = EColor64K)
sl@0
   302
//!                23. Start 
sl@0
   303
//!                OUTSTANDING
sl@0
   304
//!                24. Stop
sl@0
   305
//!                25. AbortDirectScreenAccess
sl@0
   306
//!                26. ~
sl@0
   307
//!@SYMTestStatus		Verified
sl@0
   308
//!@SYMTestPriority		Normal
sl@0
   309
//!@SYMTestExpectedResults
sl@0
   310
//!                Video must be played with rotation of 90 degrees and without any blurrness
sl@0
   311
//!@SYMTestType			CIT
sl@0
   312
sl@0
   313
	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
sl@0
   314
		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
sl@0
   315
		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-NewL_command01
sl@0
   316
		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SelectDecoderL_command02
sl@0
   317
		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SelectPostProcessorL_command03
sl@0
   318
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetInputFormat_command04
sl@0
   319
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetOutputFormatListL_command05
sl@0
   320
		COMMAND		mmfdvplay		PostProcessorInfoLC
sl@0
   321
		COMMAND		mmfdvplay		FindCommonFormat
sl@0
   322
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetOutputFormatL_command08
sl@0
   323
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetInputFormat_command09
sl@0
   324
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetOutputFormatListL_command10
sl@0
   325
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetOutputFormatL_command11
sl@0
   326
		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-GetHeaderInformationL_command12
sl@0
   327
		COMMAND		mmfdvplay		ReturnHeader
sl@0
   328
		COMMAND		mmfdvplay		SetVideoDestScreenL
sl@0
   329
		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetPostProcessTypesL_command15
sl@0
   330
		COMMAND		mmfdvplay		GetBufferOptions
sl@0
   331
		COMMAND		mmfdvplay		SetBufferOptionsL
sl@0
   332
		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetClockSource_command18
sl@0
   333
		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetScaleOptionsL_command19
sl@0
   334
		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-SetRotateOptionsL_command20
sl@0
   335
		COMMAND		mmfdvplay		Initialize
sl@0
   336
		OUTSTANDING
sl@0
   337
		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0003-0001-StartDirectScreenAccess_command22
sl@0
   338
		COMMAND		mmfdvplay		Start
sl@0
   339
		OUTSTANDING
sl@0
   340
		COMMAND		mmfdvplay		Stop
sl@0
   341
		COMMAND		mmfdvplay		AbortDirectScreenAccess
sl@0
   342
		COMMAND		mmfdvplay		~
sl@0
   343
	END_TEST_BLOCK
sl@0
   344
END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0003
sl@0
   345
sl@0
   346
sl@0
   347
sl@0
   348
sl@0
   349
START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
sl@0
   350
sl@0
   351
//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
sl@0
   352
//!@SYMAPI
sl@0
   353
//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
sl@0
   354
//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
sl@0
   355
//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
sl@0
   356
//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
sl@0
   357
//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
sl@0
   358
//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
sl@0
   359
//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
sl@0
   360
//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
sl@0
   361
//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
sl@0
   362
//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
sl@0
   363
//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
sl@0
   364
//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
sl@0
   365
//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
sl@0
   366
//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
sl@0
   367
//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
sl@0
   368
//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
sl@0
   369
//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
sl@0
   370
//!                CMMFDevVideoPlay:: Initialize();
sl@0
   371
//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
sl@0
   372
//!                CMMFDevVideoPlay:: Start();
sl@0
   373
//!                CMMFDevVideoPlay:: Stop();
sl@0
   374
//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
sl@0
   375
//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
sl@0
   376
//!                CMMFDevVideoPlay:: Resume();
sl@0
   377
//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
sl@0
   378
//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
sl@0
   379
//!@SYMAuthor			alavariega
sl@0
   380
//!@SYMCreationDate		16/6/2008
sl@0
   381
//!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_CIF_30_3M
sl@0
   382
//!@SYMTestActions
sl@0
   383
//!                1. NewL (inputfile = paris_cif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
sl@0
   384
//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
sl@0
   385
//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
sl@0
   386
//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
sl@0
   387
//!                5. GetOutputFormatListL (useDecoder = TRUE) 
sl@0
   388
//!                6. PostProcessorInfoLC
sl@0
   389
//!                7. FindCommonFormat
sl@0
   390
//!                8. SetOutputFormatL  (useDecoder = TRUE)
sl@0
   391
//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
sl@0
   392
//!                10. GetOutputFormatListL (useDecoder = FALSE)
sl@0
   393
//!                11. SetOutputFormatL(useDecoder = TRUE) 
sl@0
   394
//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
sl@0
   395
//!                13. ReturnHeader
sl@0
   396
//!                14. SetVideoDestScreenL
sl@0
   397
//!                15. SetPostProcessTypesL (combination = 4C)
sl@0
   398
//!                16. GetBufferOptions
sl@0
   399
//!                17. SetBufferOptionsL
sl@0
   400
//!                18. SetClockSource  (synch = 1; framerate = 30)
sl@0
   401
//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
sl@0
   402
//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
sl@0
   403
//!                21. Initialize
sl@0
   404
//!                OUTSTANDING
sl@0
   405
//!                22. StartDirectScreenAccess (displayMode = EColor64K)
sl@0
   406
//!                23. Start 
sl@0
   407
//!                OUTSTANDING
sl@0
   408
//!                24. Stop
sl@0
   409
//!                25. AbortDirectScreenAccess
sl@0
   410
//!                26. ~
sl@0
   411
//!@SYMTestStatus		Verified
sl@0
   412
//!@SYMTestPriority		Normal
sl@0
   413
//!@SYMTestExpectedResults
sl@0
   414
//!                Video must be played with rotation of 90 degrees and without any blurrness
sl@0
   415
//!@SYMTestType			CIT
sl@0
   416
sl@0
   417
	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
sl@0
   418
		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
sl@0
   419
		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-NewL_command01
sl@0
   420
		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SelectDecoderL_command02
sl@0
   421
		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SelectPostProcessorL_command03
sl@0
   422
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetInputFormat_command04
sl@0
   423
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetOutputFormatListL_command05
sl@0
   424
		COMMAND		mmfdvplay		PostProcessorInfoLC
sl@0
   425
		COMMAND		mmfdvplay		FindCommonFormat
sl@0
   426
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetOutputFormatL_command08
sl@0
   427
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetInputFormat_command09
sl@0
   428
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetOutputFormatListL_command10
sl@0
   429
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetOutputFormatL_command11
sl@0
   430
		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-GetHeaderInformationL_command12
sl@0
   431
		COMMAND		mmfdvplay		ReturnHeader
sl@0
   432
		COMMAND		mmfdvplay		SetVideoDestScreenL
sl@0
   433
		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetPostProcessTypesL_command15
sl@0
   434
		COMMAND		mmfdvplay		GetBufferOptions
sl@0
   435
		COMMAND		mmfdvplay		SetBufferOptionsL
sl@0
   436
		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetClockSource_command18
sl@0
   437
		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetScaleOptionsL_command19
sl@0
   438
		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-SetRotateOptionsL_command20
sl@0
   439
		COMMAND		mmfdvplay		Initialize
sl@0
   440
		OUTSTANDING
sl@0
   441
		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0004-0001-StartDirectScreenAccess_command22
sl@0
   442
		COMMAND		mmfdvplay		Start
sl@0
   443
		OUTSTANDING
sl@0
   444
		COMMAND		mmfdvplay		Stop
sl@0
   445
		COMMAND		mmfdvplay		AbortDirectScreenAccess
sl@0
   446
		COMMAND		mmfdvplay		~
sl@0
   447
	END_TEST_BLOCK
sl@0
   448
END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0004
sl@0
   449
sl@0
   450
sl@0
   451
sl@0
   452
sl@0
   453
START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
sl@0
   454
sl@0
   455
//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
sl@0
   456
//!@SYMAPI
sl@0
   457
//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
sl@0
   458
//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
sl@0
   459
//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
sl@0
   460
//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
sl@0
   461
//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
sl@0
   462
//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
sl@0
   463
//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
sl@0
   464
//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
sl@0
   465
//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
sl@0
   466
//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
sl@0
   467
//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
sl@0
   468
//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
sl@0
   469
//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
sl@0
   470
//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
sl@0
   471
//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
sl@0
   472
//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
sl@0
   473
//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
sl@0
   474
//!                CMMFDevVideoPlay:: Initialize();
sl@0
   475
//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
sl@0
   476
//!                CMMFDevVideoPlay:: Start();
sl@0
   477
//!                CMMFDevVideoPlay:: Stop();
sl@0
   478
//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
sl@0
   479
//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
sl@0
   480
//!                CMMFDevVideoPlay:: Resume();
sl@0
   481
//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
sl@0
   482
//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
sl@0
   483
//!@SYMAuthor			alavariega
sl@0
   484
//!@SYMCreationDate		16/6/2008
sl@0
   485
//!@SYMTestCaseDesc		 NCP MPEG -4  QVGA Video Rotation at 30 fps 3Mbps
sl@0
   486
//!@SYMTestActions
sl@0
   487
//!                1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
sl@0
   488
//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
sl@0
   489
//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
sl@0
   490
//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
sl@0
   491
//!                5. GetOutputFormatListL (useDecoder = TRUE) 
sl@0
   492
//!                6. PostProcessorInfoLC
sl@0
   493
//!                7. FindCommonFormat
sl@0
   494
//!                8. SetOutputFormatL  (useDecoder = TRUE)
sl@0
   495
//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
sl@0
   496
//!                10. GetOutputFormatListL (useDecoder = FALSE)
sl@0
   497
//!                11. SetOutputFormatL(useDecoder = TRUE) 
sl@0
   498
//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
sl@0
   499
//!                13. ReturnHeader
sl@0
   500
//!                14. SetVideoDestScreenL
sl@0
   501
//!                15. SetPostProcessTypesL (combination = 4C)
sl@0
   502
//!                16. GetBufferOptions
sl@0
   503
//!                17. SetBufferOptionsL
sl@0
   504
//!                18. SetClockSource  (synch = 1; framerate = 30)
sl@0
   505
//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
sl@0
   506
//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
sl@0
   507
//!                21. Initialize
sl@0
   508
//!                OUTSTANDING
sl@0
   509
//!                22. StartDirectScreenAccess (displayMode = EColor64K)
sl@0
   510
//!                23. Start 
sl@0
   511
//!                OUTSTANDING
sl@0
   512
//!                24. Stop
sl@0
   513
//!                25. AbortDirectScreenAccess
sl@0
   514
//!                26. ~
sl@0
   515
//!@SYMTestStatus		Verified
sl@0
   516
//!@SYMTestPriority		Normal
sl@0
   517
//!@SYMTestExpectedResults
sl@0
   518
//!                Video must be played with rotation of 90 degrees and without any blurrness
sl@0
   519
//!@SYMTestType			CIT
sl@0
   520
sl@0
   521
	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
sl@0
   522
		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
sl@0
   523
		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-NewL_command01
sl@0
   524
		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SelectDecoderL_command02
sl@0
   525
		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SelectPostProcessorL_command03
sl@0
   526
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetInputFormat_command04
sl@0
   527
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetOutputFormatListL_command05
sl@0
   528
		COMMAND		mmfdvplay		PostProcessorInfoLC
sl@0
   529
		COMMAND		mmfdvplay		FindCommonFormat
sl@0
   530
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetOutputFormatL_command08
sl@0
   531
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetInputFormat_command09
sl@0
   532
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetOutputFormatListL_command10
sl@0
   533
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetOutputFormatL_command11
sl@0
   534
		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-GetHeaderInformationL_command12
sl@0
   535
		COMMAND		mmfdvplay		ReturnHeader
sl@0
   536
		COMMAND		mmfdvplay		SetVideoDestScreenL
sl@0
   537
		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetPostProcessTypesL_command15
sl@0
   538
		COMMAND		mmfdvplay		GetBufferOptions
sl@0
   539
		COMMAND		mmfdvplay		SetBufferOptionsL
sl@0
   540
		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetClockSource_command18
sl@0
   541
		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetScaleOptionsL_command19
sl@0
   542
		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-SetRotateOptionsL_command20
sl@0
   543
		COMMAND		mmfdvplay		Initialize
sl@0
   544
		OUTSTANDING
sl@0
   545
		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0005-0001-StartDirectScreenAccess_command22
sl@0
   546
		COMMAND		mmfdvplay		Start
sl@0
   547
		OUTSTANDING
sl@0
   548
		COMMAND		mmfdvplay		Stop
sl@0
   549
		COMMAND		mmfdvplay		AbortDirectScreenAccess
sl@0
   550
		COMMAND		mmfdvplay		~
sl@0
   551
	END_TEST_BLOCK
sl@0
   552
END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0005
sl@0
   553
sl@0
   554
sl@0
   555
sl@0
   556
sl@0
   557
START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
sl@0
   558
sl@0
   559
//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
sl@0
   560
//!@SYMAPI
sl@0
   561
//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
sl@0
   562
//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
sl@0
   563
//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
sl@0
   564
//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
sl@0
   565
//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
sl@0
   566
//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
sl@0
   567
//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
sl@0
   568
//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
sl@0
   569
//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
sl@0
   570
//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
sl@0
   571
//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
sl@0
   572
//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
sl@0
   573
//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
sl@0
   574
//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
sl@0
   575
//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
sl@0
   576
//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
sl@0
   577
//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
sl@0
   578
//!                CMMFDevVideoPlay:: Initialize();
sl@0
   579
//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
sl@0
   580
//!                CMMFDevVideoPlay:: Start();
sl@0
   581
//!                CMMFDevVideoPlay:: Stop();
sl@0
   582
//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
sl@0
   583
//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
sl@0
   584
//!                CMMFDevVideoPlay:: Resume();
sl@0
   585
//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
sl@0
   586
//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
sl@0
   587
//!@SYMAuthor			alavariega
sl@0
   588
//!@SYMCreationDate		16/6/2008
sl@0
   589
//!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_QVGA_30_3M - (180)
sl@0
   590
//!@SYMTestActions
sl@0
   591
//!                1. NewL (inputfile = MPEG4_QVGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
sl@0
   592
//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
sl@0
   593
//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
sl@0
   594
//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
sl@0
   595
//!                5. GetOutputFormatListL (useDecoder = TRUE) 
sl@0
   596
//!                6. PostProcessorInfoLC
sl@0
   597
//!                7. FindCommonFormat
sl@0
   598
//!                8. SetOutputFormatL  (useDecoder = TRUE)
sl@0
   599
//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
sl@0
   600
//!                10. GetOutputFormatListL (useDecoder = FALSE)
sl@0
   601
//!                11. SetOutputFormatL(useDecoder = TRUE) 
sl@0
   602
//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
sl@0
   603
//!                13. ReturnHeader
sl@0
   604
//!                14. SetVideoDestScreenL
sl@0
   605
//!                15. SetPostProcessTypesL (combination = 4C)
sl@0
   606
//!                16. GetBufferOptions
sl@0
   607
//!                17. SetBufferOptionsL
sl@0
   608
//!                18. SetClockSource  (synch = 1; framerate = 30)
sl@0
   609
//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
sl@0
   610
//!                20. SetRotateOptionsL (rotation = ERotate180)
sl@0
   611
//!                21. Initialize
sl@0
   612
//!                OUTSTANDING
sl@0
   613
//!                22. StartDirectScreenAccess (displayMode = EColor64K)
sl@0
   614
//!                23. Start 
sl@0
   615
//!                OUTSTANDING
sl@0
   616
//!                24. Stop
sl@0
   617
//!                25. AbortDirectScreenAccess
sl@0
   618
//!                26. ~
sl@0
   619
//!@SYMTestStatus		Verified
sl@0
   620
//!@SYMTestPriority		Normal
sl@0
   621
//!@SYMTestExpectedResults
sl@0
   622
//!                Video must be played with rotation of 180 degrees and without any blurrness
sl@0
   623
//!@SYMTestType			CIT
sl@0
   624
sl@0
   625
	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
sl@0
   626
		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
sl@0
   627
		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-NewL_command01
sl@0
   628
		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SelectDecoderL_command02
sl@0
   629
		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SelectPostProcessorL_command03
sl@0
   630
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetInputFormat_command04
sl@0
   631
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetOutputFormatListL_command05
sl@0
   632
		COMMAND		mmfdvplay		PostProcessorInfoLC
sl@0
   633
		COMMAND		mmfdvplay		FindCommonFormat
sl@0
   634
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetOutputFormatL_command08
sl@0
   635
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetInputFormat_command09
sl@0
   636
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetOutputFormatListL_command10
sl@0
   637
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetOutputFormatL_command11
sl@0
   638
		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-GetHeaderInformationL_command12
sl@0
   639
		COMMAND		mmfdvplay		ReturnHeader
sl@0
   640
		COMMAND		mmfdvplay		SetVideoDestScreenL
sl@0
   641
		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetPostProcessTypesL_command15
sl@0
   642
		COMMAND		mmfdvplay		GetBufferOptions
sl@0
   643
		COMMAND		mmfdvplay		SetBufferOptionsL
sl@0
   644
		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetClockSource_command18
sl@0
   645
		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetScaleOptionsL_command19
sl@0
   646
		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-SetRotateOptionsL_command20
sl@0
   647
		COMMAND		mmfdvplay		Initialize
sl@0
   648
		OUTSTANDING
sl@0
   649
		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0006-0001-StartDirectScreenAccess_command22
sl@0
   650
		COMMAND		mmfdvplay		Start
sl@0
   651
		OUTSTANDING
sl@0
   652
		COMMAND		mmfdvplay		Stop
sl@0
   653
		COMMAND		mmfdvplay		AbortDirectScreenAccess
sl@0
   654
		COMMAND		mmfdvplay		~
sl@0
   655
	END_TEST_BLOCK
sl@0
   656
END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0006
sl@0
   657
sl@0
   658
sl@0
   659
sl@0
   660
sl@0
   661
START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
sl@0
   662
sl@0
   663
//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
sl@0
   664
//!@SYMAPI
sl@0
   665
//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
sl@0
   666
//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
sl@0
   667
//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
sl@0
   668
//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
sl@0
   669
//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
sl@0
   670
//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
sl@0
   671
//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
sl@0
   672
//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
sl@0
   673
//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
sl@0
   674
//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
sl@0
   675
//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
sl@0
   676
//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
sl@0
   677
//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
sl@0
   678
//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
sl@0
   679
//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
sl@0
   680
//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
sl@0
   681
//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
sl@0
   682
//!                CMMFDevVideoPlay:: Initialize();
sl@0
   683
//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
sl@0
   684
//!                CMMFDevVideoPlay:: Start();
sl@0
   685
//!                CMMFDevVideoPlay:: Stop();
sl@0
   686
//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
sl@0
   687
//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
sl@0
   688
//!                CMMFDevVideoPlay:: Resume();
sl@0
   689
//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
sl@0
   690
//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
sl@0
   691
//!@SYMAuthor			alavariega
sl@0
   692
//!@SYMCreationDate		16/6/2008
sl@0
   693
//!@SYMTestCaseDesc		 NCP MPEG -4  SQCIF Video Rotation at 30 fps 3Mbps
sl@0
   694
//!@SYMTestActions
sl@0
   695
//!                1. NewL (inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
sl@0
   696
//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
sl@0
   697
//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
sl@0
   698
//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
sl@0
   699
//!                5. GetOutputFormatListL (useDecoder = TRUE) 
sl@0
   700
//!                6. PostProcessorInfoLC
sl@0
   701
//!                7. FindCommonFormat
sl@0
   702
//!                8. SetOutputFormatL  (useDecoder = TRUE)
sl@0
   703
//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
sl@0
   704
//!                10. GetOutputFormatListL (useDecoder = FALSE)
sl@0
   705
//!                11. SetOutputFormatL(useDecoder = TRUE) 
sl@0
   706
//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
sl@0
   707
//!                13. ReturnHeader
sl@0
   708
//!                14. SetVideoDestScreenL
sl@0
   709
//!                15. SetPostProcessTypesL (combination = 4C)
sl@0
   710
//!                16. GetBufferOptions
sl@0
   711
//!                17. SetBufferOptionsL
sl@0
   712
//!                18. SetClockSource  (synch = 1; framerate = 30)
sl@0
   713
//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
sl@0
   714
//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
sl@0
   715
//!                21. Initialize
sl@0
   716
//!                OUTSTANDING
sl@0
   717
//!                22. StartDirectScreenAccess (displayMode = EColor64K)
sl@0
   718
//!                23. Start 
sl@0
   719
//!                OUTSTANDING
sl@0
   720
//!                24. Stop
sl@0
   721
//!                25. AbortDirectScreenAccess
sl@0
   722
//!                26. ~
sl@0
   723
//!@SYMTestStatus		Verified
sl@0
   724
//!@SYMTestPriority		Normal
sl@0
   725
//!@SYMTestExpectedResults
sl@0
   726
//!                Video must be played with rotation of 90 degrees and without any blurrness
sl@0
   727
//!@SYMTestType			CIT
sl@0
   728
sl@0
   729
	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
sl@0
   730
		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
sl@0
   731
		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-NewL_command01
sl@0
   732
		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SelectDecoderL_command02
sl@0
   733
		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SelectPostProcessorL_command03
sl@0
   734
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetInputFormat_command04
sl@0
   735
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetOutputFormatListL_command05
sl@0
   736
		COMMAND		mmfdvplay		PostProcessorInfoLC
sl@0
   737
		COMMAND		mmfdvplay		FindCommonFormat
sl@0
   738
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetOutputFormatL_command08
sl@0
   739
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetInputFormat_command09
sl@0
   740
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetOutputFormatListL_command10
sl@0
   741
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetOutputFormatL_command11
sl@0
   742
		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-GetHeaderInformationL_command12
sl@0
   743
		COMMAND		mmfdvplay		ReturnHeader
sl@0
   744
		COMMAND		mmfdvplay		SetVideoDestScreenL
sl@0
   745
		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetPostProcessTypesL_command15
sl@0
   746
		COMMAND		mmfdvplay		GetBufferOptions
sl@0
   747
		COMMAND		mmfdvplay		SetBufferOptionsL
sl@0
   748
		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetClockSource_command18
sl@0
   749
		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetScaleOptionsL_command19
sl@0
   750
		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-SetRotateOptionsL_command20
sl@0
   751
		COMMAND		mmfdvplay		Initialize
sl@0
   752
		OUTSTANDING
sl@0
   753
		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0007-0001-StartDirectScreenAccess_command22
sl@0
   754
		COMMAND		mmfdvplay		Start
sl@0
   755
		OUTSTANDING
sl@0
   756
		COMMAND		mmfdvplay		Stop
sl@0
   757
		COMMAND		mmfdvplay		AbortDirectScreenAccess
sl@0
   758
		COMMAND		mmfdvplay		~
sl@0
   759
	END_TEST_BLOCK
sl@0
   760
END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0007
sl@0
   761
sl@0
   762
sl@0
   763
sl@0
   764
sl@0
   765
START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
sl@0
   766
sl@0
   767
//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
sl@0
   768
//!@SYMAPI
sl@0
   769
//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
sl@0
   770
//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
sl@0
   771
//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
sl@0
   772
//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
sl@0
   773
//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
sl@0
   774
//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
sl@0
   775
//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
sl@0
   776
//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
sl@0
   777
//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
sl@0
   778
//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
sl@0
   779
//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
sl@0
   780
//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
sl@0
   781
//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
sl@0
   782
//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
sl@0
   783
//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
sl@0
   784
//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
sl@0
   785
//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
sl@0
   786
//!                CMMFDevVideoPlay:: Initialize();
sl@0
   787
//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
sl@0
   788
//!                CMMFDevVideoPlay:: Start();
sl@0
   789
//!                CMMFDevVideoPlay:: Stop();
sl@0
   790
//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
sl@0
   791
//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
sl@0
   792
//!                CMMFDevVideoPlay:: Resume();
sl@0
   793
//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
sl@0
   794
//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
sl@0
   795
//!@SYMAuthor			alavariega
sl@0
   796
//!@SYMCreationDate		16/6/2008
sl@0
   797
//!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_SQCIF_30_3M - (180)
sl@0
   798
//!@SYMTestActions
sl@0
   799
//!                1. NewL (inputfile = foreman_sqcif_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
sl@0
   800
//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
sl@0
   801
//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
sl@0
   802
//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
sl@0
   803
//!                5. GetOutputFormatListL (useDecoder = TRUE) 
sl@0
   804
//!                6. PostProcessorInfoLC
sl@0
   805
//!                7. FindCommonFormat
sl@0
   806
//!                8. SetOutputFormatL  (useDecoder = TRUE)
sl@0
   807
//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
sl@0
   808
//!                10. GetOutputFormatListL (useDecoder = FALSE)
sl@0
   809
//!                11. SetOutputFormatL(useDecoder = TRUE) 
sl@0
   810
//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
sl@0
   811
//!                13. ReturnHeader
sl@0
   812
//!                14. SetVideoDestScreenL
sl@0
   813
//!                15. SetPostProcessTypesL (combination = 4C)
sl@0
   814
//!                16. GetBufferOptions
sl@0
   815
//!                17. SetBufferOptionsL
sl@0
   816
//!                18. SetClockSource  (synch = 1; framerate = 30)
sl@0
   817
//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
sl@0
   818
//!                20. SetRotateOptionsL (rotation = ERotate180)
sl@0
   819
//!                21. Initialize
sl@0
   820
//!                OUTSTANDING
sl@0
   821
//!                22. StartDirectScreenAccess (displayMode = EColor64K)
sl@0
   822
//!                23. Start 
sl@0
   823
//!                OUTSTANDING
sl@0
   824
//!                24. Stop
sl@0
   825
//!                25. AbortDirectScreenAccess
sl@0
   826
//!                26. ~
sl@0
   827
//!@SYMTestStatus		Verified
sl@0
   828
//!@SYMTestPriority		Normal
sl@0
   829
//!@SYMTestExpectedResults
sl@0
   830
//!                Video must be played with rotation of 180 degrees and without any blurrness
sl@0
   831
//!@SYMTestType			CIT
sl@0
   832
sl@0
   833
	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
sl@0
   834
		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
sl@0
   835
		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-NewL_command01
sl@0
   836
		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SelectDecoderL_command02
sl@0
   837
		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SelectPostProcessorL_command03
sl@0
   838
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetInputFormat_command04
sl@0
   839
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetOutputFormatListL_command05
sl@0
   840
		COMMAND		mmfdvplay		PostProcessorInfoLC
sl@0
   841
		COMMAND		mmfdvplay		FindCommonFormat
sl@0
   842
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetOutputFormatL_command08
sl@0
   843
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetInputFormat_command09
sl@0
   844
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetOutputFormatListL_command10
sl@0
   845
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetOutputFormatL_command11
sl@0
   846
		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-GetHeaderInformationL_command12
sl@0
   847
		COMMAND		mmfdvplay		ReturnHeader
sl@0
   848
		COMMAND		mmfdvplay		SetVideoDestScreenL
sl@0
   849
		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetPostProcessTypesL_command15
sl@0
   850
		COMMAND		mmfdvplay		GetBufferOptions
sl@0
   851
		COMMAND		mmfdvplay		SetBufferOptionsL
sl@0
   852
		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetClockSource_command18
sl@0
   853
		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetScaleOptionsL_command19
sl@0
   854
		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-SetRotateOptionsL_command20
sl@0
   855
		COMMAND		mmfdvplay		Initialize
sl@0
   856
		OUTSTANDING
sl@0
   857
		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0008-0001-StartDirectScreenAccess_command22
sl@0
   858
		COMMAND		mmfdvplay		Start
sl@0
   859
		OUTSTANDING
sl@0
   860
		COMMAND		mmfdvplay		Stop
sl@0
   861
		COMMAND		mmfdvplay		AbortDirectScreenAccess
sl@0
   862
		COMMAND		mmfdvplay		~
sl@0
   863
	END_TEST_BLOCK
sl@0
   864
END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0008
sl@0
   865
sl@0
   866
sl@0
   867
sl@0
   868
sl@0
   869
START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
sl@0
   870
sl@0
   871
//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
sl@0
   872
//!@SYMAPI
sl@0
   873
//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
sl@0
   874
//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
sl@0
   875
//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
sl@0
   876
//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
sl@0
   877
//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
sl@0
   878
//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
sl@0
   879
//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
sl@0
   880
//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
sl@0
   881
//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
sl@0
   882
//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
sl@0
   883
//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
sl@0
   884
//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
sl@0
   885
//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
sl@0
   886
//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
sl@0
   887
//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
sl@0
   888
//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
sl@0
   889
//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
sl@0
   890
//!                CMMFDevVideoPlay:: Initialize();
sl@0
   891
//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
sl@0
   892
//!                CMMFDevVideoPlay:: Start();
sl@0
   893
//!                CMMFDevVideoPlay:: Stop();
sl@0
   894
//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
sl@0
   895
//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
sl@0
   896
//!                CMMFDevVideoPlay:: Resume();
sl@0
   897
//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
sl@0
   898
//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
sl@0
   899
//!@SYMAuthor			alavariega
sl@0
   900
//!@SYMCreationDate		16/6/2008
sl@0
   901
//!@SYMTestCaseDesc		 NCP MPEG -4  VGA Video Rotation at 30 fps 3Mbps
sl@0
   902
//!@SYMTestActions
sl@0
   903
//!                1. NewL (inputfile = MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
sl@0
   904
//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
sl@0
   905
//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
sl@0
   906
//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
sl@0
   907
//!                5. GetOutputFormatListL (useDecoder = TRUE) 
sl@0
   908
//!                6. PostProcessorInfoLC
sl@0
   909
//!                7. FindCommonFormat
sl@0
   910
//!                8. SetOutputFormatL  (useDecoder = TRUE)
sl@0
   911
//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
sl@0
   912
//!                10. GetOutputFormatListL (useDecoder = FALSE)
sl@0
   913
//!                11. SetOutputFormatL(useDecoder = TRUE) 
sl@0
   914
//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
sl@0
   915
//!                13. ReturnHeader
sl@0
   916
//!                14. SetVideoDestScreenL
sl@0
   917
//!                15. SetPostProcessTypesL (combination = 4C)
sl@0
   918
//!                16. GetBufferOptions
sl@0
   919
//!                17. SetBufferOptionsL
sl@0
   920
//!                18. SetClockSource  (synch = 1; framerate = 30)
sl@0
   921
//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
sl@0
   922
//!                20. SetRotateOptionsL (rotation = ERotate90Clockwise)
sl@0
   923
//!                21. Initialize
sl@0
   924
//!                OUTSTANDING
sl@0
   925
//!                22. StartDirectScreenAccess (displayMode = EColor64K)
sl@0
   926
//!                23. Start 
sl@0
   927
//!                OUTSTANDING
sl@0
   928
//!                24. Stop
sl@0
   929
//!                25. AbortDirectScreenAccess
sl@0
   930
//!                26. ~
sl@0
   931
//!@SYMTestStatus		Verified
sl@0
   932
//!@SYMTestPriority		Normal
sl@0
   933
//!@SYMTestExpectedResults
sl@0
   934
//!                Video must be played with rotation of 90 degrees and without any blurrness
sl@0
   935
//!@SYMTestType			CIT
sl@0
   936
sl@0
   937
	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
sl@0
   938
		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
sl@0
   939
		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-NewL_command01
sl@0
   940
		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SelectDecoderL_command02
sl@0
   941
		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SelectPostProcessorL_command03
sl@0
   942
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetInputFormat_command04
sl@0
   943
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetOutputFormatListL_command05
sl@0
   944
		COMMAND		mmfdvplay		PostProcessorInfoLC
sl@0
   945
		COMMAND		mmfdvplay		FindCommonFormat
sl@0
   946
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetOutputFormatL_command08
sl@0
   947
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetInputFormat_command09
sl@0
   948
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetOutputFormatListL_command10
sl@0
   949
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetOutputFormatL_command11
sl@0
   950
		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-GetHeaderInformationL_command12
sl@0
   951
		COMMAND		mmfdvplay		ReturnHeader
sl@0
   952
		COMMAND		mmfdvplay		SetVideoDestScreenL
sl@0
   953
		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetPostProcessTypesL_command15
sl@0
   954
		COMMAND		mmfdvplay		GetBufferOptions
sl@0
   955
		COMMAND		mmfdvplay		SetBufferOptionsL
sl@0
   956
		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetClockSource_command18
sl@0
   957
		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetScaleOptionsL_command19
sl@0
   958
		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-SetRotateOptionsL_command20
sl@0
   959
		COMMAND		mmfdvplay		Initialize
sl@0
   960
		OUTSTANDING
sl@0
   961
		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0009-0001-StartDirectScreenAccess_command22
sl@0
   962
		COMMAND		mmfdvplay		Start
sl@0
   963
		OUTSTANDING
sl@0
   964
		COMMAND		mmfdvplay		Stop
sl@0
   965
		COMMAND		mmfdvplay		AbortDirectScreenAccess
sl@0
   966
		COMMAND		mmfdvplay		~
sl@0
   967
	END_TEST_BLOCK
sl@0
   968
END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0009
sl@0
   969
sl@0
   970
sl@0
   971
sl@0
   972
sl@0
   973
START_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010
sl@0
   974
sl@0
   975
//!@SYMTestCaseID		MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010
sl@0
   976
//!@SYMAPI
sl@0
   977
//!                CMMFDevVideoPlay::GetDecoderListL(RArray< TUid > {ref});
sl@0
   978
//!                CMMFDevVideoPlay::GetPostProcessorListL(RArray< TUid > {ref});
sl@0
   979
//!                CMMFDevVideoPlay::SelectDecoderL(TUid);
sl@0
   980
//!                CMMFDevVideoPlay::SelectPostProcessorL(TUid);
sl@0
   981
//!                CMMFDevVideoPlay::SetInputFormatL(THwDeviceId,  const TUncompressedVideoFormat {ref});
sl@0
   982
//!                CMMFDevVideoPlay::GetOutputFormatListL(THwDeviceId, RArray< TUncompressedVideoFormat > {ref});
sl@0
   983
//!                CMMFDevVideoPlay::{ptr}PostProcessorInfoLC(TUid);
sl@0
   984
//!                CMMFDevVideoPlay::FindCommonFormat(const TArray< TUncompressedVideoFormat > {ref}, const TArray< TUncompressedVideoFormat > {ref], CMMFDevVideoPlay::TUncompressedVideoFormat {ref]);
sl@0
   985
//!                CMMFDevVideoPlay:: SetOutputFormatL(THwDeviceId, const TUncompressedVideoFormat {ref});
sl@0
   986
//!                CMMFDevVideoPlay:: SetInputFormatL(THwDeviceId , const TUncompressedVideoFormat {ref});
sl@0
   987
//!                CMMFDevVideoPlay::{ptr}GetHeaderInformationL(TVideoDataUnitType, TVideoDataUnitEncapsulation, TVideoInputBuffer {ptr});
sl@0
   988
//!                CMMFDevVideoPlay:: ReturnHeader(TVideoPictureHeader {ptr});
sl@0
   989
//!                CMMFDevVideoPlay:: SetVideoDestScreenL(TBool);
sl@0
   990
//!                CMMFDevVideoPlay:: SetPostProcessTypesL(THwDeviceId , TUint32 );
sl@0
   991
//!                CMMFDevVideoPlay:: GetBufferOptions(TBufferOptions {ref});
sl@0
   992
//!                CMMFDevVideoPlay:: SetBufferOptionsL(const TBufferOptions {ref});
sl@0
   993
//!                CMMFDevVideoPlay:: SetClockSource(MMMFClockSource {ptr]);
sl@0
   994
//!                CMMFDevVideoPlay:: Initialize();
sl@0
   995
//!                CMMFDevVideoPlay:: StartDirectScreenAccessL(const TRect {ref}, CFbsScreenDevice &aScreenDevice, const TRegion {ref});
sl@0
   996
//!                CMMFDevVideoPlay:: Start();
sl@0
   997
//!                CMMFDevVideoPlay:: Stop();
sl@0
   998
//!                CMMFDevVideoPlay:: AbortDirectScreenAccess();
sl@0
   999
//!                CMMFDevVideoPlay:: SetPosition(const TTimeIntervalMicroSeconds {ref})
sl@0
  1000
//!                CMMFDevVideoPlay:: Resume();
sl@0
  1001
//!                CMMFDevVideoPlay:: SetRotateOptionsL(THwDeviceId, TRotationType);
sl@0
  1002
//!                CMMFDevVideoPlay:: SetScaleOptionsL(THwDeviceId , const TSize {ref}, TBool )
sl@0
  1003
//!@SYMAuthor			alavariega
sl@0
  1004
//!@SYMCreationDate		16/6/2008
sl@0
  1005
//!@SYMTestCaseDesc		VideoPlayback_Rotation_MPEG4_VGA_30_3M - (180)
sl@0
  1006
//!@SYMTestActions
sl@0
  1007
//!                1. NewL (inputfile = MPEG4_VGA_30fps_3M_dec.m4v; screen = TRUE; codec = EMPEG4; synch = 1; inputPath = {PATHVIDEOS, inputPath})
sl@0
  1008
//!                2. SelectDecoderL (dec = {DECODERS, MPEG4}) 
sl@0
  1009
//!                3. SelectPostProcessorL  (postprocessor = {POSTPROCESSOR, uid})
sl@0
  1010
//!                4. SetInputFormat (useDecoder = TRUE; mimeType= {MIME,MP4V})
sl@0
  1011
//!                5. GetOutputFormatListL (useDecoder = TRUE) 
sl@0
  1012
//!                6. PostProcessorInfoLC
sl@0
  1013
//!                7. FindCommonFormat
sl@0
  1014
//!                8. SetOutputFormatL  (useDecoder = TRUE)
sl@0
  1015
//!                9. SetInputFormat (useDecoder = FALSE; mimeType= {MIME,MP4V})
sl@0
  1016
//!                10. GetOutputFormatListL (useDecoder = FALSE)
sl@0
  1017
//!                11. SetOutputFormatL(useDecoder = TRUE) 
sl@0
  1018
//!                12. GetHeaderInformationL (buffer = {BUFFER_SIZE, KH263MaxCodedSizeCIF})
sl@0
  1019
//!                13. ReturnHeader
sl@0
  1020
//!                14. SetVideoDestScreenL
sl@0
  1021
//!                15. SetPostProcessTypesL (combination = 4C)
sl@0
  1022
//!                16. GetBufferOptions
sl@0
  1023
//!                17. SetBufferOptionsL
sl@0
  1024
//!                18. SetClockSource  (synch = 1; framerate = 30)
sl@0
  1025
//!                19. SetScaleOptionsL (x = 0;y = 0;width = 240;height = 320)
sl@0
  1026
//!                20. SetRotateOptionsL (rotation = ERotate180)
sl@0
  1027
//!                21. Initialize
sl@0
  1028
//!                OUTSTANDING
sl@0
  1029
//!                22. StartDirectScreenAccess (displayMode = EColor64K)
sl@0
  1030
//!                23. Start 
sl@0
  1031
//!                OUTSTANDING
sl@0
  1032
//!                24. Stop
sl@0
  1033
//!                25. AbortDirectScreenAccess
sl@0
  1034
//!                26. ~
sl@0
  1035
//!@SYMTestStatus		Verified
sl@0
  1036
//!@SYMTestPriority		Normal
sl@0
  1037
//!@SYMTestExpectedResults
sl@0
  1038
//!                Video must be played with rotation of 180 degrees and without any blurrness
sl@0
  1039
//!@SYMTestType			CIT
sl@0
  1040
sl@0
  1041
	START_TEST_BLOCK	900	t_devvideo	\multimedia\mmf\devvideo\mm-mmf-devvideo-playback-mpeg4-rotation-automated.ini
sl@0
  1042
		CREATE_OBJECT	CMMFDevVideoPlay		mmfdvplay
sl@0
  1043
		COMMAND		mmfdvplay		NewL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-NewL_command01
sl@0
  1044
		COMMAND		mmfdvplay		SelectDecoderL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SelectDecoderL_command02
sl@0
  1045
		COMMAND		mmfdvplay		SelectPostProcessorL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SelectPostProcessorL_command03
sl@0
  1046
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetInputFormat_command04
sl@0
  1047
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetOutputFormatListL_command05
sl@0
  1048
		COMMAND		mmfdvplay		PostProcessorInfoLC
sl@0
  1049
		COMMAND		mmfdvplay		FindCommonFormat
sl@0
  1050
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetOutputFormatL_command08
sl@0
  1051
		COMMAND		mmfdvplay		SetInputFormat			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetInputFormat_command09
sl@0
  1052
		COMMAND		mmfdvplay		GetOutputFormatListL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetOutputFormatListL_command10
sl@0
  1053
		COMMAND		mmfdvplay		SetOutputFormatL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetOutputFormatL_command11
sl@0
  1054
		COMMAND		mmfdvplay		GetHeaderInformationL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-GetHeaderInformationL_command12
sl@0
  1055
		COMMAND		mmfdvplay		ReturnHeader
sl@0
  1056
		COMMAND		mmfdvplay		SetVideoDestScreenL
sl@0
  1057
		COMMAND		mmfdvplay		SetPostProcessTypesL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetPostProcessTypesL_command15
sl@0
  1058
		COMMAND		mmfdvplay		GetBufferOptions
sl@0
  1059
		COMMAND		mmfdvplay		SetBufferOptionsL
sl@0
  1060
		COMMAND		mmfdvplay		SetClockSource			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetClockSource_command18
sl@0
  1061
		COMMAND		mmfdvplay		SetScaleOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetScaleOptionsL_command19
sl@0
  1062
		COMMAND		mmfdvplay		SetRotateOptionsL			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-SetRotateOptionsL_command20
sl@0
  1063
		COMMAND		mmfdvplay		Initialize
sl@0
  1064
		OUTSTANDING
sl@0
  1065
		COMMAND		mmfdvplay		StartDirectScreenAccess			MULTIMEDIA-MMF-DevVideo-Playback-Mpeg4-Rotation-0010-0001-StartDirectScreenAccess_command22
sl@0
  1066
		COMMAND		mmfdvplay		Start
sl@0
  1067
		OUTSTANDING
sl@0
  1068
		COMMAND		mmfdvplay		Stop
sl@0
  1069
		COMMAND		mmfdvplay		AbortDirectScreenAccess
sl@0
  1070
		COMMAND		mmfdvplay		~
sl@0
  1071
	END_TEST_BLOCK
sl@0
  1072
END_TESTCASE MM-MMF-DEVVIDEO-PLAYBACK-MPEG4-ROTATION-AUTOMATED-0010