/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | gstv4l2.c | 137 GstCaps *src_caps, *sink_caps; in gst_v4l2_probe_and_register() local 170 sink_caps = gst_caps_merge (gst_v4l2_probe_template_caps (it->device_path, in gst_v4l2_probe_and_register() 182 if (gst_caps_is_empty (sink_caps) || gst_caps_is_empty (src_caps)) { in gst_v4l2_probe_and_register() 183 gst_caps_unref (sink_caps); in gst_v4l2_probe_and_register() 191 GST_MINI_OBJECT_FLAG_SET (sink_caps, GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED); in gst_v4l2_probe_and_register() 194 if (gst_v4l2_is_video_dec (sink_caps, src_caps)) { in gst_v4l2_probe_and_register() 196 video_fd, sink_caps, src_caps); in gst_v4l2_probe_and_register() 197 } else if (gst_v4l2_is_video_enc (sink_caps, src_caps, NULL)) { in gst_v4l2_probe_and_register() 198 if (gst_v4l2_is_fwht_enc (sink_caps, src_caps)) in gst_v4l2_probe_and_register() 200 sink_caps, src_caps); in gst_v4l2_probe_and_register() [all …]
|
D | gstv4l2h263enc.c | 103 gst_v4l2_is_h263_enc (GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_is_h263_enc() argument 105 return gst_v4l2_is_video_enc (sink_caps, src_caps, in gst_v4l2_is_h263_enc() 111 const gchar * device_path, GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_h263_enc_register() argument 114 "h263", basename, device_path, NULL, -1, sink_caps, in gst_v4l2_h263_enc_register()
|
D | gstv4l2h265enc.c | 107 gst_v4l2_is_h265_enc (GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_is_h265_enc() argument 109 return gst_v4l2_is_video_enc (sink_caps, src_caps, in gst_v4l2_is_h265_enc() 115 const gchar * device_path, gint video_fd, GstCaps * sink_caps, in gst_v4l2_h265_enc_register() argument 120 "h265", basename, device_path, codec, video_fd, sink_caps, in gst_v4l2_h265_enc_register()
|
D | gstv4l2vp8enc.c | 107 gst_v4l2_is_vp8_enc (GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_is_vp8_enc() argument 109 return gst_v4l2_is_video_enc (sink_caps, src_caps, in gst_v4l2_is_vp8_enc() 115 const gchar * device_path, gint video_fd, GstCaps * sink_caps, in gst_v4l2_vp8_enc_register() argument 120 "vp8", basename, device_path, codec, video_fd, sink_caps, in gst_v4l2_vp8_enc_register()
|
D | gstv4l2jpegenc.c | 106 gst_v4l2_is_jpeg_enc (GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_is_jpeg_enc() argument 108 return gst_v4l2_is_video_enc (sink_caps, src_caps, in gst_v4l2_is_jpeg_enc() 114 const gchar * device_path, GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_jpeg_enc_register() argument 117 "jpeg", basename, device_path, NULL, -1, sink_caps, in gst_v4l2_jpeg_enc_register()
|
D | gstv4l2vp9enc.c | 106 gst_v4l2_is_vp9_enc (GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_is_vp9_enc() argument 108 return gst_v4l2_is_video_enc (sink_caps, src_caps, in gst_v4l2_is_vp9_enc() 114 const gchar * device_path, gint video_fd, GstCaps * sink_caps, in gst_v4l2_vp9_enc_register() argument 119 "vp9", basename, device_path, codec, video_fd, sink_caps, in gst_v4l2_vp9_enc_register()
|
D | gstv4l2fwhtenc.c | 106 gst_v4l2_is_fwht_enc (GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_is_fwht_enc() argument 108 return gst_v4l2_is_video_enc (sink_caps, src_caps, in gst_v4l2_is_fwht_enc() 114 const gchar * device_path, GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_fwht_enc_register() argument 117 "fwht", basename, device_path, NULL, -1, sink_caps, in gst_v4l2_fwht_enc_register()
|
D | gstv4l2mpeg4enc.c | 106 gst_v4l2_is_mpeg4_enc (GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_is_mpeg4_enc() argument 108 return gst_v4l2_is_video_enc (sink_caps, src_caps, in gst_v4l2_is_mpeg4_enc() 114 const gchar * device_path, gint video_fd, GstCaps * sink_caps, in gst_v4l2_mpeg4_enc_register() argument 119 "mpeg4", basename, device_path, codec, video_fd, sink_caps, in gst_v4l2_mpeg4_enc_register()
|
D | gstv4l2h264enc.c | 128 gst_v4l2_is_h264_enc (GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_is_h264_enc() argument 130 return gst_v4l2_is_video_enc (sink_caps, src_caps, in gst_v4l2_is_h264_enc() 136 const gchar * device_path, gint video_fd, GstCaps * sink_caps, in gst_v4l2_h264_enc_register() argument 141 "h264", basename, device_path, codec, video_fd, sink_caps, in gst_v4l2_h264_enc_register()
|
D | gstv4l2videodec.c | 51 GstCaps *sink_caps; member 1116 cdata->sink_caps)); in gst_v4l2_video_dec_subclass_init() 1125 gst_caps_unref (cdata->sink_caps); in gst_v4l2_video_dec_subclass_init() 1132 gst_v4l2_is_video_dec (GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_is_video_dec() argument 1136 if (gst_caps_is_subset (sink_caps, gst_v4l2_object_get_codec_caps ()) in gst_v4l2_is_video_dec() 1222 const gchar * device_path, gint video_fd, GstCaps * sink_caps, in gst_v4l2_video_dec_register() argument 1227 for (i = 0; i < gst_caps_get_size (sink_caps); i++) { in gst_v4l2_video_dec_register() 1235 s = gst_caps_get_structure (sink_caps, i); in gst_v4l2_video_dec_register() 1239 cdata->sink_caps = gst_caps_new_empty (); in gst_v4l2_video_dec_register() 1240 gst_caps_append_structure (cdata->sink_caps, gst_structure_copy (s)); in gst_v4l2_video_dec_register() [all …]
|
D | gstv4l2jpegenc.h | 54 gboolean gst_v4l2_is_jpeg_enc (GstCaps * sink_caps, GstCaps * src_caps); 57 const gchar * device_path, GstCaps * sink_caps, GstCaps * src_caps);
|
D | gstv4l2h264enc.h | 54 gboolean gst_v4l2_is_h264_enc (GstCaps * sink_caps, GstCaps * src_caps); 57 const gchar * device_path, gint video_fd, GstCaps * sink_caps, GstCaps * src_caps);
|
D | gstv4l2h263enc.h | 54 gboolean gst_v4l2_is_h263_enc (GstCaps * sink_caps, GstCaps * src_caps); 57 const gchar * device_path, GstCaps * sink_caps, GstCaps * src_caps);
|
D | gstv4l2fwhtenc.h | 56 gboolean gst_v4l2_is_fwht_enc (GstCaps * sink_caps, GstCaps * src_caps); 59 const gchar * device_path, GstCaps * sink_caps, GstCaps * src_caps);
|
D | gstv4l2vp9enc.h | 54 gboolean gst_v4l2_is_vp9_enc (GstCaps * sink_caps, GstCaps * src_caps); 57 const gchar * device_path, gint video_fd, GstCaps * sink_caps, GstCaps * src_caps);
|
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/ |
D | gstmfmp3enc.cpp | 78 GstCaps *sink_caps; member 147 cdata->sink_caps)); in gst_mf_mp3_enc_class_init() 164 gst_caps_unref (cdata->sink_caps); in gst_mf_mp3_enc_class_init() 461 GstCaps * sink_caps, GstCaps * src_caps, in gst_mf_mp3_enc_register() argument 483 cdata->sink_caps = sink_caps; in gst_mf_mp3_enc_register() 521 gint channels, GstCaps ** sink_caps, GstCaps ** src_caps) in gst_mf_mp3_enc_create_template_caps() argument 570 if (*sink_caps == NULL) in gst_mf_mp3_enc_create_template_caps() 571 *sink_caps = sink; in gst_mf_mp3_enc_create_template_caps() 573 *sink_caps = gst_caps_merge (*sink_caps, sink); in gst_mf_mp3_enc_create_template_caps() 590 GstCaps *sink_caps = NULL; in gst_mf_mp3_enc_plugin_init_internal() local [all …]
|
D | gstmfaacenc.cpp | 78 GstCaps *sink_caps; member 147 cdata->sink_caps)); in gst_mf_aac_enc_class_init() 164 gst_caps_unref (cdata->sink_caps); in gst_mf_aac_enc_class_init() 505 GstCaps * sink_caps, GstCaps * src_caps, in gst_mf_aac_enc_register() argument 527 cdata->sink_caps = sink_caps; in gst_mf_aac_enc_register() 570 GstCaps *sink_caps = NULL; in gst_mf_aac_enc_plugin_init_internal() local 658 sink_caps = in gst_mf_aac_enc_plugin_init_internal() 684 gst_caps_set_value (sink_caps, "channels", &channles_value); in gst_mf_aac_enc_plugin_init_internal() 687 gst_caps_set_value (sink_caps, "rate", &rate_value); in gst_mf_aac_enc_plugin_init_internal() 689 GST_MINI_OBJECT_FLAG_SET (sink_caps, GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED); in gst_mf_aac_enc_plugin_init_internal() [all …]
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | parser.c | 140 GstCaps * sink_caps, GstStaticPadTemplate * src_template, in setup_element() argument 154 if (sink_caps) { in setup_element() 155 caps_str = gst_caps_to_string (sink_caps); in setup_element() 214 ptest->sink_caps = ctx_output_caps; in gst_parser_test_init() 288 vdata.caps = test->sink_caps; in gst_parser_test_run() 303 if (test->sink_caps) { in gst_parser_test_run() 305 test->sink_caps); in gst_parser_test_run() 306 fail_unless (gst_caps_is_equal (src_caps, test->sink_caps)); in gst_parser_test_run() 408 ptest.sink_caps = gst_caps_from_string (output_caps); in gst_parser_test_output_caps() 409 fail_unless (ptest.sink_caps != NULL); in gst_parser_test_output_caps() [all …]
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | parser.c | 145 GstCaps * sink_caps, GstStaticPadTemplate * src_template, in setup_element() argument 154 if (sink_caps) { in setup_element() 155 caps_str = gst_caps_to_string (sink_caps); in setup_element() 213 ptest->sink_caps = ctx_output_caps; in gst_parser_test_init() 283 vdata.caps = test->sink_caps; in gst_parser_test_run() 298 if (test->sink_caps) { in gst_parser_test_run() 300 test->sink_caps); in gst_parser_test_run() 301 fail_unless (gst_caps_is_equal (src_caps, test->sink_caps)); in gst_parser_test_run() 405 ptest.sink_caps = gst_caps_from_string (output_caps); in gst_parser_test_output_caps() 406 fail_unless (ptest.sink_caps != NULL); in gst_parser_test_output_caps() [all …]
|
D | amrparse.c | 182 ptest.sink_caps = gst_caps_from_string (SINK_CAPS_NB); in GST_START_TEST() 186 gst_caps_unref (ptest.sink_caps); in GST_START_TEST() 258 ptest.sink_caps = gst_caps_from_string (SINK_CAPS_WB); in GST_START_TEST() 262 gst_caps_unref (ptest.sink_caps); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/ |
D | gstpngparse.c | 203 GstCaps *caps, *sink_caps; in gst_png_parse_handle_frame() local 211 sink_caps = in gst_png_parse_handle_frame() 214 if (sink_caps) { in gst_png_parse_handle_frame() 218 st = gst_caps_get_structure (sink_caps, 0); in gst_png_parse_handle_frame() 228 gst_caps_unref (sink_caps); in gst_png_parse_handle_frame()
|
D | gsth263parse.c | 200 GstCaps *caps, *sink_caps; in gst_h263_parse_set_src_caps() local 214 sink_caps = gst_pad_get_current_caps (GST_BASE_PARSE_SINK_PAD (h263parse)); in gst_h263_parse_set_src_caps() 215 if (sink_caps && (st = gst_caps_get_structure (sink_caps, 0)) && in gst_h263_parse_set_src_caps() 283 if (sink_caps) in gst_h263_parse_set_src_caps() 284 gst_caps_unref (sink_caps); in gst_h263_parse_set_src_caps()
|
/third_party/gstreamer/gstplugins_bad/ext/opus/ |
D | gstopusparse.c | 374 GstCaps *sink_caps; in gst_opus_parse_parse_frame() local 389 sink_caps = gst_pad_get_current_caps (GST_BASE_PARSE_SINK_PAD (parse)); in gst_opus_parse_parse_frame() 390 if (!sink_caps in gst_opus_parse_parse_frame() 391 || !gst_codec_utils_opus_parse_caps (sink_caps, &sample_rate, in gst_opus_parse_parse_frame() 403 if (sink_caps) in gst_opus_parse_parse_frame() 404 gst_caps_unref (sink_caps); in gst_opus_parse_parse_frame()
|
/third_party/gstreamer/gstplugins_good/gst/id3demux/ |
D | gstid3demux.c | 173 GstCaps *sink_caps; in gst_id3demux_add_container_format() local 175 sink_caps = gst_static_pad_template_get_caps (&sink_factory); in gst_id3demux_add_container_format() 177 GST_TAG_CONTAINER_FORMAT, sink_caps); in gst_id3demux_add_container_format() 178 gst_caps_unref (sink_caps); in gst_id3demux_add_container_format()
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstnvvp9dec.c | 548 GstCaps *sink_caps; member 575 cdata->sink_caps)); in gst_nv_vp9_dec_subclass_init() 582 gst_caps_unref (cdata->sink_caps); in gst_nv_vp9_dec_subclass_init() 589 GstCaps * sink_caps, GstCaps * src_caps, gboolean is_primary) in gst_nv_vp9_dec_register() argument 606 cdata->sink_caps = gst_caps_copy (sink_caps); in gst_nv_vp9_dec_register() 607 gst_caps_set_simple (cdata->sink_caps, in gst_nv_vp9_dec_register() 609 GST_MINI_OBJECT_FLAG_SET (cdata->sink_caps, in gst_nv_vp9_dec_register()
|