Home
last modified time | relevance | path

Searched refs:filter_caps (Results 1 – 25 of 43) sorted by relevance

12

/third_party/gstreamer/gstreamer/tests/check/elements/
Dcapsfilter.c64 GstCaps *filter_caps; in GST_START_TEST() local
74 filter_caps = gst_caps_from_string ("audio/x-raw, rate=(int)44100"); in GST_START_TEST()
75 fail_unless (filter_caps != NULL); in GST_START_TEST()
76 g_object_set (filter, "caps", filter_caps, NULL); in GST_START_TEST()
104 gst_caps_unref (filter_caps); in GST_START_TEST()
112 GstCaps *filter_caps, *caps; in GST_START_TEST() local
120 filter_caps = gst_caps_from_string (caps_str); in GST_START_TEST()
121 fail_unless (GST_IS_CAPS (filter_caps)); in GST_START_TEST()
122 g_object_set (filter, "caps", filter_caps, NULL); in GST_START_TEST()
125 fail_unless (gst_caps_is_equal (caps, filter_caps)); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstcapsfilter.c173 filter->filter_caps = gst_caps_new_any (); in gst_capsfilter_init()
199 old_caps = capsfilter->filter_caps; in gst_capsfilter_set_property()
200 capsfilter->filter_caps = new_caps; in gst_capsfilter_set_property()
252 gst_value_set_caps (value, capsfilter->filter_caps); in gst_capsfilter_get_property()
269 gst_caps_replace (&filter->filter_caps, NULL); in gst_capsfilter_dispose()
281 GstCaps *ret, *filter_caps, *tmp; in gst_capsfilter_transform_caps() local
286 filter_caps = gst_caps_ref (capsfilter->filter_caps); in gst_capsfilter_transform_caps()
294 gst_caps_intersect_full (filter, filter_caps, GST_CAPS_INTERSECT_FIRST); in gst_capsfilter_transform_caps()
295 gst_caps_unref (filter_caps); in gst_capsfilter_transform_caps()
296 filter_caps = tmp; in gst_capsfilter_transform_caps()
[all …]
Dgstcapsfilter.h67 GstCaps *filter_caps; member
/third_party/gstreamer/gstplugins_good/gst/autodetect/
Dgstautodetect.c99 if (self->filter_caps) in gst_auto_detect_dispose()
100 gst_caps_unref (self->filter_caps); in gst_auto_detect_dispose()
101 self->filter_caps = NULL; in gst_auto_detect_dispose()
191 self->filter_caps = gst_static_caps_get (is_audio ? &raw_audio_caps : in gst_auto_detect_constructed()
287 if (self->filter_caps) { in gst_auto_detect_find_best()
293 self->filter_caps, el_caps); in gst_auto_detect_find_best()
294 no_match = !gst_caps_can_intersect (self->filter_caps, el_caps); in gst_auto_detect_find_best()
450 if (self->filter_caps) in gst_auto_detect_set_property()
451 gst_caps_unref (self->filter_caps); in gst_auto_detect_set_property()
452 self->filter_caps = gst_caps_copy (gst_value_get_caps (value)); in gst_auto_detect_set_property()
[all …]
Dgstautodetect.h49 GstCaps *filter_caps; member
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudioutilsprivate.c94 GstCaps *fcaps, *filter_caps; in __gst_audio_element_proxy_getcaps() local
129 filter_caps = __gst_audio_element_proxy_caps (element, templ_caps, allowed); in __gst_audio_element_proxy_getcaps()
131 fcaps = gst_caps_intersect (filter_caps, templ_caps); in __gst_audio_element_proxy_getcaps()
132 gst_caps_unref (filter_caps); in __gst_audio_element_proxy_getcaps()
137 filter_caps = gst_caps_intersect (fcaps, filter); in __gst_audio_element_proxy_getcaps()
139 fcaps = filter_caps; in __gst_audio_element_proxy_getcaps()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideoutilsprivate.c96 GstCaps *fcaps, *filter_caps; in __gst_video_element_proxy_getcaps() local
131 filter_caps = __gst_video_element_proxy_caps (element, templ_caps, allowed); in __gst_video_element_proxy_getcaps()
133 fcaps = gst_caps_intersect (filter_caps, templ_caps); in __gst_video_element_proxy_getcaps()
134 gst_caps_unref (filter_caps); in __gst_video_element_proxy_getcaps()
139 filter_caps = gst_caps_intersect (fcaps, filter); in __gst_video_element_proxy_getcaps()
141 fcaps = filter_caps; in __gst_video_element_proxy_getcaps()
/third_party/gstreamer/gstplugins_good/tests/icles/
Dgdkpixbufoverlay-test.c214 GstCaps *filter_caps; in main() local
249 filter_caps = gst_caps_from_string ("video/x-raw, format = " in main()
251 gst_caps_set_simple (filter_caps, in main()
255 g_object_set (capsfilter, "caps", filter_caps, NULL); in main()
256 gst_caps_unref (filter_caps); in main()
Dvideocrop-test.c195 GstCaps *filter_caps = NULL; in main() local
234 filter_caps = gst_caps_from_string (opt_filtercaps_str); in main()
235 if (filter_caps == NULL) { in main()
296 if (filter_caps) { in main()
299 icaps = gst_caps_intersect (filter_caps, GST_CAPS (l->data)); in main()
/third_party/gstreamer/gstplugins_base/gst/adder/
Dgstadder.c235 GstCaps *result, *peercaps, *current_caps, *filter_caps; in gst_adder_sink_getcaps() local
243 if ((filter_caps = adder->filter_caps)) { in gst_adder_sink_getcaps()
245 filter_caps = in gst_adder_sink_getcaps()
246 gst_caps_intersect_full (filter, filter_caps, in gst_adder_sink_getcaps()
249 gst_caps_ref (filter_caps); in gst_adder_sink_getcaps()
251 filter_caps = filter ? gst_caps_ref (filter) : NULL; in gst_adder_sink_getcaps()
255 if (filter_caps && gst_caps_is_empty (filter_caps)) { in gst_adder_sink_getcaps()
257 return filter_caps; in gst_adder_sink_getcaps()
261 peercaps = gst_pad_peer_query_caps (adder->srcpad, filter_caps); in gst_adder_sink_getcaps()
286 if (filter_caps) { in gst_adder_sink_getcaps()
[all …]
Dgstadder.h63 GstCaps *filter_caps; member
/third_party/gstreamer/gstplugins_base/tests/icles/
Dtest-overlay-blending.c232 GstCaps *filter_caps; in main() local
260 filter_caps = gst_caps_from_string ("video/x-raw, format = " in main()
262 gst_caps_set_simple (filter_caps, in main()
266 g_object_set (capsfilter, "caps", filter_caps, NULL); in main()
267 gst_caps_unref (filter_caps); in main()
/third_party/gstreamer/gstplugins_good/gst/debugutils/
Dgstcapssetter.c189 GstCaps *ret = NULL, *filter_caps = NULL; in gst_caps_setter_transform_caps() local
210 filter_caps = gst_caps_ref (filter->caps); in gst_caps_setter_transform_caps()
217 for (i = 0; i < gst_caps_get_size (filter_caps); ++i) { in gst_caps_setter_transform_caps()
218 merge = gst_caps_get_structure (filter_caps, i); in gst_caps_setter_transform_caps()
240 gst_caps_unref (filter_caps); in gst_caps_setter_transform_caps()
/third_party/gstreamer/gstplugins_base/tests/examples/overlaycomposition/
Doverlaycomposition.c256 GstCaps *filter_caps; in main() local
304 filter_caps = gst_caps_from_string ("video/x-raw, format = " in main()
306 gst_caps_set_simple (filter_caps, in main()
310 g_object_set (capsfilter, "caps", filter_caps, NULL); in main()
311 gst_caps_unref (filter_caps); in main()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvabasetransform.c45 GstCaps *filter_caps; member
77 gst_clear_caps (&self->priv->filter_caps); in gst_va_base_transform_dispose()
508 gst_clear_caps (&self->priv->filter_caps); in gst_va_base_transform_change_state()
527 gst_clear_caps (&self->priv->filter_caps); in gst_va_base_transform_change_state()
839 if (self->priv->filter_caps) { in gst_va_base_transform_get_filter_caps()
841 return self->priv->filter_caps; in gst_va_base_transform_get_filter_caps()
849 self->priv->filter_caps = gst_va_filter_get_caps (self->filter); in gst_va_base_transform_get_filter_caps()
851 return self->priv->filter_caps; in gst_va_base_transform_get_filter_caps()
Dgstvadeinterlace.c545 GstCaps *ret, *filter_caps; in gst_va_deinterlace_transform_caps() local
551 filter_caps = gst_va_base_transform_get_filter_caps (btrans); in gst_va_deinterlace_transform_caps()
552 if (filter_caps && !gst_caps_can_intersect (caps, filter_caps)) { in gst_va_deinterlace_transform_caps()
/third_party/gstreamer/gstplugins_bad/ext/sbc/
Dgstsbcenc.c83 GstCaps *caps, *filter_caps; in gst_sbc_enc_set_format() local
99 filter_caps = gst_caps_new_simple ("audio/x-sbc", "rate", G_TYPE_INT, in gst_sbc_enc_set_format()
101 output_caps = gst_caps_intersect (caps, filter_caps); in gst_sbc_enc_set_format()
102 gst_caps_unref (filter_caps); in gst_sbc_enc_set_format()
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstdecodebin3-parse.c161 GstCaps *filter_caps; in get_parser_caps_filter() local
167 filter_caps = gst_caps_new_empty (); in get_parser_caps_filter()
186 filter_caps = gst_caps_merge (filter_caps, intersection); in get_parser_caps_filter()
191 GST_DEBUG_OBJECT (dbin, "Got filter caps %" GST_PTR_FORMAT, filter_caps); in get_parser_caps_filter()
192 return filter_caps; in get_parser_caps_filter()
/third_party/gstreamer/gstplugins_bad/ext/ldac/
Dgstldacenc.c194 GstCaps *caps, *filter_caps; in gst_ldac_enc_do_negotiate() local
207 filter_caps = gst_caps_new_simple ("audio/x-ldac", "rate", G_TYPE_INT, in gst_ldac_enc_do_negotiate()
209 output_caps = gst_caps_intersect (caps, filter_caps); in gst_ldac_enc_do_negotiate()
210 gst_caps_unref (filter_caps); in gst_ldac_enc_do_negotiate()
/third_party/gstreamer/gstplugins_bad/ext/onnx/
Dgstonnxobjectdetector.cpp146 trans, GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps);
571 trans, GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps) in gst_onnx_object_detector_transform_caps() argument
601 if (!gst_caps_is_empty (other_caps) && filter_caps) { in gst_onnx_object_detector_transform_caps()
602 GstCaps *tmp = gst_caps_intersect_full (other_caps,filter_caps, in gst_onnx_object_detector_transform_caps()
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstdewarp.cpp154 GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps);
552 GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps) in gst_dewarp_transform_caps() argument
579 if (filter_caps) { in gst_dewarp_transform_caps()
583 filter_caps); in gst_dewarp_transform_caps()
586 gst_caps_intersect_full (filter_caps, ret, GST_CAPS_INTERSECT_FIRST); in gst_dewarp_transform_caps()
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Dgstrtpfunnel.c434 GstCaps *filter_caps; in gst_rtp_funnel_sink_query() local
438 gst_query_parse_caps (query, &filter_caps); in gst_rtp_funnel_sink_query()
441 if (filter_caps) { in gst_rtp_funnel_sink_query()
442 new_caps = gst_caps_intersect_full (rtpcaps, filter_caps, in gst_rtp_funnel_sink_query()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstgloverlaycompositorelement.c91 filter, GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps);
146 GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps) in _oce_transform_internal_caps() argument
Dgstglviewconvert.c89 * filter, GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps);
218 GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps) in gst_gl_view_convert_element_transform_internal_caps() argument
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglfilter.c104 GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps);
635 GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps) in default_transform_internal_caps() argument
645 GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps) in gst_gl_filter_transform_caps() argument
664 if (filter_caps) { in gst_gl_filter_transform_caps()
666 gst_caps_intersect_full (filter_caps, tmp, GST_CAPS_INTERSECT_FIRST); in gst_gl_filter_transform_caps()

12