aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Strudel <thierry.strudel@intel.com>2014-07-10 10:25:33 -0700
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:03:44 -0700
commite0ffba090b9e8249f7e992ab6ec97f88379c9ba3 (patch)
treed1f52b0bf39faeeecfa6d0ddf1b6651eaf2d2ce9
parenta55635021d692b693ba02505ec23e8ae0298e6e2 (diff)
downloadwrs_omxil_core-e0ffba090b9e8249f7e992ab6ec97f88379c9ba3.tar.gz
Add Intel specific OMX color formats
BZ: 209178 Change-Id: Icb6653564ef29e9c333603ff8a456d44ac51c4ad Signed-off-by: Thierry Strudel <thierry.strudel@intel.com> Reviewed-on: https://android.intel.com/216626 Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
-rw-r--r--core/inc/khronos/openmax/include/OMX_IntelVideoExt.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h b/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h
index 53a0767..472945f 100644
--- a/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h
+++ b/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h
@@ -39,6 +39,8 @@ extern "C" {
* for this header file to compile successfully
*/
#include <OMX_Core.h>
+#include <OMX_Video.h>
+
/** NALU Formats */
typedef enum OMX_INTEL_NALUFORMATSTYPE {
OMX_NaluFormatZeroByteInterleaveLength = 32,
@@ -68,7 +70,7 @@ typedef struct OMX_VIDEO_CONFIG_INTEL_BITRATETYPE {
OMX_U32 nTemporalID;
} OMX_VIDEO_CONFIG_INTEL_BITRATETYPE;
-typedef enum {
+enum {
OMX_Video_Intel_ControlRateVideoConferencingMode = OMX_Video_ControlRateVendorStartUnused + 1
};
@@ -163,13 +165,13 @@ typedef struct OMX_VIDEO_ERROR_INFO {
union {
struct {OMX_U32 start_mb; OMX_U32 end_mb;} mb_pos;
} error_data;
-};
+} OMX_VIDEO_ERROR_INFO;
typedef struct OMX_VIDEO_ERROR_BUFFER {
OMX_U32 errorNumber; // Error number should be no more than MAX_ERR_NUM
OMX_S64 timeStamp; // presentation time stamp
OMX_VIDEO_ERROR_INFO errorArray[MAX_ERR_NUM];
-};
+} OMX_VIDEO_ERROR_BUFFER;
// Force K frame for VP8 encode
typedef struct OMX_VIDEO_CONFIG_INTEL_VP8_FORCE_KFRAME {
@@ -206,6 +208,9 @@ typedef struct OMX_VIDEO_INTEL_REQUEST_BALCK_FRAME_POINTER {
OMX_U32 nFramePointer;
} OMX_VIDEO_INTEL_REQUEST_BALCK_FRAME_POINTER;
+#define OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar (OMX_COLOR_FORMATTYPE)0x7FA00E00
+#define OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled (OMX_COLOR_FORMATTYPE)0x7FA00F00
+
#ifdef __cplusplus
}
#endif /* __cplusplus */