Home
last modified time | relevance | path

Searched refs:min_buffers (Results 1 – 22 of 22) sorted by relevance

/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2bufferpool.c490 guint size, min_buffers, max_buffers; in gst_v4l2_buffer_pool_set_config() local
502 if (!gst_buffer_pool_config_get_params (config, &caps, &size, &min_buffers, in gst_v4l2_buffer_pool_set_config()
554 if (min_buffers < GST_V4L2_MIN_BUFFERS) { in gst_v4l2_buffer_pool_set_config()
556 min_buffers = GST_V4L2_MIN_BUFFERS; in gst_v4l2_buffer_pool_set_config()
557 GST_INFO_OBJECT (pool, "increasing minimum buffers to %u", min_buffers); in gst_v4l2_buffer_pool_set_config()
561 if (min_buffers < obj->min_buffers) { in gst_v4l2_buffer_pool_set_config()
563 min_buffers = obj->min_buffers; in gst_v4l2_buffer_pool_set_config()
564 GST_INFO_OBJECT (pool, "increasing minimum buffers to %u", min_buffers); in gst_v4l2_buffer_pool_set_config()
573 if (min_buffers > max_buffers) { in gst_v4l2_buffer_pool_set_config()
575 min_buffers = max_buffers; in gst_v4l2_buffer_pool_set_config()
[all …]
Dgstv4l2object.h164 guint32 min_buffers; member
Dgstv4l2videoenc.c738 guint min = MAX (self->v4l2output->min_buffers, GST_V4L2_MIN_BUFFERS); in gst_v4l2_video_enc_handle_frame()
858 latency = self->v4l2capture->min_buffers * self->v4l2capture->duration; in gst_v4l2_video_enc_decide_allocation()
Dgstv4l2videodec.c805 latency = self->v4l2capture->min_buffers * self->v4l2capture->duration; in gst_v4l2_video_dec_decide_allocation()
808 self->v4l2capture->min_buffers, self->v4l2capture->duration); in gst_v4l2_video_dec_decide_allocation()
Dgstv4l2transform.c896 gint min = self->v4l2output->min_buffers == 0 ? GST_V4L2_MIN_BUFFERS : in gst_v4l2_transform_prepare_output_buffer()
897 self->v4l2output->min_buffers; in gst_v4l2_transform_prepare_output_buffer()
Dgstv4l2object.c827 v4l2object->min_buffers = control.value; in gst_v4l2_get_driver_min_buffers()
829 v4l2object->min_buffers = 0; in gst_v4l2_get_driver_min_buffers()
2943 if (!v4l2object->min_buffers) in gst_v4l2_object_setup_pool()
4331 if (min + obj->min_buffers + 1 > VIDEO_MAX_FRAME) in gst_v4l2_object_decide_allocation()
4410 own_min = min + obj->min_buffers + 2; in gst_v4l2_object_decide_allocation()
4426 own_min = obj->min_buffers + 1; in gst_v4l2_object_decide_allocation()
4608 min = MAX (obj->min_buffers, GST_V4L2_MIN_BUFFERS); in gst_v4l2_object_propose_allocation()
/third_party/gstreamer/gstreamer/gst/
Dgstbufferpool.c111 guint min_buffers; member
322 for (i = 0; i < priv->min_buffers; i++) { in default_start()
597 guint size, min_buffers, max_buffers; in default_set_config() local
602 if (!gst_buffer_pool_config_get_params (config, &caps, &size, &min_buffers, in default_set_config()
612 priv->min_buffers = min_buffers; in default_set_config()
829 guint size, guint min_buffers, guint max_buffers) in gst_buffer_pool_config_set_params() argument
832 g_return_if_fail (max_buffers == 0 || min_buffers <= max_buffers); in gst_buffer_pool_config_set_params()
838 GST_QUARK (MIN_BUFFERS), G_TYPE_UINT, min_buffers, in gst_buffer_pool_config_set_params()
1010 guint * size, guint * min_buffers, guint * max_buffers) in gst_buffer_pool_config_get_params() argument
1020 GST_QUARK (MIN_BUFFERS), G_TYPE_UINT, min_buffers, in gst_buffer_pool_config_get_params()
[all …]
Dgstbufferpool.h213 … guint size, guint min_buffers, guint max_buffers);
217 … guint *size, guint *min_buffers, guint *max_buffers);
243 … guint size, guint min_buffers, guint max_buffers);
Dgstquery.c1593 guint min_buffers; member
1616 guint size, guint min_buffers, guint max_buffers) in gst_query_add_allocation_pool() argument
1632 ap.min_buffers = min_buffers; in gst_query_add_allocation_pool()
1677 GstBufferPool ** pool, guint * size, guint * min_buffers, in gst_query_parse_nth_allocation_pool() argument
1698 if (min_buffers) in gst_query_parse_nth_allocation_pool()
1699 *min_buffers = ap->min_buffers; in gst_query_parse_nth_allocation_pool()
1717 GstBufferPool * pool, guint size, guint min_buffers, guint max_buffers) in gst_query_set_nth_allocation_pool() argument
1736 ap.min_buffers = min_buffers; in gst_query_set_nth_allocation_pool()
Dgstquery.h540 guint size, guint min_buffers,
549 guint *size, guint *min_buffers,
555 guint size, guint min_buffers,
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkbufferpool.c76 guint min_buffers, max_buffers; in gst_vulkan_buffer_pool_set_config() local
81 if (!gst_buffer_pool_config_get_params (config, &caps, NULL, &min_buffers, in gst_vulkan_buffer_pool_set_config()
123 priv->v_info.size, min_buffers, max_buffers); in gst_vulkan_buffer_pool_set_config()
/third_party/gstreamer/gstplugins_bad/gst/debugutils/
Dgstfakevideosink.c58 guint min_buffers = 1; in gst_fake_video_sink_query() local
69 min_buffers++; in gst_fake_video_sink_query()
71 gst_query_add_allocation_pool (query, NULL, info.size, min_buffers, 0); in gst_fake_video_sink_query()
/third_party/gstreamer/gstplugins_base/sys/xvimage/
Dxvimagepool.c63 guint size, min_buffers, max_buffers; in xvimage_buffer_pool_set_config() local
66 if (!gst_buffer_pool_config_get_params (config, &caps, &size, &min_buffers, in xvimage_buffer_pool_set_config()
164 gst_buffer_pool_config_set_params (config, caps, info.size, min_buffers, in xvimage_buffer_pool_set_config()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideopool.c130 guint size, min_buffers, max_buffers; in video_buffer_pool_set_config() local
135 if (!gst_buffer_pool_config_get_params (config, &caps, &size, &min_buffers, in video_buffer_pool_set_config()
202 gst_buffer_pool_config_set_params (config, caps, info.size, min_buffers, in video_buffer_pool_set_config()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglbufferpool.c92 guint min_buffers, max_buffers; in gst_gl_buffer_pool_set_config() local
100 if (!gst_buffer_pool_config_get_params (config, &caps, NULL, &min_buffers, in gst_gl_buffer_pool_set_config()
232 priv->gl_params->v_info->size, min_buffers, max_buffers); in gst_gl_buffer_pool_set_config()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkvpp.c368 guint size = 0, min_buffers = 0, max_buffers = 0; in gst_msdkvpp_decide_allocation() local
399 min_buffers += thiz->async_depth; in gst_msdkvpp_decide_allocation()
414 pool = gst_msdkvpp_create_buffer_pool (thiz, GST_PAD_SRC, caps, min_buffers); in gst_msdkvpp_decide_allocation()
419 gst_buffer_pool_config_get_params (config, &caps, &size, &min_buffers, in gst_msdkvpp_decide_allocation()
426 gst_query_set_nth_allocation_pool (query, 0, pool, size, min_buffers, in gst_msdkvpp_decide_allocation()
429 gst_query_add_allocation_pool (query, pool, size, min_buffers, max_buffers); in gst_msdkvpp_decide_allocation()
452 guint min_buffers = thiz->async_depth + 1; in gst_msdkvpp_propose_allocation() local
476 min_buffers); in gst_msdkvpp_propose_allocation()
483 GST_PAD_SINK, caps, min_buffers); in gst_msdkvpp_propose_allocation()
498 min_buffers, 0); in gst_msdkvpp_propose_allocation()
Dgstmsdkdec.c1191 guint size, min_buffers, max_buffers; in gst_msdkdec_decide_allocation() local
1206 &min_buffers, &max_buffers); in gst_msdkdec_decide_allocation()
1207 min_buffers += thiz->async_depth; in gst_msdkdec_decide_allocation()
1212 min_buffers += 1; in gst_msdkdec_decide_allocation()
1215 thiz->min_prealloc_buffers = min_buffers; in gst_msdkdec_decide_allocation()
1230 min_buffers = thiz->min_prealloc_buffers; in gst_msdkdec_decide_allocation()
1239 gst_msdkdec_create_buffer_pool (thiz, &thiz->output_info, min_buffers); in gst_msdkdec_decide_allocation()
1274 min_buffers, max_buffers); in gst_msdkdec_decide_allocation()
1286 gst_query_set_nth_allocation_pool (query, 0, pool, size, min_buffers, in gst_msdkdec_decide_allocation()
Dgstmsdkbufferpool.c105 guint size, min_buffers, max_buffers; in gst_msdk_buffer_pool_set_config() local
107 if (!gst_buffer_pool_config_get_params (config, &caps, &size, &min_buffers, in gst_msdk_buffer_pool_set_config()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgsttee.c570 guint min_buffers; member
660 if (ctx->min_buffers < min) in gst_tee_query_allocation()
661 ctx->min_buffers = min; in gst_tee_query_allocation()
758 ctx.min_buffers = 0; in gst_tee_sink_query()
775 ctx.min_buffers); in gst_tee_sink_query()
794 ctx.min_buffers++; in gst_tee_sink_query()
804 ctx.min_buffers, 0); in gst_tee_sink_query()
/third_party/gstreamer/gstplugins_base/sys/ximage/
Dximagepool.c548 guint size, min_buffers, max_buffers; in ximage_buffer_pool_set_config() local
550 if (!gst_buffer_pool_config_get_params (config, &caps, &size, &min_buffers, in ximage_buffer_pool_set_config()
606 gst_buffer_pool_config_set_params (config, caps, info.size, min_buffers, in ximage_buffer_pool_set_config()
/third_party/gstreamer/gstplugins_bad/ext/directfb/
Ddfbvideosink.c203 guint min_buffers; in gst_dfb_buffer_pool_set_config() local
212 if (!gst_buffer_pool_config_get_params (config, &caps, NULL, &min_buffers, in gst_dfb_buffer_pool_set_config()
263 gst_buffer_pool_config_set_params (config, caps, size, min_buffers, in gst_dfb_buffer_pool_set_config()
/third_party/gstreamer/gstplugins_good/
DChangeLog10507 v4l2videoenc: Make sure min_buffers is valid
29644 v4l2: Ask the driver about its requirements for min_buffers before initiating buffer pool.
33491 Reuse the same min_buffers variable for both capture and output, this