Home
last modified time | relevance | path

Searched refs:ref_index_buf (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh264_picture.c60 av_buffer_unref(&pic->ref_index_buf[i]); in ff_h264_unref_picture()
92 dst->ref_index_buf[i] = av_buffer_ref(src->ref_index_buf[i]); in ff_h264_ref_picture()
93 if (!dst->motion_val_buf[i] || !dst->ref_index_buf[i]) { in ff_h264_ref_picture()
Dmpegpicture.c52 MAKE_WRITABLE(ref_index_buf[i]); in make_tables_writable()
215 pic->ref_index_buf[i] = av_buffer_allocz(ref_index_size); in alloc_picture_tables()
216 if (!pic->motion_val_buf[i] || !pic->ref_index_buf[i]) in alloc_picture_tables()
280 pic->ref_index[i] = pic->ref_index_buf[i]->data; in ff_alloc_picture()
329 ret |= av_buffer_replace(&dst->ref_index_buf[i], src->ref_index_buf[i]); in ff_update_picture_tables()
470 av_buffer_unref(&pic->ref_index_buf[i]); in ff_free_picture_tables()
Derror_resilience.h77 AVBufferRef *ref_index_buf[2]; member
Dmpegpicture.h61 AVBufferRef *ref_index_buf[2]; member
Derror_resilience.c956 … s->ref_index_buf[i] = av_buffer_allocz(s->mb_stride * s->mb_height * 4 * sizeof(uint8_t)); in ff_er_frame_end()
958 if (!s->ref_index_buf[i] || !s->motion_val_buf[i]) in ff_er_frame_end()
960 s->cur_pic.ref_index[i] = s->ref_index_buf[i]->data; in ff_er_frame_end()
965 av_buffer_unref(&s->ref_index_buf[i]); in ff_er_frame_end()
1357 av_buffer_unref(&s->ref_index_buf[i]); in ff_er_frame_end()
Dh264dec.h145 AVBufferRef *ref_index_buf[2]; member
Dh264_slice.c238 pic->ref_index_buf[i] = av_buffer_pool_get(h->ref_index_pool); in alloc_picture()
239 if (!pic->motion_val_buf[i] || !pic->ref_index_buf[i]) in alloc_picture()
243 pic->ref_index[i] = pic->ref_index_buf[i]->data; in alloc_picture()