Lines Matching refs:dpb
93 static int dpb_add(DPB *dpb, H264Picture *pic)
97 if (dpb->size >= dpb->max_size)
100 for (i = 0; i < dpb->size; i++) {
101 VAPictureH264 * const va_pic = &dpb->va_pics[i];
119 fill_vaapi_pic(&dpb->va_pics[dpb->size++], pic, 0);
127 DPB dpb;
130 dpb.size = 0;
131 dpb.max_size = FF_ARRAY_ELEMS(pic_param->ReferenceFrames);
132 dpb.va_pics = pic_param->ReferenceFrames;
133 for (i = 0; i < dpb.max_size; i++)
134 init_vaapi_pic(&dpb.va_pics[i]);
138 if (pic && pic->reference && dpb_add(&dpb, pic) < 0)
144 if (pic && pic->reference && dpb_add(&dpb, pic) < 0)