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 CODECAPIVIDEORESOLVERUTILS_H
23 #define CODECAPIVIDEORESOLVERUTILS_H
26 #include <mdf/codecapiresolverutils.h>
27 class TPictureRateAndSize;
30 Used to parse the opaque data of the video codec plugins.
32 class CCodecApiVideoOpaqueData : public CCodecApiOpaqueData
35 IMPORT_C static CCodecApiVideoOpaqueData* NewL(const TDesC8& aOpaqueData);
36 IMPORT_C static CCodecApiVideoOpaqueData* NewLC(const TDesC8& aOpaqueData);
37 IMPORT_C const TSize& MaxPictureSize() const;
38 IMPORT_C const TDesC8& Manufacturer() const;
39 IMPORT_C const RArray<TPictureRateAndSize>& MaxPictureRates() const;
40 virtual ~CCodecApiVideoOpaqueData();
42 CCodecApiVideoOpaqueData(const TDesC8& aOpaqueData);
44 void ProcessTaggedDataL(const TDesC8& aTag, const TDesC8& aData);
45 void SetPictureRateAndSizeL(const TDesC8& aData);
46 void SetMaxPictureSizeL(const TDesC8& aData);
48 TSize iMaxPictureSize;
49 RArray<TPictureRateAndSize> iMaxPictureRates;
50 HBufC8* iManufacturer;
53 #endif // CODECAPIVIDEORESOLVERUTILS_H