summaryrefslogtreecommitdiffstats
path: root/sec_mm/sec_omx/sec_osal/SEC_OSAL_Buffer.h
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_osal/SEC_OSAL_Buffer.h
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_osal/SEC_OSAL_Buffer.h')
-rw-r--r--sec_mm/sec_omx/sec_osal/SEC_OSAL_Buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sec_mm/sec_omx/sec_osal/SEC_OSAL_Buffer.h b/sec_mm/sec_omx/sec_osal/SEC_OSAL_Buffer.h
index 7110d5a..3699c7d 100644
--- a/sec_mm/sec_omx/sec_osal/SEC_OSAL_Buffer.h
+++ b/sec_mm/sec_omx/sec_osal/SEC_OSAL_Buffer.h
@@ -50,7 +50,7 @@ OMX_U32 getMetadataBufferType(const uint8_t *ptr);
OMX_ERRORTYPE enableAndroidNativeBuffer(OMX_HANDLETYPE hComponent, OMX_PTR ComponentParameterStructure);
OMX_ERRORTYPE getAndroidNativeBuffer(OMX_HANDLETYPE hComponent, OMX_PTR ComponentParameterStructure);
OMX_ERRORTYPE useAndroidNativeBuffer(OMX_HANDLETYPE hComponent, OMX_PTR ComponentParameterStructure);
-OMX_U32 getVADDRfromANB(OMX_PTR pUnreadableBuffer, OMX_U32 Width, OMX_U32 Height);
+OMX_U32 getVADDRfromANB(OMX_PTR pUnreadableBuffer, OMX_U32 Width, OMX_U32 Height, void *vaddress[]);
OMX_U32 putVADDRtoANB(OMX_PTR pUnreadableBuffer);
OMX_ERRORTYPE enableStoreMetaDataInBuffers(OMX_HANDLETYPE hComponent, OMX_PTR ComponentParameterStructure);
OMX_ERRORTYPE preprocessMetaDataInBuffers(OMX_HANDLETYPE hComponent, OMX_BYTE pInputDataBuffer, BUFFER_ADDRESS_INFO *pInputInfo);