Merge "encoder: Fix entropy sync mode for height <= 64" am: a5f7557e5f

Original change: 1629485

Change-Id: I535309ad1edd9f585251e269d89cfd3f781ba644
This commit is contained in:
Ray Essick 2021-04-28 02:39:54 +00:00 committed by Automerger Merge Worker
commit 082ba20452

View file

@ -735,6 +735,13 @@ IHEVCE_PLUGIN_STATUS_T ihevce_init(ihevce_static_cfg_params_t *ps_params, void *
MIN(MAX_NUM_FRM_IN_GOP,
ps_ctxt->ps_static_cfg_prms->s_coding_tools_prms.i4_max_i_open_gop_period);
/* entropy sync is disabled if there is only one CTB row */
if(ps_ctxt->ps_static_cfg_prms->s_src_prms.i4_height <=
(1 << ps_ctxt->ps_static_cfg_prms->s_config_prms.i4_max_log2_cu_size))
{
ps_ctxt->ps_static_cfg_prms->s_coding_tools_prms.i4_enable_entropy_sync = 0;
}
/* --------------------------------------------------------------------- */
/* High Level Encoder context init */
/* --------------------------------------------------------------------- */