Lines Matching refs:nb_refs
153 for (i = 0; i < s->sh.nb_refs[L0]; i++) {
161 for (i = 0; i < s->sh.nb_refs[L0]; i++)
164 for (i = 0; i < s->sh.nb_refs[L0]; i++)
167 for (i = 0; i < s->sh.nb_refs[L0]; i++) {
189 for (i = 0; i < s->sh.nb_refs[L1]; i++) {
197 for (i = 0; i < s->sh.nb_refs[L1]; i++)
200 for (i = 0; i < s->sh.nb_refs[L1]; i++)
203 for (i = 0; i < s->sh.nb_refs[L1]; i++) {
235 rps->nb_refs = 0;
246 rps->nb_refs = nb_sh + nb_sps;
248 for (i = 0; i < rps->nb_refs; i++) {
540 sh->nb_refs[L0] = sh->nb_refs[L1] = 0;
542 int nb_refs;
544 sh->nb_refs[L0] = s->pps->num_ref_idx_l0_default_active;
546 sh->nb_refs[L1] = s->pps->num_ref_idx_l1_default_active;
549 sh->nb_refs[L0] = get_ue_golomb_long(gb) + 1;
551 sh->nb_refs[L1] = get_ue_golomb_long(gb) + 1;
553 if (sh->nb_refs[L0] > MAX_REFS || sh->nb_refs[L1] > MAX_REFS) {
555 sh->nb_refs[L0], sh->nb_refs[L1]);
561 nb_refs = ff_hevc_frame_nb_refs(s);
562 if (!nb_refs) {
567 if (s->pps->lists_modification_present_flag && nb_refs > 1) {
570 for (i = 0; i < sh->nb_refs[L0]; i++)
571 sh->list_entry_lx[0][i] = get_bits(gb, av_ceil_log2(nb_refs));
577 for (i = 0; i < sh->nb_refs[L1]; i++)
578 sh->list_entry_lx[1][i] = get_bits(gb, av_ceil_log2(nb_refs));
596 if (sh->nb_refs[sh->collocated_list] > 1) {
598 if (sh->collocated_ref_idx >= sh->nb_refs[sh->collocated_list]) {
1678 if (s->sh.nb_refs[L0]) {
1679 ref_idx[0] = ff_hevc_ref_idx_lx_decode(s, s->sh.nb_refs[L0]);
1693 if (s->sh.nb_refs[L1]) {
1694 ref_idx[1] = ff_hevc_ref_idx_lx_decode(s, s->sh.nb_refs[L1]);