Home
last modified time | relevance | path

Searched refs:dar_n (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
285 dar_n = 16; in rsn_parsetter_convert_caps()
288 dar_n = 4; in rsn_parsetter_convert_caps()
292 par_n = dar_n * height; 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
69 g_return_val_if_fail (dar_n != NULL, FALSE); in gst_video_calculate_display_ratio()
85 *dar_n = num; in gst_video_calculate_display_ratio()
Dvideo.h139 gboolean gst_video_calculate_display_ratio (guint * dar_n,
/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()
1037 if (pad_height % dar_n == 0) { 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()
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()
349 if (pad_height % dar_n == 0) { 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()
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()
1092 GST_DEBUG_OBJECT (self, "video calculated display ratio: %d/%d", dar_n, 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()
1106 } else if (video_width % dar_n == 0) { 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()
1120 if (pad_height % dar_n == 0) { 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()
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()
1799 params->darWidth = dar_n; in gst_nv_base_enc_set_format()