Lines Matching refs:ps_wt_ofst

158     pred_wt_ofst_t *ps_wt_ofst = &ps_slice_hdr->s_wt_ofst;  in ihevcd_parse_pred_wt_ofst()  local
166 ps_wt_ofst->i1_luma_log2_weight_denom = u4_value; in ihevcd_parse_pred_wt_ofst()
171 if(((ps_wt_ofst->i1_luma_log2_weight_denom + value) < 0) || in ihevcd_parse_pred_wt_ofst()
172 ((ps_wt_ofst->i1_luma_log2_weight_denom + value) > 7)) in ihevcd_parse_pred_wt_ofst()
176 ps_wt_ofst->i1_chroma_log2_weight_denom = ps_wt_ofst->i1_luma_log2_weight_denom + value; in ihevcd_parse_pred_wt_ofst()
182 ps_wt_ofst->i1_luma_weight_l0_flag[i] = value; in ihevcd_parse_pred_wt_ofst()
192 ps_wt_ofst->i1_chroma_weight_l0_flag[i] = value; in ihevcd_parse_pred_wt_ofst()
199 ps_wt_ofst->i1_chroma_weight_l0_flag[i] = 0; in ihevcd_parse_pred_wt_ofst()
206 if(ps_wt_ofst->i1_luma_weight_l0_flag[i]) in ihevcd_parse_pred_wt_ofst()
214 ps_wt_ofst->i2_luma_weight_l0[i] = (1 << ps_wt_ofst->i1_luma_log2_weight_denom) + value; in ihevcd_parse_pred_wt_ofst()
221 ps_wt_ofst->i2_luma_offset_l0[i] = value; in ihevcd_parse_pred_wt_ofst()
226 ps_wt_ofst->i2_luma_weight_l0[i] = (1 << ps_wt_ofst->i1_luma_log2_weight_denom); in ihevcd_parse_pred_wt_ofst()
227 ps_wt_ofst->i2_luma_offset_l0[i] = 0; in ihevcd_parse_pred_wt_ofst()
229 if(ps_wt_ofst->i1_chroma_weight_l0_flag[i]) in ihevcd_parse_pred_wt_ofst()
238ps_wt_ofst->i2_chroma_weight_l0_cb[i] = (1 << ps_wt_ofst->i1_chroma_log2_weight_denom) + value; in ihevcd_parse_pred_wt_ofst()
246 …ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l0_cb[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom… in ihevcd_parse_pred_wt_ofst()
249 ps_wt_ofst->i2_chroma_offset_l0_cb[i] = CLIP_S8(ofst); in ihevcd_parse_pred_wt_ofst()
256ps_wt_ofst->i2_chroma_weight_l0_cr[i] = (1 << ps_wt_ofst->i1_chroma_log2_weight_denom) + value; in ihevcd_parse_pred_wt_ofst()
264 …ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l0_cr[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom… in ihevcd_parse_pred_wt_ofst()
267 ps_wt_ofst->i2_chroma_offset_l0_cr[i] = CLIP_S8(ofst); in ihevcd_parse_pred_wt_ofst()
272 ps_wt_ofst->i2_chroma_weight_l0_cb[i] = (1 << ps_wt_ofst->i1_chroma_log2_weight_denom); in ihevcd_parse_pred_wt_ofst()
273 ps_wt_ofst->i2_chroma_weight_l0_cr[i] = (1 << ps_wt_ofst->i1_chroma_log2_weight_denom); in ihevcd_parse_pred_wt_ofst()
275 ps_wt_ofst->i2_chroma_offset_l0_cb[i] = 0; in ihevcd_parse_pred_wt_ofst()
276 ps_wt_ofst->i2_chroma_offset_l0_cr[i] = 0; in ihevcd_parse_pred_wt_ofst()
284 ps_wt_ofst->i1_luma_weight_l1_flag[i] = value; in ihevcd_parse_pred_wt_ofst()
292 ps_wt_ofst->i1_chroma_weight_l1_flag[i] = value; in ihevcd_parse_pred_wt_ofst()
299 ps_wt_ofst->i1_chroma_weight_l1_flag[i] = 0; in ihevcd_parse_pred_wt_ofst()
305 if(ps_wt_ofst->i1_luma_weight_l1_flag[i]) in ihevcd_parse_pred_wt_ofst()
313ps_wt_ofst->i2_luma_weight_l1[i] = (1 << ps_wt_ofst->i1_luma_log2_weight_denom) + value; in ihevcd_parse_pred_wt_ofst()
320 ps_wt_ofst->i2_luma_offset_l1[i] = value; in ihevcd_parse_pred_wt_ofst()
325 ps_wt_ofst->i2_luma_weight_l1[i] = (1 << ps_wt_ofst->i1_luma_log2_weight_denom); in ihevcd_parse_pred_wt_ofst()
326 ps_wt_ofst->i2_luma_offset_l1[i] = 0; in ihevcd_parse_pred_wt_ofst()
329 if(ps_wt_ofst->i1_chroma_weight_l1_flag[i]) in ihevcd_parse_pred_wt_ofst()
338ps_wt_ofst->i2_chroma_weight_l1_cb[i] = (1 << ps_wt_ofst->i1_chroma_log2_weight_denom) + value;; in ihevcd_parse_pred_wt_ofst()
346 …ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l1_cb[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom… in ihevcd_parse_pred_wt_ofst()
349 ps_wt_ofst->i2_chroma_offset_l1_cb[i] = CLIP_S8(ofst);; in ihevcd_parse_pred_wt_ofst()
356ps_wt_ofst->i2_chroma_weight_l1_cr[i] = (1 << ps_wt_ofst->i1_chroma_log2_weight_denom) + value; in ihevcd_parse_pred_wt_ofst()
364 …ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l1_cr[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom… in ihevcd_parse_pred_wt_ofst()
367 ps_wt_ofst->i2_chroma_offset_l1_cr[i] = CLIP_S8(ofst);; in ihevcd_parse_pred_wt_ofst()
372ps_wt_ofst->i2_chroma_weight_l1_cb[i] = (1 << ps_wt_ofst->i1_chroma_log2_weight_denom); in ihevcd_parse_pred_wt_ofst()
373ps_wt_ofst->i2_chroma_weight_l1_cr[i] = (1 << ps_wt_ofst->i1_chroma_log2_weight_denom); in ihevcd_parse_pred_wt_ofst()
375 ps_wt_ofst->i2_chroma_offset_l1_cb[i] = 0; in ihevcd_parse_pred_wt_ofst()
376 ps_wt_ofst->i2_chroma_offset_l1_cr[i] = 0; in ihevcd_parse_pred_wt_ofst()