Lines Matching refs:allowed_caps
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
1069 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_svthevc_enc_set_level_tier_and_profile()
1071 if (allowed_caps == NULL) in gst_svthevc_enc_set_level_tier_and_profile()
1074 if (!gst_caps_can_intersect (allowed_caps, caps)) { in gst_svthevc_enc_set_level_tier_and_profile()
1080 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_svthevc_enc_set_level_tier_and_profile()
1081 allowed_caps = gst_caps_truncate (allowed_caps); in gst_svthevc_enc_set_level_tier_and_profile()
1082 s2 = gst_caps_get_structure (allowed_caps, 0); in gst_svthevc_enc_set_level_tier_and_profile()
1113 gst_caps_unref (allowed_caps); in gst_svthevc_enc_set_level_tier_and_profile()
1280 GstCaps *allowed_caps; in gst_svthevc_enc_set_format() local
1305 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_svthevc_enc_set_format()
1307 if (allowed_caps == template_caps) { in gst_svthevc_enc_set_format()
1325 gst_caps_unref (allowed_caps); in gst_svthevc_enc_set_format()
1326 } else if (allowed_caps) { in gst_svthevc_enc_set_format()
1332 GST_LOG_OBJECT (encoder, "allowed caps %" GST_PTR_FORMAT, allowed_caps); in gst_svthevc_enc_set_format()
1334 if (gst_caps_is_empty (allowed_caps)) { in gst_svthevc_enc_set_format()
1336 gst_caps_unref (allowed_caps); in gst_svthevc_enc_set_format()
1340 s = gst_caps_get_structure (allowed_caps, 0); in gst_svthevc_enc_set_format()
1395 gst_caps_unref (allowed_caps); in gst_svthevc_enc_set_format()
1410 gst_caps_unref (allowed_caps); in gst_svthevc_enc_set_format()