Lines Matching refs:nb_refs
256 if (!(s->rps[ST_CURR_BEF].nb_refs + s->rps[ST_CURR_AFT].nb_refs +
257 s->rps[LT_CURR].nb_refs)) {
274 while (rpl_tmp.nb_refs < sh->nb_refs[list_idx]) {
277 for (j = 0; j < rps->nb_refs && rpl_tmp.nb_refs < MAX_REFS; j++) {
278 rpl_tmp.list[rpl_tmp.nb_refs] = rps->list[j];
279 rpl_tmp.ref[rpl_tmp.nb_refs] = rps->ref[j];
280 rpl_tmp.isLongTerm[rpl_tmp.nb_refs] = i == 2;
281 rpl_tmp.nb_refs++;
288 for (i = 0; i < sh->nb_refs[list_idx]; i++) {
291 if (idx >= rpl_tmp.nb_refs) {
299 rpl->nb_refs++;
303 rpl->nb_refs = FFMIN(rpl->nb_refs, sh->nb_refs[list_idx]);
307 sh->collocated_ref_idx < rpl->nb_refs)
393 list->list[list->nb_refs] = ref->poc;
394 list->ref[list->nb_refs] = ref;
395 list->nb_refs++;
409 rps[0].nb_refs = rps[1].nb_refs = 0;
424 rps[i].nb_refs = 0;
444 for (i = 0; i < long_rps->nb_refs; i++) {
498 for (i = 0; i < long_rps->nb_refs; i++)