Home
last modified time | relevance | path

Searched refs:othercaps (Results 1 – 25 of 55) sorted by relevance

123

/third_party/gstreamer/gstplugins_bad/gst/ivtc/
Dgstcombdetect.c135 GstCaps *othercaps; in gst_comb_detect_transform_caps() local
138 othercaps = gst_caps_copy (caps); in gst_comb_detect_transform_caps()
154 for (i = 0; i < gst_caps_get_size (othercaps); i++) { in gst_comb_detect_transform_caps()
155 GstStructure *structure = gst_caps_get_structure (othercaps, i); in gst_comb_detect_transform_caps()
161 for (i = 0; i < gst_caps_get_size (othercaps); i++) { in gst_comb_detect_transform_caps()
162 GstStructure *structure = gst_caps_get_structure (othercaps, i); in gst_comb_detect_transform_caps()
171 intersect = gst_caps_intersect (othercaps, filter); in gst_comb_detect_transform_caps()
172 gst_caps_unref (othercaps); in gst_comb_detect_transform_caps()
173 othercaps = intersect; in gst_comb_detect_transform_caps()
176 return othercaps; in gst_comb_detect_transform_caps()
Dgstivtc.c65 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
149 GstCaps *othercaps; in gst_ivtc_transform_caps() local
152 othercaps = gst_caps_copy (caps); in gst_ivtc_transform_caps()
168 for (i = 0; i < gst_caps_get_size (othercaps); i++) { in gst_ivtc_transform_caps()
169 GstStructure *structure = gst_caps_get_structure (othercaps, i); in gst_ivtc_transform_caps()
176 for (i = 0; i < gst_caps_get_size (othercaps); i++) { in gst_ivtc_transform_caps()
177 GstStructure *structure = gst_caps_get_structure (othercaps, i); in gst_ivtc_transform_caps()
187 intersect = gst_caps_intersect (othercaps, filter); in gst_ivtc_transform_caps()
188 gst_caps_unref (othercaps); in gst_ivtc_transform_caps()
189 othercaps = intersect; in gst_ivtc_transform_caps()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/interlace/
Dgstinterlace.c477 GstCaps *othercaps, *src_peer_caps; in gst_interlace_setcaps() local
494 othercaps = gst_caps_copy (caps); in gst_interlace_setcaps()
495 gst_caps_set_simple (othercaps, "interlace-mode", G_TYPE_STRING, in gst_interlace_setcaps()
497 gst_caps_append (othercaps, dup_caps_with_alternate (othercaps)); in gst_interlace_setcaps()
499 for (i = 0; i < gst_caps_get_size (othercaps); ++i) { in gst_interlace_setcaps()
502 s = gst_caps_get_structure (othercaps, i); in gst_interlace_setcaps()
510 othercaps = gst_interlace_caps_double_framerate (othercaps, TRUE, FALSE); in gst_interlace_setcaps()
514 for (i = 0; i < gst_caps_get_size (othercaps); ++i) { in gst_interlace_setcaps()
515 GstStructure *s = gst_caps_get_structure (othercaps, i); in gst_interlace_setcaps()
520 src_peer_caps = gst_pad_peer_query_caps (interlace->srcpad, othercaps); in gst_interlace_setcaps()
[all …]
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbasetransform.c284 trans, GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
301 GstCaps * othercaps, gsize * othersize);
521 GstCaps * othercaps, gsize * othersize) in gst_base_transform_default_transform_size() argument
551 if (!gst_base_transform_get_unit_size (trans, othercaps, &outunitsize)) in gst_base_transform_default_transform_size()
597 gsize size, GstCaps * othercaps, gsize * othersize) in gst_base_transform_transform_size() argument
607 size, caps, othercaps, direction == GST_PAD_SRC ? "SRC" : "SINK"); in gst_base_transform_transform_size()
611 ret = klass->transform_size (trans, direction, caps, size, othercaps, in gst_base_transform_transform_size()
1041 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_base_transform_default_fixate_caps() argument
1043 othercaps = gst_caps_fixate (othercaps); in gst_base_transform_default_fixate_caps()
1044 GST_DEBUG_OBJECT (trans, "fixated to %" GST_PTR_FORMAT, othercaps); in gst_base_transform_default_fixate_caps()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/ladspa/
Dgstladspafilter.c63 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_ladspa_filter_type_fixate_caps() argument
70 return othercaps; in gst_ladspa_filter_type_fixate_caps()
72 othercaps = gst_caps_truncate (othercaps); in gst_ladspa_filter_type_fixate_caps()
73 othercaps = gst_caps_make_writable (othercaps); in gst_ladspa_filter_type_fixate_caps()
74 structure = gst_caps_get_structure (othercaps, 0); in gst_ladspa_filter_type_fixate_caps()
78 return othercaps; in gst_ladspa_filter_type_fixate_caps()
/third_party/gstreamer/gstplugins_bad/gst/audiomixmatrix/
Dgstaudiomixmatrix.c147 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
608 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_audio_mix_matrix_fixate_caps() argument
612 guint capssize = gst_caps_get_size (othercaps); in gst_audio_mix_matrix_fixate_caps()
622 othercaps = gst_caps_make_writable (othercaps); in gst_audio_mix_matrix_fixate_caps()
624 s = gst_caps_get_structure (othercaps, i); in gst_audio_mix_matrix_fixate_caps()
644 s = gst_caps_get_structure (othercaps, i); in gst_audio_mix_matrix_fixate_caps()
648 gst_caps_remove_structure (othercaps, i--); in gst_audio_mix_matrix_fixate_caps()
657 if (gst_caps_is_empty (othercaps)) in gst_audio_mix_matrix_fixate_caps()
658 return othercaps; in gst_audio_mix_matrix_fixate_caps()
660 othercaps = in gst_audio_mix_matrix_fixate_caps()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkviewconvert.c526 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
1357 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in fixate_size() argument
1364 othercaps = gst_caps_make_writable (othercaps); in fixate_size()
1365 othercaps = gst_caps_truncate (othercaps); in fixate_size()
1368 " based on caps %" GST_PTR_FORMAT, othercaps, caps); in fixate_size()
1371 outs = gst_caps_get_structure (othercaps, 0); in fixate_size()
1415 g_return_val_if_fail (gst_value_is_fixed (from_par), othercaps); in fixate_size()
1679 othercaps = gst_caps_fixate (othercaps); in fixate_size()
1682 othercaps); in fixate_size()
1689 return othercaps; in fixate_size()
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpstreamdepay.c113 GstCaps *othercaps; in gst_rtp_stream_depay_set_sink_caps() local
117 othercaps = gst_caps_copy (caps); in gst_rtp_stream_depay_set_sink_caps()
118 structure = gst_caps_get_structure (othercaps, 0); in gst_rtp_stream_depay_set_sink_caps()
129 ret = gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (parse), othercaps); in gst_rtp_stream_depay_set_sink_caps()
130 gst_caps_unref (othercaps); in gst_rtp_stream_depay_set_sink_caps()
Dgstrtpstreampay.c205 GstCaps *othercaps; in gst_rtp_stream_pay_sink_set_caps() local
209 othercaps = gst_caps_copy (caps); in gst_rtp_stream_pay_sink_set_caps()
210 structure = gst_caps_get_structure (othercaps, 0); in gst_rtp_stream_pay_sink_set_caps()
221 ret = gst_pad_set_caps (self->srcpad, othercaps); in gst_rtp_stream_pay_sink_set_caps()
222 gst_caps_unref (othercaps); in gst_rtp_stream_pay_sink_set_caps()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudascale.c65 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
155 GstCaps * caps, GstCaps * othercaps) in gst_cuda_scale_fixate_caps() argument
162 othercaps = gst_caps_truncate (othercaps); in gst_cuda_scale_fixate_caps()
163 othercaps = gst_caps_make_writable (othercaps); in gst_cuda_scale_fixate_caps()
166 " based on caps %" GST_PTR_FORMAT, othercaps, caps); in gst_cuda_scale_fixate_caps()
169 outs = gst_caps_get_structure (othercaps, 0); 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()
585 GST_DEBUG_OBJECT (base, "fixated othercaps to %" GST_PTR_FORMAT, othercaps); in gst_cuda_scale_fixate_caps()
592 return othercaps; in gst_cuda_scale_fixate_caps()
Dgstcudaconvert.c56 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
345 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_cuda_convert_fixate_caps() argument
350 " based on caps %" GST_PTR_FORMAT, othercaps, caps); in gst_cuda_convert_fixate_caps()
352 result = gst_caps_intersect (othercaps, caps); in gst_cuda_convert_fixate_caps()
355 result = othercaps; in gst_cuda_convert_fixate_caps()
357 gst_caps_unref (othercaps); in gst_cuda_convert_fixate_caps()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglviewconvert.c91 trans, GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
238 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_gl_view_convert_element_fixate_caps() argument
243 othercaps = gst_gl_view_convert_fixate_caps (viewconvert_filter->viewconvert, in gst_gl_view_convert_element_fixate_caps()
244 direction, caps, othercaps); in gst_gl_view_convert_element_fixate_caps()
246 if (gst_caps_is_empty (othercaps)) in gst_gl_view_convert_element_fixate_caps()
247 return othercaps; in gst_gl_view_convert_element_fixate_caps()
253 caps, othercaps); in gst_gl_view_convert_element_fixate_caps()
/third_party/gstreamer/gstplugins_bad/tools/element-templates/
Dbasetransform17 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
31 GstPadDirection direction, GstCaps * caps, gsize size, GstCaps * othercaps,
82 GstCaps *othercaps;
86 othercaps = gst_caps_copy (caps);
101 intersect = gst_caps_intersect (othercaps, filter);
102 gst_caps_unref (othercaps);
106 return othercaps;
112 GstCaps * caps, GstCaps * othercaps)
191 GstCaps * caps, gsize size, GstCaps * othercaps, gsize * othersize)
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Dgstrtpmux.c616 GstCaps *tcaps, *othercaps;; in gst_rtp_mux_setcaps() local
618 othercaps = gst_caps_intersect_full (peercaps, tcaps, in gst_rtp_mux_setcaps()
621 if (gst_caps_get_size (othercaps) > 0) { in gst_rtp_mux_setcaps()
622 structure = gst_caps_get_structure (othercaps, 0); in gst_rtp_mux_setcaps()
636 gst_caps_unref (othercaps); in gst_rtp_mux_setcaps()
752 GstCaps *othercaps; in gst_rtp_mux_getcaps() local
760 othercaps = gst_caps_intersect_full (peercaps, tcaps, in gst_rtp_mux_getcaps()
766 othercaps = gst_caps_intersect_full (filter, tcaps, in gst_rtp_mux_getcaps()
769 othercaps = gst_caps_copy (tcaps); in gst_rtp_mux_getcaps()
774 GST_PTR_FORMAT, othercaps); in gst_rtp_mux_getcaps()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11convert.cpp102 base, GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
636 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_d3d11_base_convert_get_fixed_format() argument
640 result = gst_caps_intersect (othercaps, caps); in gst_d3d11_base_convert_get_fixed_format()
643 result = gst_caps_copy (othercaps); in gst_d3d11_base_convert_get_fixed_format()
665 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_d3d11_base_convert_fixate_size() argument
671 othercaps = gst_caps_truncate (othercaps); in gst_d3d11_base_convert_fixate_size()
672 othercaps = gst_caps_make_writable (othercaps); in gst_d3d11_base_convert_fixate_size()
674 outs = gst_caps_get_structure (othercaps, 0); 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()
1095 return othercaps; in gst_d3d11_base_convert_fixate_size()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvadeinterlace.c576 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_va_deinterlace_fixate_caps() argument
586 GST_PTR_FORMAT, othercaps, caps); in gst_va_deinterlace_fixate_caps()
588 othercaps = gst_caps_truncate (othercaps); in gst_va_deinterlace_fixate_caps()
589 othercaps = gst_caps_make_writable (othercaps); in gst_va_deinterlace_fixate_caps()
592 othercaps = gst_caps_fixate (othercaps); in gst_va_deinterlace_fixate_caps()
599 out_s = gst_caps_get_structure (othercaps, 0); in gst_va_deinterlace_fixate_caps()
613 out_f = gst_caps_get_features (othercaps, 0); in gst_va_deinterlace_fixate_caps()
640 GST_DEBUG_OBJECT (self, "fixated othercaps to %" GST_PTR_FORMAT, othercaps); in gst_va_deinterlace_fixate_caps()
642 return othercaps; in gst_va_deinterlace_fixate_caps()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Ddeinterlace.c278 GstCaps *othercaps = NULL; in deinterlace_set_caps_and_check() local
286 g_object_get (srcpad, "caps", &othercaps, NULL); in deinterlace_set_caps_and_check()
289 fail_if (gst_caps_is_interlaced (othercaps)); in deinterlace_set_caps_and_check()
294 gst_caps_is_interlaced (othercaps)); in deinterlace_set_caps_and_check()
296 othercaps = gst_caps_make_writable (othercaps); in deinterlace_set_caps_and_check()
297 s = gst_caps_get_structure (othercaps, 0); in deinterlace_set_caps_and_check()
304 fail_unless (gst_caps_is_equal (input, othercaps)); in deinterlace_set_caps_and_check()
307 gst_caps_unref (othercaps); in deinterlace_set_caps_and_check()
/third_party/gstreamer/gstplugins_bad/gst/transcode/
Dgsttranscodebin.c249 GstCaps *othercaps = gst_pad_get_pad_template_caps (convert_sink); in _insert_filter() local
256 "\n\n", pad, caps, convert_sink, othercaps)); in _insert_filter()
260 gst_caps_unref (othercaps); in _insert_filter()
269 GstCaps *othercaps = gst_pad_get_pad_template_caps (filter_sink); in _insert_filter() local
276 "\n\n", convert_src, caps, filter_sink, othercaps)); in _insert_filter()
280 gst_caps_unref (othercaps); in _insert_filter()
344 GstCaps *othercaps = gst_pad_query_caps (stream->encodebin_pad, NULL); in gst_transcode_bin_link_encodebin_pad() local
355 pad, caps, stream->encodebin_pad, othercaps, in gst_transcode_bin_link_encodebin_pad()
361 "sink-caps", GST_TYPE_CAPS, othercaps, NULL)); in gst_transcode_bin_link_encodebin_pad()
364 if (othercaps) in gst_transcode_bin_link_encodebin_pad()
[all …]
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2transform.c423 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_v4l2_transform_fixate_caps() argument
430 othercaps = gst_caps_truncate (othercaps); in gst_v4l2_transform_fixate_caps()
431 othercaps = gst_caps_make_writable (othercaps); in gst_v4l2_transform_fixate_caps()
434 " based on caps %" GST_PTR_FORMAT, othercaps, caps); in gst_v4l2_transform_fixate_caps()
437 outs = gst_caps_get_structure (othercaps, 0); 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()
862 GST_DEBUG_OBJECT (trans, "fixated othercaps to %" GST_PTR_FORMAT, othercaps); in gst_v4l2_transform_fixate_caps()
870 othercaps = gst_caps_fixate (othercaps); in gst_v4l2_transform_fixate_caps()
873 if (gst_caps_is_subset (caps, othercaps)) { in gst_v4l2_transform_fixate_caps()
874 gst_caps_replace (&othercaps, caps); in gst_v4l2_transform_fixate_caps()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglfilter.c106 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
242 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_gl_filter_fixate_caps() argument
249 othercaps = gst_caps_make_writable (othercaps); in gst_gl_filter_fixate_caps()
250 othercaps = gst_caps_truncate (othercaps); in gst_gl_filter_fixate_caps()
253 " based on caps %" GST_PTR_FORMAT, othercaps, caps); in gst_gl_filter_fixate_caps()
256 outs = gst_caps_get_structure (othercaps, 0); 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()
564 othercaps = gst_caps_fixate (othercaps); in gst_gl_filter_fixate_caps()
566 GST_DEBUG_OBJECT (bt, "fixated othercaps to %" GST_PTR_FORMAT, othercaps); in gst_gl_filter_fixate_caps()
573 return othercaps; in gst_gl_filter_fixate_caps()
Dgstglviewconvert.c1278 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_gl_view_convert_fixate_caps() argument
1286 othercaps = gst_caps_make_writable (othercaps); in gst_gl_view_convert_fixate_caps()
1289 direction == GST_PAD_SINK ? "sink" : "src", othercaps, caps); in gst_gl_view_convert_fixate_caps()
1294 tmp = _intersect_with_mview_mode (othercaps, mode, flags); in gst_gl_view_convert_fixate_caps()
1295 gst_caps_unref (othercaps); in gst_gl_view_convert_fixate_caps()
1296 othercaps = tmp; in gst_gl_view_convert_fixate_caps()
1310 tmp = _intersect_with_mview_mode (othercaps, mode, flags); in gst_gl_view_convert_fixate_caps()
1315 gst_caps_unref (othercaps); in gst_gl_view_convert_fixate_caps()
1316 othercaps = tmp; in gst_gl_view_convert_fixate_caps()
1323 _intersect_with_mview_modes (othercaps, in gst_gl_view_convert_fixate_caps()
[all …]
/third_party/gstreamer/gstplugins_base/gst/videoscale/
Dgstvideoscale.c196 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
730 GstCaps * caps, GstCaps * othercaps) in gst_video_scale_fixate_caps() argument
737 othercaps = gst_caps_truncate (othercaps); in gst_video_scale_fixate_caps()
738 othercaps = gst_caps_make_writable (othercaps); in gst_video_scale_fixate_caps()
741 " based on caps %" GST_PTR_FORMAT, othercaps, caps); in gst_video_scale_fixate_caps()
744 outs = gst_caps_get_structure (othercaps, 0); 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()
1160 othercaps = gst_caps_fixate (othercaps); in gst_video_scale_fixate_caps()
1162 GST_DEBUG_OBJECT (base, "fixated othercaps to %" GST_PTR_FORMAT, othercaps); in gst_video_scale_fixate_caps()
1169 return othercaps; in gst_video_scale_fixate_caps()
/third_party/gstreamer/gstplugins_base/gst/audioconvert/
Dgstaudioconvert.c129 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
696 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_audio_convert_fixate_caps() argument
702 " based on caps %" GST_PTR_FORMAT, othercaps, caps); in gst_audio_convert_fixate_caps()
704 result = gst_caps_intersect (othercaps, caps); in gst_audio_convert_fixate_caps()
712 result = gst_caps_intersect (othercaps, removed); in gst_audio_convert_fixate_caps()
717 result = othercaps; in gst_audio_convert_fixate_caps()
719 gst_caps_unref (othercaps); in gst_audio_convert_fixate_caps()
722 gst_caps_unref (othercaps); in gst_audio_convert_fixate_caps()
/third_party/gstreamer/gstplugins_bad/ext/mplex/
Dgstmplex.cc275 GstCaps *othercaps, *templ; in gst_mplex_setcaps() local
286 othercaps = gst_caps_intersect (caps, templ); in gst_mplex_setcaps()
288 if (othercaps) in gst_mplex_setcaps()
289 gst_caps_unref (othercaps); in gst_mplex_setcaps()
294 othercaps = gst_pad_get_pad_template_caps (mplex->srcpad); in gst_mplex_setcaps()
295 ret = gst_pad_set_caps (mplex->srcpad, othercaps); in gst_mplex_setcaps()
296 gst_caps_unref (othercaps); in gst_mplex_setcaps()
/third_party/gstreamer/gstplugins_base/gst/audioresample/
Dgstaudioresample.c115 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps);
354 GstPadDirection direction, GstCaps * caps, GstCaps * othercaps) in gst_audio_resample_fixate_caps() argument
361 return othercaps; in gst_audio_resample_fixate_caps()
363 othercaps = gst_caps_truncate (othercaps); in gst_audio_resample_fixate_caps()
364 othercaps = gst_caps_make_writable (othercaps); in gst_audio_resample_fixate_caps()
365 s = gst_caps_get_structure (othercaps, 0); in gst_audio_resample_fixate_caps()
368 return gst_caps_fixate (othercaps); in gst_audio_resample_fixate_caps()
468 GstPadDirection direction, GstCaps * caps, gsize size, GstCaps * othercaps, in gst_audio_resample_transform_size() argument

123