1dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand/*--------------------------------------------------------------------------
261a2c6a19dbd06a317a419623020e02056661876Praveen ChavanCopyright (c) 2011 The Linux Foundation. All rights reserved.
3dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
4dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandRedistribution and use in source and binary forms, with or without
5dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandmodification, are permitted provided that the following conditions are met:
6dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    * Redistributions of source code must retain the above copyright
7dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand      notice, this list of conditions and the following disclaimer.
8dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    * Redistributions in binary form must reproduce the above copyright
9dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand      notice, this list of conditions and the following disclaimer in the
10dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand      documentation and/or other materials provided with the distribution.
1161a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    * Neither the name of The Linux Foundation nor
12dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand      the names of its contributors may be used to endorse or promote
13dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand      products derived from this software without specific prior written
14dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand      permission.
15dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
16dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandIMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandNON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
20dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandOR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandOTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand--------------------------------------------------------------------------*/
28dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
29dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#ifndef __H_QOMX_IVCOMMONEXTENSIONS_H__
3061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan#define __H_QOMX_IVCOMMONEXTENSIONS_H__
31dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
32dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand/*========================================================================
33dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
3461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan*//** @file QOMX_CommonExtensions.h
35dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
36dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand@par FILE SERVICES:
37dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand      common extensions API for OpenMax IL.
38dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
39dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand      This file contains the description of the Qualcomm OpenMax IL
4061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan      common extention interface, through which the IL client and OpenMax
41dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand      components can access additional capabilities.
42dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
43dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand*//*====================================================================== */
44dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
4561a2c6a19dbd06a317a419623020e02056661876Praveen Chavan
4661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan/*========================================================================
4761a2c6a19dbd06a317a419623020e02056661876Praveen Chavan
4861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan                     INCLUDE FILES FOR MODULE
4961a2c6a19dbd06a317a419623020e02056661876Praveen Chavan
5061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan========================================================================== */
51dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#include <OMX_Core.h>
52dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
53dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand/*========================================================================
54dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
55dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand                      DEFINITIONS AND DECLARATIONS
56dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
57dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand========================================================================== */
58dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
59dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#if defined( __cplusplus )
60dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandextern "C"
61dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand{
62dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#endif /* end of macro __cplusplus */
63dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
64dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand/* IV common extension strings */
65dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#define OMX_QCOM_INDEX_CONFIG_MEDIAINFO                 "OMX.QCOM.index.config.mediainfo"  /**< reference: QOMX_MEDIAINFOTYPE */
66dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#define OMX_QCOM_INDEX_CONFIG_CONTENTURI                "OMX.QCOM.index.config.contenturi" /**< reference: OMX_PARAM_CONTENTURITYPE */
67dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#define OMX_QCOM_INDEX_PARAM_IMAGESIZECONTROL           "OMX.Qualcomm.index.param.ImageSizeControl" /**< reference: QOMX_IMAGE_IMAGESIZECONTROLTYPE */
68dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#define OMX_QCOM_INDEX_CONFIG_PAUSEPORT                 "OMX.QCOM.index.config.PausePort" /**< reference: QOMX_CONFIG_PAUSEPORTTYPE */
69dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
7061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan/** reference: QOMX_URANGETYPE
71dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  nMin, nMax, nStepSize give width in pixels */
7261a2c6a19dbd06a317a419623020e02056661876Praveen Chavan#define OMX_QCOM_INDEX_PARAM_FRAMEWIDTHRANGESUPPORTED   "OMX.QCOM.index.param.FrameWidthRangeSupported"
73dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
7461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan/** reference: QOMX_URANGETYPE
75dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  nMin, nMax, nStepSize give height in pixels */
7661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan#define OMX_QCOM_INDEX_PARAM_FRAMEHEIGHTRANGESUPPORTED  "OMX.QCOM.index.param.FrameHeightRangeSupported"
77dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
7861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan/** reference: QOMX_URANGETYPE
79dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  nMin, nMax, nStepSize give the number of macroblocks per
80dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  frame. */
8161a2c6a19dbd06a317a419623020e02056661876Praveen Chavan#define OMX_QCOM_INDEX_PARAM_MACROBLOCKSPERFRAMERANGESUPPORTED "OMX.QCOM.index.param.MacroblocksPerFrameRangeSupported"
82dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
8361a2c6a19dbd06a317a419623020e02056661876Praveen Chavan/** reference: QOMX_URANGETYPE
8461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *  nMin, nMax, nStepSize give the number of macroblocks per
85dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  second. */
8661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan#define OMX_QCOM_INDEX_PARAM_MACROBLOCKSPERSECONDRANGESUPPORTED "OMX.QCOM.index.param.MacroblocksPerSecondRangeSupported"
87dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
8861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan/** reference: QOMX_URANGETYPE
89dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  nMin, nMax, nStepSize give frame rate in frames per second
90dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  in Q16 format. */
9161a2c6a19dbd06a317a419623020e02056661876Praveen Chavan#define OMX_QCOM_INDEX_PARAM_FRAMERATERANGESUPPORTED    "OMX.QCOM.index.param.FrameRateRangeSupported"
92dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
93dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#define OMX_QCOM_INDEX_PARAM_PLANEDEFINITION            "OMX.QCOM.index.param.PlaneDefinition" /** reference: QOMX_PLANEDEFINITIONTYPE */
94dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
9561a2c6a19dbd06a317a419623020e02056661876Praveen Chavan/** reference: QOMX_URANGETYPE
96dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  nMin, nMax, nStepSize give the crop width in pixels */
97dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#define OMX_QOMX_INDEX_PARAM_CROPWIDTHRANGESUPPORTED        "OMX.QCOM.index.param.CropWidthRangeSupported"
98dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
9961a2c6a19dbd06a317a419623020e02056661876Praveen Chavan/** reference: QOMX_URANGETYPE
100dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  nMin, nMax, nStepSize give the crop height in pixels */
101dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#define OMX_QOMX_INDEX_PARAM_CROPHEIGHTRANGESUPPORTED        "OMX.QCOM.index.param.CropHeightRangeSupported"
102dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
10361a2c6a19dbd06a317a419623020e02056661876Praveen Chavan/** reference: QOMX_URANGETYPE
104dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  nMin, nMax, nStepSize give the digital zoom factor on width
105dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  in Q16 format. */
106dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#define OMX_QCOM_INDEX_PARAM_DIGITALZOOMWIDTHRANGESUPPORTED    "OMX.QCOM.index.param.DigitalZoomWidthRangeSupported"
107dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
10861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan/** reference: QOMX_URANGETYPE
109dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  nMin, nMax, nStepSize give the digital zoom factor on height
110dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  in Q16 format. */
111dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#define OMX_QCOM_INDEX_PARAM_DIGITALZOOMHEIGHTRANGESUPPORTED    "OMX.QCOM.index.param.DigitalZoomHeightRangeSupported"
112dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
113dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand/**
114dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand * Enumeration defining the extended uncompressed image/video
115dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand * formats.
116dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *
117dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand * ENUMS:
11861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *  YVU420PackedSemiPlanar       : Buffer containing all Y, and then V and U
119dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 interleaved.
12061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *  YVU420PackedSemiPlanar32m4ka : YUV planar format, similar to the
121dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 YVU420PackedSemiPlanar format, but with the
122dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 following restrictions:
123dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *
12461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *                                 1. The width and height of both plane must
125dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 be a multiple of 32 texels.
126dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *
12761a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *                                 2. The base address of both planes must be
128dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 aligned to a 4kB boundary.
12961a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *
130dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  YUV420PackedSemiPlanar16m2ka : YUV planar format, similar to the
131dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 YUV420PackedSemiPlanar format, but with the
132dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 following restrictions:
133dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *
134dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 1. The width of the luma plane must be a
135dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 multiple of 16 pixels.
136dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *
13761a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *                                 2. The address of both planes must be
138dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 aligned to a 2kB boundary.
13961a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *
14061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *  YUV420PackedSemiPlanar64x32Tile2m8ka : YUV planar format, similar to the
141dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 YUV420PackedSemiPlanar format, but with the
142dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 following restrictions:
143dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *
14461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *                                 1. The data is laid out in a 4x2 MB tiling
145dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 memory structure
146dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *
147dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 2. The width of each plane is a multiple of
148dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 2 4x2 MB tiles.
149dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *
150dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 3. The height of each plan is a multiple of
151dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 a 4x2 MB tile.
152dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *
15361a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *                                 4. The base address of both planes must be
154dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 aligned to an 8kB boundary.
155dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *
15661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *                                 5. The tiles are scanned in the order
157dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                                 defined in the MFCV5.1 User's Manual.
158dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand */
159dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef enum QOMX_COLOR_FORMATTYPE
160dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand{
161dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_COLOR_FormatYVU420PackedSemiPlanar       = 0x7F000001,
162dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_COLOR_FormatYVU420PackedSemiPlanar32m4ka,
163dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_COLOR_FormatYUV420PackedSemiPlanar16m2ka,
16461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka,
16561a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_COLOR_FORMATYUV420PackedSemiPlanar32m,
166dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_COLOR_FORMATTYPE;
167dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
168dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef enum QOMX_MEDIAINFOTAGTYPE {
169dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagVersion,       /**< OMX_VERSIONTYPE. Version of the standard specifying the media information.*/
170dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagUID,           /**< OMX_U8*. Unique ID of the media data, ie image unique ID.*/
171dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagDescription,   /**< OMX_U8*. Comments about the media.*/
172dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagTitle,         /**< OMX_U8*. Title of the media.*/
173dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagAuthor,        /**< OMX_U8*. Author of the media.*/
174dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagCopyright,     /**< OMX_U8*. Copyright information.*/
175dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagTrackNum,      /**< OMX_U32. Track number.*/
176dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagGenre,         /**< OMX_U8*. The genre of the media.*/
177dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagEquipmentMake, /**< OMX_U8*. Manufacturer of recording equipment.*/
178dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagEquipmentModel,/**< OMX_U8*. Model or name of the recording equipment.*/
179dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagSoftware,      /**< OMX_U8*. Name and version of the software or firmware of the device generating the media.*/
180dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagAssociatedFile,/**< OMX_U8*. The name of the file related to the media.  For example, an audio file related to an image file.*/
181dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagResolution,    /**< QOMX_RESOLUTIONTYPE. Number of pixels per resolution unit.*/
182dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagDateCreated,   /**< QOMX_DATESTAMPTYPE. Date when media was created.*/
183dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagTimeCreated,   /**< QOMX_TIMESTAMPTYPE. Time when media was created.*/
184dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagDateModified,  /**< QOMX_DATESTAMPETYPE. Date when file was last modified.*/
185dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagTimeModified,  /**< QOMX_TIMESTAMPTYPE. Time when file was last modified.*/
186dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagGPSAreaName,   /**< OMX_U8*. The name of the location.*/
187dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagGPSVersion,    /**< OMX_VERSIONTYPE. GPS version.*/
188dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagGPSCoordinates,/**< QOMX_GEODETICTYPE. The longitude, latitude, and altitude.*/
189dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagGPSSatellites, /**< OMX_U8*. The GPS satellites used for measurements.*/
190dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagGPSPrecision,  /**< OMX_U32. GPS degree of precision.*/
191dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagGPSDateStamp,  /**< QOMX_DATESTAMPTYPE. Date of the GPS data.*/
192dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoTagGPSTimeStamp,  /**< QOMX_TIMESTAMPTYPE. Time of the GPS data.*/
19361a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagMediaStreamType,/**< QOMX_MEDIASTREAMTYPE. Type of the stream. */
194dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MediaInfoDuration,         /**< OMX_TICKS. Total duration of the media.*/
19561a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoSize,                          /**< OMX_U32. Total size of the media in bytes.*/
19661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagAlbum,                     /**< OMX_U8*. Name of album/movie/show.*/
19761a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagLocation,                  /**< OMX_U8*. Recording location information.*/
19861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagClassification,            /**< OMX_U8*. Classification information of media.*/
19961a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagRatings,                   /**< OMX_U8*. Media Ratings based on popularity & rating criteria.*/
20061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagKeyword,                   /**< OMX_U8*. Keyword associated with media which are intended to reflect mood of the A/V.*/
20161a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagPerformance,               /**< OMX_U8*. Media Performer information..*/
20261a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagYear,                      /**< OMX_U8*. Production year information of media.*/
20361a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagComposer,                  /**< OMX_U8*. Name of the composer of media i.e. audio.*/
20461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagEncoderName,                  /**< OMX_U8*. Name of the person or organisation who encoded media.*/
20561a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagCopyProhibitFlag,          /**< OMX_U8*. Flag to indicate if copy is allowed or not.*/
20661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagLyricist,                  /**< OMX_U8*. Name of the lyricist or text writer in recording. Specific to ID3 tag.*/
20761a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagSubtitle,                  /**< OMX_U8*. Subtitle/Description used for informaton directly related to title of media.*/
20861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagOriginalFileName,          /**< OMX_U8*. Original file name.*/
20961a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagOriginalLyricist,          /**< OMX_U8*. Name of the original lyricist/text writer of original recording.*/
21061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagOriginalArtist,            /**< OMX_U8*. Name of the original artist.*/
21161a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagOriginalReleaseYear,       /**< OMX_U8*. Original release year of recorded media.*/
21261a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagFileOwner,                 /**< OMX_U8*. Licensee or name of the file owner.*/
21361a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagOrchestra,                 /**< OMX_U8*. Name of the orchestra or performers during recording.*/
21461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagConductor,                 /**< OMX_U8*. Name of the conductor.*/
21561a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagRemixedBy,                 /**< OMX_U8*. Person or organization name who did the remix.*/
21661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagAlbumArtist,               /**< OMX_U8*. Name of the album artist.*/
21761a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagPublisher,                 /**< OMX_U8*. Name of the publisher or label.*/
21861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagRecordingDates,            /**< OMX_U8*. Recording date of media.*/
21961a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagInternetRadioStationName,  /**< OMX_U8*. Name of the Internet radio station from which the audio is streamed.*/
22061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagInternetRadioStationOwner, /**< OMX_U8*. Name of the owner of the Internet radio station from which the audio is streamed.*/
22161a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagInternationalRecordingCode,/**< OMX_U8*. International standard recording code.*/
22261a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagEncoderSwHwSettings,       /**< OMX_U8*. Software,hardware settings used by encoder.*/
22361a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagInvolvedPeopleList,        /**< OMX_U8*. List of people involved. Specific to ID3 tag.*/
22461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagComments,                  /**< OMX_U8*. Comments about the media. It can be any kind of full text informaton.*/
22561a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagCommissioned,              /**< OMX_U8*. Commissioned information of media.*/
22661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagSubject,                   /**< OMX_U8*. Subject associated with media.*/
22761a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagContact,                   /**< OMX_U8*. Conatct information. URL information of the seller.*/
22861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagValidityPeriod,            /**< OMX_U8*. Length or period of validity of media.*/
22961a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagValidityEffectiveDate,     /**< OMX_U8*. Validity effective date of media*/
23061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagNumberOfAllowedPlaybacks,  /**< OMX_U8*. Number of allowed playbacks for this media*/
23161a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagPlayCounter,               /**< OMX_U8*. Current play counter of the media.Its number of times a file has been played.*/
23261a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagMemo,                      /**< OMX_U8*. Memo associatd with media.*/
23361a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagDeviceName,                /**< OMX_U8*. Name of the devices used in creating media.*/
23461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagURL,                       /**< OMX_U8*. List artist /genre /movie sites URL.*/
23561a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagFileType,                  /**< OMX_U8*. Indicates type of audio track.*/
23661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagContentGroupDesc,          /**< OMX_U8*. Content group description if the sound belongs to a larger category of of music /sound.*/
23761a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagInitialKeys,               /**< OMX_U8*. Contains the musical key in which media starts.*/
23861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagLanguages,                 /**< OMX_U8*. Languages of the text or lyrics spoken or sung in the media.*/
23961a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagMediaType,                 /**< OMX_U8*. Describes from which media the media sound originated.*/
24061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagPlaylistDelay,             /**< OMX_U8*. Denotes number of milliseconds between each song of the playlist.*/
24161a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagBeatsPerMinute,            /**< OMX_U8*. Number of beats per minute in main part of audio.*/
24261a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagPartOfSet,                 /**< OMX_U8*. Describes part of the set selected or played. */
24361a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagInstrumentName,            /**< OMX_U8*. Name of the instrument used in creating media.*/
24461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagLyrics,                    /**< OMX_U8*. Lyrics of the media/audio track.*/
24561a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagTrackName,                 /**< OMX_U8*. Name of the media/audio track.*/
24661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagMarker,                    /**< OMX_U8*. Text string cotnents placed at a specific location to denote information about the music at that point.*/
24761a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagCuePoint,                  /**< OMX_U8*. Subset of the content which can be optionally played.*/
24861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagGPSPositioningName,        /**< OMX_U8*. GPS positioning name. */
24961a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagGPSPositioningMethod,      /**< OMX_U8*. GPS positioning method.*/
25061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagGPSSurveyData,             /**< OMX_U8*. GPS survey data. */
25161a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagGPSByteOrder,              /**< OMX_U16.GPS byte order. */
25261a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagGPSLatitudeRef,            /**< OMX_U32.Reference GPS latitude. */
25361a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagGPSLongitudeRef,           /**< OMX_U32.Reference GPS longitude */
25461a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagGPSAltitudeRef,            /**< OMX_U32. Reference GPS altitude.*/
25561a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagGPSExtensionMapScaleInfo,  /**< OMX_U64. GPS extension map scale information.*/
25661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagUUIDAtomInfo,              /**< OMX_U8*. The user defined data associated with UUID.*/
25761a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagUUIDAtomCount,             /**< OMX_U32 UUID atom count.*/
25861a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagLocationRole,              /**< OMX_32. Indicates the role of the place. i.e. �0� indicate �shooting location'. �1� �real location�.*/
25961a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagAstronomicalBody,          /**< OMX_U8*. Astronomical body on which the location exists.*/
26061a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_MediaInfoTagUserInfoData               /**< OMX_U8*. The user defined tag informaton.*/
261dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_MEDIAINFOTAGTYPE;
262dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
263dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef struct QOMX_MEDIAINFOTYPE {
264dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nSize;
265dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_VERSIONTYPE nVersion;
266dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nPortIndex; /**< Read-only value containing the index of the output port. */
267dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_MEDIAINFOTAGTYPE eTag; /**< The type of media info being specified. */
268dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nDataSize; /**< The size of the associated cData.  Set nDataSize to 0 to retrieve the size required for cData. */
269dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U8 cData[1]; /**< The media data info */
270dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_MEDIAINFOTYPE;
271dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
272dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
273dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef enum QOMX_RESOLUTIONUNITTYPE {
274dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_ResolutionUnitInch,
275dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_ResolutionCentimeter
276dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_RESOLUTIONUNITTYPE;
277dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
278dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef struct QOMX_RESOLUTIONTYPE {
279dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_RESOLUTIONUNITTYPE eUnit; /**< The unit of measurement. */
280dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nX; /**< The number of pixels per unit in the width direction. */
281dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nY; /**< The number of pixels per unit in the height direction. */
282dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_RESOLUTIONTYPE;
283dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
284dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef struct QOMX_TIMESTAMPTYPE {
285dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nHour; /**< The hour portion of the time stamp, based on a 24-hour format. */
286dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nMinute; /**< The minute portion of the time stamp. */
287dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nSecond; /**< The second portion of the time stamp. */
288dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nMillisecond; /**< the millisecond portion of the time stamp. */
289dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_TIMESTAMPTYPE;
290dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
291dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef struct QOMX_DATESTAMPTYPE {
292dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nYear;  /**< The year portion of the date stamp. */
293dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nMonth; /**< The monthportion of the date stamp. Valid values are 1 to 12.*/
294dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nDay; /**< The day portion of the date stamp. Valid values are 1 to 31 depending on the month specified.*/
295dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_DATESTAMPTYPE;
296dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
297dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef enum QOMX_GEODETICREFTYPE {
298dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_GeodeticRefNorth,  /**< North latitude. */
299dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_GeodeticRefSouth,  /**< South latitude. */
300dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_GeodeticRefEast,   /**< East longitude. */
301dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_GeodeticRefWest    /**< West longitude. */
302dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_GEODETICREFTYPE;
303dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
304dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand/** QOMX_GEODETICANGLETYPE is used to set geodetic angle coordinates on an ellipsoid (the Earth),
305dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandand is explicitly used to specify latitude and longitude.  This structure is referenced by QOMX_GEODETICTYPE. */
306dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef struct QOMX_GEODETICANGLETYPE {
307dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_GEODETICREFTYPE eReference; /**< Indicates whether the geodetic angle is a latitude or longitude. */
308dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nDegree; /**< The degree of the latitude or longitude. */
309dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nMinute; /**< The minute of the latitude or longitude. */
310dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nSecond; /**< The second of the latitude or longitude. */
311dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_GEODETICANGLETYPE;
312dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
313dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef enum QOMX_ALTITUDEREFTYPE {
314dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_AltitudeRefSeaLevel, /**< At sea level. */
315dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_AltitudeRefBelowSeaLevel /**< Below sea level. */
316dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_ALTITUDEREFTYPE;
317dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
318dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef struct QOMX_ALTITUDETYPE {
319dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_ALTITUDEREFTYPE eReference; /**< The reference point for the altitude. */
320dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nMeter; /**< The absolute value of the number of meters above or below sea level. */
321dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nMillimeter; /**< The absolute value of the number of millimeters above or below sea level. */
322dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_ALTITUDETYPE;
323dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
324dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand/** QOMX_GEODETICTYPE is used to set geodetic coordinates such as longitude, latitude, and altitude.
325dd5743ee305c8db17facba3e0176a3d07adc7499Rom LemarchandThis structure references QOMX_GEODETICANGLETYPE and QOMX_ALTITUDETYPE. */
326dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef struct QOMX_GEODETICTYPE {
327dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_GEODETICANGLETYPE sLatitude; /**< Indicates the latitude.*/
328dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_GEODETICANGLETYPE sLongitude; /**< Indicates the longitude.*/
329dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_ALTITUDETYPE sAltitude; /**< Indicates the altitude.*/
330dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_GEODETICTYPE;
331dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
332dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
333dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef struct QOMX_IMAGE_IMAGESIZECONTROLTYPE {
334dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nSize;
335dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_VERSIONTYPE nVersion;
336dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nPortIndex; /**< port index on which size control needs to be applied */
337dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nTargetImageSize; /**< expected max target size in Bytes */
338dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_IMAGE_IMAGESIZECONTROLTYPE;
339dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
340dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef enum QOMX_URITYPE {
34161a2c6a19dbd06a317a419623020e02056661876Praveen Chavan    QOMX_URITYPE_RTSP, /**< RTSP URI Type. */
342dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_URITYPE_HTTP, /**< HTTP URI Type. */
343dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_URITYPE_LOCAL /**< Local URI Type.(i.e Non Network) */
344dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand}QOMX_URITYPE;
345dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
346dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
347dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef enum QOMX_STREAMTYPE {
348dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_STREAMTYPE_VOD, /**< Video On demand Stream */
349dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_STREAMTYPE_LIVE,/**< Live Stream */
350dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_STREAMTYPE_FILE /**< File based Stream */
351dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand}QOMX_STREAMTYPE;
352dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
353dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
354dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef struct QOMX_MEDIASTREAMTYPE{
355dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_URITYPE eURIType;
356dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    QOMX_STREAMTYPE eStreamType;
35761a2c6a19dbd06a317a419623020e02056661876Praveen Chavan}QOMX_MEDIASTREAMTYPE;
358dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
359dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
360dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand/**
361dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand * This structure specifies the parameters associated with each
362dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand * plane of the uncompressed image/video format.
363dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand */
364dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef struct QOMX_PLANEDEFINITIONTYPE {
365dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nSize;
366dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_VERSIONTYPE nVersion;
367dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nPortIndex;               /**< Represents the port that this structure applies to */
368dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nPlaneIndex;              /**< Specifies the plane enumeration index that this structure applies to, starting with a base value of 1 */
369dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nMinStride;               /**< Read-only parameter that specifies the minimum buffer stride */
370dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nMaxStride;               /**< Read-only parameter that specifies the maximum buffer stride */
371dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nStrideMultiples;         /**< Read-only parameter that specifies the buffer stride multiple supported */
372dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_S32 nActualStride;            /**< Specifies the actual stride to be applied */
373dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nMinPlaneBufferHeight;    /**< Read-only parameter that specifies the minimum buffer height (number of stride lines) */
374dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nActualPlaneBufferHeight; /**< Specifies the actual buffer height (number of stride lines) to be applied */
375dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nBufferSize;              /**< Read-only parameter that specifies the minimum size of the buffer, in bytes */
376dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand    OMX_U32 nBufferAlignment;         /**< Read-only field that specifies the required alignment of the buffer, in bytes */
377dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_PLANEDEFINITIONTYPE;
378dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
379dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand/**
380dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  Pause port parameters
381dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *
382dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  STRUCT MEMBERS:
383dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  nSize           : Size of the structure in bytes
384dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  nVersion        : OMX specification version information
385dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *  nPortIndex      : Index of port that this structure represent
38661a2c6a19dbd06a317a419623020e02056661876Praveen Chavan *  bPausePort      : Boolean field which indicates if port is paused or resume. By default bPausePort = OMX_FALSE
387dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand *                    & port will be paused when bPausePort = OMX_TRUE
388dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand */
389dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchandtypedef struct QOMX_CONFIG_PAUSEPORTTYPE {
390dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand  OMX_U32 nSize;
391dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand  OMX_VERSIONTYPE nVersion;
392dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand  OMX_U32 nPortIndex;                /**< Represents the port that this structure applies to */
393dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand  OMX_BOOL bPausePort;               /**< Specifies if port need to PAUSE or RESUME */
394dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand} QOMX_CONFIG_PAUSEPORTTYPE;
395dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
396dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#if defined( __cplusplus )
397dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand}
398dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#endif /* end of macro __cplusplus */
399dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand
400dd5743ee305c8db17facba3e0176a3d07adc7499Rom Lemarchand#endif /* end of macro __H_QOMX_IVCOMMONEXTENSIONS_H__ */
401