Merge "avcenc: Allow intra mode evaluation during fast skip" am: 7fda0b422a am: 461745769d

am: ecab943947

Change-Id: I3d0dfa64544885e8ca26cd7dcac262a86c9c0fc6
This commit is contained in:
Hangyu Kuang 2018-01-17 21:02:03 +00:00 committed by android-build-merger
commit 0101295ac7

View file

@ -2098,7 +2098,7 @@ WORD32 ih264e_process(process_ctxt_t *ps_proc)
}
/* If we already have the minimum sad, there is no point in searching for sad again */
if (ps_proc->u4_min_sad_reached == 0)
if (ps_proc->u4_min_sad_reached == 0 || ps_codec->s_cfg.u4_enc_speed_preset != IVE_FASTEST)
{
/* intra gating in inter slices */
/* No need of gating if we want to force intra, we need to find the threshold only if inter is enabled by AIR*/