sl@0: // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Header file: DevVideoPlay tests. sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file TestDevVideoPlay.h sl@0: */ sl@0: sl@0: #ifndef __TESTDEVVIDEOPLAY_H__ sl@0: #define __TESTDEVVIDEOPLAY_H__ sl@0: sl@0: #include "TSU_MMF_DevVideo.h" sl@0: sl@0: /** sl@0: * DevVideoPlay test base class sl@0: * sl@0: * @class CTestDevVideoPlayStep sl@0: * sl@0: * Req. under test REQ1931.3 sl@0: */ sl@0: sl@0: class CTestDevVideoPlayStep : public CTestDevVideoStep, public MMMFDevVideoPlayObserver sl@0: { sl@0: public: sl@0: CTestDevVideoPlayStep(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayStep(); sl@0: virtual TVerdict DoTestStepL(); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay) = 0; sl@0: sl@0: // MMMFDevVideoPlayObserver sl@0: virtual void MdvpoNewBuffers(); sl@0: virtual void MdvpoReturnPicture(TVideoPicture* aPicture); sl@0: virtual void MdvpoSupplementalInformation(const TDesC8& aData, sl@0: const TTimeIntervalMicroSeconds& aTimestamp, sl@0: const TPictureId& aPictureId); sl@0: virtual void MdvpoPictureLoss(); sl@0: virtual void MdvpoPictureLoss(const TArray& aPictures); sl@0: virtual void MdvpoSliceLoss(TUint aFirstMacroblock, TUint aNumMacroblocks, const TPictureId& aPicture); sl@0: virtual void MdvpoReferencePictureSelection(const TDesC8& aSelectionData); sl@0: virtual void MdvpoTimedSnapshotComplete(TInt aError, sl@0: TPictureData* aPictureData, sl@0: const TTimeIntervalMicroSeconds& aPresentationTimestamp, sl@0: const TPictureId& aPictureId); sl@0: virtual void MdvpoNewPictures(); sl@0: virtual void MdvpoFatalError(TInt aError); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: virtual void MdvpoStreamEnd(); sl@0: sl@0: protected: sl@0: TInt iError; sl@0: TTestType iTestType; // Type of test sl@0: CMMFDevVideoPlay* iDevVideoPlay; sl@0: }; sl@0: sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayCommonFormat : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayCommonFormat* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayCommonFormat(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayCommonFormat() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayFindDecoders : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayFindDecoders* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayFindDecoders(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayFindDecoders() {}; sl@0: TInt CheckDecoders(const RArray& aFoundDecoders, const RArray& aExpectedDecoders, const RArray& aUnExpectedDecoders); sl@0: }; sl@0: sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayFindPostProc : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayFindPostProc* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayFindPostProc(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayFindPostProc() {}; sl@0: TInt CheckPostProx(const RArray& aFoundPostProx, const RArray& aExpectedPostProx, const RArray& aUnExpectedPostProx); sl@0: }; sl@0: sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayListDecoders : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayListDecoders* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayListDecoders(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayListDecoders() {}; sl@0: }; sl@0: sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayListPostProc : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayListPostProc* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayListPostProc(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayListPostProc() {}; sl@0: }; sl@0: sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetDecoderInfo : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetDecoderInfo* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayGetDecoderInfo(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetDecoderInfo() {}; sl@0: TBool ValidDecoderInfo(CVideoDecoderInfo* aInfo); sl@0: }; sl@0: sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetPostProcInfo : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetPostProcInfo* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayGetPostProcInfo(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetPostProcInfo() {}; sl@0: TBool ValidPostProcInfo(CPostProcessorInfo* aInfo); sl@0: }; sl@0: sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySelectDecoder : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySelectDecoder* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySelectDecoder(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySelectDecoder() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySelectPostProc : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySelectPostProc* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySelectPostProc(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySelectPostProc() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetHeaderInfo : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetHeaderInfo* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayGetHeaderInfo(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetHeaderInfo() {}; sl@0: TBool ValidPictureHeader(const TVideoPictureHeader* aPictureHeader); sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayReturnHeader : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayReturnHeader* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayReturnHeader(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayReturnHeader() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayConfigureDecoder: public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayConfigureDecoder* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayConfigureDecoder(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayConfigureDecoder() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetInputFormatUC : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetInputFormatUC* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetInputFormatUC(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetInputFormatUC() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetInputFormat : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetInputFormat* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetInputFormat(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetInputFormat() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetOutputFormatList : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetOutputFormatList* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayGetOutputFormatList(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetOutputFormatList() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetOutputFormat : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetOutputFormat* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetOutputFormat(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetOutputFormat() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetPostProcTypes : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetPostProcTypes* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetPostProcTypes(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetPostProcTypes() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetInputCrop : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetInputCrop* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetInputCrop(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetInputCrop() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetYuvToRgbOptionsFormat : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetYuvToRgbOptionsFormat* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetYuvToRgbOptionsFormat(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetYuvToRgbOptionsFormat() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetYuvToRgbOptions : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetYuvToRgbOptions* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetYuvToRgbOptions(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetYuvToRgbOptions() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetRotate : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetRotate* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetRotate(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetRotate() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetScale : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetScale* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetScale(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetScale() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetCrop : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetCrop* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetCrop(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetCrop() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetPostProcOptions : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetPostProcOptions* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetPostProcOptions(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetPostProcOptions() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetClockSource : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetClockSource* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetClockSource(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetClockSource() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetVideoOutput : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetVideoOutput* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetVideoOutput(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetVideoOutput() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySynchronizeDecoding : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySynchronizeDecoding* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySynchronizeDecoding(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySynchronizeDecoding() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetBufferOptions : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetBufferOptions* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetBufferOptions(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetBufferOptions() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetBufferOptions : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetBufferOptions* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayGetBufferOptions(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetBufferOptions() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetHrdVbv : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetHrdVbv* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlaySetHrdVbv(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetHrdVbv() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayInit : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayInit* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayInit(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayInit() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayStartDSA : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayStartDSA* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayStartDSA(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayStartDSA() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetClipRegion : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetClipRegion* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlaySetClipRegion(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetClipRegion() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetPauseClipFail : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetPauseClipFail* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlaySetPauseClipFail(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetPauseClipFail() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayAbortDSA : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayAbortDSA* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayAbortDSA(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayAbortDSA() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayIsPlaying : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayIsPlaying* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayIsPlaying(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayIsPlaying() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayRedraw : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayRedraw* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayRedraw(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayRedraw() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayStart : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayStart* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayStart(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayStart() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayStop : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayStop* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayStop(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayStop() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayPause : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayPause* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayPause(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayPause() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayResume : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayResume* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayResume(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayResume() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetPosition : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetPosition* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlaySetPosition(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetPosition() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayFreezePicture : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayFreezePicture* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayFreezePicture(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayFreezePicture() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayReleaseFreeze : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayReleaseFreeze* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayReleaseFreeze(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayReleaseFreeze() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayDecodingPosition : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayDecodingPosition* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayDecodingPosition(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayDecodingPosition() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayPlaybackPosition : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayPlaybackPosition* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayPlaybackPosition(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayPlaybackPosition() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayPreDecoderBufferBytes : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayPreDecoderBufferBytes* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayPreDecoderBufferBytes(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayPreDecoderBufferBytes() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayPictureBufferBytes : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayPictureBufferBytes* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayPictureBufferBytes(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayPictureBufferBytes() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetPictureCounters : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetPictureCounters* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayGetPictureCounters(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetPictureCounters() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetBitstreamCounters : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetBitstreamCounters* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayGetBitstreamCounters(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetBitstreamCounters() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayNumFreeBuffers : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayNumFreeBuffers* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayNumFreeBuffers(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayNumFreeBuffers() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlaySetComplexityLevel : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlaySetComplexityLevel* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlaySetComplexityLevel(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlaySetComplexityLevel() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayNumComplexityLevels : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayNumComplexityLevels* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayNumComplexityLevels(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayNumComplexityLevels() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetComplexityLevelInfo : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetComplexityLevelInfo* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayGetComplexityLevelInfo(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetComplexityLevelInfo() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetBuffer : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetBuffer* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: virtual void MdvpoNewBuffers(); sl@0: private: sl@0: CTestDevVideoPlayGetBuffer(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetBuffer() {}; sl@0: TBool iCalledBack; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayWriteCodedData : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayWriteCodedData* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayWriteCodedData(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayWriteCodedData() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayScanAndCopyCodedData : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayScanAndCopyCodedData* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayScanAndCopyCodedData(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayScanAndCopyCodedData() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayExtensionWriteCodedData : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayExtensionWriteCodedData* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayExtensionWriteCodedData(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayExtensionWriteCodedData() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayWritePicture : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayWritePicture* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: virtual void MdvpoReturnPicture(TVideoPicture* aPicture); sl@0: private: sl@0: CTestDevVideoPlayWritePicture(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayWritePicture() {}; sl@0: TVideoPicture *iPicture; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayInputEnd : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayInputEnd* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: virtual void MdvpoStreamEnd(); sl@0: private: sl@0: CTestDevVideoPlayInputEnd(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayInputEnd() {}; sl@0: TUint iEndCount; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetNewPictureInfo : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetNewPictureInfo* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayGetNewPictureInfo(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetNewPictureInfo() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayNextPicture : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayNextPicture* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: virtual void MdvpoNewPictures(); sl@0: void CheckNewPictureInfoL(TUint aNumPictures, const TTimeIntervalMicroSeconds& aFirst, const TTimeIntervalMicroSeconds& aLast); sl@0: void DoNewPicturesL(); sl@0: private: sl@0: CTestDevVideoPlayNextPicture(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayNextPicture() {}; sl@0: private: sl@0: TInt iCurrentPictureNumber; sl@0: CMMFDevVideoPlay* iDevVideoPlay; sl@0: }; sl@0: sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetSnapshot : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetSnapshot* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayGetSnapshot(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetSnapshot() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetTimedSnapshotTimestamp : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetTimedSnapshotTimestamp* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: virtual void MdvpoTimedSnapshotComplete(TInt aError, sl@0: TPictureData* aPictureData, sl@0: const TTimeIntervalMicroSeconds& aPresentationTimestamp, sl@0: const TPictureId& aPictureId); sl@0: private: sl@0: CTestDevVideoPlayGetTimedSnapshotTimestamp(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetTimedSnapshotTimestamp() {}; sl@0: TTimeIntervalMicroSeconds iTimestamp; sl@0: TPictureData* iPictureData; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetTimedSnapshotID : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetTimedSnapshotID* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: virtual void MdvpoTimedSnapshotComplete(TInt aError, sl@0: TPictureData* aPictureData, sl@0: const TTimeIntervalMicroSeconds& aPresentationTimestamp, sl@0: const TPictureId& aPictureId); sl@0: private: sl@0: CTestDevVideoPlayGetTimedSnapshotID(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetTimedSnapshotID() {}; sl@0: TPictureId iPictureId; sl@0: TPictureData* iPictureData; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayCancelTimedSnapshot : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayCancelTimedSnapshot* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: virtual void MdvpoTimedSnapshotComplete(TInt aError, sl@0: TPictureData* aPictureData, sl@0: const TTimeIntervalMicroSeconds& aPresentationTimestamp, sl@0: const TPictureId& aPictureId); sl@0: private: sl@0: CTestDevVideoPlayCancelTimedSnapshot(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayCancelTimedSnapshot() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetSupportedSnapshotFormats : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetSupportedSnapshotFormats* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayGetSupportedSnapshotFormats(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetSupportedSnapshotFormats() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayClock : public CTestDevVideoStep, public MMMFClockSourcePeriodicUtilityObserver sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayClock* NewL(const TDesC& aTestName); sl@0: CTestDevVideoPlayClock(const TDesC& aTestName); sl@0: ~CTestDevVideoPlayClock(); sl@0: void ConstructL(); sl@0: sl@0: virtual TVerdict DoTestStepL(); sl@0: static TInt StartThread(TAny* aAny); sl@0: void RunThread(); sl@0: sl@0: // from MMMFClockSourcePeriodicUtilityObserver sl@0: virtual void MmcspuoTick(const TTimeIntervalMicroSeconds& aTime); sl@0: protected: sl@0: TInt iError; sl@0: CSystemClockSource* iClockSource; sl@0: CMMFClockSourcePeriodicUtility* iPeriodicUtility; sl@0: TUint iPeriodicUtilityIteration; sl@0: TBool iShutdownSubthread; sl@0: TVerdict iPeriodicUtilityTestVerdict; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayCommit : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayCommit* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayCommit(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayCommit() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayRevert : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayRevert* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: private: sl@0: CTestDevVideoPlayRevert(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayRevert() {}; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayCustomInterface : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayCustomInterface* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayCustomInterface(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayCustomInterface() {}; sl@0: }; sl@0: sl@0: // sl@0: /* sl@0: class CTestDevVideoPlayXXX : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayXXX* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayXXX(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayXXX() {}; sl@0: }; sl@0: */ sl@0: // sl@0: class CTestDevVideoGetBufferWithoutInitialize : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoGetBufferWithoutInitialize* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: virtual void MdvpoInitComplete(TInt aError); sl@0: virtual void MdvpoNewBuffers(); sl@0: private: sl@0: CTestDevVideoGetBufferWithoutInitialize(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoGetBufferWithoutInitialize() {}; sl@0: TBool iCalledBack; sl@0: }; sl@0: sl@0: // sl@0: sl@0: class CTestDevVideoPlayGetDecoderPostProcInfo : public CTestDevVideoPlayStep sl@0: { sl@0: public: sl@0: static CTestDevVideoPlayGetDecoderPostProcInfo* NewL(const TDesC& aTestName, TTestType aTestType); sl@0: virtual TVerdict DoTestL(CMMFDevVideoPlay& aDevVideoPlay); sl@0: private: sl@0: CTestDevVideoPlayGetDecoderPostProcInfo(const TDesC& aTestName, TTestType aTestType); sl@0: ~CTestDevVideoPlayGetDecoderPostProcInfo() {}; sl@0: TBool ValidPostProcInfo(CPostProcessorInfo* aInfo); sl@0: }; sl@0: sl@0: #endif // TESTDEVVIDEOPLAY_H__