1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/imageprocessor/imageprocessorinputinfo.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,69 @@
1.4 +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +/**
1.20 + @file
1.21 + @publishedAll
1.22 + @released
1.23 +*/
1.24 +
1.25 +#ifndef __IMAGE_PROCESSOR_INPUT_INFO_H__
1.26 +#define __IMAGE_PROCESSOR_INPUT_INFO_H__
1.27 +
1.28 +#include <e32base.h>
1.29 +
1.30 +namespace ImageProcessor
1.31 + {
1.32 +
1.33 +class CImageProcessorImpl;
1.34 +
1.35 +namespace Plugin
1.36 + {
1.37 + class MInputInfo;
1.38 + }
1.39 +
1.40 +/**
1.41 +This class provides functions to read image input details.
1.42 +
1.43 +@publishedAll
1.44 +@released
1.45 +*/
1.46 +class TInputInfo
1.47 + {
1.48 +public:
1.49 + IMPORT_C TSize SizeL() const;
1.50 + IMPORT_C void FormatL(TUid& aFormat, TUid& aSubFormat) const;
1.51 + IMPORT_C TDisplayMode DisplayModeL() const;
1.52 + IMPORT_C TUid ImageFrameFormatL() const;
1.53 + IMPORT_C TUid SamplingL() const;
1.54 + IMPORT_C TUint32 BitsPerPixelL() const;
1.55 + IMPORT_C TBool IsProgressiveL() const;
1.56 + IMPORT_C TBool IsInterlacedL() const;
1.57 + IMPORT_C TBool HasAlphaL() const;
1.58 + IMPORT_C TAny* Extension(TUid aExtension) const;
1.59 +
1.60 +private:
1.61 + friend class CImageProcessorImpl;
1.62 + TInputInfo(Plugin::MInputInfo& aInputInfoImpl, CImageProcessorImpl& aImageProcessorImpl);
1.63 +
1.64 + CImageProcessorImpl& iImageProcessorImpl;
1.65 + Plugin::MInputInfo& iInputInfoImpl;
1.66 +
1.67 + TInt iReserved; // future proof
1.68 + };
1.69 +
1.70 + }
1.71 +
1.72 +#endif //__IMAGE_PROCESSOR_INPUT_INFO_H__