summaryrefslogtreecommitdiffstats
path: root/include/media/openmax
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-07-25 07:53:56 -0700
committerLajos Molnar <lajos@google.com>2014-07-25 18:06:37 -0700
commit524077caa6a5e5508af40cf2012d45087ed9e7f3 (patch)
treeb3731e8adf9b25c36cd381ec9714544ce7a702e8 /include/media/openmax
parentc268068c55afaaa441fda903b1b84a5b5c8a0a01 (diff)
downloadframeworks_native-524077caa6a5e5508af40cf2012d45087ed9e7f3.zip
frameworks_native-524077caa6a5e5508af40cf2012d45087ed9e7f3.tar.gz
frameworks_native-524077caa6a5e5508af40cf2012d45087ed9e7f3.tar.bz2
OMX: add supporting methods for flexible YUV
Bug: 10706245 Change-Id: I2427930a34c468e49d3db7ba2865344f1fba2960
Diffstat (limited to 'include/media/openmax')
-rw-r--r--include/media/openmax/OMX_IVCommon.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/openmax/OMX_IVCommon.h b/include/media/openmax/OMX_IVCommon.h
index 96a4396..5f9e9b6 100644
--- a/include/media/openmax/OMX_IVCommon.h
+++ b/include/media/openmax/OMX_IVCommon.h
@@ -157,6 +157,13 @@ typedef enum OMX_COLOR_FORMATTYPE {
* an acceptable range once that is done.
* */
OMX_COLOR_FormatAndroidOpaque = 0x7F000789,
+ /** Flexible 8-bit YUV format. Codec should report this format
+ * as being supported if it supports any YUV420 packed planar
+ * or semiplanar formats. When port is set to use this format,
+ * codec can substitute any YUV420 packed planar or semiplanar
+ * format for it. */
+ OMX_COLOR_FormatYUV420Flexible = 0x7F420888,
+
OMX_TI_COLOR_FormatYUV420PackedSemiPlanar = 0x7F000100,
OMX_QCOM_COLOR_FormatYVU420SemiPlanar = 0x7FA30C00,
OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka = 0x7FA30C03,