Searched refs:stream_width (Results 1 – 4 of 4) sorted by relevance
607 gdouble stream_width, stream_height; in _display_size_to_stream_size() local609 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()
394 gdouble stream_width, stream_height; in mapPointToStreamSize() local401 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()
337 gdouble stream_width, stream_height; in gtk_gst_base_widget_display_size_to_stream_size() local344 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()
420 gdouble stream_width, stream_height; in _display_size_to_stream_size() local422 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() local460 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()