/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | gstv4l2.c | 137 GstCaps *src_caps, *sink_caps; in gst_v4l2_probe_and_register() local 176 src_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() 184 gst_caps_unref (src_caps); in gst_v4l2_probe_and_register() 192 GST_MINI_OBJECT_FLAG_SET (src_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 115 gst_static_caps_get (&src_template_caps), src_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() 116 GstCaps * src_caps) in gst_v4l2_h265_enc_register() argument 121 gst_static_caps_get (&src_template_caps), src_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() 116 GstCaps * src_caps) in gst_v4l2_vp8_enc_register() argument 121 gst_static_caps_get (&src_template_caps), src_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 118 gst_static_caps_get (&src_template_caps), src_caps); in gst_v4l2_jpeg_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 118 gst_static_caps_get (&src_template_caps), src_caps); in gst_v4l2_fwht_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() 137 GstCaps * src_caps) in gst_v4l2_h264_enc_register() argument 142 gst_static_caps_get (&src_template_caps), src_caps); in gst_v4l2_h264_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() 115 GstCaps * src_caps) in gst_v4l2_vp9_enc_register() argument 120 gst_static_caps_get (&src_template_caps), src_caps); in gst_v4l2_vp9_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() 115 GstCaps * src_caps) in gst_v4l2_mpeg4_enc_register() argument 120 gst_static_caps_get (&src_template_caps), src_caps); in gst_v4l2_mpeg4_enc_register()
|
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);
|
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 | gstv4l2vp8enc.h | 54 gboolean gst_v4l2_is_vp8_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_good/tests/check/elements/ |
D | parser.c | 146 GstCaps * src_caps) in setup_element() argument 160 gst_check_setup_events (srcpad, element, src_caps, GST_FORMAT_BYTES); in setup_element() 212 ptest->src_caps = ctx_input_caps; in gst_parser_test_init() 235 GstCaps *src_caps; in gst_parser_test_run() local 240 test->src_template, test->src_caps); in gst_parser_test_run() 295 src_caps = gst_pad_get_current_caps (sinkpad); in gst_parser_test_run() 296 GST_LOG ("output caps: %" GST_PTR_FORMAT, src_caps); in gst_parser_test_run() 299 GST_LOG ("%" GST_PTR_FORMAT " = %" GST_PTR_FORMAT " ?", src_caps, in gst_parser_test_run() 301 fail_unless (gst_caps_is_equal (src_caps, test->sink_caps)); in gst_parser_test_run() 305 *out_caps = src_caps; in gst_parser_test_run() [all …]
|
D | rtphdrext-colorspace.c | 70 GstCaps *src_caps, *caps, *expected_caps; in GST_START_TEST() local 94 src_caps = gst_caps_new_simple ("video/x-vp8", in GST_START_TEST() 99 gst_harness_set_src_caps (h, src_caps); in GST_START_TEST() 160 GstCaps *src_caps, *caps, *expected_caps; in GST_START_TEST() local 184 src_caps = gst_caps_new_simple ("video/x-vp8", in GST_START_TEST() 189 src_caps); in GST_START_TEST() 191 src_caps); in GST_START_TEST() 193 gst_harness_set_src_caps (h, src_caps); in GST_START_TEST()
|
D | mulawdec.c | 47 GstCaps *src_caps; in mulawdec_setup() local 49 src_caps = in mulawdec_setup() 63 gst_check_setup_events (mysrcpad, mulawdec, src_caps, GST_FORMAT_TIME); in mulawdec_setup() 65 gst_caps_unref (src_caps); in mulawdec_setup()
|
D | mulawenc.c | 47 GstCaps *src_caps; in mulawenc_setup() local 49 src_caps = gst_caps_from_string ("audio/x-raw," in mulawenc_setup() 64 gst_check_setup_events (mysrcpad, mulawenc, src_caps, GST_FORMAT_TIME); in mulawenc_setup() 65 gst_caps_unref (src_caps); in mulawenc_setup()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | parser.c | 141 GstCaps * src_caps) in setup_element() argument 161 gst_check_setup_events (srcpad, element, src_caps, GST_FORMAT_BYTES); in setup_element() 213 ptest->src_caps = ctx_input_caps; in gst_parser_test_init() 236 GstCaps *src_caps; in gst_parser_test_run() local 242 test->sink_template, NULL, test->src_template, test->src_caps); in gst_parser_test_run() 300 src_caps = gst_pad_get_current_caps (sinkpad); in gst_parser_test_run() 301 GST_LOG ("output caps: %" GST_PTR_FORMAT, src_caps); in gst_parser_test_run() 304 GST_LOG ("%" GST_PTR_FORMAT " = %" GST_PTR_FORMAT " ?", src_caps, in gst_parser_test_run() 306 fail_unless (gst_caps_is_equal (src_caps, test->sink_caps)); in gst_parser_test_run() 310 *out_caps = src_caps; in gst_parser_test_run() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/ |
D | gstmfmp3enc.cpp | 79 GstCaps *src_caps; member 150 cdata->src_caps)); in gst_mf_mp3_enc_class_init() 165 gst_caps_unref (cdata->src_caps); in gst_mf_mp3_enc_class_init() 422 GstCaps *src_caps; in gst_mf_mp3_enc_set_src_caps() local 440 src_caps = gst_caps_new_simple ("audio/mpeg", in gst_mf_mp3_enc_set_src_caps() 448 gst_audio_encoder_set_output_format (GST_AUDIO_ENCODER (self), src_caps); in gst_mf_mp3_enc_set_src_caps() 451 "Couldn't set output format %" GST_PTR_FORMAT, src_caps); in gst_mf_mp3_enc_set_src_caps() 453 gst_caps_unref (src_caps); in gst_mf_mp3_enc_set_src_caps() 461 GstCaps * sink_caps, GstCaps * src_caps, in gst_mf_mp3_enc_register() argument 484 cdata->src_caps = src_caps; in gst_mf_mp3_enc_register() [all …]
|
D | gstmfaacenc.cpp | 79 GstCaps *src_caps; member 150 cdata->src_caps)); in gst_mf_aac_enc_class_init() 165 gst_caps_unref (cdata->src_caps); in gst_mf_aac_enc_class_init() 439 GstCaps *src_caps; in gst_mf_aac_enc_set_src_caps() local 478 src_caps = gst_caps_new_simple ("audio/mpeg", in gst_mf_aac_enc_set_src_caps() 487 gst_codec_utils_aac_caps_set_level_and_profile (src_caps, in gst_mf_aac_enc_set_src_caps() 492 gst_audio_encoder_set_output_format (GST_AUDIO_ENCODER (self), src_caps); in gst_mf_aac_enc_set_src_caps() 495 "Couldn't set output format %" GST_PTR_FORMAT, src_caps); in gst_mf_aac_enc_set_src_caps() 497 gst_caps_unref (src_caps); in gst_mf_aac_enc_set_src_caps() 505 GstCaps * sink_caps, GstCaps * src_caps, in gst_mf_aac_enc_register() argument [all …]
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpisacdepay.c | 82 GstCaps *src_caps; in gst_rtp_isac_depay_setcaps() local 95 src_caps = gst_caps_new_simple ("audio/isac", in gst_rtp_isac_depay_setcaps() 98 ret = gst_pad_set_caps (GST_RTP_BASE_DEPAYLOAD_SRCPAD (depayload), src_caps); in gst_rtp_isac_depay_setcaps() 101 "set caps on source: %" GST_PTR_FORMAT " (ret=%d)", src_caps, ret); in gst_rtp_isac_depay_setcaps() 102 gst_caps_unref (src_caps); in gst_rtp_isac_depay_setcaps()
|
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/ |
D | gstjpeg2000parse.c | 341 GstCaps *src_caps = NULL; in gst_jpeg2000_parse_handle_frame() local 730 src_caps = in gst_jpeg2000_parse_handle_frame() 741 gst_caps_set_simple (src_caps, "num-stripes", G_TYPE_INT, num_stripes, in gst_jpeg2000_parse_handle_frame() 746 gst_caps_set_simple (src_caps, "main-level", G_TYPE_INT, main_level, in gst_jpeg2000_parse_handle_frame() 749 gst_caps_set_simple (src_caps, "sub-level", G_TYPE_INT, sub_level, in gst_jpeg2000_parse_handle_frame() 760 gst_caps_set_simple (src_caps, "colorimetry", G_TYPE_STRING, in gst_jpeg2000_parse_handle_frame() 766 gst_caps_set_simple (src_caps, "interlace-mode", G_TYPE_STRING, in gst_jpeg2000_parse_handle_frame() 772 gst_caps_set_simple (src_caps, "field-order", G_TYPE_STRING, in gst_jpeg2000_parse_handle_frame() 778 gst_caps_set_simple (src_caps, "multiview-mode", G_TYPE_STRING, in gst_jpeg2000_parse_handle_frame() 784 gst_caps_set_simple (src_caps, "chroma-site", G_TYPE_STRING, in gst_jpeg2000_parse_handle_frame() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/kate/ |
D | gstkateutil.c | 283 GstPad * tagpad, GstCaps ** src_caps, const kate_event ** ev) in gst_kate_util_decoder_base_chain_kate_packet() argument 337 if (src_caps) { in gst_kate_util_decoder_base_chain_kate_packet() 338 if (*src_caps) { in gst_kate_util_decoder_base_chain_kate_packet() 339 gst_caps_unref (*src_caps); in gst_kate_util_decoder_base_chain_kate_packet() 340 *src_caps = NULL; in gst_kate_util_decoder_base_chain_kate_packet() 344 *src_caps = gst_caps_new_empty_simple ("subpicture/x-dvd"); in gst_kate_util_decoder_base_chain_kate_packet() 346 *src_caps = gst_caps_new_simple ("text/x-raw", "format", in gst_kate_util_decoder_base_chain_kate_packet() 349 *src_caps = gst_caps_new_simple ("text/x-raw", "format", in gst_kate_util_decoder_base_chain_kate_packet() 352 GST_INFO_OBJECT (srcpad, "Setting caps: %" GST_PTR_FORMAT, *src_caps); in gst_kate_util_decoder_base_chain_kate_packet() 353 if (!gst_pad_set_caps (srcpad, *src_caps)) { in gst_kate_util_decoder_base_chain_kate_packet() [all …]
|
D | gstkatedec.c | 207 dec->src_caps = NULL; in gst_kate_dec_init() 371 GST_ELEMENT_CAST (kd), pad, buf, kd->srcpad, kd->srcpad, &kd->src_caps, in gst_kate_dec_chain() 397 gst_caps_replace (&kd->src_caps, NULL); in gst_kate_dec_change_state() 431 &kd->src_caps, &ev); in gst_kate_dec_set_caps() 445 &kd->src_caps, &ev); in gst_kate_dec_set_caps() 542 if (kd->src_caps) { in gst_kate_dec_src_query() 544 kd->src_caps); in gst_kate_dec_src_query() 545 caps = gst_caps_copy (kd->src_caps); in gst_kate_dec_src_query()
|
/third_party/gstreamer/gstplugins_bad/ext/fdkaac/ |
D | gstfdkaacenc.c | 200 GstCaps *src_caps; in gst_fdkaacenc_set_format() local 392 src_caps = gst_caps_new_simple ("audio/mpeg", in gst_fdkaacenc_set_format() 402 gst_caps_set_simple (src_caps, "codec_data", GST_TYPE_BUFFER, codec_data, in gst_fdkaacenc_set_format() 406 gst_caps_set_simple (src_caps, "stream-format", G_TYPE_STRING, "adif", in gst_fdkaacenc_set_format() 409 gst_caps_set_simple (src_caps, "stream-format", G_TYPE_STRING, "adts", in gst_fdkaacenc_set_format() 415 gst_codec_utils_aac_caps_set_level_and_profile (src_caps, enc_info.confBuf, in gst_fdkaacenc_set_format() 418 ret = gst_audio_encoder_set_output_format (enc, src_caps); in gst_fdkaacenc_set_format() 419 gst_caps_unref (src_caps); in gst_fdkaacenc_set_format()
|
/third_party/gstreamer/gstplugins_good/gst/icydemux/ |
D | gsticydemux.c | 131 gst_caps_replace (&(icydemux->src_caps), NULL); in gst_icydemux_reset() 237 if (icydemux->src_caps == NULL || in gst_icydemux_add_srcpad() 238 !gst_caps_is_equal (new_caps, icydemux->src_caps)) { in gst_icydemux_add_srcpad() 239 gst_caps_replace (&(icydemux->src_caps), new_caps); in gst_icydemux_add_srcpad() 242 icydemux->src_caps); in gst_icydemux_add_srcpad() 244 gst_pad_set_caps (icydemux->srcpad, icydemux->src_caps); in gst_icydemux_add_srcpad() 263 data.caps = icydemux->src_caps; in gst_icydemux_add_srcpad() 270 icydemux->src_caps); in gst_icydemux_add_srcpad()
|