Home
last modified time | relevance | path

Searched refs:rate_control_mode (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Damfenc_h264.c76 …{ "rc", "Rate Control Method", OFFSET(rate_control_mode), AV_OPT_TYPE…
203 if (ctx->rate_control_mode == AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_UNKNOWN) { in amf_encode_init_h264()
205 ctx->rate_control_mode = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_CONSTANT_QP; in amf_encode_init_h264()
208 ctx->rate_control_mode = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_VBR; in amf_encode_init_h264()
211 ctx->rate_control_mode = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_CBR; in amf_encode_init_h264()
216 if (ctx->rate_control_mode == AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_CONSTANT_QP) { in amf_encode_init_h264()
227 …N_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD, ctx->rate_control_mode); in amf_encode_init_h264()
246 if (ctx->rate_control_mode == AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_CONSTANT_QP) { in amf_encode_init_h264()
269 if (ctx->rate_control_mode == AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_CBR) { in amf_encode_init_h264()
274 … } else if (ctx->rate_control_mode == AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_VBR) { in amf_encode_init_h264()
[all …]
Damfenc_hevc.c61 …{ "rc", "Set the rate control mode", OFFSET(rate_control_mode), AV_OPT_TYPE…
167 if (ctx->rate_control_mode == AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_UNKNOWN) { in amf_encode_init_hevc()
171 ctx->rate_control_mode = AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_CONSTANT_QP; in amf_encode_init_hevc()
174 … ctx->rate_control_mode = AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_VBR; in amf_encode_init_hevc()
177 ctx->rate_control_mode = AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_CBR; in amf_encode_init_hevc()
183 …PERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD, ctx->rate_control_mode); in amf_encode_init_hevc()
197 if (ctx->rate_control_mode == AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_CONSTANT_QP) { in amf_encode_init_hevc()
215 if (ctx->rate_control_mode == AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_CBR) { in amf_encode_init_hevc()
220 …} else if (ctx->rate_control_mode == AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_V… in amf_encode_init_hevc()
Damfenc.h93 int rate_control_mode; member
Dlibsvtav1.c191 param->rate_control_mode = svt_enc->rc_mode; in config_enc_params()
208 if (param->rate_control_mode) { in config_enc_params()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvbaseenc.h93 GstNvRCMode rate_control_mode; member
Dgstnvbaseenc.c1031 nvenc->rate_control_mode = DEFAULT_RC_MODE; in gst_nv_base_enc_init()
1507 GstNvRCMode rc_mode = nvenc->rate_control_mode; in gst_nv_base_enc_setup_rate_control()
2663 nvenc->rate_control_mode = rc_mode; in gst_nv_base_enc_set_property()
2762 g_value_set_enum (value, nvenc->rate_control_mode); in gst_nv_base_enc_get_property()