Lines Matching refs:rc_mode
219 MppEncRcMode rc_mode = g_value_get_enum (value); in gst_mpp_enc_set_property() local
220 if (self->rc_mode == rc_mode) in gst_mpp_enc_set_property()
223 self->rc_mode = rc_mode; in gst_mpp_enc_set_property()
321 g_value_set_enum (value, self->rc_mode); in gst_mpp_enc_get_property()
383 mpp_enc_cfg_set_s32 (self->mpp_cfg, "rc:mode", self->rc_mode); in gst_mpp_enc_apply_properties()
389 if (!self->bps || self->rc_mode == MPP_ENC_RC_MODE_FIXQP) { in gst_mpp_enc_apply_properties()
391 } else if (self->rc_mode == MPP_ENC_RC_MODE_CBR) { in gst_mpp_enc_apply_properties()
398 } else if (self->rc_mode == MPP_ENC_RC_MODE_VBR) { in gst_mpp_enc_apply_properties()
1103 self->rc_mode = DEFAULT_PROP_RC_MODE; in gst_mpp_enc_init()
1155 static GType rc_mode = 0; in gst_mpp_enc_rc_mode_get_type() local
1157 if (!rc_mode) { in gst_mpp_enc_rc_mode_get_type()
1164 rc_mode = g_enum_register_static ("GstMppEncRcMode", modes); in gst_mpp_enc_rc_mode_get_type()
1166 return rc_mode; in gst_mpp_enc_rc_mode_get_type()