/third_party/gstreamer/gstplugins_bad/sys/msdk/ |
D | gstmsdkmpeg2enc.c | 75 GstCaps *allowed_caps = NULL; in gst_msdkmpeg2enc_set_format() local 80 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_msdkmpeg2enc_set_format() 83 if (allowed_caps == template_caps) { in gst_msdkmpeg2enc_set_format() 86 } else if (allowed_caps) { in gst_msdkmpeg2enc_set_format() 90 if (gst_caps_is_empty (allowed_caps)) { in gst_msdkmpeg2enc_set_format() 91 gst_caps_unref (allowed_caps); in gst_msdkmpeg2enc_set_format() 96 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_msdkmpeg2enc_set_format() 97 allowed_caps = gst_caps_fixate (allowed_caps); in gst_msdkmpeg2enc_set_format() 98 s = gst_caps_get_structure (allowed_caps, 0); in gst_msdkmpeg2enc_set_format() 113 gst_caps_unref (allowed_caps); in gst_msdkmpeg2enc_set_format()
|
D | gstmsdkvp9enc.c | 93 GstCaps *allowed_caps = NULL; in gst_msdkvp9enc_set_format() local 97 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_msdkvp9enc_set_format() 100 if (allowed_caps == template_caps) { in gst_msdkvp9enc_set_format() 103 } else if (allowed_caps) { in gst_msdkvp9enc_set_format() 107 if (gst_caps_is_empty (allowed_caps)) { in gst_msdkvp9enc_set_format() 108 gst_caps_unref (allowed_caps); in gst_msdkvp9enc_set_format() 113 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_msdkvp9enc_set_format() 114 allowed_caps = gst_caps_fixate (allowed_caps); in gst_msdkvp9enc_set_format() 115 s = gst_caps_get_structure (allowed_caps, 0); in gst_msdkvp9enc_set_format() 132 gst_caps_unref (allowed_caps); in gst_msdkvp9enc_set_format()
|
D | gstmsdkh264enc.c | 256 GstCaps *allowed_caps = NULL; in gst_msdkh264enc_set_format() local 262 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_msdkh264enc_set_format() 265 if (allowed_caps == template_caps) { in gst_msdkh264enc_set_format() 268 } else if (allowed_caps) { in gst_msdkh264enc_set_format() 273 if (gst_caps_is_empty (allowed_caps)) { in gst_msdkh264enc_set_format() 274 gst_caps_unref (allowed_caps); in gst_msdkh264enc_set_format() 279 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_msdkh264enc_set_format() 280 allowed_caps = gst_caps_fixate (allowed_caps); in gst_msdkh264enc_set_format() 281 s = gst_caps_get_structure (allowed_caps, 0); in gst_msdkh264enc_set_format() 303 gst_caps_unref (allowed_caps); in gst_msdkh264enc_set_format()
|
D | gstmsdkh265enc.c | 371 GstCaps *template_caps, *allowed_caps; in gst_msdkh265enc_set_format() local 376 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_msdkh265enc_set_format() 378 if (!allowed_caps || gst_caps_is_empty (allowed_caps)) { in gst_msdkh265enc_set_format() 379 if (allowed_caps) in gst_msdkh265enc_set_format() 380 gst_caps_unref (allowed_caps); in gst_msdkh265enc_set_format() 386 if (gst_caps_is_equal (allowed_caps, template_caps)) { in gst_msdkh265enc_set_format() 393 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_msdkh265enc_set_format() 394 allowed_caps = gst_caps_fixate (allowed_caps); in gst_msdkh265enc_set_format() 395 s = gst_caps_get_structure (allowed_caps, 0); in gst_msdkh265enc_set_format() 403 gst_caps_unref (allowed_caps); in gst_msdkh265enc_set_format()
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstnvh264enc.c | 332 GstCaps *allowed_caps; in gst_nv_h264_enc_set_profile_and_level() local 369 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (nvenc)); in gst_nv_h264_enc_set_profile_and_level() 371 if (allowed_caps == NULL) in gst_nv_h264_enc_set_profile_and_level() 374 if (!gst_caps_can_intersect (allowed_caps, caps)) { in gst_nv_h264_enc_set_profile_and_level() 375 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_nv_h264_enc_set_profile_and_level() 376 allowed_caps = gst_caps_truncate (allowed_caps); in gst_nv_h264_enc_set_profile_and_level() 377 s2 = gst_caps_get_structure (allowed_caps, 0); in gst_nv_h264_enc_set_profile_and_level() 401 gst_caps_unref (allowed_caps); in gst_nv_h264_enc_set_profile_and_level() 447 GstCaps *allowed_caps, *template_caps; in gst_nv_h264_enc_set_encoder_config() local 456 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (h264enc)); in gst_nv_h264_enc_set_encoder_config() [all …]
|
D | gstnvh265enc.c | 504 GstCaps *allowed_caps, *template_caps; in gst_nv_h265_enc_set_encoder_config() local 513 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (h265enc)); in gst_nv_h265_enc_set_encoder_config() 515 if (template_caps == allowed_caps) { in gst_nv_h265_enc_set_encoder_config() 517 } else if (allowed_caps) { in gst_nv_h265_enc_set_encoder_config() 522 if (gst_caps_is_empty (allowed_caps)) { in gst_nv_h265_enc_set_encoder_config() 523 gst_caps_unref (allowed_caps); in gst_nv_h265_enc_set_encoder_config() 528 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_nv_h265_enc_set_encoder_config() 529 allowed_caps = gst_caps_fixate (allowed_caps); in gst_nv_h265_enc_set_encoder_config() 530 s = gst_caps_get_structure (allowed_caps, 0); in gst_nv_h265_enc_set_encoder_config() 551 gst_caps_unref (allowed_caps); in gst_nv_h265_enc_set_encoder_config()
|
/third_party/gstreamer/gstplugins_bad/ext/svthevcenc/ |
D | gstsvthevcenc.c | 355 GstCaps *allowed_caps; in gst_svthevc_enc_sink_getcaps() local 361 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (enc)); in gst_svthevc_enc_sink_getcaps() 363 if (!allowed_caps || gst_caps_is_empty (allowed_caps) in gst_svthevc_enc_sink_getcaps() 364 || gst_caps_is_any (allowed_caps)) { in gst_svthevc_enc_sink_getcaps() 370 GST_LOG_OBJECT (enc, "allowed caps %" GST_PTR_FORMAT, allowed_caps); in gst_svthevc_enc_sink_getcaps() 379 for (j = 0; j < gst_caps_get_size (allowed_caps); j++) { in gst_svthevc_enc_sink_getcaps() 380 const GstStructure *allowed_s = gst_caps_get_structure (allowed_caps, j); in gst_svthevc_enc_sink_getcaps() 445 if (allowed_caps) in gst_svthevc_enc_sink_getcaps() 446 gst_caps_unref (allowed_caps); in gst_svthevc_enc_sink_getcaps() 1033 GstCaps *allowed_caps; in gst_svthevc_enc_set_level_tier_and_profile() local [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudiofilter.c | 223 GstCaps * allowed_caps) in gst_audio_filter_class_add_pad_templates() argument 229 g_return_if_fail (GST_IS_CAPS (allowed_caps)); in gst_audio_filter_class_add_pad_templates() 232 allowed_caps); in gst_audio_filter_class_add_pad_templates() 236 allowed_caps); in gst_audio_filter_class_add_pad_templates()
|
/third_party/gstreamer/gstplugins_bad/ext/fdkaac/ |
D | gstfdkaacenc.c | 199 GstCaps *allowed_caps; in gst_fdkaacenc_set_format() local 215 allowed_caps = gst_pad_get_allowed_caps (GST_AUDIO_ENCODER_SRC_PAD (self)); in gst_fdkaacenc_set_format() 217 GST_DEBUG_OBJECT (self, "allowed caps: %" GST_PTR_FORMAT, allowed_caps); in gst_fdkaacenc_set_format() 219 if (allowed_caps && gst_caps_get_size (allowed_caps) > 0) { in gst_fdkaacenc_set_format() 220 GstStructure *s = gst_caps_get_structure (allowed_caps, 0); in gst_fdkaacenc_set_format() 238 if (allowed_caps) in gst_fdkaacenc_set_format() 239 gst_caps_unref (allowed_caps); in gst_fdkaacenc_set_format()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | jpegenc.c | 189 GstCaps *allowed_caps; in GST_START_TEST() local 206 allowed_caps = gst_pad_get_allowed_caps (mysrcpad); in GST_START_TEST() 212 fail_unless (gst_caps_can_intersect (allowed_caps, caps)); in GST_START_TEST() 220 gst_caps_unref (allowed_caps); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/ext/openh264/ |
D | gstopenh264enc.cpp | 689 gst_openh264enc_get_level_from_caps (GstCaps *outcaps, GstCaps *allowed_caps) in gst_openh264enc_get_level_from_caps() argument 692 …const gchar * level = gst_structure_get_string (gst_caps_get_structure (allowed_caps, 0), "level"); in gst_openh264enc_get_level_from_caps() 702 gst_openh264enc_get_profile_from_caps (GstCaps *outcaps, GstCaps *allowed_caps) in gst_openh264enc_get_profile_from_caps() argument 705 GstStructure *allowed_s = gst_caps_get_structure (allowed_caps, 0); in gst_openh264enc_get_profile_from_caps() 740 GstCaps *allowed_caps = NULL; in gst_openh264enc_set_format() local 770 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_openh264enc_set_format() 771 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_openh264enc_set_format() 772 allowed_caps = gst_caps_fixate (allowed_caps); in gst_openh264enc_set_format() 806 …ams.sSpatialLayers[0].uiProfileIdc = gst_openh264enc_get_profile_from_caps (outcaps, allowed_caps); in gst_openh264enc_set_format() 807 …tialLayers[0].uiLevelIdc = (ELevelIdc) gst_openh264enc_get_level_from_caps (outcaps, allowed_caps); in gst_openh264enc_set_format() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/ |
D | gstmfh264enc.cpp | 792 GstCaps *allowed_caps, *template_caps; in gst_mf_h264_enc_set_option() local 802 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (self)); in gst_mf_h264_enc_set_option() 804 if (template_caps == allowed_caps) { in gst_mf_h264_enc_set_option() 806 } else if (allowed_caps) { in gst_mf_h264_enc_set_option() 811 if (gst_caps_is_empty (allowed_caps)) { in gst_mf_h264_enc_set_option() 812 gst_caps_unref (allowed_caps); in gst_mf_h264_enc_set_option() 817 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_mf_h264_enc_set_option() 818 allowed_caps = gst_caps_fixate (allowed_caps); in gst_mf_h264_enc_set_option() 819 s = gst_caps_get_structure (allowed_caps, 0); in gst_mf_h264_enc_set_option() 845 gst_caps_unref (allowed_caps); in gst_mf_h264_enc_set_option()
|
/third_party/gstreamer/gstplugins_bad/ext/x265/ |
D | gstx265enc.c | 1082 GstCaps *allowed_caps; in gst_x265_enc_set_level_tier_and_profile() local 1114 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_x265_enc_set_level_tier_and_profile() 1116 if (allowed_caps == NULL) in gst_x265_enc_set_level_tier_and_profile() 1119 if (!gst_caps_can_intersect (allowed_caps, caps)) { in gst_x265_enc_set_level_tier_and_profile() 1125 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_x265_enc_set_level_tier_and_profile() 1126 allowed_caps = gst_caps_truncate (allowed_caps); in gst_x265_enc_set_level_tier_and_profile() 1127 s2 = gst_caps_get_structure (allowed_caps, 0); in gst_x265_enc_set_level_tier_and_profile() 1141 gst_caps_unref (allowed_caps); in gst_x265_enc_set_level_tier_and_profile() 1337 GstCaps *allowed_caps = NULL; in gst_x265_enc_set_format() local 1364 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_x265_enc_set_format() [all …]
|
/third_party/gstreamer/gstplugins_good/tests/icles/ |
D | videocrop-test.c | 138 const GstCaps *allowed_caps; in video_crop_get_test_caps() local 145 allowed_caps = gst_pad_get_pad_template_caps (srcpad); in video_crop_get_test_caps() 146 g_assert (allowed_caps != NULL); in video_crop_get_test_caps() 148 for (i = 0; i < gst_caps_get_size (allowed_caps); ++i) { in video_crop_get_test_caps() 154 gst_structure_copy (gst_caps_get_structure (allowed_caps, i)); in video_crop_get_test_caps()
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavvidenc.c | 238 GstCaps *allowed_caps; in gst_ffmpegvidenc_set_format() local 322 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_ffmpegvidenc_set_format() 323 if (!allowed_caps) { in gst_ffmpegvidenc_set_format() 327 allowed_caps = in gst_ffmpegvidenc_set_format() 330 GST_DEBUG_OBJECT (ffmpegenc, "chose caps %" GST_PTR_FORMAT, allowed_caps); in gst_ffmpegvidenc_set_format() 332 oclass->in_plugin->type, allowed_caps, ffmpegenc->context); in gst_ffmpegvidenc_set_format() 336 gst_caps_unref (allowed_caps); in gst_ffmpegvidenc_set_format() 342 gst_caps_unref (allowed_caps); in gst_ffmpegvidenc_set_format() 350 gst_caps_unref (allowed_caps); in gst_ffmpegvidenc_set_format() 362 gst_caps_unref (allowed_caps); in gst_ffmpegvidenc_set_format() [all …]
|
D | gstavaudenc.c | 232 GstCaps *allowed_caps; in gst_ffmpegaudenc_set_format() local 272 allowed_caps = gst_pad_get_allowed_caps (GST_AUDIO_ENCODER_SRC_PAD (encoder)); in gst_ffmpegaudenc_set_format() 273 if (!allowed_caps) { in gst_ffmpegaudenc_set_format() 277 allowed_caps = in gst_ffmpegaudenc_set_format() 280 GST_DEBUG_OBJECT (ffmpegaudenc, "chose caps %" GST_PTR_FORMAT, allowed_caps); in gst_ffmpegaudenc_set_format() 282 oclass->in_plugin->type, allowed_caps, ffmpegaudenc->context); in gst_ffmpegaudenc_set_format() 286 gst_caps_unref (allowed_caps); in gst_ffmpegaudenc_set_format() 312 gst_caps_unref (allowed_caps); in gst_ffmpegaudenc_set_format() 321 icaps = gst_caps_intersect (allowed_caps, other_caps); in gst_ffmpegaudenc_set_format() 322 gst_caps_unref (allowed_caps); in gst_ffmpegaudenc_set_format()
|
/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | gstv4l2videoenc.c | 526 GstCaps *allowed_caps; in gst_v4l2_video_enc_negotiate() local 542 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_v4l2_video_enc_negotiate() 544 if (allowed_caps) { in gst_v4l2_video_enc_negotiate() 546 if (gst_caps_is_empty (allowed_caps)) in gst_v4l2_video_enc_negotiate() 549 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_v4l2_video_enc_negotiate() 554 if (gst_caps_foreach (allowed_caps, negotiate_profile_and_level, &ctx)) { in gst_v4l2_video_enc_negotiate() 558 gst_caps_unref (allowed_caps); in gst_v4l2_video_enc_negotiate() 559 allowed_caps = NULL; in gst_v4l2_video_enc_negotiate() 609 GST_PTR_FORMAT, allowed_caps); in gst_v4l2_video_enc_negotiate() 613 if (allowed_caps) in gst_v4l2_video_enc_negotiate() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/openjpeg/ |
D | gstopenjpegenc.c | 739 GstCaps *allowed_caps, *caps; in gst_openjpeg_enc_set_format() local 761 allowed_caps = gst_pad_peer_query_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder), in gst_openjpeg_enc_set_format() 765 if (gst_caps_is_empty (allowed_caps)) { in gst_openjpeg_enc_set_format() 766 gst_caps_unref (allowed_caps); in gst_openjpeg_enc_set_format() 773 allowed_caps = gst_caps_truncate (allowed_caps); in gst_openjpeg_enc_set_format() 774 s = gst_caps_get_structure (allowed_caps, 0); in gst_openjpeg_enc_set_format() 776 allowed_caps = in gst_openjpeg_enc_set_format() 778 allowed_caps = gst_caps_truncate (allowed_caps); in gst_openjpeg_enc_set_format() 780 s = gst_caps_get_structure (allowed_caps, 0); in gst_openjpeg_enc_set_format() 916 gst_caps_unref (allowed_caps); in gst_openjpeg_enc_set_format()
|
/third_party/gstreamer/gstplugins_bad/sys/decklink/ |
D | gstdecklinkaudiosrc.cpp | 346 GstCaps *allowed_caps, *caps; in gst_decklink_audio_src_start() local 356 allowed_caps = gst_pad_get_allowed_caps (GST_BASE_SRC_PAD (self)); in gst_decklink_audio_src_start() 357 if (!allowed_caps) in gst_decklink_audio_src_start() 358 allowed_caps = gst_pad_get_pad_template_caps (GST_BASE_SRC_PAD (self)); in gst_decklink_audio_src_start() 361 if (!gst_caps_is_empty (allowed_caps)) { in gst_decklink_audio_src_start() 364 allowed_caps = gst_caps_simplify (allowed_caps); in gst_decklink_audio_src_start() 366 s = gst_caps_get_structure (allowed_caps, 0); in gst_decklink_audio_src_start() 376 gst_caps_unref (allowed_caps); in gst_decklink_audio_src_start()
|
/third_party/gstreamer/gstplugins_good/ext/lame/ |
D | gstlamemp3enc.c | 851 GstCaps *allowed_caps; in gst_lamemp3enc_setup() local 866 allowed_caps = gst_pad_get_allowed_caps (GST_AUDIO_ENCODER_SRC_PAD (lame)); in gst_lamemp3enc_setup() 868 if (allowed_caps != NULL) { in gst_lamemp3enc_setup() 872 structure = gst_caps_get_structure (allowed_caps, 0); in gst_lamemp3enc_setup() 882 gst_caps_unref (allowed_caps); in gst_lamemp3enc_setup() 883 allowed_caps = NULL; in gst_lamemp3enc_setup()
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | vtenc.c | 804 GstCaps *allowed_caps = NULL; in gst_vtenc_negotiate_specific_format_details() local 807 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (enc)); in gst_vtenc_negotiate_specific_format_details() 808 if (allowed_caps) { in gst_vtenc_negotiate_specific_format_details() 811 if (gst_caps_is_empty (allowed_caps)) { in gst_vtenc_negotiate_specific_format_details() 816 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_vtenc_negotiate_specific_format_details() 817 allowed_caps = gst_caps_fixate (allowed_caps); in gst_vtenc_negotiate_specific_format_details() 818 s = gst_caps_get_structure (allowed_caps, 0); in gst_vtenc_negotiate_specific_format_details() 840 if (allowed_caps) in gst_vtenc_negotiate_specific_format_details() 841 gst_caps_unref (allowed_caps); in gst_vtenc_negotiate_specific_format_details()
|
/third_party/gstreamer/gstplugins_good/ext/twolame/ |
D | gsttwolamemp2enc.c | 736 GstCaps *allowed_caps; in gst_two_lame_setup() local 757 allowed_caps = gst_pad_get_allowed_caps (GST_AUDIO_ENCODER_SRC_PAD (twolame)); in gst_two_lame_setup() 759 if (allowed_caps != NULL) { in gst_two_lame_setup() 763 structure = gst_caps_get_structure (allowed_caps, 0); in gst_two_lame_setup() 773 gst_caps_unref (allowed_caps); in gst_two_lame_setup() 774 allowed_caps = NULL; in gst_two_lame_setup()
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/ |
D | gstamcvideoenc.c | 1361 GstCaps *allowed_caps = NULL; in gst_amc_video_enc_set_format() local 1415 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_amc_video_enc_set_format() 1416 if (!allowed_caps) { in gst_amc_video_enc_set_format() 1418 allowed_caps = in gst_amc_video_enc_set_format() 1421 GST_DEBUG_OBJECT (self, "chose caps %" GST_PTR_FORMAT, allowed_caps); in gst_amc_video_enc_set_format() 1422 allowed_caps = gst_caps_truncate (allowed_caps); in gst_amc_video_enc_set_format() 1424 format = create_amc_format (self, state, allowed_caps); in gst_amc_video_enc_set_format() 1463 if (allowed_caps) in gst_amc_video_enc_set_format() 1464 gst_caps_unref (allowed_caps); in gst_amc_video_enc_set_format()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtph264pay.c | 294 GstCaps *allowed_caps; in gst_rtp_h264_pay_getcaps() local 299 allowed_caps = in gst_rtp_h264_pay_getcaps() 302 if (allowed_caps == NULL) in gst_rtp_h264_pay_getcaps() 308 if (gst_caps_is_any (allowed_caps)) { in gst_rtp_h264_pay_getcaps() 313 if (gst_caps_is_empty (allowed_caps)) { in gst_rtp_h264_pay_getcaps() 314 caps = gst_caps_ref (allowed_caps); in gst_rtp_h264_pay_getcaps() 321 for (i = 0; i < gst_caps_get_size (allowed_caps); i++) { in gst_rtp_h264_pay_getcaps() 322 GstStructure *s = gst_caps_get_structure (allowed_caps, i); in gst_rtp_h264_pay_getcaps() 421 gst_caps_unref (allowed_caps); in gst_rtp_h264_pay_getcaps()
|
D | gstrtph265pay.c | 377 GstCaps *allowed_caps; in gst_rtp_h265_pay_getcaps() local 382 allowed_caps = in gst_rtp_h265_pay_getcaps() 385 if (allowed_caps == NULL) in gst_rtp_h265_pay_getcaps() 391 if (gst_caps_is_any (allowed_caps)) { in gst_rtp_h265_pay_getcaps() 396 if (gst_caps_is_empty (allowed_caps)) { in gst_rtp_h265_pay_getcaps() 397 caps = gst_caps_ref (allowed_caps); in gst_rtp_h265_pay_getcaps() 402 for (i = 0; i < gst_caps_get_size (allowed_caps); i++) { in gst_rtp_h265_pay_getcaps() 403 GstStructure *s = gst_caps_get_structure (allowed_caps, i); in gst_rtp_h265_pay_getcaps() 486 gst_caps_unref (allowed_caps); in gst_rtp_h265_pay_getcaps()
|