Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/va/
Dpicture.c117 context->desc.h264enc.rate_ctrl.vbv_buffer_size = 20000000; in getEncParamPreset()
118 context->desc.h264enc.rate_ctrl.vbv_buf_lv = 48; in getEncParamPreset()
119 context->desc.h264enc.rate_ctrl.fill_data_enable = 1; in getEncParamPreset()
120 context->desc.h264enc.rate_ctrl.enforce_hrd = 1; in getEncParamPreset()
122 if (context->desc.h264enc.rate_ctrl.frame_rate_num == 0) in getEncParamPreset()
123 context->desc.h264enc.rate_ctrl.frame_rate_num = 30; in getEncParamPreset()
124 context->desc.h264enc.rate_ctrl.target_bits_picture = in getEncParamPreset()
125 … context->desc.h264enc.rate_ctrl.target_bitrate / context->desc.h264enc.rate_ctrl.frame_rate_num; in getEncParamPreset()
126 context->desc.h264enc.rate_ctrl.peak_bits_picture_integer = in getEncParamPreset()
127 context->desc.h264enc.rate_ctrl.peak_bitrate / context->desc.h264enc.rate_ctrl.frame_rate_num; in getEncParamPreset()
[all …]
Dcontext.c292 context->desc.h264enc.rate_ctrl.rate_ctrl_method = config->rc; in vlVaCreateContext()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vce_50.c50 RVCE_CS(enc->pic.rate_ctrl.rate_ctrl_method); // encRateControlMethod in rate_control()
51 RVCE_CS(enc->pic.rate_ctrl.target_bitrate); // encRateControlTargetBitRate in rate_control()
52 RVCE_CS(enc->pic.rate_ctrl.peak_bitrate); // encRateControlPeakBitRate in rate_control()
53 RVCE_CS(enc->pic.rate_ctrl.frame_rate_num); // encRateControlFrameRateNum in rate_control()
58 RVCE_CS(enc->pic.rate_ctrl.vbv_buffer_size); // encVBVBufferSize in rate_control()
59 RVCE_CS(enc->pic.rate_ctrl.frame_rate_den); // encRateControlFrameRateDen in rate_control()
63 RVCE_CS(enc->pic.rate_ctrl.target_bits_picture); // encTargetBitsPerPicture in rate_control()
64 RVCE_CS(enc->pic.rate_ctrl.peak_bits_picture_integer); // encPeakBitsPerPictureInteger in rate_control()
65 RVCE_CS(enc->pic.rate_ctrl.peak_bits_picture_fraction); // encPeakBitsPerPictureFractional in rate_control()
Dradeon_vce_40_2_2.c107 RVCE_CS(enc->pic.rate_ctrl.rate_ctrl_method); // encRateControlMethod in rate_control()
108 RVCE_CS(enc->pic.rate_ctrl.target_bitrate); // encRateControlTargetBitRate in rate_control()
109 RVCE_CS(enc->pic.rate_ctrl.peak_bitrate); // encRateControlPeakBitRate in rate_control()
110 RVCE_CS(enc->pic.rate_ctrl.frame_rate_num); // encRateControlFrameRateNum in rate_control()
115 RVCE_CS(enc->pic.rate_ctrl.vbv_buffer_size); // encVBVBufferSize in rate_control()
116 RVCE_CS(enc->pic.rate_ctrl.frame_rate_den); // encRateControlFrameRateDen in rate_control()
120 RVCE_CS(enc->pic.rate_ctrl.target_bits_picture); // encTargetBitsPerPicture in rate_control()
121 RVCE_CS(enc->pic.rate_ctrl.peak_bits_picture_integer); // encPeakBitsPerPictureInteger in rate_control()
122 RVCE_CS(enc->pic.rate_ctrl.peak_bits_picture_fraction); // encPeakBitsPerPictureFractional in rate_control()
236 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_vce.c266 enc->pic.rate_ctrl.rate_ctrl_method != pic->rate_ctrl.rate_ctrl_method || in rvce_begin_frame()
/external/mesa3d/src/gallium/state_trackers/omx/
Dvid_enc.c1021 struct pipe_h264_enc_rate_control *rate_ctrl = &picture->rate_ctrl; in enc_ControlPicture() local
1025 rate_ctrl->rate_ctrl_method = PIPE_H264_ENC_RATE_CONTROL_METHOD_VARIABLE; in enc_ControlPicture()
1028 rate_ctrl->rate_ctrl_method = PIPE_H264_ENC_RATE_CONTROL_METHOD_CONSTANT; in enc_ControlPicture()
1031 rate_ctrl->rate_ctrl_method = PIPE_H264_ENC_RATE_CONTROL_METHOD_VARIABLE_SKIP; in enc_ControlPicture()
1034 rate_ctrl->rate_ctrl_method = PIPE_H264_ENC_RATE_CONTROL_METHOD_CONSTANT_SKIP; in enc_ControlPicture()
1037 rate_ctrl->rate_ctrl_method = PIPE_H264_ENC_RATE_CONTROL_METHOD_DISABLE; in enc_ControlPicture()
1041 rate_ctrl->frame_rate_den = OMX_VID_ENC_CONTROL_FRAME_RATE_DEN_DEFAULT; in enc_ControlPicture()
1042 rate_ctrl->frame_rate_num = ((priv->frame_rate) >> 16) * rate_ctrl->frame_rate_den; in enc_ControlPicture()
1044 if (rate_ctrl->rate_ctrl_method != PIPE_H264_ENC_RATE_CONTROL_METHOD_DISABLE) { in enc_ControlPicture()
1046 rate_ctrl->target_bitrate = OMX_VID_ENC_BITRATE_MIN; in enc_ControlPicture()
[all …]
/external/mesa3d/src/gallium/include/pipe/
Dp_video_state.h385 struct pipe_h264_enc_rate_control rate_ctrl; member