Lines Matching refs:expert
451 struct vpu_enc_expert_mode_param *expert; member
540 return hcs->ctrls[instance].expert; in get_expert_param()
613 hcs->ctrls[i].expert = rpc->virt + offset; in vpu_windsor_init_rpc()
851 struct vpu_enc_expert_mode_param *expert; in vpu_windsor_config_stream_buffer() local
854 expert = get_expert_param(shared, instance); in vpu_windsor_config_stream_buffer()
861 expert->calib_param.mem_chunk_phys_addr = 0; in vpu_windsor_config_stream_buffer()
862 expert->calib_param.mem_chunk_virt_addr = 0; in vpu_windsor_config_stream_buffer()
863 expert->calib_param.mem_chunk_size = 0; in vpu_windsor_config_stream_buffer()
864 expert->calib_param.cb_base = buf->phys; in vpu_windsor_config_stream_buffer()
865 expert->calib_param.cb_size = buf->length; in vpu_windsor_config_stream_buffer()
910 static int vpu_windsor_set_frame_rate(struct vpu_enc_expert_mode_param *expert, in vpu_windsor_set_frame_rate() argument
913 expert->config_param.frame_rate_num = params->frame_rate.numerator; in vpu_windsor_set_frame_rate()
914 expert->config_param.frame_rate_den = params->frame_rate.denominator; in vpu_windsor_set_frame_rate()
1043 static int vpu_windsor_set_qp(struct vpu_enc_expert_mode_param *expert, in vpu_windsor_set_qp() argument
1046 expert->static_param.rate_control_islice_qp = params->i_frame_qp; in vpu_windsor_set_qp()
1047 expert->static_param.rate_control_pslice_qp = params->p_frame_qp; in vpu_windsor_set_qp()
1048 expert->static_param.rate_control_bslice_qp = params->b_frame_qp; in vpu_windsor_set_qp()
1053 static int vpu_windsor_set_sar(struct vpu_enc_expert_mode_param *expert, in vpu_windsor_set_sar() argument
1056 expert->config_param.h264_aspect_ratio_present = params->sar.enable; in vpu_windsor_set_sar()
1058 expert->config_param.aspect_ratio = WINDSOR_H264_EXTENDED_SAR; in vpu_windsor_set_sar()
1060 expert->config_param.aspect_ratio = params->sar.idc; in vpu_windsor_set_sar()
1061 expert->config_param.h264_aspect_ratio_sar_width = params->sar.width; in vpu_windsor_set_sar()
1062 expert->config_param.h264_aspect_ratio_sar_height = params->sar.height; in vpu_windsor_set_sar()
1067 static int vpu_windsor_set_color(struct vpu_enc_expert_mode_param *expert, in vpu_windsor_set_color() argument
1070 expert->config_param.h264_video_type_present = 1; in vpu_windsor_set_color()
1071 expert->config_param.h264_video_format = 5; in vpu_windsor_set_color()
1072 expert->config_param.h264_video_colour_descriptor = 1; in vpu_windsor_set_color()
1073 expert->config_param.h264_video_colour_primaries = in vpu_windsor_set_color()
1075 expert->config_param.h264_video_transfer_char = in vpu_windsor_set_color()
1077 expert->config_param.h264_video_matrix_coeff = in vpu_windsor_set_color()
1079 expert->config_param.h264_video_full_range = in vpu_windsor_set_color()
1088 struct vpu_enc_expert_mode_param *expert; in vpu_windsor_update_bitrate() local
1091 expert = get_expert_param(shared, instance); in vpu_windsor_update_bitrate()
1101 expert->static_param.rate_control_bitrate = windsor->target_bitrate; in vpu_windsor_update_bitrate()
1102 expert->static_param.rate_control_bitrate_min = windsor->min_bitrate; in vpu_windsor_update_bitrate()
1103 expert->static_param.rate_control_bitrate_max = windsor->max_bitrate; in vpu_windsor_update_bitrate()
1142 struct vpu_enc_expert_mode_param *expert; in vpu_windsor_update_params() local
1144 expert = get_expert_param(shared, instance); in vpu_windsor_update_params()
1146 vpu_windsor_set_frame_rate(expert, params); in vpu_windsor_update_params()
1147 vpu_windsor_set_qp(expert, params); in vpu_windsor_update_params()
1148 vpu_windsor_set_sar(expert, params); in vpu_windsor_update_params()
1149 vpu_windsor_set_color(expert, params); in vpu_windsor_update_params()