Lines Matching refs:nvenc
87 static gboolean gst_nv_h265_enc_set_src_caps (GstNvBaseEnc * nvenc,
89 static gboolean gst_nv_h265_enc_set_encoder_config (GstNvBaseEnc * nvenc,
91 static gboolean gst_nv_h265_enc_set_pic_params (GstNvBaseEnc * nvenc,
271 gst_nv_h265_enc_init (GstNvH265Enc * nvenc) in gst_nv_h265_enc_init() argument
273 GstNvBaseEnc *baseenc = GST_NV_BASE_ENC (nvenc); in gst_nv_h265_enc_init()
275 nvenc->aud = DEFAULT_AUD; in gst_nv_h265_enc_init()
354 gst_nv_h265_enc_set_level_tier_and_profile (GstNvH265Enc * nvenc, in gst_nv_h265_enc_set_level_tier_and_profile() argument
369 nv_ret = NvEncGetSequenceParams (GST_NV_BASE_ENC (nvenc)->encoder, &spp); in gst_nv_h265_enc_set_level_tier_and_profile()
371 GST_ELEMENT_ERROR (nvenc, STREAM, ENCODE, ("Encode header failed."), in gst_nv_h265_enc_set_level_tier_and_profile()
377 GST_ELEMENT_ERROR (nvenc, STREAM, ENCODE, ("Encode header failed."), in gst_nv_h265_enc_set_level_tier_and_profile()
394 gst_nv_h265_enc_set_src_caps (GstNvBaseEnc * nvenc, GstVideoCodecState * state) in gst_nv_h265_enc_set_src_caps() argument
396 GstNvH265Enc *h265enc = (GstNvH265Enc *) nvenc; in gst_nv_h265_enc_set_src_caps()
413 out_state = gst_video_encoder_set_output_state (GST_VIDEO_ENCODER (nvenc), in gst_nv_h265_enc_set_src_caps()
416 GST_INFO_OBJECT (nvenc, "output caps: %" GST_PTR_FORMAT, out_state->caps); in gst_nv_h265_enc_set_src_caps()
500 gst_nv_h265_enc_set_encoder_config (GstNvBaseEnc * nvenc, in gst_nv_h265_enc_set_encoder_config() argument
503 GstNvH265Enc *h265enc = (GstNvH265Enc *) nvenc; in gst_nv_h265_enc_set_encoder_config()
672 GstNvBaseEnc *nvenc = GST_NV_BASE_ENC (object); in gst_nv_h265_enc_set_property() local
693 nvenc->weighted_pred = g_value_get_boolean (value); in gst_nv_h265_enc_set_property()
701 nvenc->vbv_buffersize = g_value_get_uint (value); in gst_nv_h265_enc_set_property()
709 nvenc->rc_lookahead = g_value_get_uint (value); in gst_nv_h265_enc_set_property()
717 nvenc->temporal_aq = g_value_get_boolean (value); in gst_nv_h265_enc_set_property()
725 nvenc->bframes = g_value_get_uint (value); in gst_nv_h265_enc_set_property()
733 nvenc->b_adapt = g_value_get_boolean (value); in gst_nv_h265_enc_set_property()
750 GstNvBaseEnc *nvenc = GST_NV_BASE_ENC (object); in gst_nv_h265_enc_get_property() local
762 g_value_set_boolean (value, nvenc->weighted_pred); in gst_nv_h265_enc_get_property()
769 g_value_set_uint (value, nvenc->vbv_buffersize); in gst_nv_h265_enc_get_property()
776 g_value_set_uint (value, nvenc->rc_lookahead); in gst_nv_h265_enc_get_property()
783 g_value_set_boolean (value, nvenc->temporal_aq); in gst_nv_h265_enc_get_property()
790 g_value_set_uint (value, nvenc->bframes); in gst_nv_h265_enc_get_property()
797 g_value_set_boolean (value, nvenc->b_adapt); in gst_nv_h265_enc_get_property()