/third_party/gstreamer/gstreamer/plugins/elements/ |
D | gstcapsfilter.c | 97 GST_ELEMENT_REGISTER_DEFINE (capsfilter, "capsfilter", GST_RANK_NONE, 183 GstCapsFilter *capsfilter = GST_CAPS_FILTER (object); in gst_capsfilter_set_property() local 198 GST_OBJECT_LOCK (capsfilter); in gst_capsfilter_set_property() 199 old_caps = capsfilter->filter_caps; in gst_capsfilter_set_property() 200 capsfilter->filter_caps = new_caps; in gst_capsfilter_set_property() 201 if (old_caps && capsfilter->filter_caps_used && in gst_capsfilter_set_property() 202 capsfilter->caps_change_mode == in gst_capsfilter_set_property() 204 capsfilter->previous_caps = in gst_capsfilter_set_property() 205 g_list_prepend (capsfilter->previous_caps, gst_caps_ref (old_caps)); in gst_capsfilter_set_property() 206 } else if (capsfilter->caps_change_mode != in gst_capsfilter_set_property() [all …]
|
D | gstcoreelementselements.h | 29 GST_ELEMENT_REGISTER_DECLARE (capsfilter); 54 GST_ELEMENT_REGISTER_DECLARE (capsfilter);
|
D | gstcoreelementsplugin.c | 44 ret |= GST_ELEMENT_REGISTER (capsfilter, plugin); in plugin_init() 69 ret |= GST_ELEMENT_REGISTER (capsfilter, plugin); in plugin_init()
|
/third_party/gstreamer/gstplugins_base/tests/check/pipelines/ |
D | capsfilter-renegotiation.c | 45 GstElement *capsfilter = GST_ELEMENT (data); in buffer_probe() local 63 g_object_set (capsfilter, "caps", caps, NULL); in buffer_probe() 97 GstElement *capsfilter; in run_capsfilter_renegotiation() local 113 capsfilter = gst_bin_get_by_name (GST_BIN (pipeline), "cf"); in run_capsfilter_renegotiation() 114 fail_unless (capsfilter != NULL); in run_capsfilter_renegotiation() 120 gst_pad_add_probe (pad, GST_PAD_PROBE_TYPE_BUFFER, buffer_probe, capsfilter, in run_capsfilter_renegotiation() 143 gst_object_unref (capsfilter); in run_capsfilter_renegotiation()
|
/third_party/gstreamer/gstplugins_bad/gst/camerabin2/ |
D | gstdigitalzoom.c | 81 g_object_set (self->capsfilter, "caps", NULL, NULL); in gst_digital_zoom_update_crop() 126 g_object_get (self->capsfilter, "caps", &caps, NULL); in gst_digital_zoom_update_zoom() 216 g_object_get (self->capsfilter, "caps", &old_caps, NULL); in gst_digital_zoom_sink_event() 217 g_object_set (self->capsfilter, "caps", caps, NULL); in gst_digital_zoom_sink_event() 226 g_object_set (self->capsfilter, "caps", old_caps, NULL); in gst_digital_zoom_sink_event() 310 self->capsfilter = in gst_digital_zoom_create_elements() 312 if (self->capsfilter == NULL) in gst_digital_zoom_create_elements() 314 if (!gst_bin_add (GST_BIN_CAST (self), self->capsfilter)) in gst_digital_zoom_create_elements() 320 if (!gst_element_link_pads_full (self->videoscale, "src", self->capsfilter, in gst_digital_zoom_create_elements() 328 pad = gst_element_get_static_pad (self->capsfilter, "src"); in gst_digital_zoom_create_elements() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/icles/ |
D | input-selector-test.c | 108 GstElement *sink1_sync, *sink2_sync, *capsfilter; in main() local 121 capsfilter = gst_element_factory_make ("capsfilter", "caps0"); in main() 122 g_object_set (G_OBJECT (capsfilter), "caps", in main() 137 video_sink, sink1_sync, sink2_sync, capsfilter, NULL); in main() 140 gst_element_link (src2, capsfilter); in main() 141 gst_element_link (capsfilter, sink2_sync); in main()
|
D | test-overlay-blending.c | 229 GstElement *src, *q, *capsfilter, *sink; in main() local 259 capsfilter = gst_element_factory_make ("capsfilter", NULL); in main() 266 g_object_set (capsfilter, "caps", filter_caps, NULL); in main() 271 gst_bin_add_many (GST_BIN (pipeline), src, q, capsfilter, sink, NULL); in main() 273 gst_element_link_many (src, q, capsfilter, sink, NULL); in main()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | nvdec.c | 107 GstElement *capsfilter; in GST_START_TEST() local 117 capsfilter = gst_harness_find_element (h, "capsfilter"); in GST_START_TEST() 126 g_object_set (capsfilter, "caps", caps, NULL); in GST_START_TEST() 153 g_object_set (capsfilter, "caps", caps, NULL); in GST_START_TEST() 171 gst_object_unref (capsfilter); in GST_START_TEST()
|
D | assrender.c | 181 GstElement *appsrc, *videotestsrc, *capsfilter, *assrender, *fakesink; \ 195 capsfilter = gst_element_factory_make ("capsfilter", NULL); \ 196 fail_unless (capsfilter != NULL); \ 202 g_object_set (capsfilter, "caps", video_caps, NULL); \ 204 blocked_pad = gst_element_get_static_pad (capsfilter, "src"); \ 238 gst_bin_add_many (GST_BIN (pipeline), appsrc, videotestsrc, capsfilter, \ 242 fail_unless (gst_element_link_pads (videotestsrc, "src", capsfilter, "sink")); \ 243 fail_unless (gst_element_link_pads (capsfilter, "src", assrender, \
|
D | cudafilter.c | 30 GstElement *capsfilter; in test_buffer_meta_common() local 40 capsfilter = gst_harness_find_element (h, "capsfilter"); in test_buffer_meta_common() 52 g_object_set (capsfilter, "caps", caps, NULL); in test_buffer_meta_common() 54 gst_object_unref (capsfilter); in test_buffer_meta_common()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/nvcodec/ |
D | nvcodec.c | 39 GstElement *capsfilter; member 300 g_object_get (data->capsfilter, "caps", &caps, NULL); in resolution_change_probe() 305 g_object_set (data->capsfilter, "caps", caps, NULL); in resolution_change_probe() 321 GstElement *pipeline, *src, *convert, *capsfilter, *queue, *sink, *parse; in main() local 401 capsfilter = gst_element_factory_make ("capsfilter", NULL); in main() 411 gst_bin_add_many (GST_BIN (pipeline), capsfilter, queue, enc, parse, dec, in main() 419 convert, capsfilter, enc, parse, dec, queue, sink_convert, sink, NULL); in main() 422 convert, capsfilter, enc, parse, dec, queue, sink, NULL); in main() 432 g_object_set (G_OBJECT (capsfilter), "caps", caps, NULL); in main() 436 data.capsfilter = capsfilter; in main()
|
/third_party/gstreamer/gstplugins_base/tests/examples/dynamic/ |
D | codec-select.c | 52 GstElement *capsfilter; in make_encoder() local 64 capsfilter = gst_element_factory_make ("capsfilter", NULL); in make_encoder() 65 g_assert (capsfilter); in make_encoder() 66 g_object_set (capsfilter, "caps", caps, NULL); in make_encoder() 74 gst_bin_add (GST_BIN (result), capsfilter); in make_encoder() 78 gst_element_link_pads (audioresample, "src", capsfilter, "sink"); in make_encoder() 79 gst_element_link_pads (capsfilter, "src", identity, "sink"); in make_encoder()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/ipcpipeline/ |
D | ipcpipeline1.c | 102 GstElement *source, *ipcpipelinesink, *capsfilter; in start_source() local 111 capsfilter = gst_element_factory_make ("capsfilter", NULL); in start_source() 115 g_object_set (capsfilter, "caps", caps, NULL); in start_source() 121 gst_bin_add_many (GST_BIN (pipeline), source, capsfilter, ipcpipelinesink, in start_source() 123 gst_element_link_many (source, capsfilter, ipcpipelinesink, NULL); in start_source()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/audiomixmatrix/ |
D | test-audiomixmatrix.c | 76 GstElement *audiotestsrc, *capsfilter, *audiomixmatrix, *audioconvert, *sink; in main() local 90 capsfilter = gst_element_factory_make ("capsfilter", "capsfilter"); in main() 94 g_object_set (capsfilter, "caps", caps, NULL); in main() 150 gst_bin_add_many (GST_BIN (pipeline), audiotestsrc, capsfilter, in main() 152 gst_element_link_many (audiotestsrc, capsfilter, in main()
|
/third_party/gstreamer/gstplugins_good/tests/examples/v4l2/ |
D | v4l2src-renegotiate.c | 56 static GstElement *src, *capsfilter; variable 107 g_object_set (capsfilter, "caps", caps, NULL); in change_caps() 150 capsfilter = gst_bin_get_by_name (GST_BIN (pipeline), "cf"); in main() 169 gst_object_unref (capsfilter); in main()
|
/third_party/gstreamer/gstplugins_good/tests/icles/ |
D | gdkpixbufoverlay-test.c | 211 GstElement *src, *q, *capsfilter, *overlay, *sink; in main() local 248 capsfilter = gst_element_factory_make ("capsfilter", NULL); in main() 255 g_object_set (capsfilter, "caps", filter_caps, NULL); in main() 260 gst_bin_add_many (GST_BIN (pipeline), src, q, overlay, capsfilter, sink, in main() 263 gst_element_link_many (src, q, overlay, capsfilter, sink, NULL); in main()
|
/third_party/gstreamer/gstplugins_base/tests/examples/overlaycomposition/ |
D | overlaycomposition.c | 254 GstElement *src, *capsfilter, *overlay, *conv, *sink; in main() local 282 capsfilter = gst_element_factory_make ("capsfilter", NULL); in main() 292 if (!pipeline || !src || !capsfilter || !overlay || !conv || !sink) { in main() 297 gst_bin_add_many (GST_BIN (pipeline), src, capsfilter, overlay, conv, sink, in main() 299 if (!gst_element_link_many (src, capsfilter, overlay, conv, sink, NULL)) { in main() 310 g_object_set (capsfilter, "caps", filter_caps, NULL); in main()
|
/third_party/gstreamer/gstplugins_bad/ext/webrtc/ |
D | transportreceivebin.c | 315 GstElement *capsfilter; in transport_receive_bin_constructed() local 324 capsfilter = gst_element_factory_make ("capsfilter", NULL); in transport_receive_bin_constructed() 326 g_object_set (capsfilter, "caps", caps, NULL); in transport_receive_bin_constructed() 342 gst_bin_add (GST_BIN (receive), GST_ELEMENT (capsfilter)); in transport_receive_bin_constructed() 343 if (!gst_element_link_pads (capsfilter, "src", receive->queue, "sink")) in transport_receive_bin_constructed() 352 GST_ELEMENT (capsfilter), "sink")) in transport_receive_bin_constructed()
|
/third_party/gstreamer/gstplugins_base/gst/encoding/ |
D | gstsmartencoder.c | 178 GstElement *capsfilter; in setup_recoder_pipeline() local 222 capsfilter = gst_element_factory_make ("capsfilter", NULL); in setup_recoder_pipeline() 223 if (!gst_bin_add (GST_BIN (self), capsfilter)) { in setup_recoder_pipeline() 228 gst_element_sync_state_with_parent (capsfilter); in setup_recoder_pipeline() 229 if (!gst_element_link (self->encoder, capsfilter)) in setup_recoder_pipeline() 231 tmppad = gst_element_get_static_pad (capsfilter, "src"); in setup_recoder_pipeline() 779 GstElement *capsfilter = gst_element_factory_make ("capsfilter", NULL); in gst_smart_encoder_add_parser() local 782 gst_bin_add (GST_BIN (self), capsfilter); in gst_smart_encoder_add_parser() 783 g_object_set (capsfilter, "caps", format, NULL); in gst_smart_encoder_add_parser() 816 sinkpad = gst_element_get_static_pad (capsfilter, "sink"); in gst_smart_encoder_add_parser() [all …]
|
/third_party/gstreamer/gstreamer/tests/examples/streamiddemux/ |
D | streamiddemux-stream.c | 12 GstElement *capsfilter[NUM_STREAM]; member 162 app->capsfilter[stream_cnt] = gst_element_factory_make ("capsfilter", NULL); in main() 180 g_object_set (app->capsfilter[stream_cnt], "caps", caps, NULL); in main() 196 app->audioconvert[stream_cnt], app->capsfilter[stream_cnt], in main() 207 app->audioconvert[stream_cnt], app->capsfilter[stream_cnt], in main()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | deinterlace.c | 458 GstElement *deinterlace, *capsfilter; in deinterlace_set_caps_with_filter_and_check_result() local 469 capsfilter = gst_element_factory_make ("capsfilter", NULL); in deinterlace_set_caps_with_filter_and_check_result() 470 g_object_set (capsfilter, "caps", caps, NULL); in deinterlace_set_caps_with_filter_and_check_result() 473 fail_unless (gst_element_link (deinterlace, capsfilter)); in deinterlace_set_caps_with_filter_and_check_result() 478 srcpad = gst_element_get_static_pad (capsfilter, "src"); in deinterlace_set_caps_with_filter_and_check_result() 491 fail_unless (gst_element_set_state (capsfilter, in deinterlace_set_caps_with_filter_and_check_result() 521 fail_unless (gst_element_set_state (capsfilter, in deinterlace_set_caps_with_filter_and_check_result() 524 gst_object_unref (capsfilter); in deinterlace_set_caps_with_filter_and_check_result()
|
/third_party/gstreamer/gstplugins_base/tests/validate/compositor/ |
D | renogotiate_failing_unsupported_src_format.validatetest | 3 …"videotestsrc num-buffers=20 ! capsfilter caps=\"video/x-raw,format=I420\" ! capssetter name=cs ! … 4 videotestsrc num-buffers=20 ! capsfilter caps=\"video/x-raw,format=I420\" ! c.",
|
/third_party/gstreamer/gstplugins_good/tests/examples/equalizer/ |
D | demo.c | 165 GstElement *capsfilter, *equalizer, *spectrum, *sinkconvert, *sink; in main() local 209 capsfilter = gst_element_factory_make ("capsfilter", "capsfilter"); in main() 213 g_object_set (capsfilter, "caps", caps, NULL); in main() 226 gst_bin_add_many (GST_BIN (bin), decodebin, decconvert, capsfilter, equalizer, in main() 228 if (!gst_element_link_many (decconvert, capsfilter, equalizer, spectrum, in main()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | opus.c | 344 GstElement *capsfilter; in run_getcaps_check() local 350 capsfilter = gst_element_factory_make ("capsfilter", NULL); in run_getcaps_check() 352 fail_unless (gst_element_link (opusdec, capsfilter)); in run_getcaps_check() 355 g_object_set (capsfilter, "caps", downstream_caps, NULL); in run_getcaps_check() 370 gst_object_unref (capsfilter); in run_getcaps_check()
|
D | audiomixer.c | 62 setup_pipeline (GstElement * audiomixer, gint num_srcs, GstElement * capsfilter) in setup_pipeline() argument 75 if (capsfilter) { in setup_pipeline() 76 gst_bin_add (GST_BIN (pipeline), capsfilter); in setup_pipeline() 77 gst_element_link_many (audiomixer, capsfilter, sink, NULL); in setup_pipeline() 226 GstElement *pipeline, *audiomixer, *capsfilter; in GST_START_TEST() local 235 capsfilter = gst_element_factory_make ("capsfilter", NULL); in GST_START_TEST() 239 g_object_set (capsfilter, "caps", filter_caps, NULL); in GST_START_TEST() 240 pipeline = setup_pipeline (audiomixer, 1, capsfilter); in GST_START_TEST() 1837 GstElement * capsfilter) in change_src_caps() argument 1844 g_object_set (capsfilter, "caps", caps, NULL); in change_src_caps() [all …]
|