Searched refs:stream_height (Results 1 – 4 of 4) sorted by relevance
607 gdouble stream_width, stream_height; in _display_size_to_stream_size() local610 stream_height = (gdouble) GST_VIDEO_INFO_HEIGHT (&vk_sink->v_info); in _display_size_to_stream_size()623 *stream_y = (y - display_rect->y) / display_rect->h * stream_height; in _display_size_to_stream_size()627 *stream_y = CLAMP (*stream_y, 0., stream_height); in _display_size_to_stream_size()
394 gdouble stream_width, stream_height; in mapPointToStreamSize() local402 stream_height = (gdouble) GST_VIDEO_INFO_HEIGHT (&this->priv->v_info); in mapPointToStreamSize()417 stream_y = (y - result.y) / result.h * stream_height; in mapPointToStreamSize()421 stream_y = CLAMP(stream_y, 0., stream_height); in mapPointToStreamSize()
337 gdouble stream_width, stream_height; in gtk_gst_base_widget_display_size_to_stream_size() local345 stream_height = (gdouble) GST_VIDEO_INFO_HEIGHT (&base_widget->v_info); in gtk_gst_base_widget_display_size_to_stream_size()361 *stream_y = (y - result.y) / result.h * stream_height; in gtk_gst_base_widget_display_size_to_stream_size()
420 gdouble stream_width, stream_height; in _display_size_to_stream_size() local423 stream_height = (gdouble) GST_VIDEO_INFO_HEIGHT (&gl_sink->out_info); in _display_size_to_stream_size()441 (y - gl_sink->display_rect.y) / gl_sink->display_rect.h * stream_height; in _display_size_to_stream_size()458 gdouble stream_width, stream_height; in _display_scroll_value_to_stream_scroll_value() local461 stream_height = (gdouble) GST_VIDEO_INFO_HEIGHT (&gl_sink->out_info); in _display_scroll_value_to_stream_scroll_value()469 *stream_delta_y = delta_y * (stream_height / gl_sink->display_rect.h); in _display_scroll_value_to_stream_scroll_value()