os/mm/mmlibs/mmfw/inc/mmf/common/mmfvideoenums.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.
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Mda\Common\MmfVideo.h
    15 // 
    16 //
    17 
    18 #ifndef __MMF_COMMON_VIDEO_ENUMS_H__
    19 #define __MMF_COMMON_VIDEO_ENUMS_H__
    20 
    21 #include <mmf/common/mmfutilities.h>
    22 
    23 
    24 /**
    25 Video playback rate capabilities. This structure defines playback rate
    26 capabilities for the current controller and video clip, and can be used
    27 to determine if fast forward, rewind, step forward, or step backward
    28 is possible.
    29 
    30 @publishedPartner
    31 @released
    32 
    33 @see CVideoPlayerUtility::GetPlayRateCapabilitiesL, CVideoPlayerUtility::SetPlayVelocityL
    34 */
    35 class TVideoPlayRateCapabilities
    36     {
    37 public:
    38     /**
    39     ETrue if fast or slow play forward is possible (i.e. playback
    40     velocity 1-99 or 101-). Normal play forward (velocity 100) is
    41     supported by default.
    42     */
    43     TBool iPlayForward;
    44 
    45     /**
    46     ETrue if play backward is possible (i.e. playback velocity below0).
    47     This includes normal speed, slow, and fast reverse playback.
    48     */
    49     TBool iPlayBackward;
    50 
    51     /** ETrue if step forward is possible */
    52     TBool iStepForward;
    53 
    54     /** Etrue if step backward is possible */
    55     TBool iStepBackward;
    56     };
    57 
    58 /**
    59 Video quality.
    60 
    61 @publishedPartner
    62 @released
    63 
    64 @see CVideoPlayerUtility::SetVideoQualityL
    65 */
    66 enum TVideoQuality 
    67 	{
    68 	EVideoQualityLow = 25,
    69 	EVideoQualityNormal = 50,
    70 	EVideoQualityHigh = 75,
    71 	EVideoQualityLossless = 100
    72 	};
    73 	
    74 #endif