From 4f067b6d46ac4575254ef47c36e925c0df829a4d Mon Sep 17 00:00:00 2001 From: Doney Alex Date: Wed, 24 Feb 2016 19:22:42 +0530 Subject: [PATCH] Encoder: Fixed adaptive intra refresh. Earlier if an MB was coded as intra in the previous frame, corresponding MB in the current frame will not be coded as intra even though it was supposed to be intra according to adaptive intra refresh. Now the MB will honour adaptive intra refresh irrespective of its type in previous frame. Change-Id: Icc84ddf962dad6f7d1f4d11e9cb2a37bcda567b8 --- encoder/ih264e_process.c | 1 - 1 file changed, 1 deletion(-) diff --git a/encoder/ih264e_process.c b/encoder/ih264e_process.c index c21931d..fce7e35 100644 --- a/encoder/ih264e_process.c +++ b/encoder/ih264e_process.c @@ -2008,7 +2008,6 @@ WORD32 ih264e_process(process_ctxt_t *ps_proc) /* force intra refresh ? */ WORD32 i4_air_enable_inter = (ps_codec->s_cfg.e_air_mode == IVE_AIR_MODE_NONE) || - (ps_proc->pu1_is_intra_coded[i4_mb_id] != 0) || (ps_codec->pu2_intr_rfrsh_map[i4_mb_id] != ps_codec->i4_air_pic_cnt); /* evaluate inter 16x16 modes */