/drivers/staging/media/atomisp/pci/isp/modes/interface/ |
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) 80 #define ISP_LEFT_PADDING_VECS CEIL_DIV(ISP_LEFT_PADDING, ISP_VEC_NELEMS) 83 #define ISP_LEFT_PADDING_VECS_CONT CEIL_DIV(ISP_LEFT_PADDING_CONT, ISP_VEC_NELEMS) 86 …CEIL_MUL(padding + CEIL_DIV(width - padding, stripe), ((ENABLE_RAW_BINNING || ENABLE_FIXED_BAYER_D… 90 CEIL_ROUND_DIV_STRIPE(CEIL_DIV(ISP_MAX_INTERNAL_WIDTH, ISP_VEC_NELEMS), \ 102 CEIL_DIV(CEIL_DIV(ISP_MAX_OUTPUT_WIDTH, ISP_NUM_STRIPES) + ISP_LEFT_PADDING, ISP_VEC_NELEMS) 105 #define MAX_VECTORS_PER_INPUT_LINE CEIL_MUL((CEIL_DIV(ISP_MAX_INPUT_WIDTH, ISP_VEC_NELEMS) + ISP_LE… 111 #define MAX_SP_RAW_COPY_VECTORS_PER_INPUT_LINE (CEIL_DIV(ISP_MAX_INPUT_WIDTH, ISP_VEC_NELEMS) + 2) 124 CEIL_DIV(MAX_OUTPUT_C_FRAME_WIDTH, ISP_VEC_NELEMS) [all …]
|
D | input_buf.isp.h | 33 #define MAX_VECTORS_PER_INPUT_LINE_CONT (CEIL_DIV(SH_CSS_MAX_SENSOR_WIDTH, ISP_NWAY) + EXTRA_INPUT_…
|
/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
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)
|
/drivers/staging/media/atomisp/pci/ |
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))
|
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))
|
D | sh_css_defs.h | 234 #define _ISP_VECS(width) CEIL_DIV(width, ISP_VEC_NELEMS) 246 (CEIL_DIV(int_width, SH_CSS_MORPH_TABLE_GRID) + 1) 248 (CEIL_DIV(int_height, SH_CSS_MORPH_TABLE_GRID) + 1)
|
D | sh_css_param_shading.c | 109 out_cell_size = CEIL_DIV(padded_width, out_table->width - 1); in crop_and_interpolate() 110 in_cell_size = CEIL_DIV(sensor_width, table_width - 1); in crop_and_interpolate()
|
D | atomisp_compat_css20.c | 2359 hor_ds_factor = CEIL_DIV(width >> 1, in __configure_capture_pp_input() 2361 ver_ds_factor = CEIL_DIV(height >> 1, in __configure_capture_pp_input()
|
D | sh_css.c | 6794 hor_ds_factor = CEIL_DIV(cas_scaler_in_info->res.width, in ia_css_pipe_create_cas_scaler_desc_single_output() 6796 ver_ds_factor = CEIL_DIV(cas_scaler_in_info->res.height, in ia_css_pipe_create_cas_scaler_desc_single_output() 6932 hor_scale_factor[i] = CEIL_DIV(in_info.res.width, out_info[i]->res.width); in ia_css_pipe_create_cas_scaler_desc() 6933 ver_scale_factor[i] = CEIL_DIV(in_info.res.height, out_info[i]->res.height); in ia_css_pipe_create_cas_scaler_desc()
|
/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
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))
|
/drivers/staging/media/atomisp/pci/isp/kernels/dpc2/ |
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)
|
/drivers/staging/media/atomisp/pci/isp/kernels/fpn/fpn_1.0/ |
D | ia_css_fpn.host.c | 80 my_info.res.width = CEIL_DIV(info->res.width, 2); /* Packed by 2x */ in ia_css_fpn_configure() 82 my_info.padded_width = CEIL_DIV(info->padded_width, 2); /* Packed by 2x */ in ia_css_fpn_configure()
|
/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ |
D | ia_css_anr_types.h | 25 #define ANR_ELEMENT_BITS ((CEIL_DIV(ANR_BPP, 8)) * 8)
|
/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ |
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()
|
/drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ |
D | ia_css_dvs.host.c | 155 bottom_y = CEIL_DIV(ymax, 1 << DVS_COORD_FRAC_BITS); in convert_coords_to_ispparams() 158 bottom_x = CEIL_DIV(xmax, 1 << DVS_COORD_FRAC_BITS); in convert_coords_to_ispparams()
|
/drivers/staging/media/atomisp/pci/isp/kernels/raw/raw_1.0/ |
D | ia_css_raw.host.c | 35 return CEIL_DIV(raw_bit_depth, 8); in sh_css_elems_bytes_from_info()
|
/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
D | frame.c | 606 unsigned int words_per_line = CEIL_DIV(info->padded_width, pix_per_ddrword); in ia_css_dma_configure_from_info() 664 CEIL_DIV(subpixels_per_line, in frame_init_raw_single_plane() 903 return CEIL_DIV(info->raw_bit_depth, 8); in ia_css_elems_bytes_from_info()
|
/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
D | virtual_isys.c | 858 cfg->width = CEIL_DIV(cfg->stride, HIVE_ISP_DDR_WORD_BYTES); in calculate_isys2401_dma_port_cfg()
|
/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
D | ia_css_debug.c | 159 u32 stack_size_words = CEIL_DIV(stack_size, sizeof(uint32_t)); in debug_dump_long_array_formatted()
|