Home
last modified time | relevance | path

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

/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.c275 gint video_width, video_height; in gst_d3dvideosink_set_caps() local
297 video_width = sink->info.width; in gst_d3dvideosink_set_caps()
311 if (!gst_video_calculate_display_ratio (&num, &den, video_width, in gst_d3dvideosink_set_caps()
317 video_width, video_height, num, den, sink->format); in gst_d3dvideosink_set_caps()
332 } else if (video_width % num == 0) { in gst_d3dvideosink_set_caps()
334 GST_VIDEO_SINK_WIDTH (sink) = video_width; in gst_d3dvideosink_set_caps()
336 gst_util_uint64_scale_int (video_width, den, num); in gst_d3dvideosink_set_caps()
353 sink->width = video_width; in gst_d3dvideosink_set_caps()
/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.h135 guint video_width,
/third_party/gstreamer/gstplugins_good/ext/gdk_pixbuf/
Dgstgdkpixbufoverlay.c608 gint video_width = in gst_gdk_pixbuf_overlay_update_composition() local
636 (overlay->coef_x * video_width); in gst_gdk_pixbuf_overlay_update_composition()
641 video_width + overlay->offset_x - width + in gst_gdk_pixbuf_overlay_update_composition()
642 (overlay->relative_x * video_width) : in gst_gdk_pixbuf_overlay_update_composition()
643 overlay->offset_x + (overlay->relative_x * video_width); in gst_gdk_pixbuf_overlay_update_composition()
659 width, height, x, y, video_width, video_height); in gst_gdk_pixbuf_overlay_update_composition()
/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()
689 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_bad/ext/directfb/
Ddfbvideosink.c790 dfbvideosink->video_width = 0; in gst_dfbvideosink_setup()
1461 gint video_width, video_height; in gst_dfbvideosink_setcaps() local
1468 res = gst_structure_get_int (structure, "width", &video_width); in gst_dfbvideosink_setcaps()
1483 video_width, video_height, in gst_dfbvideosink_setcaps()
1519 video_width * video_par_n * display_par_d, in gst_dfbvideosink_setcaps()
1526 video_width, video_height, num, den); in gst_dfbvideosink_setcaps()
1538 } else if (video_width % num == 0) { in gst_dfbvideosink_setcaps()
1540 GST_VIDEO_SINK_WIDTH (dfbvideosink) = video_width; in gst_dfbvideosink_setcaps()
1541 GST_VIDEO_SINK_HEIGHT (dfbvideosink) = video_width * den / num; in gst_dfbvideosink_setcaps()
1561 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_good/sys/v4l2/
Dgstv4l2sink.h55 gint video_width, video_height; /* original (unscaled) video w/h */ member
Dgstv4l2sink.c522 v4l2sink->video_width = GST_V4L2_WIDTH (obj); in gst_v4l2sink_set_caps()
528 GST_VIDEO_SINK_WIDTH (v4l2sink) = v4l2sink->video_width; in gst_v4l2sink_set_caps()
/third_party/gstreamer/gstplugins_bad/ext/wayland/
Dwlwindow.c387 src.w = window->video_width; in gst_wl_window_resize_video_surface()
447 window->video_width = in gst_wl_window_render()
549 if (window->video_width != 0) { in gst_wl_window_set_render_rectangle()
557 if (window->video_width != 0) in gst_wl_window_set_render_rectangle()
Dwlwindow.h69 gint video_width, video_height; member
/third_party/gstreamer/gstplugins_base/sys/xvimage/
Dxvimagesink.h117 guint video_width, video_height; member
Dxvimagesink.c716 xvimagesink->video_width = info.width; in gst_xv_image_sink_setcaps()
1157 xscale = (gdouble) xvimagesink->video_width / result.w; in gst_xv_image_sink_navigation_send_event()
1875 xvimagesink->video_width = 0; in gst_xv_image_sink_init()
/third_party/gstreamer/gstplugins_bad/ext/kate/
Dgstkatetiger.h96 gint video_width; member
/third_party/gstreamer/gstplugins_good/ext/gtk/
Dgtkgstbasewidget.c50 gint video_width = gst_widget->display_width; in gtk_gst_base_widget_get_preferred_width() local
53 video_width = 10; in gtk_gst_base_widget_get_preferred_width()
58 *natural = video_width; in gtk_gst_base_widget_get_preferred_width()
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmssink.c1062 guint video_width, video_height; in gst_kms_sink_calculate_display_ratio() local
1066 video_width = GST_VIDEO_INFO_WIDTH (vinfo); in gst_kms_sink_calculate_display_ratio()
1075 GST_VIDEO_SINK_WIDTH (self) = video_width; in gst_kms_sink_calculate_display_ratio()
1080 if (!gst_video_calculate_display_ratio (&dar_n, &dar_d, video_width, in gst_kms_sink_calculate_display_ratio()
1098 } else if (video_width % dar_n == 0) { in gst_kms_sink_calculate_display_ratio()
1100 GST_VIDEO_SINK_WIDTH (self) = video_width; in gst_kms_sink_calculate_display_ratio()
1102 gst_util_uint64_scale_int (video_width, dar_d, dar_n); in gst_kms_sink_calculate_display_ratio()
/third_party/gstreamer/gstplugins_good/sys/osxvideo/
Dosxvideosink.m345 gint video_width, video_height;
352 res = gst_structure_get_int (structure, "width", &video_width);
360 video_width, video_height);
362 GST_VIDEO_SINK_WIDTH (osxvideosink) = video_width;
366 video_width, video_height);
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dgstqtmux.c3188 guint video_width = 0, video_height = 0; in gst_qt_mux_start_file() local
3203 if (video_width == 0 || video_height == 0 || video_timescale == 0) { in gst_qt_mux_start_file()
3217 video_width = qpad2->trak->tkhd.width; in gst_qt_mux_start_file()
3223 qpad->trak->tkhd.width = video_width << 16; in gst_qt_mux_start_file()