• Home
  • Raw
  • Download

Lines Matching refs:nvenc

86 static gboolean gst_nv_h264_enc_set_src_caps (GstNvBaseEnc * nvenc,
88 static gboolean gst_nv_h264_enc_set_encoder_config (GstNvBaseEnc * nvenc,
90 static gboolean gst_nv_h264_enc_set_pic_params (GstNvBaseEnc * nvenc,
268 gst_nv_h264_enc_init (GstNvH264Enc * nvenc) in gst_nv_h264_enc_init() argument
270 GstNvBaseEnc *baseenc = GST_NV_BASE_ENC (nvenc); in gst_nv_h264_enc_init()
272 nvenc->aud = DEFAULT_AUD; in gst_nv_h264_enc_init()
325 gst_nv_h264_enc_set_profile_and_level (GstNvH264Enc * nvenc, GstCaps * caps) in gst_nv_h264_enc_set_profile_and_level() argument
344 nv_ret = NvEncGetSequenceParams (GST_NV_BASE_ENC (nvenc)->encoder, &spp); in gst_nv_h264_enc_set_profile_and_level()
346 GST_ELEMENT_ERROR (nvenc, STREAM, ENCODE, ("Encode header failed."), in gst_nv_h264_enc_set_profile_and_level()
352 GST_ELEMENT_ERROR (nvenc, STREAM, ENCODE, ("Encode header failed."), in gst_nv_h264_enc_set_profile_and_level()
369 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (nvenc)); in gst_nv_h264_enc_set_profile_and_level()
384 GST_INFO_OBJECT (nvenc, "downstream requested high profile, but " in gst_nv_h264_enc_set_profile_and_level()
392 GST_INFO_OBJECT (nvenc, "downstream requested main profile, but " in gst_nv_h264_enc_set_profile_and_level()
411 gst_nv_h264_enc_set_src_caps (GstNvBaseEnc * nvenc, GstVideoCodecState * state) in gst_nv_h264_enc_set_src_caps() argument
413 GstNvH264Enc *h264enc = (GstNvH264Enc *) nvenc; in gst_nv_h264_enc_set_src_caps()
430 out_state = gst_video_encoder_set_output_state (GST_VIDEO_ENCODER (nvenc), in gst_nv_h264_enc_set_src_caps()
433 GST_INFO_OBJECT (nvenc, "output caps: %" GST_PTR_FORMAT, out_state->caps); in gst_nv_h264_enc_set_src_caps()
443 gst_nv_h264_enc_set_encoder_config (GstNvBaseEnc * nvenc, in gst_nv_h264_enc_set_encoder_config() argument
446 GstNvH264Enc *h264enc = (GstNvH264Enc *) nvenc; in gst_nv_h264_enc_set_encoder_config()
559 GstNvBaseEnc *nvenc = GST_NV_BASE_ENC (object); in gst_nv_h264_enc_set_property() local
580 nvenc->weighted_pred = g_value_get_boolean (value); in gst_nv_h264_enc_set_property()
588 nvenc->vbv_buffersize = g_value_get_uint (value); in gst_nv_h264_enc_set_property()
596 nvenc->rc_lookahead = g_value_get_uint (value); in gst_nv_h264_enc_set_property()
604 nvenc->temporal_aq = g_value_get_boolean (value); in gst_nv_h264_enc_set_property()
612 nvenc->bframes = g_value_get_uint (value); in gst_nv_h264_enc_set_property()
620 nvenc->b_adapt = g_value_get_boolean (value); in gst_nv_h264_enc_set_property()
637 GstNvBaseEnc *nvenc = GST_NV_BASE_ENC (object); in gst_nv_h264_enc_get_property() local
649 g_value_set_boolean (value, nvenc->weighted_pred); in gst_nv_h264_enc_get_property()
656 g_value_set_uint (value, nvenc->vbv_buffersize); in gst_nv_h264_enc_get_property()
663 g_value_set_uint (value, nvenc->rc_lookahead); in gst_nv_h264_enc_get_property()
670 g_value_set_boolean (value, nvenc->temporal_aq); in gst_nv_h264_enc_get_property()
677 g_value_set_uint (value, nvenc->bframes); in gst_nv_h264_enc_get_property()
684 g_value_set_boolean (value, nvenc->b_adapt); in gst_nv_h264_enc_get_property()