Update contrib.
1 // Copyright (c) 2006-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 #ifndef DEVVIDEOPUCONFIG_H
23 #define DEVVIDEOPUCONFIG_H
25 #include <mdf/mdfpuconfig.h>
26 #include <mmf/devvideo/devvideobase.h>
28 const TInt KUidDevVideoPlayConfig = 0x102737F0;
29 const TInt KUidDevVideoHeaderConfig = 0x102737F2;
30 const TInt KUidDevVideoPictureHeaderConfig = 0x102737F3;
31 const TInt KUidDevVideoTimestamp = 0x10273824;
34 Used to configure the CMdfProcessingUnit plugin.
36 class TDevVideoPlayPuConfig
42 TUncompressedVideoFormat iImageFormat;
44 The input buffer size.
46 TUint iInputBufferSize;
49 class TDevVideoHeaderPuConfig
53 A pointer to a buffer with header data
57 Type of data in header
59 TVideoDataUnitType iDataUnitType;
61 The type of encapsulation of the stream
63 TVideoDataUnitEncapsulation iDataUnitEncapsulation;
66 typedef TPuConfigParam<KUidDevVideoPlayConfig, TDevVideoPlayPuConfig> TPuConfigVideoPlayback;
67 typedef TPuConfigParam<KUidDevVideoHeaderConfig, TDevVideoHeaderPuConfig> TPuConfigVideoHeader;
68 typedef TPuConfigParam<KUidDevVideoPictureHeaderConfig, TVideoPictureHeader> TPuConfigVideoPictureHeader;
69 typedef TPuConfigParam<KUidDevVideoTimestamp, TTimeIntervalMicroSeconds> TPuConfigTimestamp;
72 Enum for decoder status returns. Decoder device is expected to map
73 its decoder status to these values.
75 enum TVideoPlayDecoderStatus
77 EVideoPlayDecoderStatusNone,
78 EVideoPlayDecoderStatusHeader,
79 EVideoPlayDecoderStatusFrame
82 const TInt KUidDevVideoRecordConfig = 0x102737F1;
85 Used by the SetConfig() method to configure the frame size, image format
86 and frame rate of a CMMFVideoRecordHwDevice plugin.
87 The configuration of HwDevices is device specific.
89 class TDevVideoRecordPuConfig
99 TUncompressedVideoFormat iImageFormat;
106 typedef TPuConfigParam<KUidDevVideoRecordConfig, TDevVideoRecordPuConfig> TPuConfigDevVideoRecord;
108 #endif // DEVVIDEOPUCONFIG_H