Home
last modified time | relevance | path

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

/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dh264_utils.cpp689 void h264_stream_parser::hrd_parameters(h264_hrd_param *hrd_param) in hrd_parameters() argument
693 hrd_param->cpb_cnt = uev() + 1; in hrd_parameters()
694 hrd_param->bit_rate_scale = extract_bits(4); in hrd_parameters()
695 hrd_param->cpb_size_scale = extract_bits(4); in hrd_parameters()
696 ALOGV("-->cpb_cnt : %u", hrd_param->cpb_cnt); in hrd_parameters()
697 ALOGV("-->bit_rate_scale : %u", hrd_param->bit_rate_scale); in hrd_parameters()
698 ALOGV("-->cpb_size_scale : %u", hrd_param->cpb_size_scale); in hrd_parameters()
699 if (hrd_param->cpb_cnt > MAX_CPB_COUNT) { in hrd_parameters()
700 ALOGV("ERROR: Invalid hrd_param->cpb_cnt [%u]!", hrd_param->cpb_cnt); in hrd_parameters()
703 for (idx = 0; idx < hrd_param->cpb_cnt && more_bits(); idx++) { in hrd_parameters()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dh264_utils.cpp689 void h264_stream_parser::hrd_parameters(h264_hrd_param *hrd_param) in hrd_parameters() argument
693 hrd_param->cpb_cnt = uev() + 1; in hrd_parameters()
694 hrd_param->bit_rate_scale = extract_bits(4); in hrd_parameters()
695 hrd_param->cpb_size_scale = extract_bits(4); in hrd_parameters()
696 ALOGV("-->cpb_cnt : %u", hrd_param->cpb_cnt); in hrd_parameters()
697 ALOGV("-->bit_rate_scale : %u", hrd_param->bit_rate_scale); in hrd_parameters()
698 ALOGV("-->cpb_size_scale : %u", hrd_param->cpb_size_scale); in hrd_parameters()
699 if (hrd_param->cpb_cnt > MAX_CPB_COUNT) { in hrd_parameters()
700 ALOGV("ERROR: Invalid hrd_param->cpb_cnt [%u]!", hrd_param->cpb_cnt); in hrd_parameters()
703 for (idx = 0; idx < hrd_param->cpb_cnt && more_bits(); idx++) { in hrd_parameters()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dh264_utils.cpp740 void h264_stream_parser::hrd_parameters(h264_hrd_param *hrd_param) in hrd_parameters() argument
744 hrd_param->cpb_cnt = uev() + 1; in hrd_parameters()
745 hrd_param->bit_rate_scale = extract_bits(4); in hrd_parameters()
746 hrd_param->cpb_size_scale = extract_bits(4); in hrd_parameters()
747 ALOGV("-->cpb_cnt : %u", hrd_param->cpb_cnt); in hrd_parameters()
748 ALOGV("-->bit_rate_scale : %u", hrd_param->bit_rate_scale); in hrd_parameters()
749 ALOGV("-->cpb_size_scale : %u", hrd_param->cpb_size_scale); in hrd_parameters()
750 if (hrd_param->cpb_cnt > MAX_CPB_COUNT) in hrd_parameters()
752 ALOGV("ERROR: Invalid hrd_param->cpb_cnt [%u]!", hrd_param->cpb_cnt); in hrd_parameters()
755 for (idx = 0; idx < hrd_param->cpb_cnt && more_bits(); idx++) in hrd_parameters()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dh264_utils.cpp689 void h264_stream_parser::hrd_parameters(h264_hrd_param *hrd_param) in hrd_parameters() argument
693 hrd_param->cpb_cnt = uev() + 1; in hrd_parameters()
694 hrd_param->bit_rate_scale = extract_bits(4); in hrd_parameters()
695 hrd_param->cpb_size_scale = extract_bits(4); in hrd_parameters()
696 ALOGV("-->cpb_cnt : %u", hrd_param->cpb_cnt); in hrd_parameters()
697 ALOGV("-->bit_rate_scale : %u", hrd_param->bit_rate_scale); in hrd_parameters()
698 ALOGV("-->cpb_size_scale : %u", hrd_param->cpb_size_scale); in hrd_parameters()
699 if (hrd_param->cpb_cnt > MAX_CPB_COUNT) { in hrd_parameters()
700 ALOGV("ERROR: Invalid hrd_param->cpb_cnt [%u]!", hrd_param->cpb_cnt); in hrd_parameters()
703 for (idx = 0; idx < hrd_param->cpb_cnt && more_bits(); idx++) { in hrd_parameters()
[all …]
/hardware/intel/img/psb_video/src/
Dpnw_H264ES.c988 VAEncMiscParameterHRD *hrd_param; in pnw__H264ES_process_misc_param() local
1208 hrd_param = (VAEncMiscParameterHRD *)pBuffer->data; in pnw__H264ES_process_misc_param()
1210 if (hrd_param->buffer_size == 0 in pnw__H264ES_process_misc_param()
1211 || hrd_param->initial_buffer_fullness == 0) in pnw__H264ES_process_misc_param()
1219 hrd_param->initial_buffer_fullness, in pnw__H264ES_process_misc_param()
1220 hrd_param->buffer_size); in pnw__H264ES_process_misc_param()
1231 ctx->buffer_size = hrd_param->buffer_size; in pnw__H264ES_process_misc_param()
1232 ctx->initial_buffer_fullness = hrd_param->initial_buffer_fullness; in pnw__H264ES_process_misc_param()
Dvsp_vp8.c500 VAEncMiscParameterHRD *hrd_param; in vsp_vp8_process_misc_param() local
682 hrd_param = (VAEncMiscParameterHRD *)pBuffer->data; in vsp_vp8_process_misc_param()
683 seq->rc_buf_sz = hrd_param->buffer_size; in vsp_vp8_process_misc_param()
684 seq->rc_buf_initial_sz = hrd_param->initial_buffer_fullness; in vsp_vp8_process_misc_param()
685 seq->rc_buf_optimal_sz = hrd_param->optimal_buffer_fullness; in vsp_vp8_process_misc_param()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dh264_utils.h443 void hrd_parameters(h264_hrd_param *hrd_param);
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dh264_utils.h443 void hrd_parameters(h264_hrd_param *hrd_param);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dh264_utils.h443 void hrd_parameters(h264_hrd_param *hrd_param);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dh264_utils.h443 void hrd_parameters(h264_hrd_param *hrd_param);