Home
last modified time | relevance | path

Searched refs:dar_d (Results 1 – 8 of 8) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Drsnparsetter.c208 guint dar_n, dar_d; in rsn_parsetter_check_caps() local
231 if (!gst_video_calculate_display_ratio (&dar_n, &dar_d, width, height, in rsn_parsetter_check_caps()
237 width, height, par_n, par_d, dar_n, dar_d); in rsn_parsetter_check_caps()
240 if (dar_n == 16 && dar_d == 9) in rsn_parsetter_check_caps()
243 if (dar_n == 4 && dar_d == 3) in rsn_parsetter_check_caps()
264 guint dar_n, dar_d; in rsn_parsetter_convert_caps() local
286 dar_d = 9; in rsn_parsetter_convert_caps()
289 dar_d = 3; in rsn_parsetter_convert_caps()
293 par_d = dar_d * width; in rsn_parsetter_convert_caps()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo.c61 gst_video_calculate_display_ratio (guint * dar_n, guint * dar_d, in gst_video_calculate_display_ratio() argument
70 g_return_val_if_fail (dar_d != NULL, FALSE); in gst_video_calculate_display_ratio()
86 *dar_d = den; in gst_video_calculate_display_ratio()
Dvideo.h140 guint * dar_d,
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglvideomixer.c1008 guint dar_n, dar_d; in _mixer_pad_get_output_size() local
1026 if (!gst_video_calculate_display_ratio (&dar_n, &dar_d, pad_width, pad_height, in _mixer_pad_get_output_size()
1034 pad_height, dar_n, dar_d, GST_VIDEO_INFO_PAR_N (&vagg_pad->info), in _mixer_pad_get_output_size()
1038 pad_width = gst_util_uint64_scale_int (pad_height, dar_n, dar_d); in _mixer_pad_get_output_size()
1039 } else if (pad_width % dar_d == 0) { in _mixer_pad_get_output_size()
1040 pad_height = gst_util_uint64_scale_int (pad_width, dar_d, dar_n); in _mixer_pad_get_output_size()
1042 pad_width = gst_util_uint64_scale_int (pad_height, dar_n, dar_d); in _mixer_pad_get_output_size()
/third_party/gstreamer/gstplugins_base/gst/compositor/
Dcompositor.c300 guint dar_n, dar_d; in _mixer_pad_get_output_size() local
333 if (!gst_video_calculate_display_ratio (&dar_n, &dar_d, pad_width, pad_height, in _mixer_pad_get_output_size()
341 pad_height, dar_n, dar_d, GST_VIDEO_INFO_PAR_N (&vagg_pad->info), in _mixer_pad_get_output_size()
350 pad_width = gst_util_uint64_scale_int (pad_height, dar_n, dar_d); in _mixer_pad_get_output_size()
351 } else if (pad_width % dar_d == 0) { in _mixer_pad_get_output_size()
352 pad_height = gst_util_uint64_scale_int (pad_width, dar_d, dar_n); in _mixer_pad_get_output_size()
354 pad_width = gst_util_uint64_scale_int (pad_height, dar_n, dar_d); in _mixer_pad_get_output_size()
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmssink.c1069 guint dar_n, dar_d; in gst_kms_sink_calculate_display_ratio() local
1088 if (!gst_video_calculate_display_ratio (&dar_n, &dar_d, video_width, in gst_kms_sink_calculate_display_ratio()
1093 dar_d); in gst_kms_sink_calculate_display_ratio()
1101 if (video_height % dar_d == 0) { in gst_kms_sink_calculate_display_ratio()
1104 gst_util_uint64_scale_int (video_height, dar_n, dar_d); 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()
1114 gst_util_uint64_scale_int (video_height, dar_n, dar_d); in gst_kms_sink_calculate_display_ratio()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11compositor.cpp1079 guint dar_n, dar_d; in gst_d3d11_compositor_pad_get_output_size() local
1103 if (!gst_video_calculate_display_ratio (&dar_n, &dar_d, pad_width, pad_height, in gst_d3d11_compositor_pad_get_output_size()
1111 pad_width, pad_height, dar_n, dar_d, in gst_d3d11_compositor_pad_get_output_size()
1121 pad_width = gst_util_uint64_scale_int (pad_height, dar_n, dar_d); in gst_d3d11_compositor_pad_get_output_size()
1122 } else if (pad_width % dar_d == 0) { in gst_d3d11_compositor_pad_get_output_size()
1123 pad_height = gst_util_uint64_scale_int (pad_width, dar_d, dar_n); in gst_d3d11_compositor_pad_get_output_size()
1125 pad_width = gst_util_uint64_scale_int (pad_height, dar_n, dar_d); in gst_d3d11_compositor_pad_get_output_size()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvbaseenc.c1652 gint dar_n, dar_d; in gst_nv_base_enc_set_format() local
1797 GST_VIDEO_INFO_PAR_D (info), &dar_n, &dar_d) && dar_n > 0 in gst_nv_base_enc_set_format()
1798 && dar_d > 0) { in gst_nv_base_enc_set_format()
1800 params->darHeight = dar_d; in gst_nv_base_enc_set_format()