aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Hu <jason.hu@intel.com>2013-04-10 18:31:56 -0400
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:03:41 -0700
commit049b25b53701a89f213b0097025489fe2fa88d24 (patch)
tree66cd540b52d1f24f252369cd4f0e63015be8918f
parentc6d5726970a68304f81a5d953ae6b437721d84c3 (diff)
downloadwrs_omxil_core-049b25b53701a89f213b0097025489fe2fa88d24.tar.gz
Add a buffer flag to indicate OMX buffer contain top/bottom field.
BZ: 99408 align this file with frameworks/native/include/media/openmax/OMX_Core.h Change-Id: Id0f5f87919772ea7a9b36fc369c32a232b499723 Signed-off-by: Jason Hu <jason.hu@intel.com> Reviewed-on: http://android.intel.com:8080/100952 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Feng, Wei <wei.feng@intel.com> Reviewed-by: Wang, Lili A <lili.a.wang@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
-rw-r--r--core/inc/khronos/openmax/include/OMX_Core.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/core/inc/khronos/openmax/include/OMX_Core.h b/core/inc/khronos/openmax/include/OMX_Core.h
index 91e2ed1..8f8f47f 100644
--- a/core/inc/khronos/openmax/include/OMX_Core.h
+++ b/core/inc/khronos/openmax/include/OMX_Core.h
@@ -392,9 +392,17 @@ typedef struct OMX_PARAM_COMPONENTROLETYPE {
*/
#define OMX_BUFFERFLAG_CODECCONFIG 0x00000080
-#ifdef BUFFERFLAG_EXT
-#define OMX_BUFFERFLAG_FIELD 0x00010000
-#endif
+/* interlaced frame flag: This flag is set to indicate the buffer contains
+ * top and bottom field and display ordering is top field first.
+ * @ingroup buf
+ */
+#define OMX_BUFFERFLAG_TFF 0x00010000
+
+/* interlaced frame flag: This flag is set to indicate the buffer contains
+ * top and bottom field and display ordering is bottom field first.
+ * @ingroup buf
+ */
+#define OMX_BUFFERFLAG_BFF 0x00020000
/** @ingroup buf */
typedef struct OMX_BUFFERHEADERTYPE