Home
last modified time | relevance | path

Searched refs:dvs_offset (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css_param_dvs.c108 const struct ia_css_resolution *dvs_offset) in init_dvs_6axis_table_from_default() argument
117 dvs_offset->width, dvs_offset->height, width_y, height_y); in init_dvs_6axis_table_from_default()
120 dvs_config->xcoords_y[y * width_y + x] = (dvs_offset->width + x * in init_dvs_6axis_table_from_default()
127 dvs_config->ycoords_y[y * width_y + x] = (dvs_offset->height + y * in init_dvs_6axis_table_from_default()
135 dvs_config->xcoords_uv[y * width_uv + x] = ((dvs_offset->width / 2) + x * in init_dvs_6axis_table_from_default()
143 dvs_config->ycoords_uv[y * width_uv + x] = ((dvs_offset->height / 2) + y * in init_dvs_6axis_table_from_default()
171 const struct ia_css_resolution *dvs_offset) in generate_dvs_6axis_table() argument
176 assert(dvs_offset); in generate_dvs_6axis_table()
180 init_dvs_6axis_table_from_default(dvs_6axis_table, dvs_offset); in generate_dvs_6axis_table()
H A Dsh_css_param_dvs.h73 const struct ia_css_resolution *dvs_offset);
H A Dsh_css_params.c3481 struct ia_css_resolution dvs_offset = {0}; in sh_css_params_write_to_ddr_internal() local
3483 dvs_offset.width = (PIX_SHIFT_FILTER_RUN_IN_X + binary->dvs_envelope.width) / 2; in sh_css_params_write_to_ddr_internal()
3484 dvs_offset.height = (PIX_SHIFT_FILTER_RUN_IN_Y + binary->dvs_envelope.height) / 2; in sh_css_params_write_to_ddr_internal()
3487 generate_dvs_6axis_table(&binary->out_frame_info[0].res, &dvs_offset); in sh_css_params_write_to_ddr_internal()