os/mm/mmlibs/mmfw/tsrc/mmfunittest/DevVideo/src/TestDevVideoPlay.h
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
// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
// Header file: DevVideoPlay tests.
sl@0
    15
// 
sl@0
    16
//
sl@0
    17
sl@0
    18
/**
sl@0
    19
 @file TestDevVideoPlay.h
sl@0
    20
*/
sl@0
    21
sl@0
    22
#ifndef __TESTDEVVIDEOPLAY_H__
sl@0
    23
#define __TESTDEVVIDEOPLAY_H__
sl@0
    24
sl@0
    25
#include "TSU_MMF_DevVideo.h"
sl@0
    26
sl@0
    27
/**
sl@0
    28
 * DevVideoPlay test base class
sl@0
    29
 *
sl@0
    30
 * @class CTestDevVideoPlayStep
sl@0
    31
 *
sl@0
    32
 * Req. under test REQ1931.3
sl@0
    33
 */
sl@0
    34
sl@0
    35
class CTestDevVideoPlayStep : public CTestDevVideoStep, public MMMFDevVideoPlayObserver
sl@0
    36
	{
sl@0
    37
public:
sl@0
    38
	CTestDevVideoPlayStep(const TDesC& aTestName, TTestType aTestType);
sl@0
    39
	~CTestDevVideoPlayStep();
sl@0
    40
	virtual TVerdict DoTestStepL();
sl@0
    41
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay) = 0;
sl@0
    42
sl@0
    43
	// MMMFDevVideoPlayObserver
sl@0
    44
    virtual void MdvpoNewBuffers();
sl@0
    45
    virtual void MdvpoReturnPicture(TVideoPicture* aPicture);
sl@0
    46
    virtual void MdvpoSupplementalInformation(const TDesC8& aData, 
sl@0
    47
											  const TTimeIntervalMicroSeconds& aTimestamp, 
sl@0
    48
											  const TPictureId& aPictureId);
sl@0
    49
	virtual void MdvpoPictureLoss();
sl@0
    50
	virtual void MdvpoPictureLoss(const TArray<TPictureId>& aPictures);
sl@0
    51
	virtual void MdvpoSliceLoss(TUint aFirstMacroblock, TUint aNumMacroblocks, const TPictureId& aPicture);
sl@0
    52
	virtual void MdvpoReferencePictureSelection(const TDesC8& aSelectionData);
sl@0
    53
    virtual void MdvpoTimedSnapshotComplete(TInt aError, 
sl@0
    54
											TPictureData* aPictureData, 
sl@0
    55
											const TTimeIntervalMicroSeconds& aPresentationTimestamp, 
sl@0
    56
											const TPictureId& aPictureId);
sl@0
    57
    virtual void MdvpoNewPictures();
sl@0
    58
    virtual void MdvpoFatalError(TInt aError);
sl@0
    59
    virtual void MdvpoInitComplete(TInt aError);
sl@0
    60
    virtual void MdvpoStreamEnd();
sl@0
    61
sl@0
    62
protected:
sl@0
    63
	TInt iError;
sl@0
    64
	TTestType iTestType;					// Type of test
sl@0
    65
	CMMFDevVideoPlay* iDevVideoPlay;
sl@0
    66
	};
sl@0
    67
sl@0
    68
sl@0
    69
//
sl@0
    70
sl@0
    71
class CTestDevVideoPlayCommonFormat : public CTestDevVideoPlayStep
sl@0
    72
	{
sl@0
    73
public:
sl@0
    74
	static CTestDevVideoPlayCommonFormat* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
    75
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
    76
private:
sl@0
    77
	CTestDevVideoPlayCommonFormat(const TDesC& aTestName, TTestType aTestType);
sl@0
    78
	~CTestDevVideoPlayCommonFormat() {};
sl@0
    79
	};
sl@0
    80
sl@0
    81
//
sl@0
    82
sl@0
    83
class CTestDevVideoPlayFindDecoders : public CTestDevVideoPlayStep
sl@0
    84
	{
sl@0
    85
public:
sl@0
    86
	static CTestDevVideoPlayFindDecoders* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
    87
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
    88
private:
sl@0
    89
	CTestDevVideoPlayFindDecoders(const TDesC& aTestName, TTestType aTestType);
sl@0
    90
	~CTestDevVideoPlayFindDecoders() {};
sl@0
    91
	TInt CheckDecoders(const RArray<TUid>& aFoundDecoders, const RArray<TUid>& aExpectedDecoders, const RArray<TUid>& aUnExpectedDecoders);
sl@0
    92
	};
sl@0
    93
sl@0
    94
sl@0
    95
//
sl@0
    96
sl@0
    97
class CTestDevVideoPlayFindPostProc : public CTestDevVideoPlayStep
sl@0
    98
	{
sl@0
    99
public:
sl@0
   100
	static CTestDevVideoPlayFindPostProc* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   101
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   102
private:
sl@0
   103
	CTestDevVideoPlayFindPostProc(const TDesC& aTestName, TTestType aTestType);
sl@0
   104
	~CTestDevVideoPlayFindPostProc() {};
sl@0
   105
	TInt CheckPostProx(const RArray<TUid>& aFoundPostProx, const RArray<TUid>& aExpectedPostProx, const RArray<TUid>& aUnExpectedPostProx);
sl@0
   106
	};
sl@0
   107
sl@0
   108
sl@0
   109
//
sl@0
   110
sl@0
   111
class CTestDevVideoPlayListDecoders : public CTestDevVideoPlayStep
sl@0
   112
	{
sl@0
   113
public:
sl@0
   114
	static CTestDevVideoPlayListDecoders* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   115
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   116
private:
sl@0
   117
	CTestDevVideoPlayListDecoders(const TDesC& aTestName, TTestType aTestType);
sl@0
   118
	~CTestDevVideoPlayListDecoders() {};
sl@0
   119
	};
sl@0
   120
sl@0
   121
sl@0
   122
//
sl@0
   123
sl@0
   124
class CTestDevVideoPlayListPostProc : public CTestDevVideoPlayStep
sl@0
   125
	{
sl@0
   126
public:
sl@0
   127
	static CTestDevVideoPlayListPostProc* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   128
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   129
private:
sl@0
   130
	CTestDevVideoPlayListPostProc(const TDesC& aTestName, TTestType aTestType);
sl@0
   131
	~CTestDevVideoPlayListPostProc() {};
sl@0
   132
	};
sl@0
   133
sl@0
   134
sl@0
   135
//
sl@0
   136
sl@0
   137
class CTestDevVideoPlayGetDecoderInfo : public CTestDevVideoPlayStep
sl@0
   138
	{
sl@0
   139
public:
sl@0
   140
	static CTestDevVideoPlayGetDecoderInfo* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   141
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   142
private:
sl@0
   143
	CTestDevVideoPlayGetDecoderInfo(const TDesC& aTestName, TTestType aTestType);
sl@0
   144
	~CTestDevVideoPlayGetDecoderInfo() {};
sl@0
   145
	TBool ValidDecoderInfo(CVideoDecoderInfo* aInfo);
sl@0
   146
	};
sl@0
   147
sl@0
   148
sl@0
   149
//
sl@0
   150
sl@0
   151
class CTestDevVideoPlayGetPostProcInfo : public CTestDevVideoPlayStep
sl@0
   152
	{
sl@0
   153
public:
sl@0
   154
	static CTestDevVideoPlayGetPostProcInfo* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   155
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   156
private:
sl@0
   157
	CTestDevVideoPlayGetPostProcInfo(const TDesC& aTestName, TTestType aTestType);
sl@0
   158
	~CTestDevVideoPlayGetPostProcInfo() {};
sl@0
   159
	TBool ValidPostProcInfo(CPostProcessorInfo* aInfo);
sl@0
   160
	};
sl@0
   161
sl@0
   162
sl@0
   163
//
sl@0
   164
sl@0
   165
class CTestDevVideoPlaySelectDecoder : public CTestDevVideoPlayStep
sl@0
   166
	{
sl@0
   167
public:
sl@0
   168
	static CTestDevVideoPlaySelectDecoder* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   169
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   170
private:
sl@0
   171
	CTestDevVideoPlaySelectDecoder(const TDesC& aTestName, TTestType aTestType);
sl@0
   172
	~CTestDevVideoPlaySelectDecoder() {};
sl@0
   173
	};
sl@0
   174
sl@0
   175
//
sl@0
   176
sl@0
   177
class CTestDevVideoPlaySelectPostProc : public CTestDevVideoPlayStep
sl@0
   178
	{
sl@0
   179
public:
sl@0
   180
	static CTestDevVideoPlaySelectPostProc* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   181
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   182
private:
sl@0
   183
	CTestDevVideoPlaySelectPostProc(const TDesC& aTestName, TTestType aTestType);
sl@0
   184
	~CTestDevVideoPlaySelectPostProc() {};
sl@0
   185
	};
sl@0
   186
sl@0
   187
//
sl@0
   188
sl@0
   189
class CTestDevVideoPlayGetHeaderInfo : public CTestDevVideoPlayStep
sl@0
   190
	{
sl@0
   191
public:
sl@0
   192
	static CTestDevVideoPlayGetHeaderInfo* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   193
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   194
private:
sl@0
   195
	CTestDevVideoPlayGetHeaderInfo(const TDesC& aTestName, TTestType aTestType);
sl@0
   196
	~CTestDevVideoPlayGetHeaderInfo() {};
sl@0
   197
	TBool ValidPictureHeader(const TVideoPictureHeader* aPictureHeader);
sl@0
   198
	};
sl@0
   199
sl@0
   200
//
sl@0
   201
sl@0
   202
class CTestDevVideoPlayReturnHeader : public CTestDevVideoPlayStep
sl@0
   203
	{
sl@0
   204
public:
sl@0
   205
	static CTestDevVideoPlayReturnHeader* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   206
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   207
private:
sl@0
   208
	CTestDevVideoPlayReturnHeader(const TDesC& aTestName, TTestType aTestType);
sl@0
   209
	~CTestDevVideoPlayReturnHeader() {};
sl@0
   210
	};
sl@0
   211
sl@0
   212
//
sl@0
   213
sl@0
   214
class CTestDevVideoPlayConfigureDecoder: public CTestDevVideoPlayStep
sl@0
   215
	{
sl@0
   216
public:
sl@0
   217
	static CTestDevVideoPlayConfigureDecoder* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   218
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   219
private:
sl@0
   220
	CTestDevVideoPlayConfigureDecoder(const TDesC& aTestName, TTestType aTestType);
sl@0
   221
	~CTestDevVideoPlayConfigureDecoder() {};
sl@0
   222
	};
sl@0
   223
sl@0
   224
//
sl@0
   225
sl@0
   226
class CTestDevVideoPlaySetInputFormatUC : public CTestDevVideoPlayStep
sl@0
   227
	{
sl@0
   228
public:
sl@0
   229
	static CTestDevVideoPlaySetInputFormatUC* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   230
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   231
private:
sl@0
   232
	CTestDevVideoPlaySetInputFormatUC(const TDesC& aTestName, TTestType aTestType);
sl@0
   233
	~CTestDevVideoPlaySetInputFormatUC() {};
sl@0
   234
	};
sl@0
   235
sl@0
   236
//
sl@0
   237
sl@0
   238
class CTestDevVideoPlaySetInputFormat : public CTestDevVideoPlayStep
sl@0
   239
	{
sl@0
   240
public:
sl@0
   241
	static CTestDevVideoPlaySetInputFormat* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   242
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   243
private:
sl@0
   244
	CTestDevVideoPlaySetInputFormat(const TDesC& aTestName, TTestType aTestType);
sl@0
   245
	~CTestDevVideoPlaySetInputFormat() {};
sl@0
   246
	};
sl@0
   247
sl@0
   248
//
sl@0
   249
sl@0
   250
class CTestDevVideoPlayGetOutputFormatList : public CTestDevVideoPlayStep
sl@0
   251
	{
sl@0
   252
public:
sl@0
   253
	static CTestDevVideoPlayGetOutputFormatList* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   254
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   255
private:
sl@0
   256
	CTestDevVideoPlayGetOutputFormatList(const TDesC& aTestName, TTestType aTestType);
sl@0
   257
	~CTestDevVideoPlayGetOutputFormatList() {};
sl@0
   258
	};
sl@0
   259
sl@0
   260
//
sl@0
   261
sl@0
   262
class CTestDevVideoPlaySetOutputFormat : public CTestDevVideoPlayStep
sl@0
   263
	{
sl@0
   264
public:
sl@0
   265
	static CTestDevVideoPlaySetOutputFormat* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   266
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   267
private:
sl@0
   268
	CTestDevVideoPlaySetOutputFormat(const TDesC& aTestName, TTestType aTestType);
sl@0
   269
	~CTestDevVideoPlaySetOutputFormat() {};
sl@0
   270
	};
sl@0
   271
sl@0
   272
//
sl@0
   273
sl@0
   274
class CTestDevVideoPlaySetPostProcTypes : public CTestDevVideoPlayStep
sl@0
   275
	{
sl@0
   276
public:
sl@0
   277
	static CTestDevVideoPlaySetPostProcTypes* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   278
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   279
private:
sl@0
   280
	CTestDevVideoPlaySetPostProcTypes(const TDesC& aTestName, TTestType aTestType);
sl@0
   281
	~CTestDevVideoPlaySetPostProcTypes() {};
sl@0
   282
	};
sl@0
   283
sl@0
   284
//
sl@0
   285
sl@0
   286
class CTestDevVideoPlaySetInputCrop : public CTestDevVideoPlayStep
sl@0
   287
	{
sl@0
   288
public:
sl@0
   289
	static CTestDevVideoPlaySetInputCrop* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   290
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   291
private:
sl@0
   292
	CTestDevVideoPlaySetInputCrop(const TDesC& aTestName, TTestType aTestType);
sl@0
   293
	~CTestDevVideoPlaySetInputCrop() {};
sl@0
   294
	};
sl@0
   295
sl@0
   296
//
sl@0
   297
sl@0
   298
class CTestDevVideoPlaySetYuvToRgbOptionsFormat : public CTestDevVideoPlayStep
sl@0
   299
	{
sl@0
   300
public:
sl@0
   301
	static CTestDevVideoPlaySetYuvToRgbOptionsFormat* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   302
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   303
private:
sl@0
   304
	CTestDevVideoPlaySetYuvToRgbOptionsFormat(const TDesC& aTestName, TTestType aTestType);
sl@0
   305
	~CTestDevVideoPlaySetYuvToRgbOptionsFormat() {};
sl@0
   306
	};
sl@0
   307
sl@0
   308
//
sl@0
   309
sl@0
   310
class CTestDevVideoPlaySetYuvToRgbOptions : public CTestDevVideoPlayStep
sl@0
   311
	{
sl@0
   312
public:
sl@0
   313
	static CTestDevVideoPlaySetYuvToRgbOptions* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   314
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   315
private:
sl@0
   316
	CTestDevVideoPlaySetYuvToRgbOptions(const TDesC& aTestName, TTestType aTestType);
sl@0
   317
	~CTestDevVideoPlaySetYuvToRgbOptions() {};
sl@0
   318
	};
sl@0
   319
sl@0
   320
//
sl@0
   321
sl@0
   322
class CTestDevVideoPlaySetRotate : public CTestDevVideoPlayStep
sl@0
   323
	{
sl@0
   324
public:
sl@0
   325
	static CTestDevVideoPlaySetRotate* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   326
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   327
private:
sl@0
   328
	CTestDevVideoPlaySetRotate(const TDesC& aTestName, TTestType aTestType);
sl@0
   329
	~CTestDevVideoPlaySetRotate() {};
sl@0
   330
	};
sl@0
   331
sl@0
   332
//
sl@0
   333
sl@0
   334
class CTestDevVideoPlaySetScale : public CTestDevVideoPlayStep
sl@0
   335
	{
sl@0
   336
public:
sl@0
   337
	static CTestDevVideoPlaySetScale* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   338
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   339
private:
sl@0
   340
	CTestDevVideoPlaySetScale(const TDesC& aTestName, TTestType aTestType);
sl@0
   341
	~CTestDevVideoPlaySetScale() {};
sl@0
   342
	};
sl@0
   343
sl@0
   344
//
sl@0
   345
sl@0
   346
class CTestDevVideoPlaySetCrop : public CTestDevVideoPlayStep
sl@0
   347
	{
sl@0
   348
public:
sl@0
   349
	static CTestDevVideoPlaySetCrop* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   350
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   351
private:
sl@0
   352
	CTestDevVideoPlaySetCrop(const TDesC& aTestName, TTestType aTestType);
sl@0
   353
	~CTestDevVideoPlaySetCrop() {};
sl@0
   354
	};
sl@0
   355
sl@0
   356
//
sl@0
   357
sl@0
   358
class CTestDevVideoPlaySetPostProcOptions : public CTestDevVideoPlayStep
sl@0
   359
	{
sl@0
   360
public:
sl@0
   361
	static CTestDevVideoPlaySetPostProcOptions* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   362
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   363
private:
sl@0
   364
	CTestDevVideoPlaySetPostProcOptions(const TDesC& aTestName, TTestType aTestType);
sl@0
   365
	~CTestDevVideoPlaySetPostProcOptions() {};
sl@0
   366
	};
sl@0
   367
sl@0
   368
//
sl@0
   369
sl@0
   370
class CTestDevVideoPlaySetClockSource : public CTestDevVideoPlayStep
sl@0
   371
	{
sl@0
   372
public:
sl@0
   373
	static CTestDevVideoPlaySetClockSource* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   374
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   375
private:
sl@0
   376
	CTestDevVideoPlaySetClockSource(const TDesC& aTestName, TTestType aTestType);
sl@0
   377
	~CTestDevVideoPlaySetClockSource() {};
sl@0
   378
	};
sl@0
   379
sl@0
   380
//
sl@0
   381
sl@0
   382
class CTestDevVideoPlaySetVideoOutput : public CTestDevVideoPlayStep
sl@0
   383
	{
sl@0
   384
public:
sl@0
   385
	static CTestDevVideoPlaySetVideoOutput* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   386
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   387
private:
sl@0
   388
	CTestDevVideoPlaySetVideoOutput(const TDesC& aTestName, TTestType aTestType);
sl@0
   389
	~CTestDevVideoPlaySetVideoOutput() {};
sl@0
   390
	};
sl@0
   391
sl@0
   392
//
sl@0
   393
sl@0
   394
class CTestDevVideoPlaySynchronizeDecoding : public CTestDevVideoPlayStep
sl@0
   395
	{
sl@0
   396
public:
sl@0
   397
	static CTestDevVideoPlaySynchronizeDecoding* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   398
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   399
private:
sl@0
   400
	CTestDevVideoPlaySynchronizeDecoding(const TDesC& aTestName, TTestType aTestType);
sl@0
   401
	~CTestDevVideoPlaySynchronizeDecoding() {};
sl@0
   402
	};
sl@0
   403
sl@0
   404
//
sl@0
   405
sl@0
   406
class CTestDevVideoPlaySetBufferOptions : public CTestDevVideoPlayStep
sl@0
   407
	{
sl@0
   408
public:
sl@0
   409
	static CTestDevVideoPlaySetBufferOptions* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   410
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   411
private:
sl@0
   412
	CTestDevVideoPlaySetBufferOptions(const TDesC& aTestName, TTestType aTestType);
sl@0
   413
	~CTestDevVideoPlaySetBufferOptions() {};
sl@0
   414
	};
sl@0
   415
sl@0
   416
//
sl@0
   417
sl@0
   418
class CTestDevVideoPlayGetBufferOptions : public CTestDevVideoPlayStep
sl@0
   419
	{
sl@0
   420
public:
sl@0
   421
	static CTestDevVideoPlayGetBufferOptions* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   422
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   423
private:
sl@0
   424
	CTestDevVideoPlayGetBufferOptions(const TDesC& aTestName, TTestType aTestType);
sl@0
   425
	~CTestDevVideoPlayGetBufferOptions() {};
sl@0
   426
	};
sl@0
   427
sl@0
   428
//
sl@0
   429
sl@0
   430
class CTestDevVideoPlaySetHrdVbv : public CTestDevVideoPlayStep
sl@0
   431
	{
sl@0
   432
public:
sl@0
   433
	static CTestDevVideoPlaySetHrdVbv* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   434
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   435
private:
sl@0
   436
	CTestDevVideoPlaySetHrdVbv(const TDesC& aTestName, TTestType aTestType);
sl@0
   437
	~CTestDevVideoPlaySetHrdVbv() {};
sl@0
   438
	};
sl@0
   439
sl@0
   440
//
sl@0
   441
sl@0
   442
class CTestDevVideoPlayInit : public CTestDevVideoPlayStep
sl@0
   443
	{
sl@0
   444
public:
sl@0
   445
	static CTestDevVideoPlayInit* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   446
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   447
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   448
private:
sl@0
   449
	CTestDevVideoPlayInit(const TDesC& aTestName, TTestType aTestType);
sl@0
   450
	~CTestDevVideoPlayInit() {};
sl@0
   451
	};
sl@0
   452
sl@0
   453
//
sl@0
   454
sl@0
   455
class CTestDevVideoPlayStartDSA : public CTestDevVideoPlayStep
sl@0
   456
	{
sl@0
   457
public:
sl@0
   458
	static CTestDevVideoPlayStartDSA* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   459
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   460
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   461
private:
sl@0
   462
	CTestDevVideoPlayStartDSA(const TDesC& aTestName, TTestType aTestType);
sl@0
   463
	~CTestDevVideoPlayStartDSA() {};
sl@0
   464
	};
sl@0
   465
sl@0
   466
//
sl@0
   467
sl@0
   468
class CTestDevVideoPlaySetClipRegion : public CTestDevVideoPlayStep
sl@0
   469
	{
sl@0
   470
public:
sl@0
   471
	static CTestDevVideoPlaySetClipRegion* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   472
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   473
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   474
private:
sl@0
   475
	CTestDevVideoPlaySetClipRegion(const TDesC& aTestName, TTestType aTestType);
sl@0
   476
	~CTestDevVideoPlaySetClipRegion() {};
sl@0
   477
	};
sl@0
   478
sl@0
   479
//
sl@0
   480
sl@0
   481
class CTestDevVideoPlaySetPauseClipFail : public CTestDevVideoPlayStep
sl@0
   482
	{
sl@0
   483
public:
sl@0
   484
	static CTestDevVideoPlaySetPauseClipFail* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   485
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   486
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   487
private:
sl@0
   488
	CTestDevVideoPlaySetPauseClipFail(const TDesC& aTestName, TTestType aTestType);
sl@0
   489
	~CTestDevVideoPlaySetPauseClipFail() {};
sl@0
   490
	};
sl@0
   491
sl@0
   492
//
sl@0
   493
sl@0
   494
class CTestDevVideoPlayAbortDSA : public CTestDevVideoPlayStep
sl@0
   495
	{
sl@0
   496
public:
sl@0
   497
	static CTestDevVideoPlayAbortDSA* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   498
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   499
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   500
private:
sl@0
   501
	CTestDevVideoPlayAbortDSA(const TDesC& aTestName, TTestType aTestType);
sl@0
   502
	~CTestDevVideoPlayAbortDSA() {};
sl@0
   503
	};
sl@0
   504
sl@0
   505
//
sl@0
   506
sl@0
   507
class CTestDevVideoPlayIsPlaying : public CTestDevVideoPlayStep
sl@0
   508
	{
sl@0
   509
public:
sl@0
   510
	static CTestDevVideoPlayIsPlaying* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   511
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   512
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   513
private:
sl@0
   514
	CTestDevVideoPlayIsPlaying(const TDesC& aTestName, TTestType aTestType);
sl@0
   515
	~CTestDevVideoPlayIsPlaying() {};
sl@0
   516
	};
sl@0
   517
sl@0
   518
//
sl@0
   519
sl@0
   520
class CTestDevVideoPlayRedraw : public CTestDevVideoPlayStep
sl@0
   521
	{
sl@0
   522
public:
sl@0
   523
	static CTestDevVideoPlayRedraw* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   524
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   525
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   526
private:
sl@0
   527
	CTestDevVideoPlayRedraw(const TDesC& aTestName, TTestType aTestType);
sl@0
   528
	~CTestDevVideoPlayRedraw() {};
sl@0
   529
	};
sl@0
   530
sl@0
   531
//
sl@0
   532
sl@0
   533
class CTestDevVideoPlayStart : public CTestDevVideoPlayStep
sl@0
   534
	{
sl@0
   535
public:
sl@0
   536
	static CTestDevVideoPlayStart* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   537
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   538
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   539
private:
sl@0
   540
	CTestDevVideoPlayStart(const TDesC& aTestName, TTestType aTestType);
sl@0
   541
	~CTestDevVideoPlayStart() {};
sl@0
   542
	};
sl@0
   543
sl@0
   544
//
sl@0
   545
sl@0
   546
class CTestDevVideoPlayStop : public CTestDevVideoPlayStep
sl@0
   547
	{
sl@0
   548
public:
sl@0
   549
	static CTestDevVideoPlayStop* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   550
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   551
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   552
private:
sl@0
   553
	CTestDevVideoPlayStop(const TDesC& aTestName, TTestType aTestType);
sl@0
   554
	~CTestDevVideoPlayStop() {};
sl@0
   555
	};
sl@0
   556
sl@0
   557
//
sl@0
   558
sl@0
   559
class CTestDevVideoPlayPause : public CTestDevVideoPlayStep
sl@0
   560
	{
sl@0
   561
public:
sl@0
   562
	static CTestDevVideoPlayPause* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   563
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   564
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   565
private:
sl@0
   566
	CTestDevVideoPlayPause(const TDesC& aTestName, TTestType aTestType);
sl@0
   567
	~CTestDevVideoPlayPause() {};
sl@0
   568
	};
sl@0
   569
sl@0
   570
//
sl@0
   571
sl@0
   572
class CTestDevVideoPlayResume : public CTestDevVideoPlayStep
sl@0
   573
	{
sl@0
   574
public:
sl@0
   575
	static CTestDevVideoPlayResume* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   576
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   577
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   578
private:
sl@0
   579
	CTestDevVideoPlayResume(const TDesC& aTestName, TTestType aTestType);
sl@0
   580
	~CTestDevVideoPlayResume() {};
sl@0
   581
	};
sl@0
   582
sl@0
   583
//
sl@0
   584
sl@0
   585
class CTestDevVideoPlaySetPosition : public CTestDevVideoPlayStep
sl@0
   586
	{
sl@0
   587
public:
sl@0
   588
	static CTestDevVideoPlaySetPosition* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   589
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   590
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   591
private:
sl@0
   592
	CTestDevVideoPlaySetPosition(const TDesC& aTestName, TTestType aTestType);
sl@0
   593
	~CTestDevVideoPlaySetPosition() {};
sl@0
   594
	};
sl@0
   595
sl@0
   596
//
sl@0
   597
sl@0
   598
class CTestDevVideoPlayFreezePicture : public CTestDevVideoPlayStep
sl@0
   599
	{
sl@0
   600
public:
sl@0
   601
	static CTestDevVideoPlayFreezePicture* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   602
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   603
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   604
private:
sl@0
   605
	CTestDevVideoPlayFreezePicture(const TDesC& aTestName, TTestType aTestType);
sl@0
   606
	~CTestDevVideoPlayFreezePicture() {};
sl@0
   607
	};
sl@0
   608
sl@0
   609
//
sl@0
   610
sl@0
   611
class CTestDevVideoPlayReleaseFreeze : public CTestDevVideoPlayStep
sl@0
   612
	{
sl@0
   613
public:
sl@0
   614
	static CTestDevVideoPlayReleaseFreeze* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   615
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   616
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   617
private:
sl@0
   618
	CTestDevVideoPlayReleaseFreeze(const TDesC& aTestName, TTestType aTestType);
sl@0
   619
	~CTestDevVideoPlayReleaseFreeze() {};
sl@0
   620
	};
sl@0
   621
sl@0
   622
//
sl@0
   623
sl@0
   624
class CTestDevVideoPlayDecodingPosition : public CTestDevVideoPlayStep
sl@0
   625
	{
sl@0
   626
public:
sl@0
   627
	static CTestDevVideoPlayDecodingPosition* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   628
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   629
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   630
private:
sl@0
   631
	CTestDevVideoPlayDecodingPosition(const TDesC& aTestName, TTestType aTestType);
sl@0
   632
	~CTestDevVideoPlayDecodingPosition() {};
sl@0
   633
	};
sl@0
   634
sl@0
   635
//
sl@0
   636
sl@0
   637
class CTestDevVideoPlayPlaybackPosition : public CTestDevVideoPlayStep
sl@0
   638
	{
sl@0
   639
public:
sl@0
   640
	static CTestDevVideoPlayPlaybackPosition* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   641
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   642
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   643
private:
sl@0
   644
	CTestDevVideoPlayPlaybackPosition(const TDesC& aTestName, TTestType aTestType);
sl@0
   645
	~CTestDevVideoPlayPlaybackPosition() {};
sl@0
   646
	};
sl@0
   647
sl@0
   648
//
sl@0
   649
sl@0
   650
class CTestDevVideoPlayPreDecoderBufferBytes : public CTestDevVideoPlayStep
sl@0
   651
	{
sl@0
   652
public:
sl@0
   653
	static CTestDevVideoPlayPreDecoderBufferBytes* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   654
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   655
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   656
private:
sl@0
   657
	CTestDevVideoPlayPreDecoderBufferBytes(const TDesC& aTestName, TTestType aTestType);
sl@0
   658
	~CTestDevVideoPlayPreDecoderBufferBytes() {};
sl@0
   659
	};
sl@0
   660
sl@0
   661
//
sl@0
   662
sl@0
   663
class CTestDevVideoPlayPictureBufferBytes : public CTestDevVideoPlayStep
sl@0
   664
	{
sl@0
   665
public:
sl@0
   666
	static CTestDevVideoPlayPictureBufferBytes* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   667
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   668
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   669
private:
sl@0
   670
	CTestDevVideoPlayPictureBufferBytes(const TDesC& aTestName, TTestType aTestType);
sl@0
   671
	~CTestDevVideoPlayPictureBufferBytes() {};
sl@0
   672
	};
sl@0
   673
sl@0
   674
//
sl@0
   675
sl@0
   676
class CTestDevVideoPlayGetPictureCounters : public CTestDevVideoPlayStep
sl@0
   677
	{
sl@0
   678
public:
sl@0
   679
	static CTestDevVideoPlayGetPictureCounters* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   680
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   681
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   682
private:
sl@0
   683
	CTestDevVideoPlayGetPictureCounters(const TDesC& aTestName, TTestType aTestType);
sl@0
   684
	~CTestDevVideoPlayGetPictureCounters() {};
sl@0
   685
	};
sl@0
   686
sl@0
   687
//
sl@0
   688
sl@0
   689
class CTestDevVideoPlayGetBitstreamCounters : public CTestDevVideoPlayStep
sl@0
   690
	{
sl@0
   691
public:
sl@0
   692
	static CTestDevVideoPlayGetBitstreamCounters* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   693
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   694
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   695
private:
sl@0
   696
	CTestDevVideoPlayGetBitstreamCounters(const TDesC& aTestName, TTestType aTestType);
sl@0
   697
	~CTestDevVideoPlayGetBitstreamCounters() {};
sl@0
   698
	};
sl@0
   699
sl@0
   700
//
sl@0
   701
sl@0
   702
class CTestDevVideoPlayNumFreeBuffers : public CTestDevVideoPlayStep
sl@0
   703
	{
sl@0
   704
public:
sl@0
   705
	static CTestDevVideoPlayNumFreeBuffers* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   706
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   707
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   708
private:
sl@0
   709
	CTestDevVideoPlayNumFreeBuffers(const TDesC& aTestName, TTestType aTestType);
sl@0
   710
	~CTestDevVideoPlayNumFreeBuffers() {};
sl@0
   711
	};
sl@0
   712
sl@0
   713
//
sl@0
   714
sl@0
   715
class CTestDevVideoPlaySetComplexityLevel : public CTestDevVideoPlayStep
sl@0
   716
	{
sl@0
   717
public:
sl@0
   718
	static CTestDevVideoPlaySetComplexityLevel* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   719
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   720
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   721
private:
sl@0
   722
	CTestDevVideoPlaySetComplexityLevel(const TDesC& aTestName, TTestType aTestType);
sl@0
   723
	~CTestDevVideoPlaySetComplexityLevel() {};
sl@0
   724
	};
sl@0
   725
sl@0
   726
//
sl@0
   727
sl@0
   728
class CTestDevVideoPlayNumComplexityLevels : public CTestDevVideoPlayStep
sl@0
   729
	{
sl@0
   730
public:
sl@0
   731
	static CTestDevVideoPlayNumComplexityLevels* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   732
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   733
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   734
private:
sl@0
   735
	CTestDevVideoPlayNumComplexityLevels(const TDesC& aTestName, TTestType aTestType);
sl@0
   736
	~CTestDevVideoPlayNumComplexityLevels() {};
sl@0
   737
	};
sl@0
   738
sl@0
   739
//
sl@0
   740
sl@0
   741
class CTestDevVideoPlayGetComplexityLevelInfo : public CTestDevVideoPlayStep
sl@0
   742
	{
sl@0
   743
public:
sl@0
   744
	static CTestDevVideoPlayGetComplexityLevelInfo* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   745
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   746
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   747
private:
sl@0
   748
	CTestDevVideoPlayGetComplexityLevelInfo(const TDesC& aTestName, TTestType aTestType);
sl@0
   749
	~CTestDevVideoPlayGetComplexityLevelInfo() {};
sl@0
   750
	};
sl@0
   751
sl@0
   752
//
sl@0
   753
sl@0
   754
class CTestDevVideoPlayGetBuffer : public CTestDevVideoPlayStep
sl@0
   755
	{
sl@0
   756
public:
sl@0
   757
	static CTestDevVideoPlayGetBuffer* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   758
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   759
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   760
	virtual void MdvpoNewBuffers();
sl@0
   761
private:
sl@0
   762
	CTestDevVideoPlayGetBuffer(const TDesC& aTestName, TTestType aTestType);
sl@0
   763
	~CTestDevVideoPlayGetBuffer() {};
sl@0
   764
	TBool iCalledBack;
sl@0
   765
	};
sl@0
   766
sl@0
   767
//
sl@0
   768
sl@0
   769
class CTestDevVideoPlayWriteCodedData : public CTestDevVideoPlayStep
sl@0
   770
	{
sl@0
   771
public:
sl@0
   772
	static CTestDevVideoPlayWriteCodedData* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   773
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   774
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   775
private:
sl@0
   776
	CTestDevVideoPlayWriteCodedData(const TDesC& aTestName, TTestType aTestType);
sl@0
   777
	~CTestDevVideoPlayWriteCodedData() {};
sl@0
   778
	};
sl@0
   779
sl@0
   780
//
sl@0
   781
sl@0
   782
class CTestDevVideoPlayScanAndCopyCodedData : public CTestDevVideoPlayStep
sl@0
   783
	{
sl@0
   784
public:
sl@0
   785
	static CTestDevVideoPlayScanAndCopyCodedData* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   786
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   787
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   788
private:
sl@0
   789
	CTestDevVideoPlayScanAndCopyCodedData(const TDesC& aTestName, TTestType aTestType);
sl@0
   790
	~CTestDevVideoPlayScanAndCopyCodedData() {};
sl@0
   791
	};
sl@0
   792
sl@0
   793
//
sl@0
   794
sl@0
   795
class CTestDevVideoPlayExtensionWriteCodedData : public CTestDevVideoPlayStep
sl@0
   796
	{
sl@0
   797
public:
sl@0
   798
	static CTestDevVideoPlayExtensionWriteCodedData* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   799
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   800
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   801
private:
sl@0
   802
	CTestDevVideoPlayExtensionWriteCodedData(const TDesC& aTestName, TTestType aTestType);
sl@0
   803
	~CTestDevVideoPlayExtensionWriteCodedData() {};
sl@0
   804
	};
sl@0
   805
sl@0
   806
//
sl@0
   807
sl@0
   808
class CTestDevVideoPlayWritePicture : public CTestDevVideoPlayStep
sl@0
   809
	{
sl@0
   810
public:
sl@0
   811
	static CTestDevVideoPlayWritePicture* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   812
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   813
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   814
	virtual void MdvpoReturnPicture(TVideoPicture* aPicture);
sl@0
   815
private:
sl@0
   816
	CTestDevVideoPlayWritePicture(const TDesC& aTestName, TTestType aTestType);
sl@0
   817
	~CTestDevVideoPlayWritePicture() {};
sl@0
   818
	TVideoPicture *iPicture;
sl@0
   819
	};
sl@0
   820
sl@0
   821
//
sl@0
   822
sl@0
   823
class CTestDevVideoPlayInputEnd : public CTestDevVideoPlayStep
sl@0
   824
	{
sl@0
   825
public:
sl@0
   826
	static CTestDevVideoPlayInputEnd* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   827
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   828
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   829
	virtual void MdvpoStreamEnd();
sl@0
   830
private:
sl@0
   831
	CTestDevVideoPlayInputEnd(const TDesC& aTestName, TTestType aTestType);
sl@0
   832
	~CTestDevVideoPlayInputEnd() {};
sl@0
   833
	TUint iEndCount;
sl@0
   834
	};
sl@0
   835
sl@0
   836
//
sl@0
   837
sl@0
   838
class CTestDevVideoPlayGetNewPictureInfo : public CTestDevVideoPlayStep
sl@0
   839
	{
sl@0
   840
public:
sl@0
   841
	static CTestDevVideoPlayGetNewPictureInfo* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   842
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   843
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   844
private:
sl@0
   845
	CTestDevVideoPlayGetNewPictureInfo(const TDesC& aTestName, TTestType aTestType);
sl@0
   846
	~CTestDevVideoPlayGetNewPictureInfo() {};
sl@0
   847
	};
sl@0
   848
sl@0
   849
//
sl@0
   850
sl@0
   851
class CTestDevVideoPlayNextPicture : public CTestDevVideoPlayStep
sl@0
   852
	{
sl@0
   853
public:
sl@0
   854
	static CTestDevVideoPlayNextPicture* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   855
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   856
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   857
    virtual void MdvpoNewPictures();
sl@0
   858
	void CheckNewPictureInfoL(TUint aNumPictures, const TTimeIntervalMicroSeconds& aFirst, const TTimeIntervalMicroSeconds& aLast);
sl@0
   859
	void DoNewPicturesL();
sl@0
   860
private:
sl@0
   861
	CTestDevVideoPlayNextPicture(const TDesC& aTestName, TTestType aTestType);
sl@0
   862
	~CTestDevVideoPlayNextPicture() {};
sl@0
   863
private:
sl@0
   864
	TInt iCurrentPictureNumber;
sl@0
   865
	CMMFDevVideoPlay* iDevVideoPlay;
sl@0
   866
	};
sl@0
   867
sl@0
   868
sl@0
   869
//
sl@0
   870
sl@0
   871
class CTestDevVideoPlayGetSnapshot : public CTestDevVideoPlayStep
sl@0
   872
	{
sl@0
   873
public:
sl@0
   874
	static CTestDevVideoPlayGetSnapshot* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   875
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   876
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   877
private:
sl@0
   878
	CTestDevVideoPlayGetSnapshot(const TDesC& aTestName, TTestType aTestType);
sl@0
   879
	~CTestDevVideoPlayGetSnapshot() {};
sl@0
   880
	};
sl@0
   881
sl@0
   882
//
sl@0
   883
sl@0
   884
class CTestDevVideoPlayGetTimedSnapshotTimestamp : public CTestDevVideoPlayStep
sl@0
   885
	{
sl@0
   886
public:
sl@0
   887
	static CTestDevVideoPlayGetTimedSnapshotTimestamp* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   888
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   889
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   890
	virtual void MdvpoTimedSnapshotComplete(TInt aError, 
sl@0
   891
											TPictureData* aPictureData, 
sl@0
   892
											const TTimeIntervalMicroSeconds& aPresentationTimestamp, 
sl@0
   893
											const TPictureId& aPictureId);
sl@0
   894
private:
sl@0
   895
	CTestDevVideoPlayGetTimedSnapshotTimestamp(const TDesC& aTestName, TTestType aTestType);
sl@0
   896
	~CTestDevVideoPlayGetTimedSnapshotTimestamp() {};
sl@0
   897
	TTimeIntervalMicroSeconds iTimestamp;
sl@0
   898
	TPictureData* iPictureData;
sl@0
   899
	};
sl@0
   900
sl@0
   901
//
sl@0
   902
sl@0
   903
class CTestDevVideoPlayGetTimedSnapshotID : public CTestDevVideoPlayStep
sl@0
   904
	{
sl@0
   905
public:
sl@0
   906
	static CTestDevVideoPlayGetTimedSnapshotID* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   907
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   908
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   909
	virtual void MdvpoTimedSnapshotComplete(TInt aError, 
sl@0
   910
											TPictureData* aPictureData, 
sl@0
   911
											const TTimeIntervalMicroSeconds& aPresentationTimestamp, 
sl@0
   912
											const TPictureId& aPictureId);
sl@0
   913
private:
sl@0
   914
	CTestDevVideoPlayGetTimedSnapshotID(const TDesC& aTestName, TTestType aTestType);
sl@0
   915
	~CTestDevVideoPlayGetTimedSnapshotID() {};
sl@0
   916
	TPictureId iPictureId;
sl@0
   917
	TPictureData* iPictureData;
sl@0
   918
	};
sl@0
   919
sl@0
   920
//
sl@0
   921
sl@0
   922
class CTestDevVideoPlayCancelTimedSnapshot : public CTestDevVideoPlayStep
sl@0
   923
	{
sl@0
   924
public:
sl@0
   925
	static CTestDevVideoPlayCancelTimedSnapshot* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   926
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   927
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   928
	virtual void MdvpoTimedSnapshotComplete(TInt aError, 
sl@0
   929
											TPictureData* aPictureData, 
sl@0
   930
											const TTimeIntervalMicroSeconds& aPresentationTimestamp, 
sl@0
   931
											const TPictureId& aPictureId);
sl@0
   932
private:
sl@0
   933
	CTestDevVideoPlayCancelTimedSnapshot(const TDesC& aTestName, TTestType aTestType);
sl@0
   934
	~CTestDevVideoPlayCancelTimedSnapshot() {};
sl@0
   935
	};
sl@0
   936
sl@0
   937
//
sl@0
   938
sl@0
   939
class CTestDevVideoPlayGetSupportedSnapshotFormats : public CTestDevVideoPlayStep
sl@0
   940
	{
sl@0
   941
public:
sl@0
   942
	static CTestDevVideoPlayGetSupportedSnapshotFormats* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   943
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   944
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   945
private:
sl@0
   946
	CTestDevVideoPlayGetSupportedSnapshotFormats(const TDesC& aTestName, TTestType aTestType);
sl@0
   947
	~CTestDevVideoPlayGetSupportedSnapshotFormats() {};
sl@0
   948
	};
sl@0
   949
sl@0
   950
//
sl@0
   951
sl@0
   952
class CTestDevVideoPlayClock : public CTestDevVideoStep, public MMMFClockSourcePeriodicUtilityObserver
sl@0
   953
	{
sl@0
   954
public:
sl@0
   955
	static CTestDevVideoPlayClock* NewL(const TDesC& aTestName);
sl@0
   956
	CTestDevVideoPlayClock(const TDesC& aTestName);
sl@0
   957
	~CTestDevVideoPlayClock();
sl@0
   958
	void ConstructL();
sl@0
   959
sl@0
   960
	virtual TVerdict DoTestStepL();
sl@0
   961
	static TInt StartThread(TAny* aAny);
sl@0
   962
	void RunThread();
sl@0
   963
sl@0
   964
	// from MMMFClockSourcePeriodicUtilityObserver
sl@0
   965
	virtual void MmcspuoTick(const TTimeIntervalMicroSeconds& aTime);
sl@0
   966
protected:
sl@0
   967
	TInt iError;
sl@0
   968
	CSystemClockSource* iClockSource;
sl@0
   969
	CMMFClockSourcePeriodicUtility* iPeriodicUtility;
sl@0
   970
	TUint iPeriodicUtilityIteration;
sl@0
   971
	TBool iShutdownSubthread;
sl@0
   972
	TVerdict iPeriodicUtilityTestVerdict;
sl@0
   973
	};
sl@0
   974
sl@0
   975
//
sl@0
   976
sl@0
   977
class CTestDevVideoPlayCommit : public CTestDevVideoPlayStep
sl@0
   978
	{
sl@0
   979
public:
sl@0
   980
	static CTestDevVideoPlayCommit* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   981
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   982
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   983
private:
sl@0
   984
	CTestDevVideoPlayCommit(const TDesC& aTestName, TTestType aTestType);
sl@0
   985
	~CTestDevVideoPlayCommit() {};
sl@0
   986
	};
sl@0
   987
sl@0
   988
//
sl@0
   989
sl@0
   990
class CTestDevVideoPlayRevert : public CTestDevVideoPlayStep
sl@0
   991
	{
sl@0
   992
public:
sl@0
   993
	static CTestDevVideoPlayRevert* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
   994
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
   995
	virtual void MdvpoInitComplete(TInt aError);
sl@0
   996
private:
sl@0
   997
	CTestDevVideoPlayRevert(const TDesC& aTestName, TTestType aTestType);
sl@0
   998
	~CTestDevVideoPlayRevert() {};
sl@0
   999
	};
sl@0
  1000
sl@0
  1001
//
sl@0
  1002
sl@0
  1003
class CTestDevVideoPlayCustomInterface : public CTestDevVideoPlayStep
sl@0
  1004
	{
sl@0
  1005
public:
sl@0
  1006
	static CTestDevVideoPlayCustomInterface* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
  1007
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
  1008
private:
sl@0
  1009
	CTestDevVideoPlayCustomInterface(const TDesC& aTestName, TTestType aTestType);
sl@0
  1010
	~CTestDevVideoPlayCustomInterface() {};
sl@0
  1011
	};
sl@0
  1012
  
sl@0
  1013
//
sl@0
  1014
/*
sl@0
  1015
class CTestDevVideoPlayXXX : public CTestDevVideoPlayStep
sl@0
  1016
	{
sl@0
  1017
public:
sl@0
  1018
	static CTestDevVideoPlayXXX* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
  1019
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
  1020
private:
sl@0
  1021
	CTestDevVideoPlayXXX(const TDesC& aTestName, TTestType aTestType);
sl@0
  1022
	~CTestDevVideoPlayXXX() {};
sl@0
  1023
	};
sl@0
  1024
*/
sl@0
  1025
//
sl@0
  1026
class CTestDevVideoGetBufferWithoutInitialize : public CTestDevVideoPlayStep
sl@0
  1027
	{
sl@0
  1028
public:
sl@0
  1029
	static CTestDevVideoGetBufferWithoutInitialize* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
  1030
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
  1031
	virtual void MdvpoInitComplete(TInt aError);
sl@0
  1032
	virtual void MdvpoNewBuffers();
sl@0
  1033
private:
sl@0
  1034
	CTestDevVideoGetBufferWithoutInitialize(const TDesC& aTestName, TTestType aTestType);
sl@0
  1035
	~CTestDevVideoGetBufferWithoutInitialize() {};
sl@0
  1036
	TBool iCalledBack;
sl@0
  1037
	};
sl@0
  1038
sl@0
  1039
//
sl@0
  1040
sl@0
  1041
class CTestDevVideoPlayGetDecoderPostProcInfo : public CTestDevVideoPlayStep
sl@0
  1042
	{
sl@0
  1043
public:
sl@0
  1044
	static CTestDevVideoPlayGetDecoderPostProcInfo* NewL(const TDesC& aTestName, TTestType aTestType);
sl@0
  1045
	virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
sl@0
  1046
private:
sl@0
  1047
	CTestDevVideoPlayGetDecoderPostProcInfo(const TDesC& aTestName, TTestType aTestType);
sl@0
  1048
	~CTestDevVideoPlayGetDecoderPostProcInfo() {};
sl@0
  1049
	TBool ValidPostProcInfo(CPostProcessorInfo* aInfo);
sl@0
  1050
	};
sl@0
  1051
sl@0
  1052
#endif	// TESTDEVVIDEOPLAY_H__