Lines Matching refs:nb_refs
169 for (i = 0; i < s->sh.nb_refs[L0]; i++) { in pred_weight_table()
177 for (i = 0; i < s->sh.nb_refs[L0]; i++) in pred_weight_table()
180 for (i = 0; i < s->sh.nb_refs[L0]; i++) in pred_weight_table()
183 for (i = 0; i < s->sh.nb_refs[L0]; i++) { in pred_weight_table()
213 for (i = 0; i < s->sh.nb_refs[L1]; i++) { in pred_weight_table()
221 for (i = 0; i < s->sh.nb_refs[L1]; i++) in pred_weight_table()
224 for (i = 0; i < s->sh.nb_refs[L1]; i++) in pred_weight_table()
227 for (i = 0; i < s->sh.nb_refs[L1]; i++) { in pred_weight_table()
268 rps->nb_refs = 0; in decode_lt_rps()
281 rps->nb_refs = nb_sh + nb_sps; in decode_lt_rps()
283 for (i = 0; i < rps->nb_refs; i++) { in decode_lt_rps()
737 sh->nb_refs[L0] = sh->nb_refs[L1] = 0; in hls_slice_header()
739 int nb_refs; in hls_slice_header() local
741 sh->nb_refs[L0] = s->ps.pps->num_ref_idx_l0_default_active; in hls_slice_header()
743 sh->nb_refs[L1] = s->ps.pps->num_ref_idx_l1_default_active; in hls_slice_header()
746 sh->nb_refs[L0] = get_ue_golomb_long(gb) + 1; in hls_slice_header()
748 sh->nb_refs[L1] = get_ue_golomb_long(gb) + 1; in hls_slice_header()
750 if (sh->nb_refs[L0] > HEVC_MAX_REFS || sh->nb_refs[L1] > HEVC_MAX_REFS) { in hls_slice_header()
752 sh->nb_refs[L0], sh->nb_refs[L1]); in hls_slice_header()
758 nb_refs = ff_hevc_frame_nb_refs(s); in hls_slice_header()
759 if (!nb_refs) { in hls_slice_header()
764 if (s->ps.pps->lists_modification_present_flag && nb_refs > 1) { in hls_slice_header()
767 for (i = 0; i < sh->nb_refs[L0]; i++) in hls_slice_header()
768 sh->list_entry_lx[0][i] = get_bits(gb, av_ceil_log2(nb_refs)); in hls_slice_header()
774 for (i = 0; i < sh->nb_refs[L1]; i++) in hls_slice_header()
775 sh->list_entry_lx[1][i] = get_bits(gb, av_ceil_log2(nb_refs)); in hls_slice_header()
793 if (sh->nb_refs[sh->collocated_list] > 1) { in hls_slice_header()
795 if (sh->collocated_ref_idx >= sh->nb_refs[sh->collocated_list]) { in hls_slice_header()
1811 if (s->sh.nb_refs[L0]) in hevc_luma_mv_mvp_mode()
1812 mv->ref_idx[0]= ff_hevc_ref_idx_lx_decode(s, s->sh.nb_refs[L0]); in hevc_luma_mv_mvp_mode()
1824 if (s->sh.nb_refs[L1]) in hevc_luma_mv_mvp_mode()
1825 mv->ref_idx[1]= ff_hevc_ref_idx_lx_decode(s, s->sh.nb_refs[L1]); in hevc_luma_mv_mvp_mode()