|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @publishedPartner |
|
19 @released |
|
20 */ |
|
21 |
|
22 #ifndef __IMAGE_PROCESSOR_INPUT_INFO_INF_H__ |
|
23 #define __IMAGE_PROCESSOR_INPUT_INFO_INF_H__ |
|
24 |
|
25 #include <e32base.h> |
|
26 #include <gdi.h> |
|
27 |
|
28 namespace ImageProcessor |
|
29 { |
|
30 namespace Plugin |
|
31 { |
|
32 |
|
33 /** |
|
34 This class provides functions to read image input details. |
|
35 |
|
36 Plugin API to read image input details. |
|
37 The TInputInfo implementation loads a plugin based on this interface class. |
|
38 Once this has been constructed, calls to method functions of TInputInfo are passed |
|
39 verbatim to this interface. For further description of required functionality, |
|
40 see TInputInfo. |
|
41 |
|
42 @see TInputInfo |
|
43 @publishedPartner |
|
44 @released |
|
45 */ |
|
46 class MInputInfo |
|
47 { |
|
48 public: |
|
49 virtual TSize SizeL() const = 0; |
|
50 virtual void FormatL(TUid& aFormat, TUid& aSubFormat) const = 0; |
|
51 virtual TDisplayMode DisplayModeL() const = 0; |
|
52 virtual TUid ImageFrameFormatL() const = 0; |
|
53 virtual TUid SamplingL() const = 0; |
|
54 virtual TUint32 BitsPerPixelL() const = 0; |
|
55 virtual TBool IsProgressiveL() const = 0; |
|
56 virtual TBool IsInterlacedL() const = 0; |
|
57 virtual TBool HasAlphaL() const = 0; |
|
58 virtual TAny* Extension(TUid aExtension) const = 0; |
|
59 |
|
60 private: |
|
61 TInt iReserved; // future proof |
|
62 }; |
|
63 |
|
64 } |
|
65 } |
|
66 |
|
67 #endif //__IMAGE_PROCESSOR_INPUT_INFO_INF_H__ |