Lines Matching refs:list
224 unsigned list;
247 for (list = 0; list < 2; list++) {
249 for (i = 0; i < FF_ARRAY_ELEMS(slice->RefPicList[list]); i++) {
250 if (list < sl->list_count && i < sl->ref_count[list]) {
251 const H264Picture *r = sl->ref_list[list][i].parent;
258 fill_picture_entry(&slice->RefPicList[list][i], index,
259 sl->ref_list[list][i].reference == PICT_BOTTOM_FIELD);
262 if (plane == 0 && sl->pwt.luma_weight_flag[list]) {
263 w = sl->pwt.luma_weight[i][list][0];
264 o = sl->pwt.luma_weight[i][list][1];
265 } else if (plane >= 1 && sl->pwt.chroma_weight_flag[list]) {
266 w = sl->pwt.chroma_weight[i][list][plane-1][0];
267 o = sl->pwt.chroma_weight[i][list][plane-1][1];
273 slice->Weights[list][i][plane][0] = w;
274 slice->Weights[list][i][plane][1] = o;
278 slice->RefPicList[list][i].bPicEntry = 0xff;
280 slice->Weights[list][i][plane][0] = 0;
281 slice->Weights[list][i][plane][1] = 0;