Home
last modified time | relevance | path

Searched refs:accepted_caps (Results 1 – 4 of 4) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst/encoding/
Dgstsmartencoder.c689 GstCaps *accepted_caps; in _pad_sink_acceptcaps() local
695 accepted_caps = gst_pad_get_current_caps (GST_PAD (self->srcpad)); in _pad_sink_acceptcaps()
696 if (accepted_caps == NULL) in _pad_sink_acceptcaps()
697 accepted_caps = gst_pad_get_pad_template_caps (GST_PAD (self->srcpad)); in _pad_sink_acceptcaps()
698 accepted_caps = gst_caps_make_writable (accepted_caps); in _pad_sink_acceptcaps()
700 GST_LOG_OBJECT (pad, "src caps %" GST_PTR_FORMAT, accepted_caps); in _pad_sink_acceptcaps()
702 n = gst_caps_get_size (accepted_caps); in _pad_sink_acceptcaps()
704 s = gst_caps_get_structure (accepted_caps, i); in _pad_sink_acceptcaps()
731 ret = gst_caps_can_intersect (modified_caps, accepted_caps); in _pad_sink_acceptcaps()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Ddecodebin.c394 GstCaps *accepted_caps; in gst_fake_h264_parser_sink_event() local
401 accepted_caps = gst_pad_get_allowed_caps (otherpad); in gst_fake_h264_parser_sink_event()
402 accepted_caps = gst_caps_truncate (accepted_caps); in gst_fake_h264_parser_sink_event()
404 s = gst_caps_get_structure (accepted_caps, 0); in gst_fake_h264_parser_sink_event()
409 gst_pad_set_caps (otherpad, accepted_caps); in gst_fake_h264_parser_sink_event()
410 gst_caps_unref (accepted_caps); in gst_fake_h264_parser_sink_event()
/third_party/gstreamer/gstplugins_good/gst/videomixer/
Dvideomixer2.c583 GstCaps *accepted_caps; in gst_videomixer2_pad_sink_acceptcaps() local
591 accepted_caps = gst_pad_get_current_caps (GST_PAD (mix->srcpad)); in gst_videomixer2_pad_sink_acceptcaps()
595 if (accepted_caps == NULL) { in gst_videomixer2_pad_sink_acceptcaps()
596 accepted_caps = template_caps; in gst_videomixer2_pad_sink_acceptcaps()
600 accepted_caps = gst_caps_make_writable (accepted_caps); in gst_videomixer2_pad_sink_acceptcaps()
602 GST_LOG_OBJECT (pad, "src caps %" GST_PTR_FORMAT, accepted_caps); in gst_videomixer2_pad_sink_acceptcaps()
604 n = gst_caps_get_size (accepted_caps); in gst_videomixer2_pad_sink_acceptcaps()
606 s = gst_caps_get_structure (accepted_caps, i); in gst_videomixer2_pad_sink_acceptcaps()
618 modified_caps = gst_caps_intersect (accepted_caps, template_caps); in gst_videomixer2_pad_sink_acceptcaps()
620 ret = gst_caps_can_intersect (caps, accepted_caps); in gst_videomixer2_pad_sink_acceptcaps()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideoaggregator.c2868 GstCaps *accepted_caps; in gst_video_aggregator_pad_sink_acceptcaps() local
2875 accepted_caps = gst_pad_get_current_caps (GST_PAD (agg->srcpad)); in gst_video_aggregator_pad_sink_acceptcaps()
2877 if (accepted_caps == NULL) in gst_video_aggregator_pad_sink_acceptcaps()
2878 accepted_caps = gst_pad_get_pad_template_caps (GST_PAD (agg->srcpad)); in gst_video_aggregator_pad_sink_acceptcaps()
2880 accepted_caps = gst_caps_make_writable (accepted_caps); in gst_video_aggregator_pad_sink_acceptcaps()
2882 GST_LOG_OBJECT (pad, "src caps %" GST_PTR_FORMAT, accepted_caps); in gst_video_aggregator_pad_sink_acceptcaps()
2884 n = gst_caps_get_size (accepted_caps); in gst_video_aggregator_pad_sink_acceptcaps()
2886 s = gst_caps_get_structure (accepted_caps, i); in gst_video_aggregator_pad_sink_acceptcaps()
2898 ret = gst_caps_can_intersect (caps, accepted_caps); in gst_video_aggregator_pad_sink_acceptcaps()
2901 gst_caps_unref (accepted_caps); in gst_video_aggregator_pad_sink_acceptcaps()