diff -r 000000000000 -r bde4ae8d615e os/mm/mmdevicefw/mdf/inc/codecapi/codecapivideoresolverutils.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/mm/mmdevicefw/mdf/inc/codecapi/codecapivideoresolverutils.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,55 @@ +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +/** + @file + @publishedPartner + @released +*/ + +#ifndef CODECAPIVIDEORESOLVERUTILS_H +#define CODECAPIVIDEORESOLVERUTILS_H + +#include +#include +class TPictureRateAndSize; + +/** + Used to parse the opaque data of the video codec plugins. +*/ +class CCodecApiVideoOpaqueData : public CCodecApiOpaqueData + { +public: + IMPORT_C static CCodecApiVideoOpaqueData* NewL(const TDesC8& aOpaqueData); + IMPORT_C static CCodecApiVideoOpaqueData* NewLC(const TDesC8& aOpaqueData); + IMPORT_C const TSize& MaxPictureSize() const; + IMPORT_C const TDesC8& Manufacturer() const; + IMPORT_C const RArray& MaxPictureRates() const; + virtual ~CCodecApiVideoOpaqueData(); +protected: + CCodecApiVideoOpaqueData(const TDesC8& aOpaqueData); + void ConstructL(); + void ProcessTaggedDataL(const TDesC8& aTag, const TDesC8& aData); + void SetPictureRateAndSizeL(const TDesC8& aData); + void SetMaxPictureSizeL(const TDesC8& aData); +private: + TSize iMaxPictureSize; + RArray iMaxPictureRates; + HBufC8* iManufacturer; + }; + +#endif // CODECAPIVIDEORESOLVERUTILS_H + +