Home
last modified time | relevance | path

Searched refs:buf_ref (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dhevc_sei.c174 ret = ff_parse_a53_cc(&s->buf_ref, gb->buffer + get_bits_count(gb) / 8, size); in decode_registered_user_data_closed_caption()
187 AVBufferRef *buf_ref, **tmp; in decode_nal_sei_user_data_unregistered() local
192 tmp = av_realloc_array(s->buf_ref, s->nb_buf_ref + 1, sizeof(*s->buf_ref)); in decode_nal_sei_user_data_unregistered()
195 s->buf_ref = tmp; in decode_nal_sei_user_data_unregistered()
197 buf_ref = av_buffer_alloc(size + 1); in decode_nal_sei_user_data_unregistered()
198 if (!buf_ref) in decode_nal_sei_user_data_unregistered()
202 buf_ref->data[i] = get_bits(gb, 8); in decode_nal_sei_user_data_unregistered()
203 buf_ref->data[size] = 0; in decode_nal_sei_user_data_unregistered()
204 buf_ref->size = size; in decode_nal_sei_user_data_unregistered()
205 s->buf_ref[s->nb_buf_ref++] = buf_ref; in decode_nal_sei_user_data_unregistered()
[all …]
Dh264_sei.c55 av_buffer_unref(&h->a53_caption.buf_ref); in ff_h264_sei_uninit()
57 av_buffer_unref(&h->unregistered.buf_ref[i]); in ff_h264_sei_uninit()
59 av_freep(&h->unregistered.buf_ref); in ff_h264_sei_uninit()
180 return ff_parse_a53_cc(&h->buf_ref, gb->buffer + get_bits_count(gb) / 8, size); in decode_registered_user_data_closed_caption()
249 AVBufferRef *buf_ref, **tmp; in decode_unregistered_user_data() local
254 tmp = av_realloc_array(h->buf_ref, h->nb_buf_ref + 1, sizeof(*h->buf_ref)); in decode_unregistered_user_data()
257 h->buf_ref = tmp; in decode_unregistered_user_data()
259 buf_ref = av_buffer_alloc(size + 1); in decode_unregistered_user_data()
260 if (!buf_ref) in decode_unregistered_user_data()
262 user_data = buf_ref->data; in decode_unregistered_user_data()
[all …]
Dhevc_sei.h59 AVBufferRef *buf_ref; member
63 AVBufferRef **buf_ref; member
Dh264_sei.h108 AVBufferRef *buf_ref; member
113 AVBufferRef **buf_ref; member
Dh264_slice.c427 ret = av_buffer_replace(&h->sei.a53_caption.buf_ref, h1->sei.a53_caption.buf_ref); in ff_h264_update_thread_context()
432 av_buffer_unref(&h->sei.unregistered.buf_ref[i]); in ff_h264_update_thread_context()
436 ret = av_reallocp_array(&h->sei.unregistered.buf_ref, in ff_h264_update_thread_context()
438 sizeof(*h->sei.unregistered.buf_ref)); in ff_h264_update_thread_context()
443 h->sei.unregistered.buf_ref[i] = av_buffer_ref(h1->sei.unregistered.buf_ref[i]); in ff_h264_update_thread_context()
444 if (!h->sei.unregistered.buf_ref[i]) in ff_h264_update_thread_context()
1296 if (h->sei.a53_caption.buf_ref) { in h264_export_frame_props()
1299 … AVFrameSideData *sd = av_frame_new_side_data_from_buf(out, AV_FRAME_DATA_A53_CC, a53->buf_ref); in h264_export_frame_props()
1301 av_buffer_unref(&a53->buf_ref); in h264_export_frame_props()
1302 a53->buf_ref = NULL; in h264_export_frame_props()
[all …]
Dhevcdec.c378 if (s->sei.a53_caption.buf_ref) in export_stream_params_from_sei()
2834 if (s->sei.a53_caption.buf_ref) { in set_side_data()
2837 … AVFrameSideData *sd = av_frame_new_side_data_from_buf(out, AV_FRAME_DATA_A53_CC, a53->buf_ref); in set_side_data()
2839 av_buffer_unref(&a53->buf_ref); in set_side_data()
2840 a53->buf_ref = NULL; in set_side_data()
2846 if (unreg->buf_ref[i]) { in set_side_data()
2849 unreg->buf_ref[i]); in set_side_data()
2851 av_buffer_unref(&unreg->buf_ref[i]); in set_side_data()
2852 unreg->buf_ref[i] = NULL; in set_side_data()
3565 ret = av_buffer_replace(&s->sei.a53_caption.buf_ref, s0->sei.a53_caption.buf_ref); in hevc_update_thread_context()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dgsttagdemux.c372 gst_tag_demux_trim_buffer (GstTagDemux * tagdemux, GstBuffer ** buf_ref, in gst_tag_demux_trim_buffer() argument
375 GstBuffer *buf = *buf_ref; in gst_tag_demux_trim_buffer()
450 *buf_ref = buf = sub; in gst_tag_demux_trim_buffer()
475 *buf_ref = NULL; in gst_tag_demux_trim_buffer()
481 *buf_ref = NULL; in gst_tag_demux_trim_buffer()
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_av1.h429 struct pipe_video_buffer **buf_ref; member
Dvid_dec_av1.c2051 task->buf_ref = &existing_task->buf; in dec_av1_ShowExistingframe()
2425 struct dec_av1_task *t = container_of(task->buf_ref, struct dec_av1_task, buf); in vid_dec_av1_FrameDecoded()