Home
last modified time | relevance | path

Searched refs:rate_ctrl (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/va/
Dpicture.c124 context->desc.h264enc.rate_ctrl.vbv_buffer_size = 20000000; in getEncParamPreset()
125 context->desc.h264enc.rate_ctrl.vbv_buf_lv = 48; in getEncParamPreset()
126 context->desc.h264enc.rate_ctrl.fill_data_enable = 1; in getEncParamPreset()
127 context->desc.h264enc.rate_ctrl.enforce_hrd = 1; in getEncParamPreset()
129 if (context->desc.h264enc.rate_ctrl.frame_rate_num == 0 || in getEncParamPreset()
130 context->desc.h264enc.rate_ctrl.frame_rate_den == 0) { in getEncParamPreset()
131 context->desc.h264enc.rate_ctrl.frame_rate_num = 30; in getEncParamPreset()
132 context->desc.h264enc.rate_ctrl.frame_rate_den = 1; in getEncParamPreset()
134 context->desc.h264enc.rate_ctrl.target_bits_picture = in getEncParamPreset()
135 context->desc.h264enc.rate_ctrl.target_bitrate * in getEncParamPreset()
[all …]
Dcontext.c293 context->desc.h264enc.rate_ctrl.rate_ctrl_method = config->rc; in vlVaCreateContext()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vce_50.c44 RVCE_CS(enc->pic.rate_ctrl.rate_ctrl_method); // encRateControlMethod in rate_control()
45 RVCE_CS(enc->pic.rate_ctrl.target_bitrate); // encRateControlTargetBitRate in rate_control()
46 RVCE_CS(enc->pic.rate_ctrl.peak_bitrate); // encRateControlPeakBitRate in rate_control()
47 RVCE_CS(enc->pic.rate_ctrl.frame_rate_num); // encRateControlFrameRateNum in rate_control()
52 RVCE_CS(enc->pic.rate_ctrl.vbv_buffer_size); // encVBVBufferSize in rate_control()
53 RVCE_CS(enc->pic.rate_ctrl.frame_rate_den); // encRateControlFrameRateDen in rate_control()
57 RVCE_CS(enc->pic.rate_ctrl.target_bits_picture); // encTargetBitsPerPicture in rate_control()
58 RVCE_CS(enc->pic.rate_ctrl.peak_bits_picture_integer); // encPeakBitsPerPictureInteger in rate_control()
59 RVCE_CS(enc->pic.rate_ctrl.peak_bits_picture_fraction); // encPeakBitsPerPictureFractional in rate_control()
Dradeon_vce_40_2_2.c101 RVCE_CS(enc->pic.rate_ctrl.rate_ctrl_method); // encRateControlMethod in rate_control()
102 RVCE_CS(enc->pic.rate_ctrl.target_bitrate); // encRateControlTargetBitRate in rate_control()
103 RVCE_CS(enc->pic.rate_ctrl.peak_bitrate); // encRateControlPeakBitRate in rate_control()
104 RVCE_CS(enc->pic.rate_ctrl.frame_rate_num); // encRateControlFrameRateNum in rate_control()
109 RVCE_CS(enc->pic.rate_ctrl.vbv_buffer_size); // encVBVBufferSize in rate_control()
110 RVCE_CS(enc->pic.rate_ctrl.frame_rate_den); // encRateControlFrameRateDen in rate_control()
114 RVCE_CS(enc->pic.rate_ctrl.target_bits_picture); // encTargetBitsPerPicture in rate_control()
115 RVCE_CS(enc->pic.rate_ctrl.peak_bits_picture_integer); // encPeakBitsPerPictureInteger in rate_control()
116 RVCE_CS(enc->pic.rate_ctrl.peak_bits_picture_fraction); // encPeakBitsPerPictureFractional in rate_control()
230 if (!enc->pic.rate_ctrl.frame_rate_num) in vui()
[all …]
Dradeon_vce_52.c45 enc->enc_pic.rc.rc_method = pic->rate_ctrl.rate_ctrl_method; in get_rate_control_param()
46 enc->enc_pic.rc.target_bitrate = pic->rate_ctrl.target_bitrate; in get_rate_control_param()
47 enc->enc_pic.rc.peak_bitrate = pic->rate_ctrl.peak_bitrate; in get_rate_control_param()
52 enc->enc_pic.rc.frame_rate_num = pic->rate_ctrl.frame_rate_num; in get_rate_control_param()
53 enc->enc_pic.rc.frame_rate_den = pic->rate_ctrl.frame_rate_den; in get_rate_control_param()
55 enc->enc_pic.rc.vbv_buffer_size = pic->rate_ctrl.vbv_buffer_size; in get_rate_control_param()
56 enc->enc_pic.rc.vbv_buf_lv = pic->rate_ctrl.vbv_buf_lv; in get_rate_control_param()
57 enc->enc_pic.rc.fill_data_enable = pic->rate_ctrl.fill_data_enable; in get_rate_control_param()
58 enc->enc_pic.rc.enforce_hrd = pic->rate_ctrl.enforce_hrd; in get_rate_control_param()
59 enc->enc_pic.rc.target_bits_picture = pic->rate_ctrl.target_bits_picture; in get_rate_control_param()
[all …]
Dradeon_vcn_enc_1_2.c288 switch(pic->rate_ctrl.rate_ctrl_method) { in radeon_enc_rc_session_init()
304 enc->enc_pic.rc_session_init.vbv_buffer_level = pic->rate_ctrl.vbv_buf_lv; in radeon_enc_rc_session_init()
314 enc->enc_pic.rc_layer_init.target_bit_rate = pic->rate_ctrl.target_bitrate; in radeon_enc_rc_layer_init()
315 enc->enc_pic.rc_layer_init.peak_bit_rate = pic->rate_ctrl.peak_bitrate; in radeon_enc_rc_layer_init()
316 enc->enc_pic.rc_layer_init.frame_rate_num = pic->rate_ctrl.frame_rate_num; in radeon_enc_rc_layer_init()
317 enc->enc_pic.rc_layer_init.frame_rate_den = pic->rate_ctrl.frame_rate_den; in radeon_enc_rc_layer_init()
318 enc->enc_pic.rc_layer_init.vbv_buffer_size = pic->rate_ctrl.vbv_buffer_size; in radeon_enc_rc_layer_init()
319 enc->enc_pic.rc_layer_init.avg_target_bits_per_picture = pic->rate_ctrl.target_bits_picture; in radeon_enc_rc_layer_init()
320 …enc->enc_pic.rc_layer_init.peak_bits_per_picture_integer = pic->rate_ctrl.peak_bits_picture_intege… in radeon_enc_rc_layer_init()
321 …enc->enc_pic.rc_layer_init.peak_bits_per_picture_fractional = pic->rate_ctrl.peak_bits_picture_fra… in radeon_enc_rc_layer_init()
[all …]
Dradeon_vce.c268 enc->pic.rate_ctrl.rate_ctrl_method != pic->rate_ctrl.rate_ctrl_method || in rvce_begin_frame()
/external/mesa3d/src/gallium/state_trackers/omx_bellagio/
Dvid_enc.c1022 struct pipe_h264_enc_rate_control *rate_ctrl = &picture->rate_ctrl; in enc_ControlPicture() local
1026 rate_ctrl->rate_ctrl_method = PIPE_H264_ENC_RATE_CONTROL_METHOD_VARIABLE; in enc_ControlPicture()
1029 rate_ctrl->rate_ctrl_method = PIPE_H264_ENC_RATE_CONTROL_METHOD_CONSTANT; in enc_ControlPicture()
1032 rate_ctrl->rate_ctrl_method = PIPE_H264_ENC_RATE_CONTROL_METHOD_VARIABLE_SKIP; in enc_ControlPicture()
1035 rate_ctrl->rate_ctrl_method = PIPE_H264_ENC_RATE_CONTROL_METHOD_CONSTANT_SKIP; in enc_ControlPicture()
1038 rate_ctrl->rate_ctrl_method = PIPE_H264_ENC_RATE_CONTROL_METHOD_DISABLE; in enc_ControlPicture()
1042 rate_ctrl->frame_rate_den = OMX_VID_ENC_CONTROL_FRAME_RATE_DEN_DEFAULT; in enc_ControlPicture()
1043 rate_ctrl->frame_rate_num = ((priv->frame_rate) >> 16) * rate_ctrl->frame_rate_den; in enc_ControlPicture()
1045 if (rate_ctrl->rate_ctrl_method != PIPE_H264_ENC_RATE_CONTROL_METHOD_DISABLE) { in enc_ControlPicture()
1047 rate_ctrl->target_bitrate = OMX_VID_ENC_BITRATE_MIN; in enc_ControlPicture()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dradeon_vce.c269 enc->pic.rate_ctrl.rate_ctrl_method != pic->rate_ctrl.rate_ctrl_method || in rvce_begin_frame()
/external/mesa3d/src/gallium/include/pipe/
Dp_video_state.h386 struct pipe_h264_enc_rate_control rate_ctrl; member