mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-04-06 06:10:50 +07:00
Merge "encoder: Fix entropy sync mode for height <= 64" am: a5f7557e5f
Original change: 1629485
Change-Id: I535309ad1edd9f585251e269d89cfd3f781ba644
This commit is contained in:
commit
082ba20452
1 changed files with 7 additions and 0 deletions
|
|
@ -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 */
|
||||
/* --------------------------------------------------------------------- */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue