Home
last modified time | relevance | path

Searched refs:sinkcaps (Results 1 – 25 of 61) sorted by relevance

123

/third_party/gstreamer/gstplugins_bad/sys/va/
Dplugin.c84 GstCaps *sinkcaps = NULL, *srccaps = NULL; in plugin_register_decoders() local
90 &sinkcaps, &srccaps)) in plugin_register_decoders()
95 GST_LOG ("sink caps: %" GST_PTR_FORMAT, sinkcaps); in plugin_register_decoders()
100 if (!gst_va_h264_dec_register (plugin, device, sinkcaps, srccaps, in plugin_register_decoders()
107 if (!gst_va_h265_dec_register (plugin, device, sinkcaps, srccaps, in plugin_register_decoders()
114 if (!gst_va_vp8_dec_register (plugin, device, sinkcaps, srccaps, in plugin_register_decoders()
121 if (!gst_va_vp9_dec_register (plugin, device, sinkcaps, srccaps, in plugin_register_decoders()
128 if (!gst_va_mpeg2_dec_register (plugin, device, sinkcaps, srccaps, in plugin_register_decoders()
136 if (!gst_va_av1_dec_register (plugin, device, sinkcaps, srccaps, in plugin_register_decoders()
150 gst_caps_unref (sinkcaps); in plugin_register_decoders()
[all …]
Dgstvah264dec.c762 _complete_sink_caps (GstCaps * sinkcaps) in _complete_sink_caps() argument
764 GstCaps *caps = gst_caps_copy (sinkcaps); in _complete_sink_caps()
792 GstCaps *sinkcaps, *caps = NULL, *tmp; in gst_va_h264_dec_getcaps() local
799 sinkcaps = _complete_sink_caps (caps); in gst_va_h264_dec_getcaps()
802 tmp = gst_caps_intersect_full (filter, sinkcaps, in gst_va_h264_dec_getcaps()
804 gst_caps_unref (sinkcaps); in gst_va_h264_dec_getcaps()
807 caps = sinkcaps; in gst_va_h264_dec_getcaps()
/third_party/gstreamer/gstreamer/libs/gst/helpers/
Dgst-completion-helper.c115 GstCaps * sinkcaps) in _list_features() argument
152 if (print && sinkcaps) in _list_features()
155 (feature), sinkcaps); in _list_features()
209 GstCaps *sinkcaps = NULL; in main() local
245 sinkcaps = gst_caps_from_string (caps_str); in main()
246 if (!sinkcaps) { in main()
252 if (compatible_with || klass || sinkcaps) { in main()
253 _list_features (compatible_with, klass, sinkcaps); in main()
268 if (sinkcaps) in main()
269 gst_caps_unref (sinkcaps); in main()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dx265enc.c102 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local
140 sinkcaps = gst_pad_get_current_caps (sinkpad); in GST_START_TEST()
141 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST()
142 gst_caps_unref (sinkcaps); in GST_START_TEST()
158 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local
196 sinkcaps = gst_pad_get_current_caps (sinkpad); in GST_START_TEST()
197 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST()
198 gst_caps_unref (sinkcaps); in GST_START_TEST()
Dmsdkh264enc.c100 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local
136 sinkcaps = gst_pad_get_current_caps (sinkpad); in GST_START_TEST()
137 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST()
138 gst_caps_unref (sinkcaps); in GST_START_TEST()
Dnvenc.c91 GstCaps *outcaps, *sinkcaps, *srccaps; in GST_START_TEST() local
133 sinkcaps = gst_pad_get_current_caps (sinkpad); in GST_START_TEST()
134 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST()
135 gst_caps_unref (sinkcaps); in GST_START_TEST()
153 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local
203 sinkcaps = gst_pad_get_current_caps (sinkpad); in GST_START_TEST()
204 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST()
205 gst_caps_unref (sinkcaps); in GST_START_TEST()
Dopenjpeg.c114 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local
153 sinkcaps = gst_pad_get_current_caps (sinkpad); in GST_START_TEST()
154 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST()
155 gst_caps_unref (sinkcaps); in GST_START_TEST()
Dgdppay.c259 GstCaps *caps, *sinkcaps; in GST_START_TEST() local
307 sinkcaps = gst_pad_get_current_caps (mysinkpad); in GST_START_TEST()
308 structure = gst_caps_get_structure (sinkcaps, 0); in GST_START_TEST()
320 gst_caps_unref (sinkcaps); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/gst/audiomixer/
Dgstaudiointerleave.c204 GstCaps *result = NULL, *peercaps, *sinkcaps; in gst_audio_interleave_sink_getcaps() local
208 if (self->sinkcaps) in gst_audio_interleave_sink_getcaps()
209 result = gst_caps_copy (self->sinkcaps); in gst_audio_interleave_sink_getcaps()
217 sinkcaps = gst_caps_copy (gst_pad_get_pad_template_caps (pad)); in gst_audio_interleave_sink_getcaps()
218 __remove_channels (sinkcaps); in gst_audio_interleave_sink_getcaps()
224 result = gst_caps_intersect (peercaps, sinkcaps); in gst_audio_interleave_sink_getcaps()
226 gst_caps_unref (sinkcaps); in gst_audio_interleave_sink_getcaps()
231 result = sinkcaps; in gst_audio_interleave_sink_getcaps()
423 if (self->sinkcaps && !gst_caps_is_subset (caps, self->sinkcaps)) in gst_audio_interleave_setcaps()
426 if (!self->sinkcaps) { in gst_audio_interleave_setcaps()
[all …]
/third_party/gstreamer/gstplugins_good/gst/interleave/
Dinterleave.c259 gst_caps_replace (&self->sinkcaps, NULL); in gst_interleave_finalize()
549 if (self->sinkcaps) { in gst_interleave_request_new_pad()
556 srccaps = gst_caps_copy (self->sinkcaps); in gst_interleave_request_new_pad()
617 if (self->sinkcaps) { in gst_interleave_release_pad()
622 srccaps = gst_caps_copy (self->sinkcaps); in gst_interleave_release_pad()
632 gst_caps_replace (&self->sinkcaps, NULL); in gst_interleave_release_pad()
679 gst_caps_replace (&self->sinkcaps, NULL); in gst_interleave_change_state()
726 GstCaps *result, *peercaps, *sinkcaps; in gst_interleave_sink_getcaps() local
731 if (self->sinkcaps) { in gst_interleave_sink_getcaps()
732 result = gst_caps_copy (self->sinkcaps); in gst_interleave_sink_getcaps()
[all …]
Ddeinterleave.c336 gst_caps_replace (&self->sinkcaps, NULL); in gst_deinterleave_remove_pads()
438 if (self->sinkcaps && !gst_caps_is_equal (caps, self->sinkcaps)) { in gst_deinterleave_sink_setcaps()
442 if (!gst_audio_info_from_caps (&old_info, self->sinkcaps)) in gst_deinterleave_sink_setcaps()
453 gst_caps_replace (&self->sinkcaps, caps); in gst_deinterleave_sink_setcaps()
478 "positions change", self->sinkcaps, caps); in gst_deinterleave_sink_setcaps()
544 if (ret && self->sinkcaps) { in gst_deinterleave_sink_acceptcaps()
/third_party/gstreamer/gstplugins_bad/ext/ladspa/
Dgstladspafilter.c43 GstCaps * srccaps, GstCaps * sinkcaps) in gst_my_audio_filter_class_add_pad_templates() argument
48 g_return_if_fail (GST_IS_CAPS (srccaps) && GST_IS_CAPS (sinkcaps)); in gst_my_audio_filter_class_add_pad_templates()
57 GST_PAD_ALWAYS, sinkcaps); in gst_my_audio_filter_class_add_pad_templates()
85 GstCaps *srccaps, *sinkcaps; in gst_ladspa_filter_type_transform_caps() local
89 sinkcaps = gst_pad_get_pad_template_caps (GST_BASE_TRANSFORM_SINK_PAD (base)); in gst_ladspa_filter_type_transform_caps()
93 if (gst_caps_can_intersect (caps, sinkcaps)) in gst_ladspa_filter_type_transform_caps()
100 ret = gst_caps_copy (sinkcaps); in gst_ladspa_filter_type_transform_caps()
124 gst_caps_unref (sinkcaps); in gst_ladspa_filter_type_transform_caps()
Dgstladspautils.c668 GstCaps *srccaps, *sinkcaps; in gst_ladspa_filter_type_class_add_pad_templates() local
676 sinkcaps = gst_caps_new_simple ("audio/x-raw", in gst_ladspa_filter_type_class_add_pad_templates()
682 gst_my_audio_filter_class_add_pad_templates (audio_class, srccaps, sinkcaps); in gst_ladspa_filter_type_class_add_pad_templates()
684 gst_caps_unref (sinkcaps); in gst_ladspa_filter_type_class_add_pad_templates()
709 GstCaps *sinkcaps; in gst_ladspa_sink_type_class_add_pad_template() local
711 sinkcaps = gst_caps_new_simple ("audio/x-raw", in gst_ladspa_sink_type_class_add_pad_template()
717 gst_my_base_sink_class_add_pad_template (base_class, sinkcaps); in gst_ladspa_sink_type_class_add_pad_template()
719 gst_caps_unref (sinkcaps); in gst_ladspa_sink_type_class_add_pad_template()
Dgstladspasink.c60 GstCaps * sinkcaps) in gst_my_base_sink_class_add_pad_template() argument
65 g_return_if_fail (GST_IS_CAPS (sinkcaps)); in gst_my_base_sink_class_add_pad_template()
69 GST_PAD_ALWAYS, sinkcaps); in gst_my_base_sink_class_add_pad_template()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpptdemux.c38 const gchar * sinkcaps) in test_rtpptdemux_srccaps_from_sinkcaps_base() argument
54 fail_unless_equals_string (caps_str, sinkcaps); in test_rtpptdemux_srccaps_from_sinkcaps_base()
87 const gchar * sigcaps, const gchar * sinkcaps) in test_rtpptdemux_srccaps_from_signal_base() argument
105 fail_unless_equals_string (caps_str, sinkcaps); in test_rtpptdemux_srccaps_from_signal_base()
Drtpmux.c119 GstCaps *sinkcaps = NULL; in test_basic() local
142 g_object_set_data (G_OBJECT (sink), "caps", &sinkcaps); in test_basic()
148 sinkcaps = gst_caps_new_simple ("application/x-rtp", in test_basic()
173 gst_caps_set_simple (sinkcaps, in test_basic()
238 gst_caps_replace (&sinkcaps, NULL); in test_basic()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dencodebin.c131 GstCaps *caps, *sinkcaps; in _caps_match() local
135 sinkcaps = gst_pad_query_caps (sinkpad, NULL); in _caps_match()
136 fail_unless (sinkcaps != NULL); in _caps_match()
137 name = gst_caps_to_string (sinkcaps); in _caps_match()
138 fail_unless (gst_caps_is_subset (sinkcaps, caps), in _caps_match()
141 gst_caps_unref (sinkcaps); in _caps_match()
372 GstCaps *sinkcaps; in GST_START_TEST() local
396 sinkcaps = gst_caps_new_empty_simple ("audio/x-raw"); in GST_START_TEST()
397 g_signal_emit_by_name (ebin, "request-pad", sinkcaps, &sinkpad); in GST_START_TEST()
398 gst_caps_unref (sinkcaps); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglmixer.c276 GstCaps *sinkcaps; in gst_gl_mixer_pad_sink_getcaps() local
283 sinkcaps = gst_pad_get_current_caps (pad); in gst_gl_mixer_pad_sink_getcaps()
284 if (sinkcaps == NULL) { in gst_gl_mixer_pad_sink_getcaps()
285 sinkcaps = gst_caps_ref (template_caps); in gst_gl_mixer_pad_sink_getcaps()
287 sinkcaps = gst_caps_merge (sinkcaps, gst_caps_ref (template_caps)); in gst_gl_mixer_pad_sink_getcaps()
291 filtered_caps = gst_caps_intersect (sinkcaps, filter); in gst_gl_mixer_pad_sink_getcaps()
292 gst_caps_unref (sinkcaps); in gst_gl_mixer_pad_sink_getcaps()
294 filtered_caps = sinkcaps; /* pass ownership */ in gst_gl_mixer_pad_sink_getcaps()
/third_party/gstreamer/gstreamer/docs/random/wtay/
Dcapsnego-cases328 sinkcaps = gst_pad_get_caps (sinkpad);
330 if (!sinkcaps)
333 if (gst_caps_check_compatibility (srccaps, sinkcaps))
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstplaybin2.c4741 GstCaps *sinkcaps; in autoplug_continue_cb() local
4743 sinkcaps = gst_pad_query_caps (sinkpad, NULL); in autoplug_continue_cb()
4744 if (!gst_caps_is_any (sinkcaps)) in autoplug_continue_cb()
4745 ret = !gst_caps_is_subset (caps, sinkcaps); in autoplug_continue_cb()
4746 gst_caps_unref (sinkcaps); in autoplug_continue_cb()
4772 GstCaps *sinkcaps; in autoplug_continue_cb() local
4774 sinkcaps = gst_pad_query_caps (sinkpad, NULL); in autoplug_continue_cb()
4775 if (!gst_caps_is_any (sinkcaps)) in autoplug_continue_cb()
4776 ret = !gst_caps_is_subset (caps, sinkcaps); in autoplug_continue_cb()
4777 gst_caps_unref (sinkcaps); in autoplug_continue_cb()
[all …]
Dgstplaybin3.c3844 GstCaps *sinkcaps;
3846 sinkcaps = gst_pad_query_caps (sinkpad, NULL);
3847 if (!gst_caps_is_any (sinkcaps))
3849 gst_caps_unref (sinkcaps);
3868 GstCaps *sinkcaps;
3870 sinkcaps = gst_pad_query_caps (sinkpad, NULL);
3871 if (!gst_caps_is_any (sinkcaps))
3873 gst_caps_unref (sinkcaps);
3886 GstCaps *sinkcaps;
3888 sinkcaps = gst_pad_query_caps (sinkpad, NULL);
[all …]
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavaudenc.c78 GstCaps *srccaps = NULL, *sinkcaps = NULL; in gst_ffmpegaudenc_base_init() local
101 sinkcaps = gst_ffmpeg_codectype_to_audio_caps (NULL, in gst_ffmpegaudenc_base_init()
103 if (!sinkcaps) { in gst_ffmpegaudenc_base_init()
105 sinkcaps = gst_caps_new_empty_simple ("unknown/unknown"); in gst_ffmpegaudenc_base_init()
110 GST_PAD_ALWAYS, sinkcaps); in gst_ffmpegaudenc_base_init()
116 gst_caps_unref (sinkcaps); in gst_ffmpegaudenc_base_init()
Dgstavauddec.c72 GstCaps *sinkcaps, *srccaps; in gst_ffmpegauddec_base_init() local
93 sinkcaps = gst_ffmpeg_codecid_to_caps (in_plugin->id, NULL, FALSE); in gst_ffmpegauddec_base_init()
94 if (!sinkcaps) { in gst_ffmpegauddec_base_init()
96 sinkcaps = gst_caps_from_string ("unknown/unknown"); in gst_ffmpegauddec_base_init()
107 GST_PAD_ALWAYS, sinkcaps); in gst_ffmpegauddec_base_init()
113 gst_caps_unref (sinkcaps); in gst_ffmpegauddec_base_init()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkvpputil.h34 GstCaps * sinkcaps, GstCaps * srccaps);
/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowdecwrapper.h64 gchar *sinkcaps; member

123