summaryrefslogtreecommitdiffstats
path: root/exynos
diff options
context:
space:
mode:
authorathurh <athurh@gmail.com>2012-05-21 21:55:40 +0200
committerathurh <athurh@gmail.com>2012-05-21 21:55:40 +0200
commit759cb25d9c3006a476263d76cca5adcbf4979751 (patch)
treeb32d9d6f4453fe462b50f342e3baba35a732d296 /exynos
parent3e03dba1c04889f7ff1fcc45bb3721184c8e11b4 (diff)
downloadhardware_samsung-759cb25d9c3006a476263d76cca5adcbf4979751.zip
hardware_samsung-759cb25d9c3006a476263d76cca5adcbf4979751.tar.gz
hardware_samsung-759cb25d9c3006a476263d76cca5adcbf4979751.tar.bz2
exynos: Improve H264 encode quality
Change-Id: I0c184daecffe644445c759deeeb8895f69c1755b
Diffstat (limited to 'exynos')
-rw-r--r--exynos/multimedia/openmax/component/video/enc/h264/SEC_OMX_H264enc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/exynos/multimedia/openmax/component/video/enc/h264/SEC_OMX_H264enc.c b/exynos/multimedia/openmax/component/video/enc/h264/SEC_OMX_H264enc.c
index dfba49d..f8b4585 100644
--- a/exynos/multimedia/openmax/component/video/enc/h264/SEC_OMX_H264enc.c
+++ b/exynos/multimedia/openmax/component/video/enc/h264/SEC_OMX_H264enc.c
@@ -224,9 +224,9 @@ void Set_H264Enc_Param(SSBSIP_MFC_ENC_H264_PARAM *pH264Arg, SEC_OMX_BASECOMPONEN
pH264Arg->LoopFilterDisable = 1; // 1: Loop Filter Disable, 0: Filter Enable
pH264Arg->LoopFilterAlphaC0Offset = 0;
pH264Arg->LoopFilterBetaOffset = 0;
- pH264Arg->SymbolMode = 0; // 0: CAVLC, 1: CABAC
+ pH264Arg->SymbolMode = 1; // 0: CAVLC, 1: CABAC
pH264Arg->PictureInterlace = 0;
- pH264Arg->Transform8x8Mode = 0; // 0: 4x4, 1: allow 8x8
+ pH264Arg->Transform8x8Mode = 1; // 0: 4x4, 1: allow 8x8
pH264Arg->DarkDisable = 1;
pH264Arg->SmoothDisable = 1;
pH264Arg->StaticDisable = 1;
@@ -1514,8 +1514,8 @@ OSCL_EXPORT_REF OMX_ERRORTYPE SEC_OMX_ComponentInit(OMX_HANDLETYPE hComponent, O
for(i = 0; i < ALL_PORT_NUM; i++) {
INIT_SET_SIZE_VERSION(&pH264Enc->AVCComponent[i], OMX_VIDEO_PARAM_AVCTYPE);
pH264Enc->AVCComponent[i].nPortIndex = i;
- pH264Enc->AVCComponent[i].eProfile = OMX_VIDEO_AVCProfileBaseline;
- pH264Enc->AVCComponent[i].eLevel = OMX_VIDEO_AVCLevel31;
+ pH264Enc->AVCComponent[i].eProfile = OMX_VIDEO_AVCProfileHigh;
+ pH264Enc->AVCComponent[i].eLevel = OMX_VIDEO_AVCLevel4;
pH264Enc->AVCComponent[i].nPFrames = 20;
}