author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
permissions | -rw-r--r-- |
williamr@4 | 1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
williamr@4 | 2 |
// All rights reserved. |
williamr@4 | 3 |
// This component and the accompanying materials are made available |
williamr@4 | 4 |
// under the terms of "Eclipse Public License v1.0" |
williamr@4 | 5 |
// which accompanies this distribution, and is available |
williamr@4 | 6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
williamr@4 | 7 |
// |
williamr@4 | 8 |
// Initial Contributors: |
williamr@4 | 9 |
// Nokia Corporation - initial contribution. |
williamr@4 | 10 |
// |
williamr@4 | 11 |
// Contributors: |
williamr@4 | 12 |
// |
williamr@4 | 13 |
// Description: |
williamr@4 | 14 |
// |
williamr@4 | 15 |
|
williamr@4 | 16 |
/** |
williamr@4 | 17 |
@file |
williamr@4 | 18 |
@publishedAll |
williamr@4 | 19 |
@released |
williamr@4 | 20 |
*/ |
williamr@4 | 21 |
|
williamr@4 | 22 |
#ifndef __IMAGE_PROCESSOR_INPUT_INFO_H__ |
williamr@4 | 23 |
#define __IMAGE_PROCESSOR_INPUT_INFO_H__ |
williamr@4 | 24 |
|
williamr@4 | 25 |
#include <e32base.h> |
williamr@4 | 26 |
|
williamr@4 | 27 |
namespace ImageProcessor |
williamr@4 | 28 |
{ |
williamr@4 | 29 |
|
williamr@4 | 30 |
class CImageProcessorImpl; |
williamr@4 | 31 |
|
williamr@4 | 32 |
namespace Plugin |
williamr@4 | 33 |
{ |
williamr@4 | 34 |
class MInputInfo; |
williamr@4 | 35 |
} |
williamr@4 | 36 |
|
williamr@4 | 37 |
/** |
williamr@4 | 38 |
This class provides functions to read image input details. |
williamr@4 | 39 |
|
williamr@4 | 40 |
@publishedAll |
williamr@4 | 41 |
@released |
williamr@4 | 42 |
*/ |
williamr@4 | 43 |
class TInputInfo |
williamr@4 | 44 |
{ |
williamr@4 | 45 |
public: |
williamr@4 | 46 |
IMPORT_C TSize SizeL() const; |
williamr@4 | 47 |
IMPORT_C void FormatL(TUid& aFormat, TUid& aSubFormat) const; |
williamr@4 | 48 |
IMPORT_C TDisplayMode DisplayModeL() const; |
williamr@4 | 49 |
IMPORT_C TUid ImageFrameFormatL() const; |
williamr@4 | 50 |
IMPORT_C TUid SamplingL() const; |
williamr@4 | 51 |
IMPORT_C TUint32 BitsPerPixelL() const; |
williamr@4 | 52 |
IMPORT_C TBool IsProgressiveL() const; |
williamr@4 | 53 |
IMPORT_C TBool IsInterlacedL() const; |
williamr@4 | 54 |
IMPORT_C TBool HasAlphaL() const; |
williamr@4 | 55 |
IMPORT_C TAny* Extension(TUid aExtension) const; |
williamr@4 | 56 |
|
williamr@4 | 57 |
private: |
williamr@4 | 58 |
friend class CImageProcessorImpl; |
williamr@4 | 59 |
TInputInfo(Plugin::MInputInfo& aInputInfoImpl, CImageProcessorImpl& aImageProcessorImpl); |
williamr@4 | 60 |
|
williamr@4 | 61 |
CImageProcessorImpl& iImageProcessorImpl; |
williamr@4 | 62 |
Plugin::MInputInfo& iInputInfoImpl; |
williamr@4 | 63 |
|
williamr@4 | 64 |
TInt iReserved; // future proof |
williamr@4 | 65 |
}; |
williamr@4 | 66 |
|
williamr@4 | 67 |
} |
williamr@4 | 68 |
|
williamr@4 | 69 |
#endif //__IMAGE_PROCESSOR_INPUT_INFO_H__ |