/openbmc/linux/drivers/staging/media/atomisp/pci/isp/modes/interface/ |
H A D | isp_const.h | 36 #define BITS8_ELEMENTS_PER_XMEM_ADDR CEIL_DIV(XMEM_WIDTH_BITS, 8) 37 #define BITS16_ELEMENTS_PER_XMEM_ADDR CEIL_DIV(XMEM_WIDTH_BITS, 16) 70 #define ISP_LEFT_PADDING_VECS CEIL_DIV(ISP_LEFT_PADDING, ISP_VEC_NELEMS) 80 CEIL_ROUND_DIV_STRIPE(CEIL_DIV(ISP_MAX_INTERNAL_WIDTH, ISP_VEC_NELEMS), \ 92 CEIL_DIV(CEIL_DIV(ISP_MAX_OUTPUT_WIDTH, ISP_NUM_STRIPES) + ISP_LEFT_PADDING, ISP_VEC_NELEMS) 114 CEIL_DIV(MAX_OUTPUT_C_FRAME_WIDTH, ISP_VEC_NELEMS) 121 : 2 * CEIL_DIV(MAX_VECTORS_PER_LINE, \ 130 : 2 * CEIL_DIV(MAX_VECTORS_PER_OUTPUT_LINE, \ 139 : 2 * CEIL_DIV(MAX_VECTORS_PER_INPUT_STRIPE, \ 151 CEIL_DIV(SH_CSS_MAX_SCTBL_WIDTH_PER_COLOR, ISP_VEC_NELEMS) [all …]
|
H A D | input_buf.isp.h | 33 #define MAX_VECTORS_PER_INPUT_LINE_CONT (CEIL_DIV(SH_CSS_MAX_SENSOR_WIDTH, ISP_NWAY) + EXTRA_INPUT_…
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
H A D | ia_css_eed1_8_param.h | 47 #define EED1_8_STATE_INPUT_BUFFER_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2) 51 #define EED1_8_STATE_LD_H_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2) 55 #define EED1_8_STATE_LD_V_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2) 59 #define EED1_8_STATE_D_HR_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2) 63 #define EED1_8_STATE_D_HB_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2) 67 #define EED1_8_STATE_D_VR_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2) 71 #define EED1_8_STATE_D_VB_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2) 75 #define EED1_8_STATE_RB_ZIPPED_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2) 84 #define EED1_8_STATE_CG_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2) 88 #define EED1_8_STATE_CO_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2)
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_dvs_info.h | 22 #define DVS_NUM_BLOCKS_X(X) (CEIL_MUL(CEIL_DIV((X), DVS_BLOCKDIM_X), 2)) 25 #define DVS_NUM_BLOCKS_Y(X) (CEIL_DIV((X), DVS_BLOCKDIM_Y_LUMA)) 33 #define DVS_NUM_BLOCKS_X_CHROMA(X) (CEIL_DIV((X), DVS_BLOCKDIM_X)) 35 #define DVS_NUM_BLOCKS_Y_CHROMA(X) (CEIL_DIV((X), DVS_BLOCKDIM_Y_CHROMA))
|
H A D | sh_css_param_dvs.h | 33 #define DVS_NUM_BLOCKS_X(X) (CEIL_MUL(CEIL_DIV((X), DVS_BLOCKDIM_X), 2)) 37 #define DVS_NUM_BLOCKS_Y(X) (CEIL_DIV((X), DVS_BLOCKDIM_Y_LUMA)) 38 #define DVS_NUM_BLOCKS_X_CHROMA(X) (CEIL_DIV((X), DVS_BLOCKDIM_X)) 39 #define DVS_NUM_BLOCKS_Y_CHROMA(X) (CEIL_DIV((X), DVS_BLOCKDIM_Y_CHROMA))
|
H A D | sh_css_defs.h | 194 #define _ISP_VECS(width) CEIL_DIV(width, ISP_VEC_NELEMS) 206 (CEIL_DIV(int_width, SH_CSS_MORPH_TABLE_GRID) + 1) 208 (CEIL_DIV(int_height, SH_CSS_MORPH_TABLE_GRID) + 1)
|
H A D | sh_css_param_shading.c | 110 out_cell_size = CEIL_DIV(padded_width, out_table->width - 1); in crop_and_interpolate() 111 in_cell_size = CEIL_DIV(sensor_width, table_width - 1); in crop_and_interpolate()
|
H A D | atomisp_compat_css20.c | 1974 hor_ds_factor = CEIL_DIV(width >> 1, in __configure_capture_pp_input() 1976 ver_ds_factor = CEIL_DIV(height >> 1, in __configure_capture_pp_input()
|
H A D | sh_css.c | 6017 hor_ds_factor = CEIL_DIV(cas_scaler_in_info->res.width, in ia_css_pipe_create_cas_scaler_desc_single_output() 6019 ver_ds_factor = CEIL_DIV(cas_scaler_in_info->res.height, in ia_css_pipe_create_cas_scaler_desc_single_output() 6161 hor_scale_factor[i] = CEIL_DIV(in_info.res.width, out_info[i]->res.width); in ia_css_pipe_create_cas_scaler_desc() 6162 ver_scale_factor[i] = CEIL_DIV(in_info.res.height, out_info[i]->res.height); in ia_css_pipe_create_cas_scaler_desc()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/dpc2/ |
H A D | ia_css_dpc2_param.h | 31 #define DPC2_STATE_INPUT_BUFFER_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2) 36 #define DPC2_STATE_LOCAL_DEVIATION_BUFFER_WIDTH CEIL_DIV(MAX_FRAME_SIMDWIDTH, 2)
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
H A D | math_support.h | 40 #define CEIL_DIV(a, b) (((b) != 0) ? ((a) + (b) - 1) / (b) : 0) macro 41 #define CEIL_MUL(a, b) (CEIL_DIV(a, b) * (b)) 74 #define ceil_div(a, b) (CEIL_DIV(a, b))
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/fpn/fpn_1.0/ |
H A D | ia_css_fpn.host.c | 82 my_info.res.width = CEIL_DIV(info->res.width, 2); /* Packed by 2x */ in ia_css_fpn_configure() 84 my_info.padded_width = CEIL_DIV(info->padded_width, 2); /* Packed by 2x */ in ia_css_fpn_configure()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ |
H A D | ia_css_anr_types.h | 25 #define ANR_ELEMENT_BITS ((CEIL_DIV(ANR_BPP, 8)) * 8)
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ |
H A D | ifmtr.c | 162 num_vectors = CEIL_DIV(cropped_width + left_padding, in ia_css_ifmtr_configure() 165 num_vectors = CEIL_DIV(cropped_width, ISP_VEC_NELEMS); in ia_css_ifmtr_configure() 318 vectors_per_line = CEIL_DIV(cropped_width, ISP_VEC_NELEMS); in ia_css_ifmtr_configure()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ |
H A D | ia_css_dvs.host.c | 153 bottom_y = CEIL_DIV(ymax, 1 << DVS_COORD_FRAC_BITS); in convert_coords_to_ispparams() 156 bottom_x = CEIL_DIV(xmax, 1 << DVS_COORD_FRAC_BITS); in convert_coords_to_ispparams()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
H A D | frame.c | 430 unsigned int words_per_line = CEIL_DIV(info->padded_width, pix_per_ddrword); in ia_css_dma_configure_from_info() 494 CEIL_DIV(subpixels_per_line, in frame_init_raw_single_plane() 702 return CEIL_DIV(info->raw_bit_depth, 8); in ia_css_elems_bytes_from_info()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | virtual_isys.c | 847 cfg->width = CEIL_DIV(cfg->stride, HIVE_ISP_DDR_WORD_BYTES); in calculate_isys2401_dma_port_cfg()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
H A D | ia_css_debug.c | 158 u32 stack_size_words = CEIL_DIV(stack_size, sizeof(uint32_t)); in debug_dump_long_array_formatted()
|