sl@0
|
1 |
// Copyright (c) 2002-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 |
// Mda\Common\MmfVideo.h
|
sl@0
|
15 |
//
|
sl@0
|
16 |
//
|
sl@0
|
17 |
|
sl@0
|
18 |
#ifndef __MMF_COMMON_VIDEO_ENUMS_H__
|
sl@0
|
19 |
#define __MMF_COMMON_VIDEO_ENUMS_H__
|
sl@0
|
20 |
|
sl@0
|
21 |
#include <mmf/common/mmfutilities.h>
|
sl@0
|
22 |
|
sl@0
|
23 |
|
sl@0
|
24 |
/**
|
sl@0
|
25 |
Video playback rate capabilities. This structure defines playback rate
|
sl@0
|
26 |
capabilities for the current controller and video clip, and can be used
|
sl@0
|
27 |
to determine if fast forward, rewind, step forward, or step backward
|
sl@0
|
28 |
is possible.
|
sl@0
|
29 |
|
sl@0
|
30 |
@publishedPartner
|
sl@0
|
31 |
@released
|
sl@0
|
32 |
|
sl@0
|
33 |
@see CVideoPlayerUtility::GetPlayRateCapabilitiesL, CVideoPlayerUtility::SetPlayVelocityL
|
sl@0
|
34 |
*/
|
sl@0
|
35 |
class TVideoPlayRateCapabilities
|
sl@0
|
36 |
{
|
sl@0
|
37 |
public:
|
sl@0
|
38 |
/**
|
sl@0
|
39 |
ETrue if fast or slow play forward is possible (i.e. playback
|
sl@0
|
40 |
velocity 1-99 or 101-). Normal play forward (velocity 100) is
|
sl@0
|
41 |
supported by default.
|
sl@0
|
42 |
*/
|
sl@0
|
43 |
TBool iPlayForward;
|
sl@0
|
44 |
|
sl@0
|
45 |
/**
|
sl@0
|
46 |
ETrue if play backward is possible (i.e. playback velocity below0).
|
sl@0
|
47 |
This includes normal speed, slow, and fast reverse playback.
|
sl@0
|
48 |
*/
|
sl@0
|
49 |
TBool iPlayBackward;
|
sl@0
|
50 |
|
sl@0
|
51 |
/** ETrue if step forward is possible */
|
sl@0
|
52 |
TBool iStepForward;
|
sl@0
|
53 |
|
sl@0
|
54 |
/** Etrue if step backward is possible */
|
sl@0
|
55 |
TBool iStepBackward;
|
sl@0
|
56 |
};
|
sl@0
|
57 |
|
sl@0
|
58 |
/**
|
sl@0
|
59 |
Video quality.
|
sl@0
|
60 |
|
sl@0
|
61 |
@publishedPartner
|
sl@0
|
62 |
@released
|
sl@0
|
63 |
|
sl@0
|
64 |
@see CVideoPlayerUtility::SetVideoQualityL
|
sl@0
|
65 |
*/
|
sl@0
|
66 |
enum TVideoQuality
|
sl@0
|
67 |
{
|
sl@0
|
68 |
EVideoQualityLow = 25,
|
sl@0
|
69 |
EVideoQualityNormal = 50,
|
sl@0
|
70 |
EVideoQualityHigh = 75,
|
sl@0
|
71 |
EVideoQualityLossless = 100
|
sl@0
|
72 |
};
|
sl@0
|
73 |
|
sl@0
|
74 |
#endif
|