Lines Matching refs:allowed_caps
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()
814 gst_clear_caps (&allowed_caps); in gst_openh264enc_set_format()