DPB               477 libavcodec/cavs.c         AVFrame *ref = h->DPB[mv->ref].f;
DPB               487 libavcodec/cavs.c         AVFrame *ref = h->DPB[0].f;
DPB               811 libavcodec/cavs.c     h->DPB[0].f = av_frame_alloc();
DPB               812 libavcodec/cavs.c     h->DPB[1].f = av_frame_alloc();
DPB               813 libavcodec/cavs.c     if (!h->cur.f || !h->DPB[0].f || !h->DPB[1].f) {
DPB               845 libavcodec/cavs.c     av_frame_free(&h->DPB[0].f);
DPB               846 libavcodec/cavs.c     av_frame_free(&h->DPB[1].f);
DPB               172 libavcodec/cavs.h     AVSFrame DPB[2];  ///< reference frames
DPB              1002 libavcodec/cavsdec.c         if (!h->DPB[0].f->data[0] ||
DPB              1003 libavcodec/cavsdec.c            (!h->DPB[1].f->data[0] && h->cur.f->pict_type == AV_PICTURE_TYPE_B))
DPB              1038 libavcodec/cavsdec.c         h->dist[0] = (h->cur.poc - h->DPB[0].poc) & 511;
DPB              1040 libavcodec/cavsdec.c         h->dist[0] = (h->DPB[0].poc  - h->cur.poc) & 511;
DPB              1042 libavcodec/cavsdec.c     h->dist[1] = (h->cur.poc - h->DPB[1].poc) & 511;
DPB              1157 libavcodec/cavsdec.c         av_frame_unref(h->DPB[1].f);
DPB              1158 libavcodec/cavsdec.c         FFSWAP(AVSFrame, h->cur, h->DPB[1]);
DPB              1159 libavcodec/cavsdec.c         FFSWAP(AVSFrame, h->DPB[0], h->DPB[1]);
DPB              1239 libavcodec/cavsdec.c         if (!h->low_delay && h->DPB[0].f->data[0]) {
DPB              1241 libavcodec/cavsdec.c             av_frame_move_ref(data, h->DPB[0].f);
DPB              1265 libavcodec/cavsdec.c                 av_frame_unref(h->DPB[0].f);
DPB              1266 libavcodec/cavsdec.c                 av_frame_unref(h->DPB[1].f);
DPB              1284 libavcodec/cavsdec.c                 if (h->DPB[!h->low_delay].f->data[0]) {
DPB              1285 libavcodec/cavsdec.c                     if ((ret = av_frame_ref(data, h->DPB[!h->low_delay].f)) < 0)
DPB               164 libavcodec/dxva2_hevc.c         while (!frame && j < FF_ARRAY_ELEMS(h->DPB)) {
DPB               165 libavcodec/dxva2_hevc.c             if (&h->DPB[j] != current_picture && (h->DPB[j].flags & (HEVC_FRAME_FLAG_LONG_REF | HEVC_FRAME_FLAG_SHORT_REF)))
DPB               166 libavcodec/dxva2_hevc.c                 frame = &h->DPB[j];
DPB               121 libavcodec/h264_slice.c         if (h->DPB[i].f->buf[0] && !h->DPB[i].reference &&
DPB               122 libavcodec/h264_slice.c             (remove_current || &h->DPB[i] != h->cur_pic_ptr)) {
DPB               123 libavcodec/h264_slice.c             ff_h264_unref_picture(h, &h->DPB[i]);
DPB               266 libavcodec/h264_slice.c         if (!h->DPB[i].f->buf[0])
DPB               276 libavcodec/h264_slice.c     (((pic) && (pic) >= (old_ctx)->DPB &&                       \
DPB               277 libavcodec/h264_slice.c       (pic) < (old_ctx)->DPB + H264_MAX_PICTURE_COUNT) ?          \
DPB               278 libavcodec/h264_slice.c      &(new_ctx)->DPB[(pic) - (old_ctx)->DPB] : NULL)
DPB               289 libavcodec/h264_slice.c                    IN_RANGE(from[i], old_base->DPB, H264_MAX_PICTURE_COUNT));
DPB               389 libavcodec/h264_slice.c         ff_h264_unref_picture(h, &h->DPB[i]);
DPB               390 libavcodec/h264_slice.c         if (h1->DPB[i].f->buf[0] &&
DPB               391 libavcodec/h264_slice.c             (ret = ff_h264_ref_picture(h, &h->DPB[i], &h1->DPB[i])) < 0)
DPB               477 libavcodec/h264_slice.c     pic = &h->DPB[i];
DPB               336 libavcodec/h264dec.c         h->DPB[i].f = av_frame_alloc();
DPB               337 libavcodec/h264dec.c         if (!h->DPB[i].f)
DPB               364 libavcodec/h264dec.c         ff_h264_unref_picture(h, &h->DPB[i]);
DPB               365 libavcodec/h264dec.c         av_frame_free(&h->DPB[i].f);
DPB               500 libavcodec/h264dec.c         ff_h264_unref_picture(h, &h->DPB[i]);
DPB               351 libavcodec/h264dec.h     H264Picture DPB[H264_MAX_PICTURE_COUNT];
DPB                69 libavcodec/hevc_refs.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++)
DPB                70 libavcodec/hevc_refs.c         ff_hevc_unref_frame(s, &s->DPB[i],
DPB                78 libavcodec/hevc_refs.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++)
DPB                79 libavcodec/hevc_refs.c         ff_hevc_unref_frame(s, &s->DPB[i], ~0);
DPB                85 libavcodec/hevc_refs.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB                86 libavcodec/hevc_refs.c         HEVCFrame *frame = &s->DPB[i];
DPB               141 libavcodec/hevc_refs.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB               142 libavcodec/hevc_refs.c         HEVCFrame *frame = &s->DPB[i];
DPB               182 libavcodec/hevc_refs.c             for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB               183 libavcodec/hevc_refs.c                 HEVCFrame *frame = &s->DPB[i];
DPB               191 libavcodec/hevc_refs.c         for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB               192 libavcodec/hevc_refs.c             HEVCFrame *frame = &s->DPB[i];
DPB               209 libavcodec/hevc_refs.c             HEVCFrame *frame = &s->DPB[min_idx];
DPB               239 libavcodec/hevc_refs.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB               240 libavcodec/hevc_refs.c         HEVCFrame *frame = &s->DPB[i];
DPB               249 libavcodec/hevc_refs.c         for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB               250 libavcodec/hevc_refs.c             HEVCFrame *frame = &s->DPB[i];
DPB               260 libavcodec/hevc_refs.c         for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB               261 libavcodec/hevc_refs.c             HEVCFrame *frame = &s->DPB[i];
DPB               366 libavcodec/hevc_refs.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB               367 libavcodec/hevc_refs.c         HEVCFrame *ref = &s->DPB[i];
DPB               456 libavcodec/hevc_refs.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB               457 libavcodec/hevc_refs.c         HEVCFrame *frame = &s->DPB[i];
DPB               497 libavcodec/hevc_refs.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++)
DPB               498 libavcodec/hevc_refs.c         ff_hevc_unref_frame(s, &s->DPB[i], 0);
DPB              3320 libavcodec/hevcdec.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB              3321 libavcodec/hevcdec.c         ff_hevc_unref_frame(s, &s->DPB[i], ~0);
DPB              3322 libavcodec/hevcdec.c         av_frame_free(&s->DPB[i].frame);
DPB              3370 libavcodec/hevcdec.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB              3371 libavcodec/hevcdec.c         s->DPB[i].frame = av_frame_alloc();
DPB              3372 libavcodec/hevcdec.c         if (!s->DPB[i].frame)
DPB              3374 libavcodec/hevcdec.c         s->DPB[i].tf.f = s->DPB[i].frame;
DPB              3411 libavcodec/hevcdec.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB              3412 libavcodec/hevcdec.c         ff_hevc_unref_frame(s, &s->DPB[i], ~0);
DPB              3413 libavcodec/hevcdec.c         if (s0->DPB[i].frame->buf[0]) {
DPB              3414 libavcodec/hevcdec.c             ret = hevc_ref_frame(s, &s->DPB[i], &s0->DPB[i]);
DPB               508 libavcodec/hevcdec.h     HEVCFrame DPB[32];
DPB               226 libavcodec/nvdec_hevc.c     for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
DPB               227 libavcodec/nvdec_hevc.c         const HEVCFrame *ref = &s->DPB[i];
DPB                94 libavcodec/vaapi_h264.c static int dpb_add(DPB *dpb, const H264Picture *pic)
DPB               128 libavcodec/vaapi_h264.c     DPB dpb;
DPB               102 libavcodec/vaapi_hevc.c         while (!frame && j < FF_ARRAY_ELEMS(h->DPB)) {
DPB               103 libavcodec/vaapi_hevc.c             if (&h->DPB[j] != current_picture && (h->DPB[j].flags & (HEVC_FRAME_FLAG_LONG_REF | HEVC_FRAME_FLAG_SHORT_REF)))
DPB               104 libavcodec/vaapi_hevc.c                 frame = &h->DPB[j];
DPB               238 libavcodec/vdpau_hevc.c     for (size_t i = 0, j = 0; i < FF_ARRAY_ELEMS(h->DPB); i++) {
DPB               239 libavcodec/vdpau_hevc.c         const HEVCFrame *frame = &h->DPB[i];