diff options
author | SeungBeom Kim <sbcrux.kim@samsung.com> | 2011-07-19 10:23:46 +0900 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-07-25 17:39:50 -0700 |
commit | dd600c91fc1bc564ae62ef945d67436fe2fb0451 (patch) | |
tree | ad72255e4bdda4f81c8157d061861dd5c385d6af /sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Baseport.h | |
parent | 40a09525b7c484764c64daa1ca663a314a1b6d31 (diff) | |
download | device_samsung_crespo-dd600c91fc1bc564ae62ef945d67436fe2fb0451.zip device_samsung_crespo-dd600c91fc1bc564ae62ef945d67436fe2fb0451.tar.gz device_samsung_crespo-dd600c91fc1bc564ae62ef945d67436fe2fb0451.tar.bz2 |
Change SEC_OMX for Video Editor
1. Support Google ExtensionIndex.
2. Decode Component
- Decode component return real YUV output data.
- Video decode component support two output port color format.
They are OMX_COLOR_FormatYUV420SemiPlanar(NV12) and OMX_COLOR_FormatYUV420Planar.
Choose one of them under negotiation.
- output port default color format is OMX_COLOR_FormatYUV420SemiPlanar(NV12).
- Turn off the gralloc/graphic buffer since gralloc/graphic buffer allocator is unavailable
3. Encode Component
- Encode component support real YUV input data.
- Video encode component support two input port color format.
They are OMX_COLOR_FormatYUV420SemiPlanar(NV12) and OMX_COLOR_FormatYUV420Planar.
Choose one of them under negotiation.
- input port default color format is OMX_COLOR_FormatYUV420SemiPlanar(NV12).
- gralloc buffer is not support yet.
(store meta data mode use physical address.)
4. Camera hal
- Support metadata buffer mode
TODO:
1. enable grallco/graphic buffer once the allocator is available
2. add support for gralloc-based metadata buffer support in video encoder component
Change-Id: Ic8ba4f0230d6de77ffde7ddf1e2c9a3a5aeb806f
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Diffstat (limited to 'sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Baseport.h')
-rw-r--r-- | sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Baseport.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Baseport.h b/sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Baseport.h index f38226b..bce2263 100644 --- a/sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Baseport.h +++ b/sec_mm/sec_omx/sec_omx_component/common/SEC_OMX_Baseport.h @@ -62,6 +62,8 @@ typedef struct _SEC_OMX_BASEPORT OMX_BOOL bIsPortDisabled; OMX_MARKTYPE markType; + OMX_CONFIG_RECTTYPE cropRectangle; + /* Tunnel Info */ OMX_HANDLETYPE tunneledComponent; OMX_U32 tunneledPort; @@ -70,6 +72,11 @@ typedef struct _SEC_OMX_BASEPORT OMX_U32 tunnelFlags; OMX_VIDEO_CONTROLRATETYPE eControlRate; + + /* For Android Native Buffer */ + OMX_BOOL bUseAndroidNativeBuffer; + /* For Android Store Meta Data inBuffer */ + OMX_BOOL bStoreMetaDataInBuffer; } SEC_OMX_BASEPORT; |