mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
exynos: Improve H264 encode quality
Change-Id: I0c184daecffe644445c759deeeb8895f69c1755b
This commit is contained in:
parent
3e03dba1c0
commit
759cb25d9c
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue