|
1 /* |
|
2 OMX_Symbian_ImageExt.h |
|
3 |
|
4 Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
5 All rights reserved. |
|
6 |
|
7 This program and the accompanying materials are made available |
|
8 under the terms of the Eclipse Public License v1.0 which accompanies |
|
9 this distribution, and is available at |
|
10 http://www.eclipse.org/legal/epl-v10.html |
|
11 |
|
12 Initial Contributors: |
|
13 Nokia Corporation - initial contribution. |
|
14 */ |
|
15 |
|
16 /** @file |
|
17 @brief Symbian OpenMAX IL Extension Data Structures in the Image Domain. |
|
18 |
|
19 This file contains the extension structures for the Symbian IL extensions that |
|
20 pertain to imaaging components. |
|
21 |
|
22 @publishedDeviceAbstraction |
|
23 */ |
|
24 |
|
25 #ifndef OMX_Symbian_ImageExt_h |
|
26 #define OMX_Symbian_ImageExt_h |
|
27 |
|
28 #ifdef __cplusplus |
|
29 extern "C" { |
|
30 #endif /* __cplusplus */ |
|
31 |
|
32 /* Each OMX header must include all required header files to allow the |
|
33 * header to compile without errors. The includes below are required |
|
34 * for this header file to compile successfully |
|
35 */ |
|
36 #include <OMX_Types.h> |
|
37 #include <OMX_Image.h> |
|
38 |
|
39 /* Extensions to standard enums */ |
|
40 /* ---------------------------- */ |
|
41 |
|
42 |
|
43 /** |
|
44 * Offset to Symbian extensions |
|
45 */ |
|
46 #define OMX_SYMBIAN_EXTENSION_START_OFFSET 0x00A00000 |
|
47 |
|
48 |
|
49 /** |
|
50 * Focus Control extensions |
|
51 */ |
|
52 typedef enum OMX_SYMBIAN_IMAGE_FOCUSCONTROLTYPE { |
|
53 OMX_SYMBIAN_IMAGE_FocusControlRestPosition = OMX_IMAGE_FocusControlVendorStartUnused + OMX_SYMBIAN_EXTENSION_START_OFFSET, |
|
54 /**< Drives focus to rest position for minimal power consumption but should still be usable at least for view finder **/ |
|
55 OMX_SYMBIAN_IMAGE_FocusControlMax = 0x7FFFFFFF |
|
56 } OMX_SYMBIAN_IMAGE_FOCUSCONTROLTYPE; |
|
57 |
|
58 /** |
|
59 * Flash Control extensions |
|
60 */ |
|
61 typedef enum OMX_SYMBIAN_IMAGE_FLASHCONTROLTYPE { |
|
62 OMX_SYMBIAN_IMAGE_FlashControlSlowFrontSync = OMX_IMAGE_FlashControlVendorStartUnused + OMX_SYMBIAN_EXTENSION_START_OFFSET, |
|
63 OMX_SYMBIAN_IMAGE_FlashControlSlowRearSync, |
|
64 OMX_SYMBIAN_IMAGE_FlashControlOnTest, /**< Allows production testing of the flash with a higher flash intensity |
|
65 than the torch (may be that of a normal flash) and test (some) HW that |
|
66 it turns OFF flash when automatic fail-safe happens (or capacitor |
|
67 discharge in case of Xenon */ |
|
68 OMX_SYMBIAN_IMAGE_FlashControlTorchOnTest, /**< Turns on flash in torch mode */ |
|
69 OMX_SYMBIAN_IMAGE_FlashControlIndicatorLightOnTest, /**< Turns on indicator light */ |
|
70 OMX_SYMBIAN_IMAGE_FlashControlMax = 0x7FFFFFFF |
|
71 } OMX_SYMBIAN_IMAGE_FLASHCONTROLTYPE; |
|
72 |
|
73 |
|
74 #ifdef __cplusplus |
|
75 } |
|
76 #endif /* __cplusplus */ |
|
77 |
|
78 #endif /* OMX_Symbian_ImageExt_h */ |