Home
last modified time | relevance | path

Searched refs:template_caps (Results 1 – 25 of 31) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglmixer.c258 GstCaps *template_caps; in gst_gl_mixer_pad_sink_acceptcaps() local
262 template_caps = gst_pad_get_pad_template_caps (pad); in gst_gl_mixer_pad_sink_acceptcaps()
263 template_caps = gst_caps_make_writable (template_caps); in gst_gl_mixer_pad_sink_acceptcaps()
265 ret = gst_caps_can_intersect (caps, template_caps); in gst_gl_mixer_pad_sink_acceptcaps()
268 gst_caps_unref (template_caps); in gst_gl_mixer_pad_sink_acceptcaps()
277 GstCaps *template_caps; in gst_gl_mixer_pad_sink_getcaps() local
281 template_caps = gst_pad_get_pad_template_caps (pad); 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()
297 returned_caps = gst_caps_intersect (filtered_caps, template_caps); in gst_gl_mixer_pad_sink_getcaps()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/nvenc/
Dgstnvh265enc.c248 GstCaps *template_caps, *caps; in gst_nv_h265_enc_getcaps() local
254 template_caps = gst_pad_get_pad_template_caps (enc->sinkpad); in gst_nv_h265_enc_getcaps()
255 supported_incaps = gst_caps_copy (template_caps); in gst_nv_h265_enc_getcaps()
259 GST_LOG_OBJECT (enc, " template caps %" GST_PTR_FORMAT, template_caps); in gst_nv_h265_enc_getcaps()
260 caps = gst_caps_intersect (template_caps, supported_incaps); in gst_nv_h265_enc_getcaps()
261 gst_caps_unref (template_caps); in gst_nv_h265_enc_getcaps()
356 GstCaps *allowed_caps, *template_caps; in gst_nv_h265_enc_set_encoder_config() local
360 template_caps = gst_static_pad_template_get_caps (&src_factory); in gst_nv_h265_enc_set_encoder_config()
363 if (template_caps == allowed_caps) { in gst_nv_h265_enc_set_encoder_config()
372 gst_caps_unref (template_caps); in gst_nv_h265_enc_set_encoder_config()
[all …]
Dgstnvh264enc.c292 GstCaps *template_caps, *caps; in gst_nv_h264_enc_getcaps() local
300 template_caps = gst_pad_get_pad_template_caps (enc->sinkpad); in gst_nv_h264_enc_getcaps()
301 supported_incaps = gst_caps_copy (template_caps); in gst_nv_h264_enc_getcaps()
310 GST_LOG_OBJECT (enc, " template caps %" GST_PTR_FORMAT, template_caps); in gst_nv_h264_enc_getcaps()
311 caps = gst_caps_intersect (template_caps, supported_incaps); in gst_nv_h264_enc_getcaps()
312 gst_caps_unref (template_caps); in gst_nv_h264_enc_getcaps()
453 GstCaps *allowed_caps, *template_caps; in gst_nv_h264_enc_set_encoder_config() local
458 template_caps = gst_static_pad_template_get_caps (&src_factory); in gst_nv_h264_enc_set_encoder_config()
461 if (template_caps == allowed_caps) { in gst_nv_h264_enc_set_encoder_config()
470 gst_caps_unref (template_caps); in gst_nv_h264_enc_set_encoder_config()
[all …]
Dgstnvbaseenc.c586 GstCaps *template_caps, *caps; in gst_nv_base_enc_getcaps() local
593 template_caps = gst_pad_get_pad_template_caps (enc->sinkpad); in gst_nv_base_enc_getcaps()
594 supported_incaps = gst_caps_copy (template_caps); in gst_nv_base_enc_getcaps()
603 GST_LOG_OBJECT (enc, " template caps %" GST_PTR_FORMAT, template_caps); in gst_nv_base_enc_getcaps()
604 caps = gst_caps_intersect (template_caps, supported_incaps); in gst_nv_base_enc_getcaps()
605 gst_caps_unref (template_caps); in gst_nv_base_enc_getcaps()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkmpeg2enc.c58 GstCaps *template_caps; in gst_msdkmpeg2enc_set_format() local
63 template_caps = gst_static_pad_template_get_caps (&src_factory); in gst_msdkmpeg2enc_set_format()
67 if (allowed_caps == template_caps) { in gst_msdkmpeg2enc_set_format()
76 gst_caps_unref (template_caps); in gst_msdkmpeg2enc_set_format()
100 gst_caps_unref (template_caps); in gst_msdkmpeg2enc_set_format()
Dgstmsdkvp8enc.c60 GstCaps *template_caps; in gst_msdkvp8enc_set_format() local
65 template_caps = gst_static_pad_template_get_caps (&src_factory); in gst_msdkvp8enc_set_format()
69 if (allowed_caps == template_caps) { in gst_msdkvp8enc_set_format()
78 gst_caps_unref (template_caps); in gst_msdkvp8enc_set_format()
104 gst_caps_unref (template_caps); in gst_msdkvp8enc_set_format()
Dgstmsdkh264enc.c212 GstCaps *template_caps; in gst_msdkh264enc_set_format() local
218 template_caps = gst_static_pad_template_get_caps (&src_factory); in gst_msdkh264enc_set_format()
222 if (allowed_caps == template_caps) { in gst_msdkh264enc_set_format()
232 gst_caps_unref (template_caps); in gst_msdkh264enc_set_format()
263 gst_caps_unref (template_caps); in gst_msdkh264enc_set_format()
/third_party/gstreamer/gstplugins_good/sys/osxaudio/
Dgstosxaudiodeviceprovider.c306 GstCaps *template_caps, *caps; in gst_osx_audio_device_new() local
316 template_caps = gst_static_pad_template_get_caps (&src_factory); in gst_osx_audio_device_new()
317 caps = gst_core_audio_probe_caps (core_audio, template_caps); in gst_osx_audio_device_new()
318 gst_caps_unref (template_caps); in gst_osx_audio_device_new()
325 template_caps = gst_static_pad_template_get_caps (&sink_factory); in gst_osx_audio_device_new()
326 caps = gst_core_audio_probe_caps (core_audio, template_caps); in gst_osx_audio_device_new()
327 gst_caps_unref (template_caps); in gst_osx_audio_device_new()
Dgstosxaudiosrc.c268 GstCaps *template_caps; in gst_osx_audio_src_get_caps() local
271 template_caps = in gst_osx_audio_src_get_caps()
275 caps = gst_core_audio_probe_caps (osxbuf->core_audio, template_caps); in gst_osx_audio_src_get_caps()
278 gst_caps_unref (template_caps); in gst_osx_audio_src_get_caps()
Dgstosxaudiosink.c344 GstCaps *template_caps; in gst_osx_audio_sink_getcaps() local
347 template_caps = in gst_osx_audio_sink_getcaps()
351 caps = gst_core_audio_probe_caps (osxbuf->core_audio, template_caps); in gst_osx_audio_sink_getcaps()
354 gst_caps_unref (template_caps); in gst_osx_audio_sink_getcaps()
/third_party/gstreamer/gstplugins_bad/sys/wasapi/
Dgstwasapisink.c339 GstCaps *template_caps; in gst_wasapi_sink_get_caps() local
342 template_caps = gst_pad_get_pad_template_caps (bsink->sinkpad); in gst_wasapi_sink_get_caps()
345 caps = template_caps; in gst_wasapi_sink_get_caps()
354 gst_caps_unref (template_caps); in gst_wasapi_sink_get_caps()
359 template_caps, &caps, &self->positions); in gst_wasapi_sink_get_caps()
362 gst_caps_unref (template_caps); in gst_wasapi_sink_get_caps()
375 gst_caps_unref (template_caps); in gst_wasapi_sink_get_caps()
Dgstwasapisrc.c337 GstCaps *template_caps; in gst_wasapi_src_get_caps() local
340 template_caps = gst_pad_get_pad_template_caps (bsrc->srcpad); in gst_wasapi_src_get_caps()
343 caps = template_caps; in gst_wasapi_src_get_caps()
352 gst_caps_unref (template_caps); in gst_wasapi_src_get_caps()
357 template_caps, &caps, &self->positions); in gst_wasapi_src_get_caps()
360 gst_caps_unref (template_caps); in gst_wasapi_src_get_caps()
373 gst_caps_unref (template_caps); in gst_wasapi_src_get_caps()
Dgstwasapiutil.h116 GstCaps * template_caps, GstCaps ** out_caps,
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dvideotestsrc.c259 GstCaps *template_caps; in GST_START_TEST() local
278 template_caps = gst_pad_get_pad_template_caps (srcpad); in GST_START_TEST()
283 GST_LOG ("videotestsrc src template caps: %" GST_PTR_FORMAT, template_caps); in GST_START_TEST()
294 if (gst_caps_is_subset (caps, template_caps)) { in GST_START_TEST()
360 gst_caps_unref (template_caps); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsa.h59 const GstCaps * template_caps);
Dgstalsa.c496 snd_pcm_t * handle, const GstCaps * template_caps) in gst_alsa_probe_supported_formats() argument
510 gst_caps_copy (template_caps), G_BYTE_ORDER); in gst_alsa_probe_supported_formats()
517 gst_caps_copy (template_caps), in gst_alsa_probe_supported_formats()
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstdisparity.cpp404 GstCaps *template_caps; in gst_disparity_handle_query() local
412 template_caps = gst_pad_get_pad_template_caps (pad); in gst_disparity_handle_query()
413 gst_query_set_caps_result (query, template_caps); in gst_disparity_handle_query()
414 gst_caps_unref (template_caps); in gst_disparity_handle_query()
/third_party/gstreamer/gstplugins_good/gst/videomixer/
Dvideomixer2.c526 GstCaps *template_caps; in gst_videomixer2_pad_sink_getcaps() local
533 template_caps = gst_pad_get_pad_template_caps (GST_PAD (mix->srcpad)); in gst_videomixer2_pad_sink_getcaps()
538 srccaps = template_caps; in gst_videomixer2_pad_sink_getcaps()
560 returned_caps = gst_caps_intersect (filtered_caps, template_caps); in gst_videomixer2_pad_sink_getcaps()
566 gst_caps_unref (template_caps); in gst_videomixer2_pad_sink_getcaps()
578 GstCaps *template_caps; in gst_videomixer2_pad_sink_acceptcaps() local
587 template_caps = gst_pad_get_pad_template_caps (GST_PAD (mix->srcpad)); in gst_videomixer2_pad_sink_acceptcaps()
590 accepted_caps = template_caps; in gst_videomixer2_pad_sink_acceptcaps()
612 modified_caps = gst_caps_intersect (accepted_caps, template_caps); in gst_videomixer2_pad_sink_acceptcaps()
621 gst_caps_unref (template_caps); in gst_videomixer2_pad_sink_acceptcaps()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph265pay.c270 GstCaps *template_caps; in gst_rtp_h265_pay_getcaps() local
282 template_caps = in gst_rtp_h265_pay_getcaps()
286 caps = gst_caps_ref (template_caps); in gst_rtp_h265_pay_getcaps()
363 icaps = gst_caps_intersect (caps, template_caps); in gst_rtp_h265_pay_getcaps()
379 gst_caps_unref (template_caps); in gst_rtp_h265_pay_getcaps()
Dgstrtph264pay.c224 GstCaps *template_caps; in gst_rtp_h264_pay_getcaps() local
236 template_caps = in gst_rtp_h264_pay_getcaps()
240 caps = gst_caps_ref (template_caps); in gst_rtp_h264_pay_getcaps()
336 icaps = gst_caps_intersect (caps, template_caps); in gst_rtp_h264_pay_getcaps()
349 gst_caps_unref (template_caps); in gst_rtp_h264_pay_getcaps()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideoaggregator.c1240 GstCaps *template_caps, *sink_template_caps; in gst_video_aggregator_pad_sink_getcaps() local
1250 template_caps = gst_pad_get_pad_template_caps (srcpad); in gst_video_aggregator_pad_sink_getcaps()
1254 srccaps = gst_pad_peer_query_caps (srcpad, template_caps); in gst_video_aggregator_pad_sink_getcaps()
1300 gst_caps_unref (template_caps); in gst_video_aggregator_pad_sink_getcaps()
2383 GstCaps *template_caps; in gst_video_aggregator_pad_sink_acceptcaps() local
2393 template_caps = gst_pad_get_pad_template_caps (GST_PAD (agg->srcpad)); in gst_video_aggregator_pad_sink_acceptcaps()
2396 accepted_caps = template_caps; in gst_video_aggregator_pad_sink_acceptcaps()
2418 modified_caps = gst_caps_intersect (accepted_caps, template_caps); in gst_video_aggregator_pad_sink_acceptcaps()
2426 gst_caps_unref (template_caps); in gst_video_aggregator_pad_sink_acceptcaps()
/third_party/gstreamer/gstplugins_bad/ext/srtp/
Dgstsrtpdec.c1130 GstCaps *template_caps; in gst_srtp_dec_sink_query() local
1162 template_caps = gst_pad_get_pad_template_caps (otherpad); in gst_srtp_dec_sink_query()
1163 ret = gst_caps_intersect_full (other_caps, template_caps, in gst_srtp_dec_sink_query()
1166 gst_caps_unref (template_caps); in gst_srtp_dec_sink_query()
Dgstsrtpenc.c923 GstCaps *template_caps; in gst_srtp_enc_sink_query() local
949 template_caps = gst_pad_get_pad_template_caps (otherpad); in gst_srtp_enc_sink_query()
950 ret = gst_caps_intersect_full (other_caps, template_caps, in gst_srtp_enc_sink_query()
953 gst_caps_unref (template_caps); in gst_srtp_enc_sink_query()
/third_party/gstreamer/gstplugins_good/sys/directsound/
Dgstdirectsoundsink.c94 dsoundsink, const GstCaps * template_caps);
840 const GstCaps * template_caps) in gst_directsound_probe_supported_formats() argument
849 caps = gst_caps_copy (template_caps); in gst_directsound_probe_supported_formats()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstaggregator.c1014 GstCaps *downstream_caps, *template_caps, *caps = NULL; in gst_aggregator_update_src_caps() local
1017 template_caps = gst_pad_get_pad_template_caps (self->srcpad); in gst_aggregator_update_src_caps()
1018 downstream_caps = gst_pad_peer_query_caps (self->srcpad, template_caps); in gst_aggregator_update_src_caps()
1023 GST_PTR_FORMAT ")", downstream_caps, template_caps); in gst_aggregator_update_src_caps()
1046 if (!gst_caps_is_subset (caps, template_caps)) { in gst_aggregator_update_src_caps()
1052 GST_PTR_FORMAT, caps, template_caps); in gst_aggregator_update_src_caps()
1057 gst_caps_intersect_full (template_caps, caps, GST_CAPS_INTERSECT_FIRST); in gst_aggregator_update_src_caps()
1096 gst_caps_unref (template_caps); in gst_aggregator_update_src_caps()

12