Home
last modified time | relevance | path

Searched refs:stream_width (Results 1 – 4 of 4) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvksink.c607 gdouble stream_width, stream_height; in _display_size_to_stream_size() local
609 stream_width = (gdouble) GST_VIDEO_INFO_WIDTH (&vk_sink->v_info); in _display_size_to_stream_size()
614 *stream_x = (x - display_rect->x) / display_rect->w * stream_width; in _display_size_to_stream_size()
619 *stream_x = CLAMP (*stream_x, 0., stream_width); in _display_size_to_stream_size()
/third_party/gstreamer/gstplugins_good/ext/qt/
Dqtitem.cc394 gdouble stream_width, stream_height; in mapPointToStreamSize() local
401 stream_width = (gdouble) GST_VIDEO_INFO_WIDTH (&this->priv->v_info); in mapPointToStreamSize()
408 stream_x = (x - result.x) / result.w * stream_width; in mapPointToStreamSize()
413 stream_x = CLAMP(stream_x, 0., stream_width); in mapPointToStreamSize()
/third_party/gstreamer/gstplugins_good/ext/gtk/
Dgtkgstbasewidget.c337 gdouble stream_width, stream_height; in gtk_gst_base_widget_display_size_to_stream_size() local
344 stream_width = (gdouble) GST_VIDEO_INFO_WIDTH (&base_widget->v_info); in gtk_gst_base_widget_display_size_to_stream_size()
349 *stream_x = (x - result.x) / result.w * stream_width; in gtk_gst_base_widget_display_size_to_stream_size()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglimagesink.c420 gdouble stream_width, stream_height; in _display_size_to_stream_size() local
422 stream_width = (gdouble) GST_VIDEO_INFO_WIDTH (&gl_sink->out_info); in _display_size_to_stream_size()
428 (x - gl_sink->display_rect.x) / gl_sink->display_rect.w * stream_width; in _display_size_to_stream_size()
458 gdouble stream_width, stream_height; in _display_scroll_value_to_stream_scroll_value() local
460 stream_width = (gdouble) GST_VIDEO_INFO_WIDTH (&gl_sink->out_info); in _display_scroll_value_to_stream_scroll_value()
464 *stream_delta_x = delta_x * (stream_width / gl_sink->display_rect.w); in _display_scroll_value_to_stream_scroll_value()