/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | gstv4l2bufferpool.c | 490 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 …]
|
D | gstv4l2object.h | 164 guint32 min_buffers; member
|
D | gstv4l2videoenc.c | 738 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()
|
D | gstv4l2videodec.c | 805 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()
|
D | gstv4l2transform.c | 896 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()
|
D | gstv4l2object.c | 827 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/ |
D | gstbufferpool.c | 111 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 …]
|
D | gstbufferpool.h | 213 … 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);
|
D | gstquery.c | 1593 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()
|
D | gstquery.h | 540 guint size, guint min_buffers, 549 guint *size, guint *min_buffers, 555 guint size, guint min_buffers,
|
/third_party/gstreamer/gstplugins_bad/ext/vulkan/ |
D | vkbufferpool.c | 76 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/ |
D | gstfakevideosink.c | 58 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/ |
D | xvimagepool.c | 63 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/ |
D | gstvideopool.c | 130 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/ |
D | gstglbufferpool.c | 92 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/ |
D | gstmsdkvpp.c | 368 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()
|
D | gstmsdkdec.c | 1191 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()
|
D | gstmsdkbufferpool.c | 105 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/ |
D | gsttee.c | 570 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/ |
D | ximagepool.c | 548 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/ |
D | dfbvideosink.c | 203 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/ |
D | ChangeLog | 10507 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
|