Lines Matching refs:ps_wt_ofst
567 pred_wt_ofst_t *ps_wt_ofst = &ps_slice_hdr->s_wt_ofst; in ihevce_generate_pred_weight_table() local
568 UWORD32 u4_luma_log2_weight_denom = ps_wt_ofst->i1_luma_log2_weight_denom; in ihevce_generate_pred_weight_table()
569 WORD32 chroma_log2_weight_denom = (ps_wt_ofst->i1_chroma_log2_weight_denom); in ihevce_generate_pred_weight_table()
589 PUT_BITS(ps_bitstrm, ps_wt_ofst->i1_luma_weight_l0_flag[i], 1, return_status); in ihevce_generate_pred_weight_table()
590 i4_wght_count += ps_wt_ofst->i1_luma_weight_l0_flag[i]; in ihevce_generate_pred_weight_table()
592 ENTROPY_TRACE("luma_weight_l0_flag[ i ]", ps_wt_ofst->i1_luma_weight_l0_flag[i]); in ihevce_generate_pred_weight_table()
600 PUT_BITS(ps_bitstrm, ps_wt_ofst->i1_chroma_weight_l0_flag[i], 1, return_status); in ihevce_generate_pred_weight_table()
601 i4_wght_count += 2 * ps_wt_ofst->i1_chroma_weight_l0_flag[i]; in ihevce_generate_pred_weight_table()
603 ENTROPY_TRACE("chroma_weight_l0_flag[ i ]", ps_wt_ofst->i1_chroma_weight_l0_flag[i]); in ihevce_generate_pred_weight_table()
612 if(ps_wt_ofst->i1_luma_weight_l0_flag[i]) in ihevce_generate_pred_weight_table()
616 ps_bitstrm, ps_wt_ofst->i2_luma_weight_l0[i] - delta_luma_weight, return_status); in ihevce_generate_pred_weight_table()
618 "delta_luma_weight_l0[ i ]", ps_wt_ofst->i2_luma_weight_l0[i] - delta_luma_weight); in ihevce_generate_pred_weight_table()
621 PUT_BITS_SEV(ps_bitstrm, ps_wt_ofst->i2_luma_offset_l0[i], return_status); in ihevce_generate_pred_weight_table()
622 ENTROPY_TRACE("luma_offset_l0[ i ]", ps_wt_ofst->i2_luma_offset_l0[i]); in ihevce_generate_pred_weight_table()
625 if(ps_wt_ofst->i1_chroma_weight_l0_flag[i]) in ihevce_generate_pred_weight_table()
631 delta_chroma_weight_l0[0] = ps_wt_ofst->i2_chroma_weight_l0_cb[i] - delta_chroma_weight; in ihevce_generate_pred_weight_table()
632 delta_chroma_weight_l0[1] = ps_wt_ofst->i2_chroma_weight_l0_cr[i] - delta_chroma_weight; in ihevce_generate_pred_weight_table()
635 ps_wt_ofst->i2_chroma_offset_l0_cb[i] + in ihevce_generate_pred_weight_table()
636 ((shift * ps_wt_ofst->i2_chroma_weight_l0_cb[i]) >> chroma_log2_weight_denom) - in ihevce_generate_pred_weight_table()
639 ps_wt_ofst->i2_chroma_offset_l0_cr[i] + in ihevce_generate_pred_weight_table()
640 ((shift * ps_wt_ofst->i2_chroma_weight_l0_cr[i]) >> chroma_log2_weight_denom) - in ihevce_generate_pred_weight_table()
666 PUT_BITS(ps_bitstrm, ps_wt_ofst->i1_luma_weight_l1_flag[i], 1, return_status); in ihevce_generate_pred_weight_table()
667 i4_wght_count += ps_wt_ofst->i1_luma_weight_l1_flag[i]; in ihevce_generate_pred_weight_table()
669 ENTROPY_TRACE("luma_weight_l1_flag[ i ]", ps_wt_ofst->i1_luma_weight_l1_flag[i]); in ihevce_generate_pred_weight_table()
677 PUT_BITS(ps_bitstrm, ps_wt_ofst->i1_chroma_weight_l1_flag[i], 1, return_status); in ihevce_generate_pred_weight_table()
678 i4_wght_count += ps_wt_ofst->i1_chroma_weight_l1_flag[i]; in ihevce_generate_pred_weight_table()
681 "chroma_weight_l1_flag[ i ]", ps_wt_ofst->i1_chroma_weight_l1_flag[i]); in ihevce_generate_pred_weight_table()
687 if(ps_wt_ofst->i1_luma_weight_l1_flag[i]) in ihevce_generate_pred_weight_table()
692 ps_wt_ofst->i2_luma_weight_l1[i] - delta_luma_weight, in ihevce_generate_pred_weight_table()
696 ps_wt_ofst->i2_luma_weight_l1[i] - delta_luma_weight); in ihevce_generate_pred_weight_table()
699 PUT_BITS_SEV(ps_bitstrm, ps_wt_ofst->i2_luma_offset_l1[i], return_status); in ihevce_generate_pred_weight_table()
700 ENTROPY_TRACE("luma_offset_l1[ i ]", ps_wt_ofst->i2_luma_offset_l1[i]); in ihevce_generate_pred_weight_table()
703 if(ps_wt_ofst->i1_chroma_weight_l1_flag[i]) in ihevce_generate_pred_weight_table()
710 ps_wt_ofst->i2_chroma_weight_l1_cb[i] - delta_chroma_weight; in ihevce_generate_pred_weight_table()
712 ps_wt_ofst->i2_chroma_weight_l1_cr[i] - delta_chroma_weight; in ihevce_generate_pred_weight_table()
715 ps_wt_ofst->i2_chroma_offset_l1_cb[i] + in ihevce_generate_pred_weight_table()
716 ((shift * ps_wt_ofst->i2_chroma_weight_l1_cb[i]) >> chroma_log2_weight_denom) - in ihevce_generate_pred_weight_table()
719 ps_wt_ofst->i2_chroma_offset_l1_cr[i] + in ihevce_generate_pred_weight_table()
720 ((shift * ps_wt_ofst->i2_chroma_weight_l1_cr[i]) >> chroma_log2_weight_denom) - in ihevce_generate_pred_weight_table()