diff -r 000000000000 -r 0e4a32b9112d omxil_generic/omxilcomplib/src/omxilimageportimpl.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omxil_generic/omxilcomplib/src/omxilimageportimpl.h Wed Aug 25 12:40:50 2010 +0300 @@ -0,0 +1,66 @@ +// Copyright (c) 2008-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 + * @internalTechnology + */ + +#ifndef OMXILIMAGEPORTIMPL_H +#define OMXILIMAGEPORTIMPL_H + +#include + +#include +#include +#include + +#include + +class COmxILImagePortImpl : public CBase + { +public: + static COmxILImagePortImpl* NewL(const TOmxILCommonPortData& aCommonPortData, + const RArray& aSupportedImageFormats, + const RArray& aSupportedColorFormats); + ~COmxILImagePortImpl(); + + OMX_ERRORTYPE GetParameter(OMX_INDEXTYPE aParamIndex, + TAny* apComponentParameterStructure) const; + + OMX_ERRORTYPE SetParameter(OMX_INDEXTYPE aParamIndex, + const TAny* apComponentParameterStructure, + TBool& aUpdateProcessingFunction); + + const RArray& GetSupportedImageFormats() const; + const RArray& GetSupportedColorFormats() const; + const OMX_IMAGE_PARAM_PORTFORMATTYPE& GetParamImagePortFormat() const; + RArray& GetSupportedImageFormats(); + RArray& GetSupportedColorFormats(); + OMX_IMAGE_PARAM_PORTFORMATTYPE& GetParamImagePortFormat(); + +private: + COmxILImagePortImpl(); + void ConstructL(const TOmxILCommonPortData& aCommonPortData, + const RArray& aSupportedImageFormats, + const RArray& aSupportedColorFormats); + +private: + RArray iSupportedImageFormats; + RArray iSupportedColorFormats; + OMX_IMAGE_PARAM_PORTFORMATTYPE iParamImagePortFormat; + }; +#endif // OMXILIMAGEPORTIMPL_H