Lines Matching refs:rps
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()
323 RefPicList *rps = &s->rps[cand_lists[i]]; in ff_hevc_slice_rpl() local
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()
447 RefPicList *rps = s->rps; in ff_hevc_frame_rps() local
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()
480 ret = add_candidate_ref(s, &rps[list], poc, HEVC_FRAME_FLAG_SHORT_REF, 1); in ff_hevc_frame_rps()
490 …ret = add_candidate_ref(s, &rps[list], poc, HEVC_FRAME_FLAG_LONG_REF, long_rps->poc_msb_present[i]… in ff_hevc_frame_rps()
507 const ShortTermRPS *rps = s->sh.short_term_rps; in ff_hevc_frame_nb_refs() local
510 if (rps) { in ff_hevc_frame_nb_refs()
511 for (i = 0; i < rps->num_negative_pics; i++) in ff_hevc_frame_nb_refs()
512 ret += !!rps->used[i]; in ff_hevc_frame_nb_refs()
513 for (; i < rps->num_delta_pocs; i++) in ff_hevc_frame_nb_refs()
514 ret += !!rps->used[i]; in ff_hevc_frame_nb_refs()