diff options
author | SeungBeom Kim <sbcrux.kim@samsung.com> | 2011-07-29 13:55:34 +0900 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-08-04 10:10:51 -0700 |
commit | a704ac33b565d9473c124ee2d624591706bd00e3 (patch) | |
tree | fce6ee0b4ba8d6ab4df3edb88c8af0bdc536e0c2 /sec_mm | |
parent | cf996c94402fdce75ca9a9255e285784fd3487bc (diff) | |
download | device_samsung_crespo-a704ac33b565d9473c124ee2d624591706bd00e3.zip device_samsung_crespo-a704ac33b565d9473c124ee2d624591706bd00e3.tar.gz device_samsung_crespo-a704ac33b565d9473c124ee2d624591706bd00e3.tar.bz2 |
SEC-OMX support YV12 for video editor.
Change-Id: Ia67d3aceb8cffa75be3ea373f87d2f20165ac831
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Diffstat (limited to 'sec_mm')
-rw-r--r-- | sec_mm/sec_omx/sec_omx_component/video/dec/SEC_OMX_Vdec.c | 4 | ||||
-rw-r--r-- | sec_mm/sec_omx/sec_omx_component/video/enc/SEC_OMX_Venc.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sec_mm/sec_omx/sec_omx_component/video/dec/SEC_OMX_Vdec.c b/sec_mm/sec_omx/sec_omx_component/video/dec/SEC_OMX_Vdec.c index dccdaa5..6dd72a1 100644 --- a/sec_mm/sec_omx/sec_omx_component/video/dec/SEC_OMX_Vdec.c +++ b/sec_mm/sec_omx/sec_omx_component/video/dec/SEC_OMX_Vdec.c @@ -1046,12 +1046,12 @@ OMX_ERRORTYPE SEC_OMX_VideoDecodeGetParameter( switch (index) { case supportFormat_0: portFormat->eCompressionFormat = OMX_VIDEO_CodingUnused; - portFormat->eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar; + portFormat->eColorFormat = OMX_COLOR_FormatYUV420Planar;//OMX_COLOR_FormatYUV420SemiPlanar; portFormat->xFramerate = portDefinition->format.video.xFramerate; break; case supportFormat_1: portFormat->eCompressionFormat = OMX_VIDEO_CodingUnused; - portFormat->eColorFormat = OMX_COLOR_FormatYUV420Planar; + portFormat->eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar;//OMX_COLOR_FormatYUV420Planar; portFormat->xFramerate = portDefinition->format.video.xFramerate; break; case supportFormat_2: diff --git a/sec_mm/sec_omx/sec_omx_component/video/enc/SEC_OMX_Venc.c b/sec_mm/sec_omx/sec_omx_component/video/enc/SEC_OMX_Venc.c index 8ddd2a4..2f8d5f2 100644 --- a/sec_mm/sec_omx/sec_omx_component/video/enc/SEC_OMX_Venc.c +++ b/sec_mm/sec_omx/sec_omx_component/video/enc/SEC_OMX_Venc.c @@ -756,6 +756,7 @@ OMX_BOOL SEC_Preprocessor_InputData(OMX_COMPONENTTYPE *pOMXComponent) switch (pSECPort->portDefinition.format.video.eColorFormat) { case OMX_COLOR_FormatYUV420Planar: + /* Real YUV420P Data */ csc_linear_to_tiled(inputData->specificBufferHeader.YVirAddr, checkInputStream, width, height); csc_linear_to_tiled_interleave(inputData->specificBufferHeader.CVirAddr, |