Lines Matching refs:expert

449 	struct vpu_enc_expert_mode_param *expert;  member
538 return hcs->ctrls[instance].expert; in get_expert_param()
611 hcs->ctrls[i].expert = rpc->virt + offset; in vpu_windsor_init_rpc()
856 struct vpu_enc_expert_mode_param *expert; in vpu_windsor_config_stream_buffer() local
859 expert = get_expert_param(shared, instance); in vpu_windsor_config_stream_buffer()
866 expert->calib_param.mem_chunk_phys_addr = 0; in vpu_windsor_config_stream_buffer()
867 expert->calib_param.mem_chunk_virt_addr = 0; in vpu_windsor_config_stream_buffer()
868 expert->calib_param.mem_chunk_size = 0; in vpu_windsor_config_stream_buffer()
869 expert->calib_param.cb_base = buf->phys; in vpu_windsor_config_stream_buffer()
870 expert->calib_param.cb_size = buf->length; in vpu_windsor_config_stream_buffer()
915 static int vpu_windsor_set_frame_rate(struct vpu_enc_expert_mode_param *expert, in vpu_windsor_set_frame_rate() argument
918 expert->config_param.frame_rate_num = params->frame_rate.numerator; in vpu_windsor_set_frame_rate()
919 expert->config_param.frame_rate_den = params->frame_rate.denominator; in vpu_windsor_set_frame_rate()
1048 static int vpu_windsor_set_qp(struct vpu_enc_expert_mode_param *expert, in vpu_windsor_set_qp() argument
1051 expert->static_param.rate_control_islice_qp = params->i_frame_qp; in vpu_windsor_set_qp()
1052 expert->static_param.rate_control_pslice_qp = params->p_frame_qp; in vpu_windsor_set_qp()
1053 expert->static_param.rate_control_bslice_qp = params->b_frame_qp; in vpu_windsor_set_qp()
1058 static int vpu_windsor_set_sar(struct vpu_enc_expert_mode_param *expert, in vpu_windsor_set_sar() argument
1061 expert->config_param.h264_aspect_ratio_present = params->sar.enable; in vpu_windsor_set_sar()
1063 expert->config_param.aspect_ratio = WINDSOR_H264_EXTENDED_SAR; in vpu_windsor_set_sar()
1065 expert->config_param.aspect_ratio = params->sar.idc; in vpu_windsor_set_sar()
1066 expert->config_param.h264_aspect_ratio_sar_width = params->sar.width; in vpu_windsor_set_sar()
1067 expert->config_param.h264_aspect_ratio_sar_height = params->sar.height; in vpu_windsor_set_sar()
1072 static int vpu_windsor_set_color(struct vpu_enc_expert_mode_param *expert, in vpu_windsor_set_color() argument
1075 expert->config_param.h264_video_type_present = 1; in vpu_windsor_set_color()
1076 expert->config_param.h264_video_format = 5; in vpu_windsor_set_color()
1077 expert->config_param.h264_video_colour_descriptor = 1; in vpu_windsor_set_color()
1078 expert->config_param.h264_video_colour_primaries = in vpu_windsor_set_color()
1080 expert->config_param.h264_video_transfer_char = in vpu_windsor_set_color()
1082 expert->config_param.h264_video_matrix_coeff = in vpu_windsor_set_color()
1084 expert->config_param.h264_video_full_range = in vpu_windsor_set_color()
1093 struct vpu_enc_expert_mode_param *expert; in vpu_windsor_update_bitrate() local
1096 expert = get_expert_param(shared, instance); in vpu_windsor_update_bitrate()
1106 expert->static_param.rate_control_bitrate = windsor->target_bitrate; in vpu_windsor_update_bitrate()
1107 expert->static_param.rate_control_bitrate_min = windsor->min_bitrate; in vpu_windsor_update_bitrate()
1108 expert->static_param.rate_control_bitrate_max = windsor->max_bitrate; in vpu_windsor_update_bitrate()
1147 struct vpu_enc_expert_mode_param *expert; in vpu_windsor_update_params() local
1149 expert = get_expert_param(shared, instance); in vpu_windsor_update_params()
1151 vpu_windsor_set_frame_rate(expert, params); in vpu_windsor_update_params()
1152 vpu_windsor_set_qp(expert, params); in vpu_windsor_update_params()
1153 vpu_windsor_set_sar(expert, params); in vpu_windsor_update_params()
1154 vpu_windsor_set_color(expert, params); in vpu_windsor_update_params()