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>
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 @@
  * 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 @@
      OMX_U32 nTemporalID;
 } OMX_VIDEO_CONFIG_INTEL_BITRATETYPE;
 
-typedef enum  {
+enum  {
     OMX_Video_Intel_ControlRateVideoConferencingMode = OMX_Video_ControlRateVendorStartUnused + 1
 };
 
@@ -163,13 +165,13 @@
     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 @@
     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 */