Home
last modified time | relevance | path

Searched refs:frame_pool (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavfilter/
Daudio.c45 if (!link->frame_pool) { in ff_default_get_audio_buffer()
46 link->frame_pool = ff_frame_pool_audio_init(av_buffer_allocz, channels, in ff_default_get_audio_buffer()
48 if (!link->frame_pool) in ff_default_get_audio_buffer()
56 if (ff_frame_pool_get_audio_config(link->frame_pool, in ff_default_get_audio_buffer()
65 ff_frame_pool_uninit((FFFramePool **)&link->frame_pool); in ff_default_get_audio_buffer()
66 link->frame_pool = ff_frame_pool_audio_init(av_buffer_allocz, channels, in ff_default_get_audio_buffer()
68 if (!link->frame_pool) in ff_default_get_audio_buffer()
73 frame = ff_frame_pool_get(link->frame_pool); in ff_default_get_audio_buffer()
Dvideo.c67 if (!link->frame_pool) { in ff_default_get_video_buffer()
68 link->frame_pool = ff_frame_pool_video_init(av_buffer_allocz, w, h, in ff_default_get_video_buffer()
70 if (!link->frame_pool) in ff_default_get_video_buffer()
73 if (ff_frame_pool_get_video_config(link->frame_pool, in ff_default_get_video_buffer()
82 ff_frame_pool_uninit((FFFramePool **)&link->frame_pool); in ff_default_get_video_buffer()
83 link->frame_pool = ff_frame_pool_video_init(av_buffer_allocz, w, h, in ff_default_get_video_buffer()
85 if (!link->frame_pool) in ff_default_get_video_buffer()
90 frame = ff_frame_pool_get(link->frame_pool); in ff_default_get_video_buffer()
Davfilter.h598 void *frame_pool; member
Davfilter.c181 ff_frame_pool_uninit((FFFramePool**)&(*link)->frame_pool); in avfilter_link_free()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvdecoder.c85 GstNvDecoderFrameInfo *frame_pool; member
194 self->frame_pool = g_new (GstNvDecoderFrameInfo, pool_size); in gst_nv_decoder_prepare_frame_pool()
197 self->frame_pool[i].available = TRUE; in gst_nv_decoder_prepare_frame_pool()
241 g_clear_pointer (&self->frame_pool, g_free); in gst_nv_decoder_reset()
341 if (decoder->frame_pool[i].available) { in gst_nv_decoder_new_frame()
342 decoder->frame_pool[i].available = FALSE; in gst_nv_decoder_new_frame()
448 self->frame_pool[frame->index].available = TRUE; in gst_nv_decoder_frame_unref()