imagingandcamerafws/imagingfws/ImageProcessor/inc/imageprocessorinputinfo.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 01:56:55 +0200
changeset 0 40261b775718
child 14 cd271b19d824
child 31 ae0addfe117e
permissions -rw-r--r--
Revision: 201003 Kit: 201005

// 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
 @publishedAll 
 @released 
*/

#ifndef __IMAGE_PROCESSOR_INPUT_INFO_H__
#define __IMAGE_PROCESSOR_INPUT_INFO_H__

#include <e32base.h>

namespace ImageProcessor
	{

class CImageProcessorImpl;

namespace Plugin
	{
	class MInputInfo;
	}

/**
This class provides functions to read image input details.

@publishedAll
@released
*/
class TInputInfo
	{
public:
	IMPORT_C TSize SizeL() const;
	IMPORT_C void FormatL(TUid& aFormat, TUid& aSubFormat) const;
	IMPORT_C TDisplayMode DisplayModeL() const; 
	IMPORT_C TUid ImageFrameFormatL() const;
	IMPORT_C TUid SamplingL() const; 
	IMPORT_C TUint32 BitsPerPixelL() const; 
	IMPORT_C TBool IsProgressiveL() const; 
	IMPORT_C TBool IsInterlacedL() const;
	IMPORT_C TBool HasAlphaL() const;
	IMPORT_C TAny* Extension(TUid aExtension) const;
	
private:
	friend class CImageProcessorImpl;
	TInputInfo(Plugin::MInputInfo& aInputInfoImpl, CImageProcessorImpl& aImageProcessorImpl);

	CImageProcessorImpl& iImageProcessorImpl;
	Plugin::MInputInfo& iInputInfoImpl;

	TInt iReserved; // future proof
	};

	}

#endif //__IMAGE_PROCESSOR_INPUT_INFO_H__