/third_party/gstreamer/gstplugins_good/ext/qt/ |
D | qtitem.cc | 66 gint par_n, par_d; member 117 this->priv->par_n = DEFAULT_PAR_N; in QtGLVideoItem() 156 this->priv->par_n = num; in setDAR() 164 *num = this->priv->par_n; in getDAR() 379 gint par_n, par_d; in _calculate_par() local 386 par_n = GST_VIDEO_INFO_PAR_N (info); in _calculate_par() 389 if (!par_n) in _calculate_par() 390 par_n = 1; in _calculate_par() 393 if (widget->priv->par_n != 0 && widget->priv->par_d != 0) { in _calculate_par() 394 display_par_n = widget->priv->par_n; in _calculate_par() [all …]
|
/third_party/gstreamer/gstplugins_good/ext/gtk/ |
D | gtkgstbasewidget.c | 88 gtk_widget->par_n = gst_value_get_fraction_numerator (value); in gtk_gst_base_widget_set_property() 111 gst_value_set_fraction (value, gtk_widget->par_n, gtk_widget->par_d); in gtk_gst_base_widget_get_property() 127 gint par_n, par_d; in _calculate_par() local 133 par_n = GST_VIDEO_INFO_PAR_N (info); in _calculate_par() 136 if (!par_n) in _calculate_par() 137 par_n = 1; in _calculate_par() 140 if (widget->par_n != 0 && widget->par_d != 0) { in _calculate_par() 141 display_par_n = widget->par_n; in _calculate_par() 150 &widget->display_ratio_den, width, height, par_n, par_d, display_par_n, in _calculate_par() 154 GST_LOG ("PAR: %u/%u DAR:%u/%u", par_n, par_d, display_par_n, in _calculate_par() [all …]
|
D | gstgtkbasesink.h | 64 gint par_n; member
|
D | gtkgstbasewidget.h | 49 gint par_n, par_d; member
|
D | gstgtkbasesink.c | 137 gtk_sink->par_n = DEFAULT_PAR_N; in gst_gtk_base_sink_init() 243 gst_value_set_fraction (value, gtk_sink->par_n, gtk_sink->par_d); in gst_gtk_base_sink_get_property() 265 gtk_sink->par_n = gst_value_get_fraction_numerator (value); in gst_gtk_base_sink_set_property()
|
/third_party/gstreamer/gstplugins_bad/ext/resindvd/ |
D | rsnparsetter.c | 207 gint par_n, par_d; in rsn_parsetter_check_caps() local 228 if (!gst_structure_get_fraction (s, "pixel-aspect-ratio", &par_n, &par_d)) in rsn_parsetter_check_caps() 229 par_n = par_d = 1; in rsn_parsetter_check_caps() 232 par_n, par_d, 1, 1)) in rsn_parsetter_check_caps() 237 width, height, par_n, par_d, dar_n, dar_d); in rsn_parsetter_check_caps() 263 gint par_n, par_d; in rsn_parsetter_convert_caps() local 292 par_n = dar_n * height; in rsn_parsetter_convert_caps() 296 gst_value_set_fraction (&par, par_n, par_d); in rsn_parsetter_convert_caps()
|
/third_party/gstreamer/gstplugins_bad/ext/vulkan/ |
D | vksink.c | 156 vk_sink->par_n = DEFAULT_PIXEL_ASPECT_RATIO_N; in gst_vulkan_sink_init() 183 vk_sink->par_n = gst_value_get_fraction_numerator (value); in gst_vulkan_sink_set_property() 203 gst_value_set_fraction (value, vk_sink->par_n, vk_sink->par_d); in gst_vulkan_sink_get_property() 404 gint par_n, par_d; in _configure_display_from_info() local 411 par_n = GST_VIDEO_INFO_PAR_N (vinfo); in _configure_display_from_info() 414 if (!par_n) in _configure_display_from_info() 415 par_n = 1; in _configure_display_from_info() 418 if (vk_sink->par_n != 0 && vk_sink->par_d != 0) { in _configure_display_from_info() 419 display_par_n = vk_sink->par_n; in _configure_display_from_info() 427 &display_ratio_den, width, height, par_n, par_d, display_par_n, in _configure_display_from_info() [all …]
|
D | vksink.h | 54 gint par_n; member
|
/third_party/gstreamer/gstplugins_good/ext/gdk_pixbuf/ |
D | gstgdkpixbufsink.c | 183 sink->par_n = 0; in gst_gdk_pixbuf_sink_init() 212 sink->par_n = 0; in gst_gdk_pixbuf_sink_stop() 232 gint w, h, par_n, par_d; in gst_gdk_pixbuf_sink_set_caps() local 244 par_n = GST_VIDEO_INFO_PAR_N (&info); in gst_gdk_pixbuf_sink_set_caps() 259 sink->par_n = par_n; in gst_gdk_pixbuf_sink_set_caps() 266 GST_INFO_OBJECT (sink, "pixel-aspect-ratio : %d/%d", par_n, par_d); in gst_gdk_pixbuf_sink_set_caps() 360 "pixel-aspect-ratio", GST_TYPE_FRACTION, sink->par_n, sink->par_d, in gst_gdk_pixbuf_sink_handle_buffer()
|
D | gstgdkpixbufsink.h | 53 gint par_n; member
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-multiview.c | 290 info->par_n *= 2; in gst_video_multiview_separated_video_info_from_packed() 333 info->par_n *= 2; in gst_video_multiview_separated_video_info_to_packed() 382 guint width, guint height, guint par_n, guint par_d) in gst_video_multiview_guess_half_aspect() argument 388 if (height * par_d <= width * par_n) in gst_video_multiview_guess_half_aspect() 395 if (width * par_n < 2.39 * height * par_d) in gst_video_multiview_guess_half_aspect()
|
D | video-info.c | 130 info->par_n = 1; in gst_video_info_init() 396 gint par_n, par_d; in gst_video_info_from_caps() local 452 &par_n, &par_d)) { in gst_video_info_from_caps() 453 info->par_n = par_n; in gst_video_info_from_caps() 456 info->par_n = 1; in gst_video_info_from_caps() 642 gint par_n, par_d; in gst_video_info_to_caps() local 657 par_n = info->par_n; in gst_video_info_to_caps() 695 par_n *= 2; /* double the width / half the height */ in gst_video_info_to_caps() 717 GST_TYPE_FRACTION, par_n, par_d, NULL); in gst_video_info_to_caps()
|
D | video-multiview.h | 59 guint width, guint height, guint par_n, guint par_d);
|
D | video-info.h | 315 gint par_n; member 365 #define GST_VIDEO_INFO_PAR_N(i) ((i)->par_n)
|
/third_party/gstreamer/gstplugins_good/gst/videocrop/ |
D | gstaspectratiocrop.c | 285 gint par_d, par_n; in gst_aspect_ratio_transform_structure() local 299 &par_n, &par_d)) { in gst_aspect_ratio_transform_structure() 300 par_d = par_n = 1; in gst_aspect_ratio_transform_structure() 303 incoming_ar = ((gdouble) (width * par_n)) / (height * par_d); in gst_aspect_ratio_transform_structure() 306 height, par_n, par_d, incoming_ar); in gst_aspect_ratio_transform_structure() 321 (double) (aspect_ratio_crop->ar_num)) * ((double) par_n / in gst_aspect_ratio_transform_structure() 342 (double) par_n) * height) - width) / 2; in gst_aspect_ratio_transform_structure()
|
/third_party/gstreamer/gstplugins_base/ext/ogg/ |
D | gstoggstream.c | 415 guint w, h, par_d, par_n; in setup_theora_mapper() local 434 par_n = GST_READ_UINT24_BE (data + 30); in setup_theora_mapper() 438 pad->granulerate_n, pad->granulerate_d, par_n, par_d, w, h); in setup_theora_mapper() 474 if (par_n == 0 || par_d == 0) in setup_theora_mapper() 475 par_n = par_d = 1; in setup_theora_mapper() 480 GST_TYPE_FRACTION, par_n, par_d, NULL); in setup_theora_mapper() 659 gint width, height, par_n, par_d, fps_n, fps_d; in setup_vp8_mapper() local 668 par_n = GST_READ_UINT24_BE (packet->packet + 12); in setup_vp8_mapper() 684 par_n, par_d, "framerate", GST_TYPE_FRACTION, fps_n, fps_d, NULL); in setup_vp8_mapper() 692 gint width, height, par_n, par_d, fps_n, fps_d; in vp8_fill_header() local [all …]
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglimagesink.c | 768 glimage_sink->par_n = 0; in gst_glimage_sink_init() 807 glimage_sink->par_n = gst_value_get_fraction_numerator (value); in gst_glimage_sink_set_property() 875 gst_value_set_fraction (value, glimage_sink->par_n, glimage_sink->par_d); in gst_glimage_sink_get_property() 1324 gint par_n, par_d; in configure_display_from_info() local 1331 par_n = GST_VIDEO_INFO_PAR_N (vinfo); in configure_display_from_info() 1334 if (!par_n) in configure_display_from_info() 1335 par_n = 1; in configure_display_from_info() 1338 if (glimage_sink->par_n != 0 && glimage_sink->par_d != 0) { in configure_display_from_info() 1339 display_par_n = glimage_sink->par_n; in configure_display_from_info() 1347 &display_ratio_den, width, height, par_n, par_d, display_par_n, in configure_display_from_info() [all …]
|
D | gstglvideoflip.c | 247 gint par_n, par_d; in _transform_caps() local 260 &par_n, &par_d)) { in _transform_caps() 261 if (par_n != 1 || par_d != 1) { in _transform_caps() 265 gst_value_set_fraction (&val, par_d, par_n); in _transform_caps()
|
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/ |
D | gstvc1parse.c | 275 vc1parse->par_n = vc1parse->par_d = 0; in gst_vc1_parse_reset() 898 if (vc1parse->par_n != 0 && vc1parse->par_d != 0) in gst_vc1_parse_update_caps() 900 vc1parse->par_n, vc1parse->par_d, NULL); in gst_vc1_parse_update_caps() 2024 gint par_n, par_d; member 2138 gint par_n, par_d; in gst_vc1_parse_handle_seq_hdr() local 2140 par_n = vc1parse->seq_hdr.advanced.aspect_horiz_size; in gst_vc1_parse_handle_seq_hdr() 2143 par_n = aspect_ratios[vc1parse->seq_hdr.advanced.aspect_ratio].par_n; in gst_vc1_parse_handle_seq_hdr() 2147 if (par_n != 0 && par_d != 0 && in gst_vc1_parse_handle_seq_hdr() 2149 || gst_util_fraction_compare (par_n, par_d, in gst_vc1_parse_handle_seq_hdr() 2150 vc1parse->par_n, vc1parse->par_d) != 0)) { in gst_vc1_parse_handle_seq_hdr() [all …]
|
D | gstvc1parse.h | 83 gint par_n, par_d; member
|
/third_party/gstreamer/gstplugins_bad/gst/rawparse/ |
D | gstvideoparse.c | 298 gint par_n, par_d; in gst_video_parse_get_property() local 299 g_object_get (G_OBJECT (vp->rawvideoparse), "pixel-aspect-ratio", &par_n, in gst_video_parse_get_property() 301 gst_value_set_fraction (value, par_n, par_d); in gst_video_parse_get_property()
|
/third_party/gstreamer/gstplugins_bad/gst/y4m/ |
D | gsty4mdec.c | 296 gint par_n = 0, par_d = 0; in gst_y4m_dec_parse_header() local 359 par_n = strtoul (header, &end, 10); in gst_y4m_dec_parse_header() 468 if (par_n == 0) in gst_y4m_dec_parse_header() 469 par_n = 1; in gst_y4m_dec_parse_header() 475 y4mdec->info.par_n = par_n; in gst_y4m_dec_parse_header()
|
/third_party/gstreamer/gstplugins_bad/sys/vdpau/mpeg/ |
D | gstvdpmpegdec.h | 36 gint par_n, par_d; member
|
/third_party/gstreamer/gstplugins_bad/sys/vdpau/ |
D | gstvdpvideopostprocess.h | 78 gint par_n, par_d; member
|
/third_party/gstreamer/gstplugins_good/sys/ximage/ |
D | ximageutil.h | 99 guint par_n; /* calculated pixel aspect ratio numerator */ member
|