Home
last modified time | relevance | path

Searched refs:ps_wt_ofst (Results 1 – 2 of 2) sorted by relevance

/external/libhevc/decoder/
Dihevcd_parse_headers.c158 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()
[all …]
/external/libhevc/encoder/
Dihevce_encode_header.c567 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()
[all …]