Home
last modified time | relevance | path

Searched refs:templ_caps (Results 1 – 24 of 24) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudioutilsprivate.c37 __gst_audio_element_proxy_caps (GstElement * element, GstCaps * templ_caps, in __gst_audio_element_proxy_caps() argument
42 gint templ_caps_size = gst_caps_get_size (templ_caps); in __gst_audio_element_proxy_caps()
47 gst_structure_get_name_id (gst_caps_get_structure (templ_caps, i)); in __gst_audio_element_proxy_caps()
48 GstCapsFeatures *features = gst_caps_get_features (templ_caps, i); in __gst_audio_element_proxy_caps()
91 GstCaps *templ_caps, *src_templ_caps; in __gst_audio_element_proxy_getcaps() local
99 templ_caps = initial_caps ? gst_caps_ref (initial_caps) : in __gst_audio_element_proxy_getcaps()
119 fcaps = templ_caps; in __gst_audio_element_proxy_getcaps()
126 GST_LOG_OBJECT (element, "template caps %" GST_PTR_FORMAT, templ_caps); in __gst_audio_element_proxy_getcaps()
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()
[all …]
Dgstaudioencoder.c2883 GstCaps *templ_caps; in gst_audio_encoder_set_output_format() local
2892 templ_caps = gst_pad_get_pad_template_caps (enc->srcpad); in gst_audio_encoder_set_output_format()
2893 if (!gst_caps_is_subset (caps, templ_caps)) { in gst_audio_encoder_set_output_format()
2894 gst_caps_unref (templ_caps); in gst_audio_encoder_set_output_format()
2897 gst_caps_unref (templ_caps); in gst_audio_encoder_set_output_format()
Dgstaudiodecoder.c848 GstCaps *templ_caps; in gst_audio_decoder_set_output_caps() local
865 templ_caps = gst_pad_get_pad_template_caps (dec->srcpad); in gst_audio_decoder_set_output_caps()
866 if (!gst_caps_is_subset (caps, templ_caps)) { in gst_audio_decoder_set_output_caps()
868 " do not match template %" GST_PTR_FORMAT, caps, templ_caps); in gst_audio_decoder_set_output_caps()
869 gst_caps_unref (templ_caps); in gst_audio_decoder_set_output_caps()
872 gst_caps_unref (templ_caps); in gst_audio_decoder_set_output_caps()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideoutilsprivate.c33 __gst_video_element_proxy_caps (GstElement * element, GstCaps * templ_caps, in __gst_video_element_proxy_caps() argument
38 gint templ_caps_size = gst_caps_get_size (templ_caps); in __gst_video_element_proxy_caps()
43 gst_structure_get_name_id (gst_caps_get_structure (templ_caps, i)); in __gst_video_element_proxy_caps()
44 GstCapsFeatures *features = gst_caps_get_features (templ_caps, i); in __gst_video_element_proxy_caps()
93 GstCaps *templ_caps, *src_templ_caps; in __gst_video_element_proxy_getcaps() local
101 templ_caps = initial_caps ? gst_caps_ref (initial_caps) : in __gst_video_element_proxy_getcaps()
121 fcaps = templ_caps; in __gst_video_element_proxy_getcaps()
128 GST_LOG_OBJECT (element, "template caps %" GST_PTR_FORMAT, templ_caps); in __gst_video_element_proxy_getcaps()
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()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglstereosplit.c294 GstCaps *outcaps, *tmp, *templ_caps; in stereosplit_get_src_caps() local
298 templ_caps = gst_pad_get_pad_template_caps (pad); in stereosplit_get_src_caps()
301 templ_caps = gst_caps_make_writable (templ_caps); in stereosplit_get_src_caps()
312 gst_caps_set_value (templ_caps, "multiview-mode", &list); in stereosplit_get_src_caps()
319 gst_caps_unref (templ_caps); in stereosplit_get_src_caps()
323 outcaps = gst_caps_intersect_full (tmp, templ_caps, GST_CAPS_INTERSECT_FIRST); in stereosplit_get_src_caps()
325 gst_caps_unref (templ_caps); in stereosplit_get_src_caps()
810 GstCaps *filter, *left, *right, *combined, *ret, *templ_caps; in stereosplit_sink_query() local
835 templ_caps = gst_pad_get_pad_template_caps (split->left_pad); in stereosplit_sink_query()
837 gst_caps_intersect_full (combined, templ_caps, in stereosplit_sink_query()
[all …]
/third_party/gstreamer/gstplugins_base/tests/examples/encoding/
Dgstcapslist.c264 GstCaps *templ_caps; in gst_caps_list_compatible_codecs() local
266 templ_caps = gst_static_caps_get (&templ->static_caps); in gst_caps_list_compatible_codecs()
267 gst_caps_append (tmpcaps, gst_caps_copy (templ_caps)); in gst_caps_list_compatible_codecs()
/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Drsnparsetter.c189 GstCaps *templ_caps = gst_pad_get_pad_template_caps (pad); in rsn_parsetter_src_query() local
190 gst_query_set_caps_result (query, templ_caps); in rsn_parsetter_src_query()
191 gst_caps_unref (templ_caps); in rsn_parsetter_src_query()
/third_party/gstreamer/gstplugins_good/gst/interleave/
Ddeinterleave.c539 GstCaps *templ_caps = gst_pad_get_pad_template_caps (pad); in gst_deinterleave_sink_acceptcaps() local
542 ret = gst_caps_can_intersect (templ_caps, caps); in gst_deinterleave_sink_acceptcaps()
543 gst_caps_unref (templ_caps); in gst_deinterleave_sink_acceptcaps()
601 GstCaps *templ_caps = gst_pad_get_pad_template_caps (ourpad); in gst_deinterleave_getcaps() local
603 ourcaps = gst_caps_copy (templ_caps); in gst_deinterleave_getcaps()
604 gst_caps_unref (templ_caps); in gst_deinterleave_getcaps()
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstsubtitleoverlay.c332 GstCaps *templ_caps = NULL; in _factory_filter() local
371 templ_caps = _get_sub_caps (factory); in _factory_filter()
373 if (is_renderer && have_video_sink && templ_caps) { in _factory_filter()
377 gst_plugin_feature_get_name (feature), templ_caps); in _factory_filter()
378 *subcaps = gst_caps_merge (*subcaps, templ_caps); in _factory_filter()
380 } else if (!is_renderer && !have_video_sink && templ_caps) { in _factory_filter()
384 gst_plugin_feature_get_name (feature), templ_caps); in _factory_filter()
385 *subcaps = gst_caps_merge (*subcaps, templ_caps); in _factory_filter()
388 if (templ_caps) in _factory_filter()
389 gst_caps_unref (templ_caps); in _factory_filter()
Dgstplaybin3.c4326 GstCaps *templ_caps;
4334 templ_caps = gst_static_pad_template_get_caps (l->data);
4336 if (!gst_caps_is_any (templ_caps)) {
4337 GST_PLAY_BIN3_FILTER_CAPS (filter, templ_caps);
4339 result = templ_caps;
4341 result = gst_caps_merge (result, templ_caps);
4343 gst_caps_unref (templ_caps);
Dgstplaybin2.c5265 GstCaps *templ_caps; in autoplug_query_caps() local
5273 templ_caps = gst_static_pad_template_get_caps (l->data); in autoplug_query_caps()
5275 if (!gst_caps_is_any (templ_caps)) { in autoplug_query_caps()
5276 GST_PLAY_BIN_FILTER_CAPS (filter, templ_caps); in autoplug_query_caps()
5278 result = templ_caps; in autoplug_query_caps()
5280 result = gst_caps_merge (result, templ_caps); in autoplug_query_caps()
5282 gst_caps_unref (templ_caps); in autoplug_query_caps()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsasrc.c319 GstCaps *caps, *templ_caps; in gst_alsasrc_getcaps() local
341 templ_caps = gst_pad_template_get_caps (pad_template); in gst_alsasrc_getcaps()
342 GST_INFO_OBJECT (src, "template caps %" GST_PTR_FORMAT, templ_caps); in gst_alsasrc_getcaps()
345 src->device, src->handle, templ_caps); in gst_alsasrc_getcaps()
346 gst_caps_unref (templ_caps); in gst_alsasrc_getcaps()
Dgstalsasink.c287 GstCaps *caps, *templ_caps; in gst_alsasink_getcaps() local
321 templ_caps = gst_pad_template_get_caps (pad_template); in gst_alsasink_getcaps()
323 sink->handle, templ_caps); in gst_alsasink_getcaps()
324 gst_caps_unref (templ_caps); in gst_alsasink_getcaps()
/third_party/gstreamer/gstplugins_bad/sys/decklink/
Dgstdecklinkvideosink.cpp302 GstCaps *templ_caps; in gst_decklink_video_sink_class_init() local
410 templ_caps = gst_decklink_mode_get_template_caps (FALSE); in gst_decklink_video_sink_class_init()
411 templ_caps = gst_caps_make_writable (templ_caps); in gst_decklink_video_sink_class_init()
413 gst_caps_map_in_place (templ_caps, reset_framerate, NULL); in gst_decklink_video_sink_class_init()
415 gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, templ_caps)); in gst_decklink_video_sink_class_init()
416 gst_caps_unref (templ_caps); in gst_decklink_video_sink_class_init()
Dgstdecklinkvideosrc.cpp255 GstCaps *templ_caps; in gst_decklink_video_src_class_init() local
377 templ_caps = gst_decklink_mode_get_template_caps (TRUE); in gst_decklink_video_src_class_init()
379 gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS, templ_caps)); in gst_decklink_video_src_class_init()
380 gst_caps_unref (templ_caps); in gst_decklink_video_src_class_init()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstghostpad.c686 GstCaps *templ_caps, *caps1, *caps2; in GST_START_TEST() local
691 templ_caps = gst_caps_from_string ("meh; muh"); in GST_START_TEST()
693 GST_PAD_ALWAYS, templ_caps); in GST_START_TEST()
694 gst_caps_unref (templ_caps); in GST_START_TEST()
696 templ_caps = gst_caps_from_string ("muh; meh"); in GST_START_TEST()
698 GST_PAD_ALWAYS, templ_caps); in GST_START_TEST()
699 gst_caps_unref (templ_caps); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/ext/x265/
Dgstx265enc.c354 GstCaps *templ_caps, *supported_incaps; in gst_x265_enc_sink_getcaps() local
362 templ_caps = gst_pad_get_pad_template_caps (GST_VIDEO_ENCODER_SINK_PAD (enc)); in gst_x265_enc_sink_getcaps()
365 GST_LOG_OBJECT (enc, "template caps %" GST_PTR_FORMAT, templ_caps); in gst_x265_enc_sink_getcaps()
370 supported_incaps = templ_caps; in gst_x265_enc_sink_getcaps()
374 gst_caps_unref (templ_caps); in gst_x265_enc_sink_getcaps()
404 supported_incaps = templ_caps; in gst_x265_enc_sink_getcaps()
439 gst_caps_unref (templ_caps); in gst_x265_enc_sink_getcaps()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbasetransform.c1091 GstCaps *intersect, *templ_caps; in gst_base_transform_find_transform() local
1093 templ_caps = gst_pad_get_pad_template_caps (otherpad); in gst_base_transform_find_transform()
1095 "intersecting against padtemplate %" GST_PTR_FORMAT, templ_caps); in gst_base_transform_find_transform()
1098 gst_caps_intersect_full (othercaps, templ_caps, in gst_base_transform_find_transform()
1102 gst_caps_unref (templ_caps); in gst_base_transform_find_transform()
1121 GstCaps *peercaps, *intersection, *templ_caps; in gst_base_transform_find_transform() local
1129 templ_caps = gst_pad_get_pad_template_caps (otherpad); in gst_base_transform_find_transform()
1132 "Intersecting with template caps %" GST_PTR_FORMAT, templ_caps); in gst_base_transform_find_transform()
1135 gst_caps_intersect_full (peercaps, templ_caps, in gst_base_transform_find_transform()
1140 gst_caps_unref (templ_caps); in gst_base_transform_find_transform()
/third_party/gstreamer/gstplugins_good/gst/auparse/
Dgstauparse.c354 GstCaps *templ_caps = gst_pad_get_pad_template_caps (auparse->srcpad); in gst_au_parse_parse_header() local
362 intersection = gst_caps_intersect (tempcaps, templ_caps); in gst_au_parse_parse_header()
364 gst_caps_unref (templ_caps); in gst_au_parse_parse_header()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/audio/
Dgstnonstreamaudiodecoder.c2230 GstCaps *templ_caps; in gst_nonstream_audio_decoder_set_output_format() local
2242 templ_caps = gst_pad_get_pad_template_caps (dec->srcpad); in gst_nonstream_audio_decoder_set_output_format()
2243 caps_ok = gst_caps_is_subset (caps, templ_caps); in gst_nonstream_audio_decoder_set_output_format()
2254 GST_PTR_FORMAT, (gpointer) caps, (gpointer) templ_caps); in gst_nonstream_audio_decoder_set_output_format()
2260 gst_caps_unref (templ_caps); in gst_nonstream_audio_decoder_set_output_format()
/third_party/gstreamer/gstplugins_bad/gst/aiff/
Daiffparse.c1002 GstCaps *templ_caps = gst_pad_get_pad_template_caps (aiff->sinkpad); in gst_aiff_parse_stream_headers() local
1004 GST_TAG_CONTAINER_FORMAT, templ_caps); in gst_aiff_parse_stream_headers()
1005 gst_caps_unref (templ_caps); in gst_aiff_parse_stream_headers()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamcvideodec.c1897 GstCaps *templ_caps = gst_pad_get_pad_template_caps (src_pad); in gst_amc_video_dec_set_format() local
1898 GstCaps *downstream_caps = gst_pad_peer_query_caps (src_pad, templ_caps); in gst_amc_video_dec_set_format()
1900 gst_caps_unref (templ_caps); in gst_amc_video_dec_set_format()
/third_party/gstreamer/gstplugins_good/gst/wavparse/
Dgstwavparse.c1257 GstCaps *templ_caps = gst_pad_get_pad_template_caps (wav->sinkpad); in gst_wavparse_stream_headers() local
1259 GST_TAG_CONTAINER_FORMAT, templ_caps); in gst_wavparse_stream_headers()
1260 gst_caps_unref (templ_caps); in gst_wavparse_stream_headers()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux.c15202 GstCaps *templ_caps = local
15204 GstCaps *intersection = gst_caps_intersect (caps, templ_caps);
15206 gst_caps_unref (templ_caps);