Lines Matching refs:rpl_tmp
263 RefPicList rpl_tmp = { { 0 } };
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++;
291 if (idx >= rpl_tmp.nb_refs) {
296 rpl->list[i] = rpl_tmp.list[idx];
297 rpl->ref[i] = rpl_tmp.ref[idx];
298 rpl->isLongTerm[i] = rpl_tmp.isLongTerm[idx];
302 memcpy(rpl, &rpl_tmp, sizeof(*rpl));