1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmlibs/mmfw/tsrc/mmfunittest/DevVideo/src/TestDevVideoPlay.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,1052 @@
1.4 +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// Header file: DevVideoPlay tests.
1.18 +//
1.19 +//
1.20 +
1.21 +/**
1.22 + @file TestDevVideoPlay.h
1.23 +*/
1.24 +
1.25 +#ifndef __TESTDEVVIDEOPLAY_H__
1.26 +#define __TESTDEVVIDEOPLAY_H__
1.27 +
1.28 +#include "TSU_MMF_DevVideo.h"
1.29 +
1.30 +/**
1.31 + * DevVideoPlay test base class
1.32 + *
1.33 + * @class CTestDevVideoPlayStep
1.34 + *
1.35 + * Req. under test REQ1931.3
1.36 + */
1.37 +
1.38 +class CTestDevVideoPlayStep : public CTestDevVideoStep, public MMMFDevVideoPlayObserver
1.39 + {
1.40 +public:
1.41 + CTestDevVideoPlayStep(const TDesC& aTestName, TTestType aTestType);
1.42 + ~CTestDevVideoPlayStep();
1.43 + virtual TVerdict DoTestStepL();
1.44 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay) = 0;
1.45 +
1.46 + // MMMFDevVideoPlayObserver
1.47 + virtual void MdvpoNewBuffers();
1.48 + virtual void MdvpoReturnPicture(TVideoPicture* aPicture);
1.49 + virtual void MdvpoSupplementalInformation(const TDesC8& aData,
1.50 + const TTimeIntervalMicroSeconds& aTimestamp,
1.51 + const TPictureId& aPictureId);
1.52 + virtual void MdvpoPictureLoss();
1.53 + virtual void MdvpoPictureLoss(const TArray<TPictureId>& aPictures);
1.54 + virtual void MdvpoSliceLoss(TUint aFirstMacroblock, TUint aNumMacroblocks, const TPictureId& aPicture);
1.55 + virtual void MdvpoReferencePictureSelection(const TDesC8& aSelectionData);
1.56 + virtual void MdvpoTimedSnapshotComplete(TInt aError,
1.57 + TPictureData* aPictureData,
1.58 + const TTimeIntervalMicroSeconds& aPresentationTimestamp,
1.59 + const TPictureId& aPictureId);
1.60 + virtual void MdvpoNewPictures();
1.61 + virtual void MdvpoFatalError(TInt aError);
1.62 + virtual void MdvpoInitComplete(TInt aError);
1.63 + virtual void MdvpoStreamEnd();
1.64 +
1.65 +protected:
1.66 + TInt iError;
1.67 + TTestType iTestType; // Type of test
1.68 + CMMFDevVideoPlay* iDevVideoPlay;
1.69 + };
1.70 +
1.71 +
1.72 +//
1.73 +
1.74 +class CTestDevVideoPlayCommonFormat : public CTestDevVideoPlayStep
1.75 + {
1.76 +public:
1.77 + static CTestDevVideoPlayCommonFormat* NewL(const TDesC& aTestName, TTestType aTestType);
1.78 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.79 +private:
1.80 + CTestDevVideoPlayCommonFormat(const TDesC& aTestName, TTestType aTestType);
1.81 + ~CTestDevVideoPlayCommonFormat() {};
1.82 + };
1.83 +
1.84 +//
1.85 +
1.86 +class CTestDevVideoPlayFindDecoders : public CTestDevVideoPlayStep
1.87 + {
1.88 +public:
1.89 + static CTestDevVideoPlayFindDecoders* NewL(const TDesC& aTestName, TTestType aTestType);
1.90 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.91 +private:
1.92 + CTestDevVideoPlayFindDecoders(const TDesC& aTestName, TTestType aTestType);
1.93 + ~CTestDevVideoPlayFindDecoders() {};
1.94 + TInt CheckDecoders(const RArray<TUid>& aFoundDecoders, const RArray<TUid>& aExpectedDecoders, const RArray<TUid>& aUnExpectedDecoders);
1.95 + };
1.96 +
1.97 +
1.98 +//
1.99 +
1.100 +class CTestDevVideoPlayFindPostProc : public CTestDevVideoPlayStep
1.101 + {
1.102 +public:
1.103 + static CTestDevVideoPlayFindPostProc* NewL(const TDesC& aTestName, TTestType aTestType);
1.104 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.105 +private:
1.106 + CTestDevVideoPlayFindPostProc(const TDesC& aTestName, TTestType aTestType);
1.107 + ~CTestDevVideoPlayFindPostProc() {};
1.108 + TInt CheckPostProx(const RArray<TUid>& aFoundPostProx, const RArray<TUid>& aExpectedPostProx, const RArray<TUid>& aUnExpectedPostProx);
1.109 + };
1.110 +
1.111 +
1.112 +//
1.113 +
1.114 +class CTestDevVideoPlayListDecoders : public CTestDevVideoPlayStep
1.115 + {
1.116 +public:
1.117 + static CTestDevVideoPlayListDecoders* NewL(const TDesC& aTestName, TTestType aTestType);
1.118 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.119 +private:
1.120 + CTestDevVideoPlayListDecoders(const TDesC& aTestName, TTestType aTestType);
1.121 + ~CTestDevVideoPlayListDecoders() {};
1.122 + };
1.123 +
1.124 +
1.125 +//
1.126 +
1.127 +class CTestDevVideoPlayListPostProc : public CTestDevVideoPlayStep
1.128 + {
1.129 +public:
1.130 + static CTestDevVideoPlayListPostProc* NewL(const TDesC& aTestName, TTestType aTestType);
1.131 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.132 +private:
1.133 + CTestDevVideoPlayListPostProc(const TDesC& aTestName, TTestType aTestType);
1.134 + ~CTestDevVideoPlayListPostProc() {};
1.135 + };
1.136 +
1.137 +
1.138 +//
1.139 +
1.140 +class CTestDevVideoPlayGetDecoderInfo : public CTestDevVideoPlayStep
1.141 + {
1.142 +public:
1.143 + static CTestDevVideoPlayGetDecoderInfo* NewL(const TDesC& aTestName, TTestType aTestType);
1.144 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.145 +private:
1.146 + CTestDevVideoPlayGetDecoderInfo(const TDesC& aTestName, TTestType aTestType);
1.147 + ~CTestDevVideoPlayGetDecoderInfo() {};
1.148 + TBool ValidDecoderInfo(CVideoDecoderInfo* aInfo);
1.149 + };
1.150 +
1.151 +
1.152 +//
1.153 +
1.154 +class CTestDevVideoPlayGetPostProcInfo : public CTestDevVideoPlayStep
1.155 + {
1.156 +public:
1.157 + static CTestDevVideoPlayGetPostProcInfo* NewL(const TDesC& aTestName, TTestType aTestType);
1.158 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.159 +private:
1.160 + CTestDevVideoPlayGetPostProcInfo(const TDesC& aTestName, TTestType aTestType);
1.161 + ~CTestDevVideoPlayGetPostProcInfo() {};
1.162 + TBool ValidPostProcInfo(CPostProcessorInfo* aInfo);
1.163 + };
1.164 +
1.165 +
1.166 +//
1.167 +
1.168 +class CTestDevVideoPlaySelectDecoder : public CTestDevVideoPlayStep
1.169 + {
1.170 +public:
1.171 + static CTestDevVideoPlaySelectDecoder* NewL(const TDesC& aTestName, TTestType aTestType);
1.172 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.173 +private:
1.174 + CTestDevVideoPlaySelectDecoder(const TDesC& aTestName, TTestType aTestType);
1.175 + ~CTestDevVideoPlaySelectDecoder() {};
1.176 + };
1.177 +
1.178 +//
1.179 +
1.180 +class CTestDevVideoPlaySelectPostProc : public CTestDevVideoPlayStep
1.181 + {
1.182 +public:
1.183 + static CTestDevVideoPlaySelectPostProc* NewL(const TDesC& aTestName, TTestType aTestType);
1.184 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.185 +private:
1.186 + CTestDevVideoPlaySelectPostProc(const TDesC& aTestName, TTestType aTestType);
1.187 + ~CTestDevVideoPlaySelectPostProc() {};
1.188 + };
1.189 +
1.190 +//
1.191 +
1.192 +class CTestDevVideoPlayGetHeaderInfo : public CTestDevVideoPlayStep
1.193 + {
1.194 +public:
1.195 + static CTestDevVideoPlayGetHeaderInfo* NewL(const TDesC& aTestName, TTestType aTestType);
1.196 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.197 +private:
1.198 + CTestDevVideoPlayGetHeaderInfo(const TDesC& aTestName, TTestType aTestType);
1.199 + ~CTestDevVideoPlayGetHeaderInfo() {};
1.200 + TBool ValidPictureHeader(const TVideoPictureHeader* aPictureHeader);
1.201 + };
1.202 +
1.203 +//
1.204 +
1.205 +class CTestDevVideoPlayReturnHeader : public CTestDevVideoPlayStep
1.206 + {
1.207 +public:
1.208 + static CTestDevVideoPlayReturnHeader* NewL(const TDesC& aTestName, TTestType aTestType);
1.209 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.210 +private:
1.211 + CTestDevVideoPlayReturnHeader(const TDesC& aTestName, TTestType aTestType);
1.212 + ~CTestDevVideoPlayReturnHeader() {};
1.213 + };
1.214 +
1.215 +//
1.216 +
1.217 +class CTestDevVideoPlayConfigureDecoder: public CTestDevVideoPlayStep
1.218 + {
1.219 +public:
1.220 + static CTestDevVideoPlayConfigureDecoder* NewL(const TDesC& aTestName, TTestType aTestType);
1.221 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.222 +private:
1.223 + CTestDevVideoPlayConfigureDecoder(const TDesC& aTestName, TTestType aTestType);
1.224 + ~CTestDevVideoPlayConfigureDecoder() {};
1.225 + };
1.226 +
1.227 +//
1.228 +
1.229 +class CTestDevVideoPlaySetInputFormatUC : public CTestDevVideoPlayStep
1.230 + {
1.231 +public:
1.232 + static CTestDevVideoPlaySetInputFormatUC* NewL(const TDesC& aTestName, TTestType aTestType);
1.233 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.234 +private:
1.235 + CTestDevVideoPlaySetInputFormatUC(const TDesC& aTestName, TTestType aTestType);
1.236 + ~CTestDevVideoPlaySetInputFormatUC() {};
1.237 + };
1.238 +
1.239 +//
1.240 +
1.241 +class CTestDevVideoPlaySetInputFormat : public CTestDevVideoPlayStep
1.242 + {
1.243 +public:
1.244 + static CTestDevVideoPlaySetInputFormat* NewL(const TDesC& aTestName, TTestType aTestType);
1.245 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.246 +private:
1.247 + CTestDevVideoPlaySetInputFormat(const TDesC& aTestName, TTestType aTestType);
1.248 + ~CTestDevVideoPlaySetInputFormat() {};
1.249 + };
1.250 +
1.251 +//
1.252 +
1.253 +class CTestDevVideoPlayGetOutputFormatList : public CTestDevVideoPlayStep
1.254 + {
1.255 +public:
1.256 + static CTestDevVideoPlayGetOutputFormatList* NewL(const TDesC& aTestName, TTestType aTestType);
1.257 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.258 +private:
1.259 + CTestDevVideoPlayGetOutputFormatList(const TDesC& aTestName, TTestType aTestType);
1.260 + ~CTestDevVideoPlayGetOutputFormatList() {};
1.261 + };
1.262 +
1.263 +//
1.264 +
1.265 +class CTestDevVideoPlaySetOutputFormat : public CTestDevVideoPlayStep
1.266 + {
1.267 +public:
1.268 + static CTestDevVideoPlaySetOutputFormat* NewL(const TDesC& aTestName, TTestType aTestType);
1.269 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.270 +private:
1.271 + CTestDevVideoPlaySetOutputFormat(const TDesC& aTestName, TTestType aTestType);
1.272 + ~CTestDevVideoPlaySetOutputFormat() {};
1.273 + };
1.274 +
1.275 +//
1.276 +
1.277 +class CTestDevVideoPlaySetPostProcTypes : public CTestDevVideoPlayStep
1.278 + {
1.279 +public:
1.280 + static CTestDevVideoPlaySetPostProcTypes* NewL(const TDesC& aTestName, TTestType aTestType);
1.281 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.282 +private:
1.283 + CTestDevVideoPlaySetPostProcTypes(const TDesC& aTestName, TTestType aTestType);
1.284 + ~CTestDevVideoPlaySetPostProcTypes() {};
1.285 + };
1.286 +
1.287 +//
1.288 +
1.289 +class CTestDevVideoPlaySetInputCrop : public CTestDevVideoPlayStep
1.290 + {
1.291 +public:
1.292 + static CTestDevVideoPlaySetInputCrop* NewL(const TDesC& aTestName, TTestType aTestType);
1.293 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.294 +private:
1.295 + CTestDevVideoPlaySetInputCrop(const TDesC& aTestName, TTestType aTestType);
1.296 + ~CTestDevVideoPlaySetInputCrop() {};
1.297 + };
1.298 +
1.299 +//
1.300 +
1.301 +class CTestDevVideoPlaySetYuvToRgbOptionsFormat : public CTestDevVideoPlayStep
1.302 + {
1.303 +public:
1.304 + static CTestDevVideoPlaySetYuvToRgbOptionsFormat* NewL(const TDesC& aTestName, TTestType aTestType);
1.305 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.306 +private:
1.307 + CTestDevVideoPlaySetYuvToRgbOptionsFormat(const TDesC& aTestName, TTestType aTestType);
1.308 + ~CTestDevVideoPlaySetYuvToRgbOptionsFormat() {};
1.309 + };
1.310 +
1.311 +//
1.312 +
1.313 +class CTestDevVideoPlaySetYuvToRgbOptions : public CTestDevVideoPlayStep
1.314 + {
1.315 +public:
1.316 + static CTestDevVideoPlaySetYuvToRgbOptions* NewL(const TDesC& aTestName, TTestType aTestType);
1.317 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.318 +private:
1.319 + CTestDevVideoPlaySetYuvToRgbOptions(const TDesC& aTestName, TTestType aTestType);
1.320 + ~CTestDevVideoPlaySetYuvToRgbOptions() {};
1.321 + };
1.322 +
1.323 +//
1.324 +
1.325 +class CTestDevVideoPlaySetRotate : public CTestDevVideoPlayStep
1.326 + {
1.327 +public:
1.328 + static CTestDevVideoPlaySetRotate* NewL(const TDesC& aTestName, TTestType aTestType);
1.329 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.330 +private:
1.331 + CTestDevVideoPlaySetRotate(const TDesC& aTestName, TTestType aTestType);
1.332 + ~CTestDevVideoPlaySetRotate() {};
1.333 + };
1.334 +
1.335 +//
1.336 +
1.337 +class CTestDevVideoPlaySetScale : public CTestDevVideoPlayStep
1.338 + {
1.339 +public:
1.340 + static CTestDevVideoPlaySetScale* NewL(const TDesC& aTestName, TTestType aTestType);
1.341 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.342 +private:
1.343 + CTestDevVideoPlaySetScale(const TDesC& aTestName, TTestType aTestType);
1.344 + ~CTestDevVideoPlaySetScale() {};
1.345 + };
1.346 +
1.347 +//
1.348 +
1.349 +class CTestDevVideoPlaySetCrop : public CTestDevVideoPlayStep
1.350 + {
1.351 +public:
1.352 + static CTestDevVideoPlaySetCrop* NewL(const TDesC& aTestName, TTestType aTestType);
1.353 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.354 +private:
1.355 + CTestDevVideoPlaySetCrop(const TDesC& aTestName, TTestType aTestType);
1.356 + ~CTestDevVideoPlaySetCrop() {};
1.357 + };
1.358 +
1.359 +//
1.360 +
1.361 +class CTestDevVideoPlaySetPostProcOptions : public CTestDevVideoPlayStep
1.362 + {
1.363 +public:
1.364 + static CTestDevVideoPlaySetPostProcOptions* NewL(const TDesC& aTestName, TTestType aTestType);
1.365 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.366 +private:
1.367 + CTestDevVideoPlaySetPostProcOptions(const TDesC& aTestName, TTestType aTestType);
1.368 + ~CTestDevVideoPlaySetPostProcOptions() {};
1.369 + };
1.370 +
1.371 +//
1.372 +
1.373 +class CTestDevVideoPlaySetClockSource : public CTestDevVideoPlayStep
1.374 + {
1.375 +public:
1.376 + static CTestDevVideoPlaySetClockSource* NewL(const TDesC& aTestName, TTestType aTestType);
1.377 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.378 +private:
1.379 + CTestDevVideoPlaySetClockSource(const TDesC& aTestName, TTestType aTestType);
1.380 + ~CTestDevVideoPlaySetClockSource() {};
1.381 + };
1.382 +
1.383 +//
1.384 +
1.385 +class CTestDevVideoPlaySetVideoOutput : public CTestDevVideoPlayStep
1.386 + {
1.387 +public:
1.388 + static CTestDevVideoPlaySetVideoOutput* NewL(const TDesC& aTestName, TTestType aTestType);
1.389 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.390 +private:
1.391 + CTestDevVideoPlaySetVideoOutput(const TDesC& aTestName, TTestType aTestType);
1.392 + ~CTestDevVideoPlaySetVideoOutput() {};
1.393 + };
1.394 +
1.395 +//
1.396 +
1.397 +class CTestDevVideoPlaySynchronizeDecoding : public CTestDevVideoPlayStep
1.398 + {
1.399 +public:
1.400 + static CTestDevVideoPlaySynchronizeDecoding* NewL(const TDesC& aTestName, TTestType aTestType);
1.401 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.402 +private:
1.403 + CTestDevVideoPlaySynchronizeDecoding(const TDesC& aTestName, TTestType aTestType);
1.404 + ~CTestDevVideoPlaySynchronizeDecoding() {};
1.405 + };
1.406 +
1.407 +//
1.408 +
1.409 +class CTestDevVideoPlaySetBufferOptions : public CTestDevVideoPlayStep
1.410 + {
1.411 +public:
1.412 + static CTestDevVideoPlaySetBufferOptions* NewL(const TDesC& aTestName, TTestType aTestType);
1.413 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.414 +private:
1.415 + CTestDevVideoPlaySetBufferOptions(const TDesC& aTestName, TTestType aTestType);
1.416 + ~CTestDevVideoPlaySetBufferOptions() {};
1.417 + };
1.418 +
1.419 +//
1.420 +
1.421 +class CTestDevVideoPlayGetBufferOptions : public CTestDevVideoPlayStep
1.422 + {
1.423 +public:
1.424 + static CTestDevVideoPlayGetBufferOptions* NewL(const TDesC& aTestName, TTestType aTestType);
1.425 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.426 +private:
1.427 + CTestDevVideoPlayGetBufferOptions(const TDesC& aTestName, TTestType aTestType);
1.428 + ~CTestDevVideoPlayGetBufferOptions() {};
1.429 + };
1.430 +
1.431 +//
1.432 +
1.433 +class CTestDevVideoPlaySetHrdVbv : public CTestDevVideoPlayStep
1.434 + {
1.435 +public:
1.436 + static CTestDevVideoPlaySetHrdVbv* NewL(const TDesC& aTestName, TTestType aTestType);
1.437 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.438 +private:
1.439 + CTestDevVideoPlaySetHrdVbv(const TDesC& aTestName, TTestType aTestType);
1.440 + ~CTestDevVideoPlaySetHrdVbv() {};
1.441 + };
1.442 +
1.443 +//
1.444 +
1.445 +class CTestDevVideoPlayInit : public CTestDevVideoPlayStep
1.446 + {
1.447 +public:
1.448 + static CTestDevVideoPlayInit* NewL(const TDesC& aTestName, TTestType aTestType);
1.449 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.450 + virtual void MdvpoInitComplete(TInt aError);
1.451 +private:
1.452 + CTestDevVideoPlayInit(const TDesC& aTestName, TTestType aTestType);
1.453 + ~CTestDevVideoPlayInit() {};
1.454 + };
1.455 +
1.456 +//
1.457 +
1.458 +class CTestDevVideoPlayStartDSA : public CTestDevVideoPlayStep
1.459 + {
1.460 +public:
1.461 + static CTestDevVideoPlayStartDSA* NewL(const TDesC& aTestName, TTestType aTestType);
1.462 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.463 + virtual void MdvpoInitComplete(TInt aError);
1.464 +private:
1.465 + CTestDevVideoPlayStartDSA(const TDesC& aTestName, TTestType aTestType);
1.466 + ~CTestDevVideoPlayStartDSA() {};
1.467 + };
1.468 +
1.469 +//
1.470 +
1.471 +class CTestDevVideoPlaySetClipRegion : public CTestDevVideoPlayStep
1.472 + {
1.473 +public:
1.474 + static CTestDevVideoPlaySetClipRegion* NewL(const TDesC& aTestName, TTestType aTestType);
1.475 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.476 + virtual void MdvpoInitComplete(TInt aError);
1.477 +private:
1.478 + CTestDevVideoPlaySetClipRegion(const TDesC& aTestName, TTestType aTestType);
1.479 + ~CTestDevVideoPlaySetClipRegion() {};
1.480 + };
1.481 +
1.482 +//
1.483 +
1.484 +class CTestDevVideoPlaySetPauseClipFail : public CTestDevVideoPlayStep
1.485 + {
1.486 +public:
1.487 + static CTestDevVideoPlaySetPauseClipFail* NewL(const TDesC& aTestName, TTestType aTestType);
1.488 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.489 + virtual void MdvpoInitComplete(TInt aError);
1.490 +private:
1.491 + CTestDevVideoPlaySetPauseClipFail(const TDesC& aTestName, TTestType aTestType);
1.492 + ~CTestDevVideoPlaySetPauseClipFail() {};
1.493 + };
1.494 +
1.495 +//
1.496 +
1.497 +class CTestDevVideoPlayAbortDSA : public CTestDevVideoPlayStep
1.498 + {
1.499 +public:
1.500 + static CTestDevVideoPlayAbortDSA* NewL(const TDesC& aTestName, TTestType aTestType);
1.501 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.502 + virtual void MdvpoInitComplete(TInt aError);
1.503 +private:
1.504 + CTestDevVideoPlayAbortDSA(const TDesC& aTestName, TTestType aTestType);
1.505 + ~CTestDevVideoPlayAbortDSA() {};
1.506 + };
1.507 +
1.508 +//
1.509 +
1.510 +class CTestDevVideoPlayIsPlaying : public CTestDevVideoPlayStep
1.511 + {
1.512 +public:
1.513 + static CTestDevVideoPlayIsPlaying* NewL(const TDesC& aTestName, TTestType aTestType);
1.514 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.515 + virtual void MdvpoInitComplete(TInt aError);
1.516 +private:
1.517 + CTestDevVideoPlayIsPlaying(const TDesC& aTestName, TTestType aTestType);
1.518 + ~CTestDevVideoPlayIsPlaying() {};
1.519 + };
1.520 +
1.521 +//
1.522 +
1.523 +class CTestDevVideoPlayRedraw : public CTestDevVideoPlayStep
1.524 + {
1.525 +public:
1.526 + static CTestDevVideoPlayRedraw* NewL(const TDesC& aTestName, TTestType aTestType);
1.527 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.528 + virtual void MdvpoInitComplete(TInt aError);
1.529 +private:
1.530 + CTestDevVideoPlayRedraw(const TDesC& aTestName, TTestType aTestType);
1.531 + ~CTestDevVideoPlayRedraw() {};
1.532 + };
1.533 +
1.534 +//
1.535 +
1.536 +class CTestDevVideoPlayStart : public CTestDevVideoPlayStep
1.537 + {
1.538 +public:
1.539 + static CTestDevVideoPlayStart* NewL(const TDesC& aTestName, TTestType aTestType);
1.540 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.541 + virtual void MdvpoInitComplete(TInt aError);
1.542 +private:
1.543 + CTestDevVideoPlayStart(const TDesC& aTestName, TTestType aTestType);
1.544 + ~CTestDevVideoPlayStart() {};
1.545 + };
1.546 +
1.547 +//
1.548 +
1.549 +class CTestDevVideoPlayStop : public CTestDevVideoPlayStep
1.550 + {
1.551 +public:
1.552 + static CTestDevVideoPlayStop* NewL(const TDesC& aTestName, TTestType aTestType);
1.553 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.554 + virtual void MdvpoInitComplete(TInt aError);
1.555 +private:
1.556 + CTestDevVideoPlayStop(const TDesC& aTestName, TTestType aTestType);
1.557 + ~CTestDevVideoPlayStop() {};
1.558 + };
1.559 +
1.560 +//
1.561 +
1.562 +class CTestDevVideoPlayPause : public CTestDevVideoPlayStep
1.563 + {
1.564 +public:
1.565 + static CTestDevVideoPlayPause* NewL(const TDesC& aTestName, TTestType aTestType);
1.566 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.567 + virtual void MdvpoInitComplete(TInt aError);
1.568 +private:
1.569 + CTestDevVideoPlayPause(const TDesC& aTestName, TTestType aTestType);
1.570 + ~CTestDevVideoPlayPause() {};
1.571 + };
1.572 +
1.573 +//
1.574 +
1.575 +class CTestDevVideoPlayResume : public CTestDevVideoPlayStep
1.576 + {
1.577 +public:
1.578 + static CTestDevVideoPlayResume* NewL(const TDesC& aTestName, TTestType aTestType);
1.579 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.580 + virtual void MdvpoInitComplete(TInt aError);
1.581 +private:
1.582 + CTestDevVideoPlayResume(const TDesC& aTestName, TTestType aTestType);
1.583 + ~CTestDevVideoPlayResume() {};
1.584 + };
1.585 +
1.586 +//
1.587 +
1.588 +class CTestDevVideoPlaySetPosition : public CTestDevVideoPlayStep
1.589 + {
1.590 +public:
1.591 + static CTestDevVideoPlaySetPosition* NewL(const TDesC& aTestName, TTestType aTestType);
1.592 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.593 + virtual void MdvpoInitComplete(TInt aError);
1.594 +private:
1.595 + CTestDevVideoPlaySetPosition(const TDesC& aTestName, TTestType aTestType);
1.596 + ~CTestDevVideoPlaySetPosition() {};
1.597 + };
1.598 +
1.599 +//
1.600 +
1.601 +class CTestDevVideoPlayFreezePicture : public CTestDevVideoPlayStep
1.602 + {
1.603 +public:
1.604 + static CTestDevVideoPlayFreezePicture* NewL(const TDesC& aTestName, TTestType aTestType);
1.605 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.606 + virtual void MdvpoInitComplete(TInt aError);
1.607 +private:
1.608 + CTestDevVideoPlayFreezePicture(const TDesC& aTestName, TTestType aTestType);
1.609 + ~CTestDevVideoPlayFreezePicture() {};
1.610 + };
1.611 +
1.612 +//
1.613 +
1.614 +class CTestDevVideoPlayReleaseFreeze : public CTestDevVideoPlayStep
1.615 + {
1.616 +public:
1.617 + static CTestDevVideoPlayReleaseFreeze* NewL(const TDesC& aTestName, TTestType aTestType);
1.618 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.619 + virtual void MdvpoInitComplete(TInt aError);
1.620 +private:
1.621 + CTestDevVideoPlayReleaseFreeze(const TDesC& aTestName, TTestType aTestType);
1.622 + ~CTestDevVideoPlayReleaseFreeze() {};
1.623 + };
1.624 +
1.625 +//
1.626 +
1.627 +class CTestDevVideoPlayDecodingPosition : public CTestDevVideoPlayStep
1.628 + {
1.629 +public:
1.630 + static CTestDevVideoPlayDecodingPosition* NewL(const TDesC& aTestName, TTestType aTestType);
1.631 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.632 + virtual void MdvpoInitComplete(TInt aError);
1.633 +private:
1.634 + CTestDevVideoPlayDecodingPosition(const TDesC& aTestName, TTestType aTestType);
1.635 + ~CTestDevVideoPlayDecodingPosition() {};
1.636 + };
1.637 +
1.638 +//
1.639 +
1.640 +class CTestDevVideoPlayPlaybackPosition : public CTestDevVideoPlayStep
1.641 + {
1.642 +public:
1.643 + static CTestDevVideoPlayPlaybackPosition* NewL(const TDesC& aTestName, TTestType aTestType);
1.644 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.645 + virtual void MdvpoInitComplete(TInt aError);
1.646 +private:
1.647 + CTestDevVideoPlayPlaybackPosition(const TDesC& aTestName, TTestType aTestType);
1.648 + ~CTestDevVideoPlayPlaybackPosition() {};
1.649 + };
1.650 +
1.651 +//
1.652 +
1.653 +class CTestDevVideoPlayPreDecoderBufferBytes : public CTestDevVideoPlayStep
1.654 + {
1.655 +public:
1.656 + static CTestDevVideoPlayPreDecoderBufferBytes* NewL(const TDesC& aTestName, TTestType aTestType);
1.657 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.658 + virtual void MdvpoInitComplete(TInt aError);
1.659 +private:
1.660 + CTestDevVideoPlayPreDecoderBufferBytes(const TDesC& aTestName, TTestType aTestType);
1.661 + ~CTestDevVideoPlayPreDecoderBufferBytes() {};
1.662 + };
1.663 +
1.664 +//
1.665 +
1.666 +class CTestDevVideoPlayPictureBufferBytes : public CTestDevVideoPlayStep
1.667 + {
1.668 +public:
1.669 + static CTestDevVideoPlayPictureBufferBytes* NewL(const TDesC& aTestName, TTestType aTestType);
1.670 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.671 + virtual void MdvpoInitComplete(TInt aError);
1.672 +private:
1.673 + CTestDevVideoPlayPictureBufferBytes(const TDesC& aTestName, TTestType aTestType);
1.674 + ~CTestDevVideoPlayPictureBufferBytes() {};
1.675 + };
1.676 +
1.677 +//
1.678 +
1.679 +class CTestDevVideoPlayGetPictureCounters : public CTestDevVideoPlayStep
1.680 + {
1.681 +public:
1.682 + static CTestDevVideoPlayGetPictureCounters* NewL(const TDesC& aTestName, TTestType aTestType);
1.683 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.684 + virtual void MdvpoInitComplete(TInt aError);
1.685 +private:
1.686 + CTestDevVideoPlayGetPictureCounters(const TDesC& aTestName, TTestType aTestType);
1.687 + ~CTestDevVideoPlayGetPictureCounters() {};
1.688 + };
1.689 +
1.690 +//
1.691 +
1.692 +class CTestDevVideoPlayGetBitstreamCounters : public CTestDevVideoPlayStep
1.693 + {
1.694 +public:
1.695 + static CTestDevVideoPlayGetBitstreamCounters* NewL(const TDesC& aTestName, TTestType aTestType);
1.696 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.697 + virtual void MdvpoInitComplete(TInt aError);
1.698 +private:
1.699 + CTestDevVideoPlayGetBitstreamCounters(const TDesC& aTestName, TTestType aTestType);
1.700 + ~CTestDevVideoPlayGetBitstreamCounters() {};
1.701 + };
1.702 +
1.703 +//
1.704 +
1.705 +class CTestDevVideoPlayNumFreeBuffers : public CTestDevVideoPlayStep
1.706 + {
1.707 +public:
1.708 + static CTestDevVideoPlayNumFreeBuffers* NewL(const TDesC& aTestName, TTestType aTestType);
1.709 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.710 + virtual void MdvpoInitComplete(TInt aError);
1.711 +private:
1.712 + CTestDevVideoPlayNumFreeBuffers(const TDesC& aTestName, TTestType aTestType);
1.713 + ~CTestDevVideoPlayNumFreeBuffers() {};
1.714 + };
1.715 +
1.716 +//
1.717 +
1.718 +class CTestDevVideoPlaySetComplexityLevel : public CTestDevVideoPlayStep
1.719 + {
1.720 +public:
1.721 + static CTestDevVideoPlaySetComplexityLevel* NewL(const TDesC& aTestName, TTestType aTestType);
1.722 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.723 + virtual void MdvpoInitComplete(TInt aError);
1.724 +private:
1.725 + CTestDevVideoPlaySetComplexityLevel(const TDesC& aTestName, TTestType aTestType);
1.726 + ~CTestDevVideoPlaySetComplexityLevel() {};
1.727 + };
1.728 +
1.729 +//
1.730 +
1.731 +class CTestDevVideoPlayNumComplexityLevels : public CTestDevVideoPlayStep
1.732 + {
1.733 +public:
1.734 + static CTestDevVideoPlayNumComplexityLevels* NewL(const TDesC& aTestName, TTestType aTestType);
1.735 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.736 + virtual void MdvpoInitComplete(TInt aError);
1.737 +private:
1.738 + CTestDevVideoPlayNumComplexityLevels(const TDesC& aTestName, TTestType aTestType);
1.739 + ~CTestDevVideoPlayNumComplexityLevels() {};
1.740 + };
1.741 +
1.742 +//
1.743 +
1.744 +class CTestDevVideoPlayGetComplexityLevelInfo : public CTestDevVideoPlayStep
1.745 + {
1.746 +public:
1.747 + static CTestDevVideoPlayGetComplexityLevelInfo* NewL(const TDesC& aTestName, TTestType aTestType);
1.748 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.749 + virtual void MdvpoInitComplete(TInt aError);
1.750 +private:
1.751 + CTestDevVideoPlayGetComplexityLevelInfo(const TDesC& aTestName, TTestType aTestType);
1.752 + ~CTestDevVideoPlayGetComplexityLevelInfo() {};
1.753 + };
1.754 +
1.755 +//
1.756 +
1.757 +class CTestDevVideoPlayGetBuffer : public CTestDevVideoPlayStep
1.758 + {
1.759 +public:
1.760 + static CTestDevVideoPlayGetBuffer* NewL(const TDesC& aTestName, TTestType aTestType);
1.761 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.762 + virtual void MdvpoInitComplete(TInt aError);
1.763 + virtual void MdvpoNewBuffers();
1.764 +private:
1.765 + CTestDevVideoPlayGetBuffer(const TDesC& aTestName, TTestType aTestType);
1.766 + ~CTestDevVideoPlayGetBuffer() {};
1.767 + TBool iCalledBack;
1.768 + };
1.769 +
1.770 +//
1.771 +
1.772 +class CTestDevVideoPlayWriteCodedData : public CTestDevVideoPlayStep
1.773 + {
1.774 +public:
1.775 + static CTestDevVideoPlayWriteCodedData* NewL(const TDesC& aTestName, TTestType aTestType);
1.776 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.777 + virtual void MdvpoInitComplete(TInt aError);
1.778 +private:
1.779 + CTestDevVideoPlayWriteCodedData(const TDesC& aTestName, TTestType aTestType);
1.780 + ~CTestDevVideoPlayWriteCodedData() {};
1.781 + };
1.782 +
1.783 +//
1.784 +
1.785 +class CTestDevVideoPlayScanAndCopyCodedData : public CTestDevVideoPlayStep
1.786 + {
1.787 +public:
1.788 + static CTestDevVideoPlayScanAndCopyCodedData* NewL(const TDesC& aTestName, TTestType aTestType);
1.789 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.790 + virtual void MdvpoInitComplete(TInt aError);
1.791 +private:
1.792 + CTestDevVideoPlayScanAndCopyCodedData(const TDesC& aTestName, TTestType aTestType);
1.793 + ~CTestDevVideoPlayScanAndCopyCodedData() {};
1.794 + };
1.795 +
1.796 +//
1.797 +
1.798 +class CTestDevVideoPlayExtensionWriteCodedData : public CTestDevVideoPlayStep
1.799 + {
1.800 +public:
1.801 + static CTestDevVideoPlayExtensionWriteCodedData* NewL(const TDesC& aTestName, TTestType aTestType);
1.802 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.803 + virtual void MdvpoInitComplete(TInt aError);
1.804 +private:
1.805 + CTestDevVideoPlayExtensionWriteCodedData(const TDesC& aTestName, TTestType aTestType);
1.806 + ~CTestDevVideoPlayExtensionWriteCodedData() {};
1.807 + };
1.808 +
1.809 +//
1.810 +
1.811 +class CTestDevVideoPlayWritePicture : public CTestDevVideoPlayStep
1.812 + {
1.813 +public:
1.814 + static CTestDevVideoPlayWritePicture* NewL(const TDesC& aTestName, TTestType aTestType);
1.815 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.816 + virtual void MdvpoInitComplete(TInt aError);
1.817 + virtual void MdvpoReturnPicture(TVideoPicture* aPicture);
1.818 +private:
1.819 + CTestDevVideoPlayWritePicture(const TDesC& aTestName, TTestType aTestType);
1.820 + ~CTestDevVideoPlayWritePicture() {};
1.821 + TVideoPicture *iPicture;
1.822 + };
1.823 +
1.824 +//
1.825 +
1.826 +class CTestDevVideoPlayInputEnd : public CTestDevVideoPlayStep
1.827 + {
1.828 +public:
1.829 + static CTestDevVideoPlayInputEnd* NewL(const TDesC& aTestName, TTestType aTestType);
1.830 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.831 + virtual void MdvpoInitComplete(TInt aError);
1.832 + virtual void MdvpoStreamEnd();
1.833 +private:
1.834 + CTestDevVideoPlayInputEnd(const TDesC& aTestName, TTestType aTestType);
1.835 + ~CTestDevVideoPlayInputEnd() {};
1.836 + TUint iEndCount;
1.837 + };
1.838 +
1.839 +//
1.840 +
1.841 +class CTestDevVideoPlayGetNewPictureInfo : public CTestDevVideoPlayStep
1.842 + {
1.843 +public:
1.844 + static CTestDevVideoPlayGetNewPictureInfo* NewL(const TDesC& aTestName, TTestType aTestType);
1.845 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.846 + virtual void MdvpoInitComplete(TInt aError);
1.847 +private:
1.848 + CTestDevVideoPlayGetNewPictureInfo(const TDesC& aTestName, TTestType aTestType);
1.849 + ~CTestDevVideoPlayGetNewPictureInfo() {};
1.850 + };
1.851 +
1.852 +//
1.853 +
1.854 +class CTestDevVideoPlayNextPicture : public CTestDevVideoPlayStep
1.855 + {
1.856 +public:
1.857 + static CTestDevVideoPlayNextPicture* NewL(const TDesC& aTestName, TTestType aTestType);
1.858 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.859 + virtual void MdvpoInitComplete(TInt aError);
1.860 + virtual void MdvpoNewPictures();
1.861 + void CheckNewPictureInfoL(TUint aNumPictures, const TTimeIntervalMicroSeconds& aFirst, const TTimeIntervalMicroSeconds& aLast);
1.862 + void DoNewPicturesL();
1.863 +private:
1.864 + CTestDevVideoPlayNextPicture(const TDesC& aTestName, TTestType aTestType);
1.865 + ~CTestDevVideoPlayNextPicture() {};
1.866 +private:
1.867 + TInt iCurrentPictureNumber;
1.868 + CMMFDevVideoPlay* iDevVideoPlay;
1.869 + };
1.870 +
1.871 +
1.872 +//
1.873 +
1.874 +class CTestDevVideoPlayGetSnapshot : public CTestDevVideoPlayStep
1.875 + {
1.876 +public:
1.877 + static CTestDevVideoPlayGetSnapshot* NewL(const TDesC& aTestName, TTestType aTestType);
1.878 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.879 + virtual void MdvpoInitComplete(TInt aError);
1.880 +private:
1.881 + CTestDevVideoPlayGetSnapshot(const TDesC& aTestName, TTestType aTestType);
1.882 + ~CTestDevVideoPlayGetSnapshot() {};
1.883 + };
1.884 +
1.885 +//
1.886 +
1.887 +class CTestDevVideoPlayGetTimedSnapshotTimestamp : public CTestDevVideoPlayStep
1.888 + {
1.889 +public:
1.890 + static CTestDevVideoPlayGetTimedSnapshotTimestamp* NewL(const TDesC& aTestName, TTestType aTestType);
1.891 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.892 + virtual void MdvpoInitComplete(TInt aError);
1.893 + virtual void MdvpoTimedSnapshotComplete(TInt aError,
1.894 + TPictureData* aPictureData,
1.895 + const TTimeIntervalMicroSeconds& aPresentationTimestamp,
1.896 + const TPictureId& aPictureId);
1.897 +private:
1.898 + CTestDevVideoPlayGetTimedSnapshotTimestamp(const TDesC& aTestName, TTestType aTestType);
1.899 + ~CTestDevVideoPlayGetTimedSnapshotTimestamp() {};
1.900 + TTimeIntervalMicroSeconds iTimestamp;
1.901 + TPictureData* iPictureData;
1.902 + };
1.903 +
1.904 +//
1.905 +
1.906 +class CTestDevVideoPlayGetTimedSnapshotID : public CTestDevVideoPlayStep
1.907 + {
1.908 +public:
1.909 + static CTestDevVideoPlayGetTimedSnapshotID* NewL(const TDesC& aTestName, TTestType aTestType);
1.910 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.911 + virtual void MdvpoInitComplete(TInt aError);
1.912 + virtual void MdvpoTimedSnapshotComplete(TInt aError,
1.913 + TPictureData* aPictureData,
1.914 + const TTimeIntervalMicroSeconds& aPresentationTimestamp,
1.915 + const TPictureId& aPictureId);
1.916 +private:
1.917 + CTestDevVideoPlayGetTimedSnapshotID(const TDesC& aTestName, TTestType aTestType);
1.918 + ~CTestDevVideoPlayGetTimedSnapshotID() {};
1.919 + TPictureId iPictureId;
1.920 + TPictureData* iPictureData;
1.921 + };
1.922 +
1.923 +//
1.924 +
1.925 +class CTestDevVideoPlayCancelTimedSnapshot : public CTestDevVideoPlayStep
1.926 + {
1.927 +public:
1.928 + static CTestDevVideoPlayCancelTimedSnapshot* NewL(const TDesC& aTestName, TTestType aTestType);
1.929 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.930 + virtual void MdvpoInitComplete(TInt aError);
1.931 + virtual void MdvpoTimedSnapshotComplete(TInt aError,
1.932 + TPictureData* aPictureData,
1.933 + const TTimeIntervalMicroSeconds& aPresentationTimestamp,
1.934 + const TPictureId& aPictureId);
1.935 +private:
1.936 + CTestDevVideoPlayCancelTimedSnapshot(const TDesC& aTestName, TTestType aTestType);
1.937 + ~CTestDevVideoPlayCancelTimedSnapshot() {};
1.938 + };
1.939 +
1.940 +//
1.941 +
1.942 +class CTestDevVideoPlayGetSupportedSnapshotFormats : public CTestDevVideoPlayStep
1.943 + {
1.944 +public:
1.945 + static CTestDevVideoPlayGetSupportedSnapshotFormats* NewL(const TDesC& aTestName, TTestType aTestType);
1.946 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.947 + virtual void MdvpoInitComplete(TInt aError);
1.948 +private:
1.949 + CTestDevVideoPlayGetSupportedSnapshotFormats(const TDesC& aTestName, TTestType aTestType);
1.950 + ~CTestDevVideoPlayGetSupportedSnapshotFormats() {};
1.951 + };
1.952 +
1.953 +//
1.954 +
1.955 +class CTestDevVideoPlayClock : public CTestDevVideoStep, public MMMFClockSourcePeriodicUtilityObserver
1.956 + {
1.957 +public:
1.958 + static CTestDevVideoPlayClock* NewL(const TDesC& aTestName);
1.959 + CTestDevVideoPlayClock(const TDesC& aTestName);
1.960 + ~CTestDevVideoPlayClock();
1.961 + void ConstructL();
1.962 +
1.963 + virtual TVerdict DoTestStepL();
1.964 + static TInt StartThread(TAny* aAny);
1.965 + void RunThread();
1.966 +
1.967 + // from MMMFClockSourcePeriodicUtilityObserver
1.968 + virtual void MmcspuoTick(const TTimeIntervalMicroSeconds& aTime);
1.969 +protected:
1.970 + TInt iError;
1.971 + CSystemClockSource* iClockSource;
1.972 + CMMFClockSourcePeriodicUtility* iPeriodicUtility;
1.973 + TUint iPeriodicUtilityIteration;
1.974 + TBool iShutdownSubthread;
1.975 + TVerdict iPeriodicUtilityTestVerdict;
1.976 + };
1.977 +
1.978 +//
1.979 +
1.980 +class CTestDevVideoPlayCommit : public CTestDevVideoPlayStep
1.981 + {
1.982 +public:
1.983 + static CTestDevVideoPlayCommit* NewL(const TDesC& aTestName, TTestType aTestType);
1.984 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.985 + virtual void MdvpoInitComplete(TInt aError);
1.986 +private:
1.987 + CTestDevVideoPlayCommit(const TDesC& aTestName, TTestType aTestType);
1.988 + ~CTestDevVideoPlayCommit() {};
1.989 + };
1.990 +
1.991 +//
1.992 +
1.993 +class CTestDevVideoPlayRevert : public CTestDevVideoPlayStep
1.994 + {
1.995 +public:
1.996 + static CTestDevVideoPlayRevert* NewL(const TDesC& aTestName, TTestType aTestType);
1.997 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.998 + virtual void MdvpoInitComplete(TInt aError);
1.999 +private:
1.1000 + CTestDevVideoPlayRevert(const TDesC& aTestName, TTestType aTestType);
1.1001 + ~CTestDevVideoPlayRevert() {};
1.1002 + };
1.1003 +
1.1004 +//
1.1005 +
1.1006 +class CTestDevVideoPlayCustomInterface : public CTestDevVideoPlayStep
1.1007 + {
1.1008 +public:
1.1009 + static CTestDevVideoPlayCustomInterface* NewL(const TDesC& aTestName, TTestType aTestType);
1.1010 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.1011 +private:
1.1012 + CTestDevVideoPlayCustomInterface(const TDesC& aTestName, TTestType aTestType);
1.1013 + ~CTestDevVideoPlayCustomInterface() {};
1.1014 + };
1.1015 +
1.1016 +//
1.1017 +/*
1.1018 +class CTestDevVideoPlayXXX : public CTestDevVideoPlayStep
1.1019 + {
1.1020 +public:
1.1021 + static CTestDevVideoPlayXXX* NewL(const TDesC& aTestName, TTestType aTestType);
1.1022 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.1023 +private:
1.1024 + CTestDevVideoPlayXXX(const TDesC& aTestName, TTestType aTestType);
1.1025 + ~CTestDevVideoPlayXXX() {};
1.1026 + };
1.1027 +*/
1.1028 +//
1.1029 +class CTestDevVideoGetBufferWithoutInitialize : public CTestDevVideoPlayStep
1.1030 + {
1.1031 +public:
1.1032 + static CTestDevVideoGetBufferWithoutInitialize* NewL(const TDesC& aTestName, TTestType aTestType);
1.1033 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.1034 + virtual void MdvpoInitComplete(TInt aError);
1.1035 + virtual void MdvpoNewBuffers();
1.1036 +private:
1.1037 + CTestDevVideoGetBufferWithoutInitialize(const TDesC& aTestName, TTestType aTestType);
1.1038 + ~CTestDevVideoGetBufferWithoutInitialize() {};
1.1039 + TBool iCalledBack;
1.1040 + };
1.1041 +
1.1042 +//
1.1043 +
1.1044 +class CTestDevVideoPlayGetDecoderPostProcInfo : public CTestDevVideoPlayStep
1.1045 + {
1.1046 +public:
1.1047 + static CTestDevVideoPlayGetDecoderPostProcInfo* NewL(const TDesC& aTestName, TTestType aTestType);
1.1048 + virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay);
1.1049 +private:
1.1050 + CTestDevVideoPlayGetDecoderPostProcInfo(const TDesC& aTestName, TTestType aTestType);
1.1051 + ~CTestDevVideoPlayGetDecoderPostProcInfo() {};
1.1052 + TBool ValidPostProcInfo(CPostProcessorInfo* aInfo);
1.1053 + };
1.1054 +
1.1055 +#endif // TESTDEVVIDEOPLAY_H__