Lines Matching refs:allowed_caps
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()
1366 GST_DEBUG_OBJECT (encoder, "allowed caps %" GST_PTR_FORMAT, allowed_caps); in gst_x265_enc_set_format()
1370 if (allowed_caps && !gst_caps_is_equal (allowed_caps, template_caps)) { in gst_x265_enc_set_format()
1373 if (gst_caps_is_empty (allowed_caps)) { in gst_x265_enc_set_format()
1374 gst_caps_unref (allowed_caps); in gst_x265_enc_set_format()
1379 for (i = 0; i < gst_caps_get_size (allowed_caps); i++) { in gst_x265_enc_set_format()
1385 s = gst_caps_get_structure (allowed_caps, i); in gst_x265_enc_set_format()
1416 gst_clear_caps (&allowed_caps); in gst_x265_enc_set_format()