Home
last modified time | relevance | path

Searched refs:open_param (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/media/platform/chips-media/wave5/
Dwave5-vpu-enc.c1128 static void wave5_set_enc_openparam(struct enc_open_param *open_param, in wave5_set_enc_openparam() argument
1135 open_param->wave_param.gop_preset_idx = PRESET_IDX_IPP_SINGLE; in wave5_set_enc_openparam()
1136 open_param->wave_param.hvs_qp_scale = 2; in wave5_set_enc_openparam()
1137 open_param->wave_param.hvs_max_delta_qp = 10; in wave5_set_enc_openparam()
1138 open_param->wave_param.skip_intra_trans = 1; in wave5_set_enc_openparam()
1139 open_param->wave_param.intra_nx_n_enable = 1; in wave5_set_enc_openparam()
1140 open_param->wave_param.nr_intra_weight_y = 7; in wave5_set_enc_openparam()
1141 open_param->wave_param.nr_intra_weight_cb = 7; in wave5_set_enc_openparam()
1142 open_param->wave_param.nr_intra_weight_cr = 7; in wave5_set_enc_openparam()
1143 open_param->wave_param.nr_inter_weight_y = 4; in wave5_set_enc_openparam()
[all …]
Dwave5-vpuapi.c131 int wave5_vpu_dec_open(struct vpu_instance *inst, struct dec_open_param *open_param) in wave5_vpu_dec_open() argument
139 ret = wave5_check_dec_open_param(inst, open_param); in wave5_vpu_dec_open()
153 memcpy(&p_dec_info->open_param, open_param, sizeof(struct dec_open_param)); in wave5_vpu_dec_open()
155 buffer_addr = open_param->bitstream_buffer; in wave5_vpu_dec_open()
156 buffer_size = open_param->bitstream_buffer_size; in wave5_vpu_dec_open()
167 ret = wave5_vpu_build_up_dec_param(inst, open_param); in wave5_vpu_dec_open()
666 int wave5_vpu_enc_open(struct vpu_instance *inst, struct enc_open_param *open_param) in wave5_vpu_enc_open() argument
672 ret = wave5_vpu_enc_check_open_param(inst, open_param); in wave5_vpu_enc_open()
686 p_enc_info->open_param = *open_param; in wave5_vpu_enc_open()
688 ret = wave5_vpu_build_up_enc_param(vpu_dev->dev, inst, open_param); in wave5_vpu_enc_open()
[all …]
Dwave5-hw.c1542 struct enc_open_param *open_param) in wave5_vpu_build_up_enc_param() argument
1572 reg_val = (open_param->line_buf_int_en << 6) | BITSTREAM_ENDIANNESS_BIG_ENDIAN; in wave5_vpu_build_up_enc_param()
1585 buffer_addr = open_param->bitstream_buffer; in wave5_vpu_build_up_enc_param()
1586 buffer_size = open_param->bitstream_buffer_size; in wave5_vpu_build_up_enc_param()
1589 p_enc_info->line_buf_int_en = open_param->line_buf_int_en; in wave5_vpu_build_up_enc_param()
1695 struct enc_open_param *p_open_param = &p_enc_info->open_param; in wave5_vpu_enc_init_seq()
1939 p_open_param = &p_enc_info->open_param; in wave5_vpu_enc_register_framebuffer()
2149 struct enc_open_param *p_open_param = &p_enc_info->open_param; in wave5_vpu_encode()
2398 struct enc_open_param *open_param) in wave5_vpu_enc_check_common_param_valid() argument
2401 struct enc_wave_param *param = &open_param->wave_param; in wave5_vpu_enc_check_common_param_valid()
[all …]
Dwave5.h102 struct enc_open_param *open_param);
118 int wave5_vpu_enc_check_open_param(struct vpu_instance *inst, struct enc_open_param *open_param);
Dwave5-vpuapi.h667 struct dec_open_param open_param; member
706 struct enc_open_param open_param; member
847 int wave5_vpu_dec_open(struct vpu_instance *inst, struct dec_open_param *open_param);
865 int wave5_vpu_enc_open(struct vpu_instance *inst, struct enc_open_param *open_param);
Dwave5-vpu-dec.c1405 struct dec_open_param open_param; in wave5_vpu_dec_start_streaming() local
1407 memset(&open_param, 0, sizeof(struct dec_open_param)); in wave5_vpu_dec_start_streaming()
1413 open_param.bitstream_buffer = inst->bitstream_vbuf.daddr; in wave5_vpu_dec_start_streaming()
1414 open_param.bitstream_buffer_size = inst->bitstream_vbuf.size; in wave5_vpu_dec_start_streaming()
1416 ret = wave5_vpu_dec_open(inst, &open_param); in wave5_vpu_dec_start_streaming()