1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmlibs/mmfw/inc/mmf/common/mmfvideoenums.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,74 @@
1.4 +// Copyright (c) 2002-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 +// Mda\Common\MmfVideo.h
1.18 +//
1.19 +//
1.20 +
1.21 +#ifndef __MMF_COMMON_VIDEO_ENUMS_H__
1.22 +#define __MMF_COMMON_VIDEO_ENUMS_H__
1.23 +
1.24 +#include <mmf/common/mmfutilities.h>
1.25 +
1.26 +
1.27 +/**
1.28 +Video playback rate capabilities. This structure defines playback rate
1.29 +capabilities for the current controller and video clip, and can be used
1.30 +to determine if fast forward, rewind, step forward, or step backward
1.31 +is possible.
1.32 +
1.33 +@publishedPartner
1.34 +@released
1.35 +
1.36 +@see CVideoPlayerUtility::GetPlayRateCapabilitiesL, CVideoPlayerUtility::SetPlayVelocityL
1.37 +*/
1.38 +class TVideoPlayRateCapabilities
1.39 + {
1.40 +public:
1.41 + /**
1.42 + ETrue if fast or slow play forward is possible (i.e. playback
1.43 + velocity 1-99 or 101-). Normal play forward (velocity 100) is
1.44 + supported by default.
1.45 + */
1.46 + TBool iPlayForward;
1.47 +
1.48 + /**
1.49 + ETrue if play backward is possible (i.e. playback velocity below0).
1.50 + This includes normal speed, slow, and fast reverse playback.
1.51 + */
1.52 + TBool iPlayBackward;
1.53 +
1.54 + /** ETrue if step forward is possible */
1.55 + TBool iStepForward;
1.56 +
1.57 + /** Etrue if step backward is possible */
1.58 + TBool iStepBackward;
1.59 + };
1.60 +
1.61 +/**
1.62 +Video quality.
1.63 +
1.64 +@publishedPartner
1.65 +@released
1.66 +
1.67 +@see CVideoPlayerUtility::SetVideoQualityL
1.68 +*/
1.69 +enum TVideoQuality
1.70 + {
1.71 + EVideoQualityLow = 25,
1.72 + EVideoQualityNormal = 50,
1.73 + EVideoQualityHigh = 75,
1.74 + EVideoQualityLossless = 100
1.75 + };
1.76 +
1.77 +#endif