Lines Matching refs:nb_refs
303 if (!(s->rps[ST_CURR_BEF].nb_refs + s->rps[ST_CURR_AFT].nb_refs + in ff_hevc_slice_rpl()
304 s->rps[LT_CURR].nb_refs)) { in ff_hevc_slice_rpl()
321 while (rpl_tmp.nb_refs < sh->nb_refs[list_idx]) { in ff_hevc_slice_rpl()
324 for (j = 0; j < rps->nb_refs && rpl_tmp.nb_refs < HEVC_MAX_REFS; j++) { in ff_hevc_slice_rpl()
325 rpl_tmp.list[rpl_tmp.nb_refs] = rps->list[j]; in ff_hevc_slice_rpl()
326 rpl_tmp.ref[rpl_tmp.nb_refs] = rps->ref[j]; in ff_hevc_slice_rpl()
327 rpl_tmp.isLongTerm[rpl_tmp.nb_refs] = i == 2; in ff_hevc_slice_rpl()
328 rpl_tmp.nb_refs++; in ff_hevc_slice_rpl()
335 for (i = 0; i < sh->nb_refs[list_idx]; i++) { in ff_hevc_slice_rpl()
338 if (idx >= rpl_tmp.nb_refs) { in ff_hevc_slice_rpl()
346 rpl->nb_refs++; in ff_hevc_slice_rpl()
350 rpl->nb_refs = FFMIN(rpl->nb_refs, sh->nb_refs[list_idx]); in ff_hevc_slice_rpl()
354 sh->collocated_ref_idx < rpl->nb_refs) in ff_hevc_slice_rpl()
426 if (ref == s->ref || list->nb_refs >= HEVC_MAX_REFS) in add_candidate_ref()
435 list->list[list->nb_refs] = ref->poc; in add_candidate_ref()
436 list->ref[list->nb_refs] = ref; in add_candidate_ref()
437 list->nb_refs++; in add_candidate_ref()
451 rps[0].nb_refs = rps[1].nb_refs = 0; in ff_hevc_frame_rps()
466 rps[i].nb_refs = 0; in ff_hevc_frame_rps()
486 for (i = 0; i < long_rps->nb_refs; i++) { in ff_hevc_frame_rps()
518 for (i = 0; i < long_rps->nb_refs; i++) in ff_hevc_frame_nb_refs()