Fix int-in-bool-context warning am: 6b2208f1c7

Original change: 2030528

Change-Id: If5208dc033bbb7b243efdadb63f6031c8a234953
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Yi Kong 2022-03-31 03:16:38 +00:00 committed by Automerger Merge Worker
commit f98b4617a5

View file

@ -3018,14 +3018,10 @@ void ihevce_enc_loop_process(
ps_ctxt->pv_err_func_selector = ps_func_selector;
#endif
/*Bit0 - of this Flag indicates whether current pictute needs to be deblocked,
padded and hpel planes need to be generated.
Bit1 - of this flag set to 1 if sao is enabled. This is to enable deblocking when sao is enabled*/
ps_ctxt->i4_deblk_pad_hpel_cur_pic =
(ps_frm_recon->i4_deblk_pad_hpel_cur_pic) ||
((ps_ctxt->s_sao_ctxt_t.ps_slice_hdr->i1_slice_sao_luma_flag ||
ps_ctxt->s_sao_ctxt_t.ps_slice_hdr->i1_slice_sao_chroma_flag)
<< 1);
ps_frm_recon->i4_deblk_pad_hpel_cur_pic ||
ps_ctxt->s_sao_ctxt_t.ps_slice_hdr->i1_slice_sao_luma_flag ||
ps_ctxt->s_sao_ctxt_t.ps_slice_hdr->i1_slice_sao_chroma_flag;
/* Share all reference pictures with nbr clients. This flag will be used only
in case of dist-enc mode */