Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudascale.c158 const GValue *from_par, *to_par; in gst_cuda_scale_fixate_caps() local
171 from_par = gst_structure_get_value (ins, "pixel-aspect-ratio"); in gst_cuda_scale_fixate_caps()
179 if (!from_par) { in gst_cuda_scale_fixate_caps()
182 from_par = &fpar; in gst_cuda_scale_fixate_caps()
198 if (!from_par) { in gst_cuda_scale_fixate_caps()
201 from_par = &fpar; in gst_cuda_scale_fixate_caps()
213 g_return_val_if_fail (gst_value_is_fixed (from_par), othercaps); in gst_cuda_scale_fixate_caps()
215 from_par_n = gst_value_get_fraction_numerator (from_par); in gst_cuda_scale_fixate_caps()
216 from_par_d = gst_value_get_fraction_denominator (from_par); in gst_cuda_scale_fixate_caps()
587 if (from_par == &fpar) in gst_cuda_scale_fixate_caps()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglfilter.c245 const GValue *from_par, *to_par; in gst_gl_filter_fixate_caps() local
258 from_par = gst_structure_get_value (ins, "pixel-aspect-ratio"); in gst_gl_filter_fixate_caps()
266 if (!from_par) { in gst_gl_filter_fixate_caps()
269 from_par = &fpar; in gst_gl_filter_fixate_caps()
285 if (!from_par) { in gst_gl_filter_fixate_caps()
288 from_par = &fpar; in gst_gl_filter_fixate_caps()
300 g_return_val_if_fail (gst_value_is_fixed (from_par), othercaps); in gst_gl_filter_fixate_caps()
302 from_par_n = gst_value_get_fraction_numerator (from_par); in gst_gl_filter_fixate_caps()
303 from_par_d = gst_value_get_fraction_denominator (from_par); in gst_gl_filter_fixate_caps()
568 if (from_par == &fpar) in gst_gl_filter_fixate_caps()
/third_party/gstreamer/gstplugins_base/gst/videoscale/
Dgstvideoscale.c733 const GValue *from_par, *to_par; in gst_video_scale_fixate_caps() local
746 from_par = gst_structure_get_value (ins, "pixel-aspect-ratio"); in gst_video_scale_fixate_caps()
754 if (!from_par) { in gst_video_scale_fixate_caps()
757 from_par = &fpar; in gst_video_scale_fixate_caps()
773 if (!from_par) { in gst_video_scale_fixate_caps()
776 from_par = &fpar; in gst_video_scale_fixate_caps()
788 g_return_val_if_fail (gst_value_is_fixed (from_par), othercaps); in gst_video_scale_fixate_caps()
790 from_par_n = gst_value_get_fraction_numerator (from_par); in gst_video_scale_fixate_caps()
791 from_par_d = gst_value_get_fraction_denominator (from_par); in gst_video_scale_fixate_caps()
1164 if (from_par == &fpar) in gst_video_scale_fixate_caps()
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2transform.c426 const GValue *from_par, *to_par; in gst_v4l2_transform_fixate_caps() local
450 from_par = gst_structure_get_value (ins, "pixel-aspect-ratio"); in gst_v4l2_transform_fixate_caps()
458 if (!from_par) { in gst_v4l2_transform_fixate_caps()
461 from_par = &fpar; in gst_v4l2_transform_fixate_caps()
477 if (!from_par) { in gst_v4l2_transform_fixate_caps()
480 from_par = &fpar; in gst_v4l2_transform_fixate_caps()
492 g_return_val_if_fail (gst_value_is_fixed (from_par), othercaps); in gst_v4l2_transform_fixate_caps()
494 from_par_n = gst_value_get_fraction_numerator (from_par); in gst_v4l2_transform_fixate_caps()
495 from_par_d = gst_value_get_fraction_denominator (from_par); in gst_v4l2_transform_fixate_caps()
864 if (from_par == &fpar) in gst_v4l2_transform_fixate_caps()
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkviewconvert.c1360 const GValue *from_par, *to_par; in fixate_size() local
1373 from_par = gst_structure_get_value (ins, "pixel-aspect-ratio"); in fixate_size()
1381 if (!from_par) { in fixate_size()
1384 from_par = &fpar; in fixate_size()
1400 if (!from_par) { in fixate_size()
1403 from_par = &fpar; in fixate_size()
1415 g_return_val_if_fail (gst_value_is_fixed (from_par), othercaps); in fixate_size()
1417 from_par_n = gst_value_get_fraction_numerator (from_par); in fixate_size()
1418 from_par_d = gst_value_get_fraction_denominator (from_par); in fixate_size()
1684 if (from_par == &fpar) in fixate_size()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvavpp.c1157 const GValue *from_par, *to_par; in gst_va_vpp_fixate_size() local
1164 from_par = gst_structure_get_value (ins, "pixel-aspect-ratio"); in gst_va_vpp_fixate_size()
1172 if (!from_par) { in gst_va_vpp_fixate_size()
1175 from_par = &fpar; in gst_va_vpp_fixate_size()
1191 if (!from_par) { in gst_va_vpp_fixate_size()
1194 from_par = &fpar; in gst_va_vpp_fixate_size()
1206 g_return_if_fail (gst_value_is_fixed (from_par)); in gst_va_vpp_fixate_size()
1208 from_par_n = gst_value_get_fraction_numerator (from_par); in gst_va_vpp_fixate_size()
1209 from_par_d = gst_value_get_fraction_denominator (from_par); in gst_va_vpp_fixate_size()
1591 if (from_par == &fpar) in gst_va_vpp_fixate_size()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11convert.cpp668 const GValue *from_par, *to_par; in gst_d3d11_base_convert_fixate_size() local
676 from_par = gst_structure_get_value (ins, "pixel-aspect-ratio"); in gst_d3d11_base_convert_fixate_size()
684 if (!from_par) { in gst_d3d11_base_convert_fixate_size()
687 from_par = &fpar; in gst_d3d11_base_convert_fixate_size()
703 if (!from_par) { in gst_d3d11_base_convert_fixate_size()
706 from_par = &fpar; in gst_d3d11_base_convert_fixate_size()
718 g_return_val_if_fail (gst_value_is_fixed (from_par), othercaps); in gst_d3d11_base_convert_fixate_size()
720 from_par_n = gst_value_get_fraction_numerator (from_par); in gst_d3d11_base_convert_fixate_size()
721 from_par_d = gst_value_get_fraction_denominator (from_par); in gst_d3d11_base_convert_fixate_size()
1090 if (from_par == &fpar) in gst_d3d11_base_convert_fixate_size()
/third_party/gstreamer/gstplugins_base/
DChangeLog107238 When fixating caps, from_par should always be initialized