Lines Matching refs:template_caps
248 GstCaps *template_caps, *caps; in gst_nv_h265_enc_getcaps() local
254 template_caps = gst_pad_get_pad_template_caps (enc->sinkpad); in gst_nv_h265_enc_getcaps()
255 supported_incaps = gst_caps_copy (template_caps); in gst_nv_h265_enc_getcaps()
259 GST_LOG_OBJECT (enc, " template caps %" GST_PTR_FORMAT, template_caps); in gst_nv_h265_enc_getcaps()
260 caps = gst_caps_intersect (template_caps, supported_incaps); in gst_nv_h265_enc_getcaps()
261 gst_caps_unref (template_caps); in gst_nv_h265_enc_getcaps()
356 GstCaps *allowed_caps, *template_caps; in gst_nv_h265_enc_set_encoder_config() local
360 template_caps = gst_static_pad_template_get_caps (&src_factory); in gst_nv_h265_enc_set_encoder_config()
363 if (template_caps == allowed_caps) { in gst_nv_h265_enc_set_encoder_config()
372 gst_caps_unref (template_caps); in gst_nv_h265_enc_set_encoder_config()
397 gst_caps_unref (template_caps); in gst_nv_h265_enc_set_encoder_config()