Home
last modified time | relevance | path

Searched refs:video_width (Results 1 – 25 of 31) sorted by relevance

12

/third_party/ffmpeg/libavdevice/
Dfbdev_enc.c110 int video_width = par->width; in fbdev_write_packet() local
113 int src_line_size = video_width * bytes_per_pixel; in fbdev_write_packet()
129 bytes_to_copy = FFMIN(fbdev->varinfo.xres, video_width) * bytes_per_pixel; in fbdev_write_packet()
138 if (-fbdev->xoffset >= video_width) //nothing to display in fbdev_write_packet()
143 int diff = (video_width + fbdev->xoffset) - fbdev->varinfo.xres; in fbdev_write_packet()
145 if (diff >= video_width) //nothing to display in fbdev_write_packet()
/third_party/gstreamer/gstplugins_bad/sys/d3dvideosink/
Dd3dvideosink.c281 gint video_width, video_height; in gst_d3dvideosink_set_caps() local
303 video_width = sink->info.width; in gst_d3dvideosink_set_caps()
317 if (!gst_video_calculate_display_ratio (&num, &den, video_width, in gst_d3dvideosink_set_caps()
323 video_width, video_height, num, den, sink->format); in gst_d3dvideosink_set_caps()
338 } else if (video_width % num == 0) { in gst_d3dvideosink_set_caps()
340 GST_VIDEO_SINK_WIDTH (sink) = video_width; in gst_d3dvideosink_set_caps()
342 gst_util_uint64_scale_int (video_width, den, num); in gst_d3dvideosink_set_caps()
359 sink->width = video_width; in gst_d3dvideosink_set_caps()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_deint_filter.h48 unsigned video_width, video_height; member
56 unsigned video_width, unsigned video_height,
Dvl_deint_filter.c237 unsigned video_width, unsigned video_height, in vl_deint_filter_init() argument
248 assert(video_width && video_height); in vl_deint_filter_init()
253 filter->video_width = video_width; in vl_deint_filter_init()
265 templ.width = video_width; in vl_deint_filter_init()
324 sizes.x = 1.0f / video_width; in vl_deint_filter_init()
424 if (bufs[i]->width < filter->video_width || in vl_deint_filter_check_buffers()
Dvl_matrix_filter.c133 unsigned video_width, unsigned video_height, in vl_matrix_filter_init() argument
145 assert(video_width && video_height); in vl_matrix_filter_init()
213 offsets[i].x /= video_width; in vl_matrix_filter_init()
Dvl_matrix_filter.h50 unsigned video_width, unsigned video_height,
Dvl_bicubic_filter.c151 create_frag_shader(struct vl_bicubic_filter *filter, unsigned video_width, in create_frag_shader() argument
198 ureg_src(t_array[21]), ureg_imm2f(shader, video_width, video_height)); in create_frag_shader()
207 ureg_imm2f(shader, 1.0f / video_width, 1.0f / video_height), in create_frag_shader()
/third_party/mesa3d/src/gallium/frontends/vdpau/
Dmixer.c130 vmixer->video_width = *(uint32_t*)parameter_values[i]; in vlVdpVideoMixerCreate()
151 if (vmixer->video_width < 48 || vmixer->video_width > max_size) { in vlVdpVideoMixerCreate()
153 vmixer->video_width, max_size); in vlVdpVideoMixerCreate()
273 if (vmixer->video_width > video_buffer->width || in vlVdpVideoMixerRender()
480 vmixer->video_width, vmixer->video_height, in vlVdpVideoMixerUpdateDeinterlaceFilter()
507 vmixer->video_width, vmixer->video_height, in vlVdpVideoMixerUpdateNoiseReductionFilter()
553 vmixer->video_width, vmixer->video_height, in vlVdpVideoMixerUpdateSharpnessFilter()
576 vmixer->video_width, vmixer->video_height); in vlVdpVideoMixerUpdateBicubicFilter()
922 *(uint32_t*)parameter_values[i] = vmixer->video_width; in vlVdpVideoMixerGetParameterValues()
/third_party/gstreamer/gstplugins_bad/ext/kate/
Dgstkatetiger.c392 tiger->video_width = 0; in gst_kate_tiger_init()
752 tiger->video_width = w; in gst_kate_tiger_video_set_caps()
783 tiger->video_width, tiger->video_height, 4 * tiger->video_width, in gst_kate_tiger_set_composition()
784 0, 0, tiger->video_width, tiger->video_height, in gst_kate_tiger_set_composition()
829 tiger_renderer_set_buffer (tiger->tr, ptr, tiger->video_width, in gst_kate_tiger_video_chain()
830 tiger->video_height, tiger->video_width * 4, tiger->swap_rgb); in gst_kate_tiger_video_chain()
864 gst_buffer_new_and_alloc (tiger->video_width * tiger->video_height * in gst_kate_tiger_video_chain()
873 tiger_renderer_set_buffer (tiger->tr, ptr, tiger->video_width, in gst_kate_tiger_video_chain()
874 tiger->video_height, tiger->video_width * 4, tiger->swap_rgb); in gst_kate_tiger_video_chain()
Dgstkatetiger.h96 gint video_width; member
/third_party/gstreamer/gstplugins_good/ext/gdk_pixbuf/
Dgstgdkpixbufoverlay.c609 gint video_width = in gst_gdk_pixbuf_overlay_update_composition() local
637 (overlay->coef_x * video_width); in gst_gdk_pixbuf_overlay_update_composition()
642 video_width + overlay->offset_x - width + in gst_gdk_pixbuf_overlay_update_composition()
643 (overlay->relative_x * video_width) : in gst_gdk_pixbuf_overlay_update_composition()
644 overlay->offset_x + (overlay->relative_x * video_width); in gst_gdk_pixbuf_overlay_update_composition()
660 width, height, x, y, video_width, video_height); in gst_gdk_pixbuf_overlay_update_composition()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11videosink.cpp107 gint video_width; member
518 gint video_width, video_height; in gst_d3d11_video_sink_update_window() local
534 video_width = GST_VIDEO_INFO_WIDTH (&self->info); in gst_d3d11_video_sink_update_window()
545 if (!gst_video_calculate_display_ratio (&num, &den, video_width, in gst_d3d11_video_sink_update_window()
551 video_width, video_height, num, den, in gst_d3d11_video_sink_update_window()
567 } else if (video_width % num == 0) { in gst_d3d11_video_sink_update_window()
569 GST_VIDEO_SINK_WIDTH (self) = video_width; in gst_d3d11_video_sink_update_window()
571 gst_util_uint64_scale_int (video_width, den, num); in gst_d3d11_video_sink_update_window()
581 self->video_width = video_width; in gst_d3d11_video_sink_update_window()
/third_party/ffmpeg/libavformat/
Dipmovie.c88 unsigned int video_width; member
178 ff_add_param_change(pkt, 0, 0, 0, s->video_width, s->video_height); in load_ipmovie_packet()
448 if (width != s->video_width) { in process_ipmovie_chunk()
449 s->video_width = width; in process_ipmovie_chunk()
462 s->video_width, s->video_height); in process_ipmovie_chunk()
693 st->codecpar->width = ipmovie->video_width; in ipmovie_read_header()
Dxmv.c111 uint32_t video_width; member
169 xmv->video_width = avio_rl32(pb); in xmv_read_header()
300 vst->codecpar->width = xmv->video_width; in xmv_process_packet_header()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo.c62 guint video_width, guint video_height, in gst_video_calculate_display_ratio() argument
74 if (!gst_util_fraction_multiply (video_width, video_height, video_par_n, in gst_video_calculate_display_ratio()
Dvideo.h141 guint video_width,
/third_party/gstreamer/gstplugins_bad/ext/directfb/
Ddfbvideosink.c797 dfbvideosink->video_width = 0; in gst_dfbvideosink_setup()
1468 gint video_width, video_height; in gst_dfbvideosink_setcaps() local
1475 res = gst_structure_get_int (structure, "width", &video_width); in gst_dfbvideosink_setcaps()
1490 video_width, video_height, in gst_dfbvideosink_setcaps()
1526 video_width * video_par_n * display_par_d, in gst_dfbvideosink_setcaps()
1533 video_width, video_height, num, den); in gst_dfbvideosink_setcaps()
1545 } else if (video_width % num == 0) { in gst_dfbvideosink_setcaps()
1547 GST_VIDEO_SINK_WIDTH (dfbvideosink) = video_width; in gst_dfbvideosink_setcaps()
1548 GST_VIDEO_SINK_HEIGHT (dfbvideosink) = video_width * den / num; in gst_dfbvideosink_setcaps()
1568 GST_VIDEO_SINK_WIDTH (dfbvideosink) = video_width; in gst_dfbvideosink_setcaps()
[all …]
Ddfbvideosink.h113 gint video_width, video_height; /* size of incoming video */ member
/third_party/gstreamer/gstplugins_bad/ext/wayland/
Dwlwindow.c400 src.w = window->video_width; in gst_wl_window_resize_video_surface()
445 window->video_width = in gst_wl_window_render()
565 if (window->video_width != 0) { in gst_wl_window_set_render_rectangle()
572 if (window->video_width != 0) in gst_wl_window_set_render_rectangle()
Dwlwindow.h69 gint video_width, video_height; member
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmssink.c1070 guint video_width, video_height; in gst_kms_sink_calculate_display_ratio() local
1074 video_width = GST_VIDEO_INFO_WIDTH (vinfo); in gst_kms_sink_calculate_display_ratio()
1083 *scaled_width = video_width; in gst_kms_sink_calculate_display_ratio()
1088 if (!gst_video_calculate_display_ratio (&dar_n, &dar_d, video_width, in gst_kms_sink_calculate_display_ratio()
1106 } else if (video_width % dar_n == 0) { in gst_kms_sink_calculate_display_ratio()
1108 *scaled_width = video_width; in gst_kms_sink_calculate_display_ratio()
1110 gst_util_uint64_scale_int (video_width, dar_d, dar_n); in gst_kms_sink_calculate_display_ratio()
1574 gint video_width, video_height; in gst_kms_sink_show_frame() local
1586 video_width = src.w = GST_VIDEO_SINK_WIDTH (self); in gst_kms_sink_show_frame()
1591 video_width = src.w = self->last_width; in gst_kms_sink_show_frame()
[all …]
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2sink.h55 gint video_width, video_height; /* original (unscaled) video w/h */ member
/third_party/gstreamer/gstplugins_good/ext/gtk/
Dgtkgstglwidget.c237 gint video_width, video_height, widget_scale; in _redraw_texture() local
248 video_width = base_widget->display_height; in _redraw_texture()
251 video_width = base_widget->display_width; in _redraw_texture()
257 src.w = video_width; in _redraw_texture()
Dgtkgstbasewidget.c184 gint video_width = gst_widget->display_width; in gtk_gst_base_widget_get_preferred_width() local
187 video_width = 10; in gtk_gst_base_widget_get_preferred_width()
192 *natural = video_width; in gtk_gst_base_widget_get_preferred_width()
/third_party/gstreamer/gstplugins_base/sys/xvimage/
Dxvimagesink.h117 guint video_width, video_height; member

12