summaryrefslogtreecommitdiffstats
path: root/sec_mm/sec_omx/sec_omx_include
diff options
context:
space:
mode:
authorSeungBeom Kim <sbcrux.kim@samsung.com>2011-07-28 10:59:05 +0900
committerJames Dong <jdong@google.com>2011-08-04 10:10:24 -0700
commitcf996c94402fdce75ca9a9255e285784fd3487bc (patch)
tree88dd59d2edbd000ff8d13e30299911963f6aae29 /sec_mm/sec_omx/sec_omx_include
parent8f35b79e690080f07214f73080ec94ce2f47c1e1 (diff)
downloaddevice_samsung_crespo-cf996c94402fdce75ca9a9255e285784fd3487bc.zip
device_samsung_crespo-cf996c94402fdce75ca9a9255e285784fd3487bc.tar.gz
device_samsung_crespo-cf996c94402fdce75ca9a9255e285784fd3487bc.tar.bz2
Video decode component support gralloc color format.
That returns the current color format is a 0x100. But, It is not the normal way In terms of omx. (It is spec out) OMX spec is OMX_COLOR_FormatVendorStartUnused = 0x7F000000, /**< Reserved region for introducing Vendor Extensions */ I think.... I hope the color format is the value 0x7F000100. stagefright use the value(0x7F000100) after masking. ex) err = native_window_set_buffers_geometry( mNativeWindow.get(), def.format.video.nFrameWidth, def.format.video.nFrameHeight, (def.format.video.eColorFormat & 0x1FF)); Change-Id: If0578eb35338ff9bd8d0cf8cd8f1435af92aba04 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Diffstat (limited to 'sec_mm/sec_omx/sec_omx_include')
-rw-r--r--sec_mm/sec_omx/sec_omx_include/sec/SEC_OMX_Def.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sec_mm/sec_omx/sec_omx_include/sec/SEC_OMX_Def.h b/sec_mm/sec_omx/sec_omx_include/sec/SEC_OMX_Def.h
index 66aa696..d25cde4 100644
--- a/sec_mm/sec_omx/sec_omx_include/sec/SEC_OMX_Def.h
+++ b/sec_mm/sec_omx/sec_omx_include/sec/SEC_OMX_Def.h
@@ -74,6 +74,7 @@ typedef enum _SEC_OMX_INDEXTYPE
OMX_IndexParamGetAndroidNativeBuffer = 0x7F000012,
#define SEC_INDEX_PARAM_USE_ANB "OMX.google.android.index.useAndroidNativeBuffer"
OMX_IndexParamUseAndroidNativeBuffer = 0x7F000013,
+ /* for Android Store Metadata Inbuffer */
#define SEC_INDEX_PARAM_STORE_METADATA_BUFFER "OMX.google.android.index.storeMetaDataInBuffers"
OMX_IndexParamStoreMetaDataBuffer = 0x7F000014,
@@ -106,7 +107,9 @@ typedef enum _SEC_OMX_TRANS_STATETYPE {
} SEC_OMX_TRANS_STATETYPE;
typedef enum _SEC_OMX_COLOR_FORMATTYPE {
- OMX_SEC_COLOR_FormatNV12TPhysicalAddress = 0x7F000001 /**< Reserved region for introducing Vendor Extensions */
+ OMX_SEC_COLOR_FormatNV12TPhysicalAddress = 0x7F000001, /**< Reserved region for introducing Vendor Extensions */
+ /* for Android Native Window */
+ OMX_SEC_COLOR_FormatANBYUV420SemiPlanar = 0x100
}SEC_OMX_COLOR_FORMATTYPE;
typedef enum _SEC_OMX_SUPPORTFORMAT_TYPE