Home
last modified time | relevance | path

Searched refs:hwaccel_priv_buf (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh264_picture.c46 av_buffer_unref(&pic->hwaccel_priv_buf); in ff_h264_unref_picture()
129 dst->hwaccel_priv_buf = av_buffer_ref(src->hwaccel_priv_buf); in ff_h264_ref_picture()
130 if (!dst->hwaccel_priv_buf) { in ff_h264_ref_picture()
134 dst->hwaccel_picture_private = dst->hwaccel_priv_buf->data; in ff_h264_ref_picture()
182 ret = av_buffer_replace(&dst->hwaccel_priv_buf, src->hwaccel_priv_buf); in ff_h264_replace_picture()
Dmpegpicture.c166 pic->hwaccel_priv_buf = av_buffer_allocz(avctx->hwaccel->frame_priv_data_size); in alloc_frame_buffer()
167 if (!pic->hwaccel_priv_buf) { in alloc_frame_buffer()
171 pic->hwaccel_picture_private = pic->hwaccel_priv_buf->data; in alloc_frame_buffer()
331 av_buffer_unref(&pic->hwaccel_priv_buf); in ff_mpeg_unref_picture()
395 dst->hwaccel_priv_buf = av_buffer_ref(src->hwaccel_priv_buf); in ff_mpeg_ref_picture()
396 if (!dst->hwaccel_priv_buf) { in ff_mpeg_ref_picture()
400 dst->hwaccel_picture_private = dst->hwaccel_priv_buf->data; in ff_mpeg_ref_picture()
Dav1dec.c584 av_buffer_unref(&f->hwaccel_priv_buf); in av1_frame_unref()
613 dst->hwaccel_priv_buf = av_buffer_ref(src->hwaccel_priv_buf); in av1_frame_ref()
614 if (!dst->hwaccel_priv_buf) in av1_frame_ref()
616 dst->hwaccel_picture_private = dst->hwaccel_priv_buf->data; in av1_frame_ref()
839 f->hwaccel_priv_buf = in av1_frame_alloc()
841 if (!f->hwaccel_priv_buf) { in av1_frame_alloc()
845 f->hwaccel_picture_private = f->hwaccel_priv_buf->data; in av1_frame_alloc()
Dhevc_refs.c53 av_buffer_unref(&frame->hwaccel_priv_buf); in ff_hevc_unref_frame()
121 frame->hwaccel_priv_buf = av_buffer_allocz(hwaccel->frame_priv_data_size); in alloc_frame()
122 if (!frame->hwaccel_priv_buf) in alloc_frame()
124 frame->hwaccel_picture_private = frame->hwaccel_priv_buf->data; in alloc_frame()
Dav1dec.h36 AVBufferRef *hwaccel_priv_buf; member
Dmpegpicture.h78 AVBufferRef *hwaccel_priv_buf; member
Dvp9shared.h66 AVBufferRef *hwaccel_priv_buf; member
Dvp8.h143 AVBufferRef *hwaccel_priv_buf; member
Dvp9.c101 av_buffer_unref(&f->hwaccel_priv_buf); in vp9_frame_unref()
138 f->hwaccel_priv_buf = av_buffer_allocz(hwaccel->frame_priv_data_size); in vp9_frame_alloc()
139 if (!f->hwaccel_priv_buf) in vp9_frame_alloc()
141 f->hwaccel_picture_private = f->hwaccel_priv_buf->data; in vp9_frame_alloc()
169 dst->hwaccel_priv_buf = av_buffer_ref(src->hwaccel_priv_buf); in vp9_frame_ref()
170 if (!dst->hwaccel_priv_buf) in vp9_frame_ref()
172 dst->hwaccel_picture_private = dst->hwaccel_priv_buf->data; in vp9_frame_ref()
Dvp8.c86 f->hwaccel_priv_buf = av_buffer_allocz(hwaccel->frame_priv_data_size); in vp8_alloc_frame()
87 if (!f->hwaccel_priv_buf) in vp8_alloc_frame()
89 f->hwaccel_picture_private = f->hwaccel_priv_buf->data; in vp8_alloc_frame()
103 av_buffer_unref(&f->hwaccel_priv_buf); in vp8_release_frame()
123 dst->hwaccel_priv_buf = av_buffer_ref(src->hwaccel_priv_buf); in vp8_ref_frame()
124 if (!dst->hwaccel_priv_buf) in vp8_ref_frame()
126 dst->hwaccel_picture_private = dst->hwaccel_priv_buf->data; in vp8_ref_frame()
Dhevcdec.h409 AVBufferRef *hwaccel_priv_buf; member
Dh264dec.h122 AVBufferRef *hwaccel_priv_buf; member
Dh264_slice.c215 pic->hwaccel_priv_buf = av_buffer_allocz(hwaccel->frame_priv_data_size); in alloc_picture()
216 if (!pic->hwaccel_priv_buf) in alloc_picture()
218 pic->hwaccel_picture_private = pic->hwaccel_priv_buf->data; in alloc_picture()
Dhevcdec.c3581 dst->hwaccel_priv_buf = av_buffer_ref(src->hwaccel_priv_buf); in hevc_ref_frame()
3582 if (!dst->hwaccel_priv_buf) in hevc_ref_frame()
3584 dst->hwaccel_picture_private = dst->hwaccel_priv_buf->data; in hevc_ref_frame()