Camera/OMX_CameraIVCommonExt.h
author arunabha
Wed, 16 Dec 2009 17:45:00 +0000
changeset 6 760f846bbee9
permissions -rw-r--r--
New SHAI contributions for Camera_SHAI_Specification_v1_0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
     1
/*
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
     2
  OMX_CameraIVCommonExt.h
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
     3
  
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
     4
  Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
     5
  All rights reserved.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
     6
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
     7
  This program and the accompanying materials are made available 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
     8
  under the terms of the Eclipse Public License v1.0 which accompanies 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
     9
  this distribution, and is available at 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    10
  http://www.eclipse.org/legal/epl-v10.html
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    11
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    12
  Initial Contributors:
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    13
  Nokia Corporation - initial contribution.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    14
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    15
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    16
/** @file
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    17
@brief Symbian OpenMAX IL Extension Data Structures Common for Imaging and Video.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    18
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    19
This file contains the extension structures for the Symbian IL extensions that
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    20
are common to Imaging and Video domains.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    21
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    22
@publishedDeviceAbstraction
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    23
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    24
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    25
#ifndef OMX_CameraIVCommonExt_h
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    26
#define OMX_CameraIVCommonExt_h
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    27
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    28
#ifdef __cplusplus
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    29
extern "C" {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    30
#endif /* __cplusplus */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    31
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    32
/* Each OMX header must include all required header files to allow the
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    33
 * header to compile without errors.  The includes below are required
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    34
 * for this header file to compile successfully 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    35
 */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    36
#include <OMX_Types.h>
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    37
#include <OMX_IVCommon.h>
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    38
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    39
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    40
/** Color format extensions. */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    41
typedef enum OMX_EXTCOLORFORMATTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    42
    OMX_COLOR_FormatYUV420MBPackedSemiPlanar = OMX_COLOR_FormatVendorStartUnused + 0x1
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    43
} OMX_EXTCOLORFORMATTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    44
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    45
/** Primary color enumeration. */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    46
typedef enum OMX_COLORPRIMARYTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    47
    OMX_ColorPrimaryFullRange,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    48
    OMX_ColorPrimaryBT601,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    49
    OMX_ColorPrimaryBT709,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    50
    OMX_ColorMax = 0x7FFFFFFF
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    51
} OMX_COLORPRIMARYTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    52
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    53
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    54
/** High level control type classification.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    55
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    56
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    57
typedef enum OMX_HIGHLEVELCONTROLTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    58
    OMX_HighLevelControlOff,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    59
    OMX_HighLevelControlOn,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    60
    OMX_HighLevelControlAuto
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    61
} OMX_HIGHLEVELCONTROLTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    62
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    63
/** 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    64
 * Enumeration of possible focus ranges 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    65
 */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    66
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    67
typedef enum OMX_IMAGE_FOCUSRANGETYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    68
OMX_IMAGE_FocusRangeAuto, 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    69
OMX_IMAGE_FocusRangeHyperfocal,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    70
OMX_IMAGE_FocusRangeSuperMacro,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    71
OMX_IMAGE_FocusRangeMacro,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    72
OMX_IMAGE_FocusRangeInfinity,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    73
} OMX_IMAGE_FOCUSRANGETYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    74
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    75
/** 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    76
 * Enumeration of possible flicker removal values 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    77
 */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    78
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    79
typedef enum OMX_COMMONFLICKERREMOVALTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    80
OMX_FlickerRemovalOff, 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    81
OMX_FlickerRemovalAuto,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    82
OMX_FlickerRemoval50,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    83
OMX_FlickerRemoval60,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    84
} OMX_COMMONFLICKERREMOVALTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    85
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    86
/** 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    87
 * Enumeration of possible power versus image quality choices
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    88
 */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    89
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    90
typedef enum OMX_IMAGE_QHINTTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    91
    OMX_IMAGE_QNotSpecified = 0,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    92
    OMX_IMAGE_QLow,//low power mode
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    93
    OMX_IMAGE_QBalanced,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    94
    OMX_IMAGE_QHigh
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    95
} OMX_IMAGE_QHINTTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    96
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    97
/** 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    98
 * Enumeration of possible depth of field choices
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
    99
 */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   100
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   101
typedef enum OMX_IMAGE_DOFHINTTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   102
    OMX_IMAGE_DoFNotSpecified = 0,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   103
    OMX_IMAGE_DoFSmall,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   104
    OMX_IMAGE_DoFMedium,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   105
    OMX_IMAGE_DoFLarge
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   106
} OMX_IMAGE_DOFHINTTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   107
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   108
/** 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   109
 * Enumeration of possible rotation angles
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   110
 */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   111
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   112
typedef enum OMX_ROTATIONANGLETYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   113
    OMX_CW_0 = 0,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   114
    OMX_CW_90,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   115
    OMX_CW_180,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   116
    OMX_CW_270
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   117
} OMX_ROTATIONANGLETYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   118
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   119
/** 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   120
 * Enumeration of possible rotation types for metadata
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   121
 */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   122
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   123
typedef enum OMX_METADATAROTATIONTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   124
    OMX_MetadataRotationNone,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   125
    OMX_MetadataRotationScene,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   126
    OMX_MetadataRotationUI
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   127
} OMX_METADATAROTATIONTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   128
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   129
/** 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   130
 * Extension of Exposure Control
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   131
 */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   132
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   133
enum {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   134
	OMX_ExposureControlExtensionCenter = OMX_ExposureControlVendorStartUnused + 0x02,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   135
	OMX_ExposureControlExtensionVeryLong
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   136
};
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   137
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   138
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   139
/** 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   140
 * Extension of Image Filter
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   141
 */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   142
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   143
enum {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   144
	OMX_ImageFilterSepia = OMX_ImageFilterVendorStartUnused + 0x01,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   145
	OMX_ImageFilterGrayScale,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   146
	OMX_ImageFilterNatural,
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   147
	OMX_ImageFilterVivid
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   148
};
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   149
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   150
/** YUV data color range.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   151
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   152
The index specified for this structure is retrieved using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   153
OMX_GetExtensionIndex() with the extension string 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   154
"OMX.Index.Param.Common.ColorPrimary".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   155
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   156
typedef struct OMX_PARAM_COLORPRIMARYTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   157
    OMX_U32 nSize;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   158
    OMX_VERSIONTYPE nVersion;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   159
    OMX_U32 nPortIndex;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   160
    OMX_COLORPRIMARYTYPE eColorPrimary;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   161
} OMX_PARAM_COLORPRIMARYTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   162
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   163
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   164
/** Pixel Aspect Ratio.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   165
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   166
The index specified for this structure is retrieved using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   167
OMX_GetExtensionIndex() with the extension string 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   168
"OMX.Index.Param.Common.PixelAspectRatio".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   169
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   170
typedef struct OMX_PARAM_PIXELASPECTRATIOTYPE
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   171
{
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   172
    OMX_U32 nSize;              /**< Size of the structure in bytes */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   173
    OMX_VERSIONTYPE nVersion;   /**< OMX specification version information */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   174
    OMX_U32 nPortIndex;         /**< Port that this structure applies to */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   175
    OMX_U8 nHorizontal;         /**< Width of pixel. nHorizontal is 4 is For 4:3 PAR */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   176
    OMX_U8 nVertical;           /**< Height of pixel. nVertical is 3 is For 4:3 PAR */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   177
    OMX_TICKS nTimestamp;       /**< Time when PAR change should happen */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   178
} OMX_PARAM_PIXELASPECTRATIOTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   179
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   180
/** High Level Control.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   181
The OMX_CONFIG_HIGHLEVELCONTROLTYPE structure is used to set or query
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   182
the used control level of a setting. 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   183
The index specified for this structure is retrieved using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   184
OMX_GetExtensionIndex() with the extension string 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   185
"OMX.Index.Config.Common.HighLevelControl".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   186
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   187
typedef struct OMX_CONFIG_HIGHLEVELCONTROLTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   188
    OMX_U32 nSize;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   189
    OMX_VERSIONTYPE nVersion;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   190
    OMX_U32 nPortIndex;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   191
    OMX_HIGHLEVELCONTROLTYPE eControl;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   192
} OMX_CONFIG_HIGHLEVELCONTROLTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   193
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   194
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   195
/** Zoom Factor.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   196
The OMX_CONFIG_ZOOMFACTORTYPE structure is used to set or query
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   197
the used zoom value. The index specified for this structure is 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   198
retrieved using OMX_GetExtensionIndex() with the extension string 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   199
"OMX.Index.Config.Common.ZoomFactor".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   200
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   201
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   202
typedef struct OMX_CONFIG_ZOOMFACTORTYPE { 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   203
  OMX_U32 nSize; 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   204
  OMX_VERSIONTYPE nVersion; 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   205
  OMX_U32 nPortIndex; 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   206
  OMX_S32 xZoomFieldOfView; 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   207
}OMX_CONFIG_ZOOMFACTORTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   208
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   209
/** Focus Range.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   210
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   211
The OMX_CONFIG_FOCUSRANGETYPE structure is used to set or query
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   212
the used range of focus when focusing. The setting can be changed using
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   213
the OMX_SetParam() function, and the current state can be queried using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   214
the OMX_GetParam() function. When calling either function, the index 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   215
specified for this structure is retrieved using OMX_GetExtensionIndex()
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   216
with the extension string "OMX.Index.Config.Common.FocusRange".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   217
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   218
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   219
typedef struct OMX_CONFIG_FOCUSRANGETYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   220
OMX_U32 nSize;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   221
OMX_VERSIONTYPE nVersion;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   222
OMX_U32 nPortIndex;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   223
OMX_IMAGE_FOCUSRANGETYPE eFocusRange;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   224
} OMX_CONFIG_FOCUSRANGETYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   225
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   226
/** Focus Status.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   227
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   228
The OMX_CONFIG_EXTFOCUSSTATUSTYPE structure is used to query
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   229
the current status of focusing process. The setting can be changed using
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   230
the OMX_SetParam() function, and the current state can be queried using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   231
the OMX_GetParam() function. When calling either function, the index 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   232
specified for this structure is retrieved using OMX_GetExtensionIndex()
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   233
with the extension string "OMX.Index.Config.Common.FocusStatus".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   234
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   235
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   236
typedef struct OMX_CONFIG_EXTFOCUSSTATUSTYPE { 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   237
OMX_U32 nSize; 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   238
OMX_VERSIONTYPE nVersion; 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   239
OMX_FOCUSSTATUSTYPE eFocusStatus;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   240
} OMX_CONFIG_EXTFOCUSSTATUSTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   241
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   242
/** Flicker Removal.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   243
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   244
The OMX_CONFIG_FLICKERREMOVAL structure is used to set or query
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   245
the flicker removal setting. The setting can be changed using
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   246
the OMX_SetParam() function, and the current state can be queried using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   247
the OMX_GetParam() function. When calling either function, the index 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   248
specified for this structure is retrieved using OMX_GetExtensionIndex()
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   249
with the extension string "OMX.Index.Config.Common.FlickerRemoval".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   250
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   251
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   252
typedef struct OMX_CONFIG_FLICKERREMOVALTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   253
   OMX_U32 nSize;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   254
   OMX_VERSIONTYPE nVersion;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   255
   OMX_U32 nPortIndex;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   256
OMX_COMMONFLICKERREMOVALTYPE eFlickerRemoval;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   257
}OMX_CONFIG_FLICKERREMOVALTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   258
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   259
/** Power versus quality hint provided by IL client to implementation.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   260
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   261
The OMX_PARAM_HINTPQTYPE structure is used to set or query
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   262
the IL client choice of importance: power savings or quality. 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   263
The setting can be changed using
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   264
the OMX_SetParam() function, and the current state can be queried using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   265
the OMX_GetParam() function. When calling either function, the index 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   266
specified for this structure is retrieved using OMX_GetExtensionIndex()
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   267
with the extension string "OMX.Index.Param.Common.HintPQ".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   268
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   269
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   270
typedef struct OMX_PARAM_HINTPQTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   271
    OMX_U32 nSize;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   272
    OMX_VERSIONTYPE nVersion;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   273
    OMX_IMAGE_QHINTTYPE eQHint;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   274
} OMX_PARAM_HINTPQTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   275
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   276
/** Depth of field hint provided by IL client to implementation.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   277
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   278
The OMX_PARAM_HINTDOFTYPE structure is used to set or query
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   279
the IL client choice for depth of field. 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   280
The setting can be changed using
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   281
the OMX_SetParam() function, and the current state can be queried using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   282
the OMX_GetParam() function. When calling either function, the index 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   283
specified for this structure is retrieved using OMX_GetExtensionIndex()
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   284
with the extension string "OMX.Index.Param.Common.HintDOF".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   285
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   286
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   287
typedef struct  OMX_PARAM_HINTDOFTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   288
    OMX_U32 nSize;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   289
    OMX_VERSIONTYPE nVersion;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   290
    OMX_IMAGE_DOFHINTTYPE eDoFHint;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   291
} OMX_PARAM_HINTDOFTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   292
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   293
/** HW information retrieval struct.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   294
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   295
The OMX_PARAM_HWINFOTYPE structure is used to query
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   296
the sensor (HW) information details. 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   297
The setting can be changed using
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   298
the OMX_SetParam() function, and the current state can be queried using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   299
the OMX_GetParam() function. When calling either function, the index 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   300
specified for this structure is retrieved using OMX_GetExtensionIndex()
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   301
with the extension string "OMX.Index.Config.Common.HWInfo".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   302
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   303
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   304
typedef struct OMX_CONFIG_HWINFOTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   305
    OMX_U32 nSize;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   306
    OMX_VERSIONTYPE nVersion;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   307
    OMX_U32 nPortIndex;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   308
    OMX_U32 nVersion1;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   309
    OMX_U32 nVersion2;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   310
    OMX_STRING cInfoString;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   311
} OMX_CONFIG_HWINFOTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   312
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   313
/** Motion information retrieval struct.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   314
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   315
The OMX_CONFIG_MOTIONLEVELTYPE structure is used to query the motion 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   316
information details obtained by component from a stream of input images. 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   317
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   318
The setting can be changed using
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   319
the OMX_SetParam() function, and the current state can be queried using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   320
the OMX_GetParam() function. When calling either function, the index 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   321
specified for this structure is retrieved using OMX_GetExtensionIndex()
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   322
with the extension string "OMX.Index.Config.Common.MotionLevel".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   323
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   324
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   325
typedef struct OMX_CONFIG_MOTIONLEVELTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   326
    OMX_U32 nSize;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   327
    OMX_VERSIONTYPE nVersion; 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   328
    OMX_U32 nPortIndex;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   329
    OMX_U32 nMotionLevel;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   330
}OMX_CONFIG_MOTIONLEVELTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   331
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   332
/** Capturing bit extension.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   333
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   334
Capturing bit is extended to be different on different ports to trigger 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   335
parallel capturing on those ports.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   336
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   337
The OMX_CONFIG_CAPTURINGTYPE structure is used to set or query
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   338
the capturing bit. 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   339
The setting can be changed using
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   340
the OMX_SetParam() function, and the current state can be queried using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   341
the OMX_GetParam() function. When calling either function, the index 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   342
specified for this structure is retrieved using OMX_GetExtensionIndex()
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   343
with the extension string "OMX.Index.Config.Common.Capturing".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   344
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   345
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   346
typedef struct OMX_CONFIG_CAPTURINGTYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   347
OMX_U32 nSize;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   348
OMX_VERSIONTYPE nVersion;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   349
OMX_U32 nPortIndex;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   350
OMX_BOOL bEnabled;    
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   351
} OMX_CONFIG_CAPTURINGTYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   352
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   353
/** Capture mode extension.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   354
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   355
Capture mode is extended to allow additional capture modes.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   356
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   357
The OMX_CONFIG_EXTCAPTUREMODETYPE structure is used to set/query
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   358
extended capture modes. 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   359
The setting can be changed using
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   360
the OMX_SetParam() function, and the current state can be queried using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   361
the OMX_GetParam() function. When calling either function, the index 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   362
specified for this structure is retrieved using OMX_GetExtensionIndex()
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   363
with the extension string "OMX.Index.Config.Common.ExtCaptureMode".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   364
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   365
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   366
typedef struct OMX_CONFIG_EXTCAPTUREMODETYPE {
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   367
    OMX_U32 nSize;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   368
    OMX_VERSIONTYPE nVersion;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   369
    OMX_U32 nPortIndex;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   370
    OMX_U32 nFrameBefore;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   371
    OMX_BOOL bPrepareCapture;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   372
    OMX_BOOL bEnableBracketing;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   373
}OMX_CONFIG_EXTCAPTUREMODETYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   374
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   375
/** Rotation extension.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   376
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   377
Rotation capabilities to allow implementing rotation wherever possible 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   378
and more efficient.
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   379
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   380
The OMX_CONFIG_EXTENDEDROTATETYPE structure is used to set or query
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   381
the rotation details. The setting can be changed using
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   382
the OMX_SetParam() function, and the current state can be queried using 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   383
the OMX_GetParam() function. When calling either function, the index 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   384
specified for this structure is retrieved using OMX_GetExtensionIndex()
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   385
with the extension string "OMX.Index.Config.Common.ExtendedRotate".
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   386
*/
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   387
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   388
typedef struct OMX_CONFIG_EXTENDEDROTATETYPE { 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   389
    OMX_U32 nSize; 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   390
    OMX_VERSIONTYPE nVersion; 
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   391
    OMX_U32 nPortIndex;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   392
    OMX_ROTATIONANGLETYPE eRot;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   393
    OMX_METADATAROTATIONTYPE eMeta;	
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   394
} OMX_CONFIG_EXTENDEDROTATETYPE;
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   395
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   396
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   397
#ifdef __cplusplus
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   398
}
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   399
#endif /* __cplusplus */
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   400
760f846bbee9 New SHAI contributions for Camera_SHAI_Specification_v1_0
arunabha
parents:
diff changeset
   401
#endif /* OMX_CameraIVCommonExt_h */