Searched refs:DPB (Results 1 - 14 of 14) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dhevc_refs.c69 for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++)
70 ff_hevc_unref_frame(s, &s->DPB[i],
78 for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++)
79 ff_hevc_unref_frame(s, &s->DPB[i], ~0);
85 for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
86 HEVCFrame *frame = &s->DPB[i];
119 av_log(s->avctx, AV_LOG_ERROR, "Error allocating frame, DPB full.\n");
129 for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
130 HEVCFrame *frame = &s->DPB[i];
167 for (i = 0; i < FF_ARRAY_ELEMS(s->DPB);
[all...]
H A Dcavsdec.c985 if (!h->DPB[0].f->data[0] ||
986 (!h->DPB[1].f->data[0] && h->cur.f->pict_type == AV_PICTURE_TYPE_B))
1021 h->dist[0] = (h->cur.poc - h->DPB[0].poc) & 511;
1023 h->dist[0] = (h->DPB[0].poc - h->cur.poc) & 511;
1025 h->dist[1] = (h->cur.poc - h->DPB[1].poc) & 511;
1104 av_frame_unref(h->DPB[1].f);
1105 FFSWAP(AVSFrame, h->cur, h->DPB[1]);
1106 FFSWAP(AVSFrame, h->DPB[0], h->DPB[1]);
1177 if (!h->low_delay && h->DPB[
[all...]
H A Dvaapi_h264.c80 /** Decoded Picture Buffer (DPB). */
81 typedef struct DPB { struct
82 int size; ///< Current number of reference frames in the DPB
85 } DPB; typedef in typeref:struct:DPB
93 static int dpb_add(DPB *dpb, H264Picture *pic)
127 DPB dpb;
H A Dcavs.h172 AVSFrame DPB[2]; ///< reference frames member in struct:AVSContext
H A Dcavs.c477 AVFrame *ref = h->DPB[mv->ref].f;
487 AVFrame *ref = h->DPB[0].f;
788 h->DPB[0].f = av_frame_alloc();
789 h->DPB[1].f = av_frame_alloc();
790 if (!h->cur.f || !h->DPB[0].f || !h->DPB[1].f) {
822 av_frame_free(&h->DPB[0].f);
823 av_frame_free(&h->DPB[1].f);
H A Dh264_slice.c194 if (h->DPB[i].f.buf[0] && !h->DPB[i].reference &&
195 (remove_current || &h->DPB[i] != h->cur_pic_ptr)) {
196 ff_h264_unref_picture(h, &h->DPB[i]);
334 if (pic_is_unused(h, &h->DPB[i]))
340 if (h->DPB[i].needs_realloc) {
341 h->DPB[i].needs_realloc = 0;
342 ff_h264_unref_picture(h, &h->DPB[i]);
437 dst->DPB = src->DPB;
[all...]
H A Dh264.c392 if (free_rbsp && h->DPB) {
394 ff_h264_unref_picture(h, &h->DPB[i]);
395 av_freep(&h->DPB);
396 } else if (h->DPB) {
398 h->DPB[i].needs_realloc = 1;
474 if (!h->DPB) {
475 h->DPB = av_mallocz_array(H264_MAX_PICTURE_COUNT, sizeof(*h->DPB));
476 if (!h->DPB)
479 av_frame_unref(&h->DPB[
[all...]
H A Dhevc.c3153 for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
3154 ff_hevc_unref_frame(s, &s->DPB[i], ~0);
3155 av_frame_free(&s->DPB[i].frame);
3218 for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
3219 s->DPB[i].frame = av_frame_alloc();
3220 if (!s->DPB[i].frame)
3222 s->DPB[i].tf.f = s->DPB[i].frame;
3256 for (i = 0; i < FF_ARRAY_ELEMS(s->DPB); i++) {
3257 ff_hevc_unref_frame(s, &s->DPB[
[all...]
H A Dh264.h350 H264Picture *DPB; member in struct:H264Context
H A Dhevc.h842 HEVCFrame DPB[32]; member in struct:HEVCContext
945 * Mark all frames in DPB as unused for reference.
950 * Drop all frames currently in DPB.
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dcavsdec.c484 if(!h->DPB[0].f.data[0] ||
485 (!h->DPB[1].f.data[0] && h->pic_type == AV_PICTURE_TYPE_B))
511 h->dist[0] = (h->picture.poc - h->DPB[0].poc + 512) % 512;
513 h->dist[0] = (h->DPB[0].poc - h->picture.poc + 512) % 512;
515 h->dist[1] = (h->picture.poc - h->DPB[1].poc + 512) % 512;
593 if(h->DPB[1].f.data[0])
594 s->avctx->release_buffer(s->avctx, (AVFrame *)&h->DPB[1]);
595 h->DPB[1] = h->DPB[0];
596 h->DPB[
[all...]
H A Dvaapi_h264.c79 /** Decoded Picture Buffer (DPB). */
80 typedef struct DPB { struct
81 int size; ///< Current number of reference frames in the DPB
84 } DPB; typedef in typeref:struct:DPB
92 static int dpb_add(DPB *dpb, Picture *pic)
126 DPB dpb;
H A Dcavs.h159 Picture DPB[2]; ///< reference frames member in struct:__anon1890
H A Dcavs.c397 Picture *ref= &h->DPB[mv->ref];
407 Picture *ref= &h->DPB[0];

Completed in 205 milliseconds