/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
A D | ia_css_sdis2.host.c | 41 unsigned int aligned_width = from->grid.aligned_width * in ia_css_sdis2_horicoef_vmem_encode() local 44 int padding = aligned_width - width; in ia_css_sdis2_horicoef_vmem_encode() 46 unsigned int total_bytes = aligned_width * IA_CSS_DVS2_NUM_COEF_TYPES * in ia_css_sdis2_horicoef_vmem_encode() 234 size_bytes = host_stats->grid.aligned_width * sizeof(*htemp_ptr); in ia_css_translate_dvs2_statistics() 266 dst_offset += host_stats->grid.aligned_width; in ia_css_translate_dvs2_statistics() 293 size = CEIL_MUL(sizeof(int) * grid->aligned_width, HIVE_ISP_DDR_WORD_BYTES) in ia_css_isp_dvs2_statistics_allocate()
|
/linux/drivers/gpu/drm/vc4/ |
A D | vc4_validate.c | 163 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local 182 aligned_width = round_up(width, utile_w); in vc4_check_tex_size() 186 aligned_width = round_up(width, utile_w * 8); in vc4_check_tex_size() 190 aligned_width = round_up(width, utile_w); in vc4_check_tex_size() 198 stride = aligned_width * cpp; in vc4_check_tex_size() 205 aligned_width, aligned_height, in vc4_check_tex_size() 689 uint32_t aligned_width, aligned_height; in reloc_tex() local 704 aligned_width = round_up(level_width, utile_w); in reloc_tex() 708 aligned_width = round_up(level_width, utile_w); in reloc_tex() 713 level_size = aligned_width * cpp * aligned_height; in reloc_tex() [all …]
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
A D | ia_css_sdis.host.c | 45 unsigned int aligned_width = from->grid.aligned_width * in ia_css_sdis_horicoef_vmem_encode() local 48 int padding = aligned_width - width; in ia_css_sdis_horicoef_vmem_encode() 50 unsigned int total_bytes = aligned_width * IA_CSS_DVS_NUM_COEF_TYPES * sizeof( in ia_css_sdis_horicoef_vmem_encode() 287 ver_num_isp = host_stats->grid.aligned_width; in ia_css_translate_dvs_statistics() 330 grid->aligned_width, in ia_css_isp_dvs_statistics_allocate()
|
/linux/drivers/media/v4l2-core/ |
A D | v4l2-common.c | 380 unsigned int aligned_width; in v4l2_fill_pixfmt_mp() local 383 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); in v4l2_fill_pixfmt_mp() 387 DIV_ROUND_UP(aligned_width, hdiv) * in v4l2_fill_pixfmt_mp() 394 unsigned int aligned_width; in v4l2_fill_pixfmt_mp() local 397 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); in v4l2_fill_pixfmt_mp() 402 info->bpp[i] * DIV_ROUND_UP(aligned_width, hdiv); in v4l2_fill_pixfmt_mp() 434 unsigned int aligned_width; in v4l2_fill_pixfmt() local 437 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); in v4l2_fill_pixfmt() 441 DIV_ROUND_UP(aligned_width, hdiv) * in v4l2_fill_pixfmt()
|
/linux/drivers/media/platform/qcom/venus/ |
A D | hfi_plat_bufs_v6.c | 289 u32 aligned_width = ALIGN(width, 16); in h264d_scratch_size() local 319 u32 aligned_width = ALIGN(width, 16); in h265d_scratch_size() local 331 u32 aligned_width = ALIGN(width, 16); in vpxd_scratch_size() local 333 u32 size_yuv = aligned_width * aligned_height * 3 / 2; in vpxd_scratch_size() 363 u32 aligned_width, aligned_height; in calculate_enc_output_frame_size() local 374 aligned_width = ALIGN(width, 32); in calculate_enc_output_frame_size() 377 ALIGN(aligned_width, 16)) / 256; in calculate_enc_output_frame_size() 407 u32 aligned_width, aligned_height, bitstream_size; in calculate_enc_scratch_size() local 411 aligned_width = ALIGN(width, lcu_size); in calculate_enc_scratch_size() 424 bitstream_size = aligned_width * aligned_height * 3; in calculate_enc_scratch_size() [all …]
|
A D | helpers.h | 71 int venus_helper_set_stride(struct venus_inst *inst, unsigned int aligned_width,
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/ |
A D | ia_css_sdis_common_types.h | 59 u32 aligned_width; /** Stride of each grid line. member 87 u32 aligned_width; /** Stride of each grid line. member
|
/linux/drivers/media/platform/coda/ |
A D | coda-jpeg.c | 1070 u16 aligned_width, aligned_height; in coda9_jpeg_prepare_encode() local 1105 if (aligned_width != q_data_src->bytesperline) { in coda9_jpeg_prepare_encode() 1107 aligned_width, q_data_src->bytesperline); in coda9_jpeg_prepare_encode() 1152 aligned_width = aligned_height; in coda9_jpeg_prepare_encode() 1160 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_encode() 1181 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_encode() 1305 int aligned_width, aligned_height; in coda9_jpeg_prepare_decode() local 1346 if (aligned_width != q_data_dst->bytesperline) { in coda9_jpeg_prepare_decode() 1348 aligned_width, q_data_dst->bytesperline); in coda9_jpeg_prepare_decode() 1363 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_decode() [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | sh_css_params.c | 1096 unsigned int i, j, aligned_width; in ia_css_params_alloc_convert_sctbl() local 1110 aligned_width = binary->sctbl_aligned_width_per_color; in ia_css_params_alloc_convert_sctbl() 1129 ptr += aligned_width; in ia_css_params_alloc_convert_sctbl() 2247 grid->aligned_width * in ia_css_isp_3a_statistics_allocate() 3039 unsigned int aligned_width) in convert_allocate_morph_plane() argument 3051 if (width > aligned_width) { in convert_allocate_morph_plane() 3053 w = aligned_width; in convert_allocate_morph_plane() 3055 padding = aligned_width - width; in convert_allocate_morph_plane() 3088 unsigned int aligned_width) in store_morph_plane() argument 4456 me->hor_prod.odd_real = kvmalloc(grid->aligned_width * in ia_css_dvs2_statistics_allocate() [all …]
|
A D | atomisp_compat_css20.c | 1578 dvs_grid->aligned_height * dvs_grid->aligned_width * in atomisp_alloc_dis_coef_buf() 1582 dvs_grid->aligned_height * dvs_grid->aligned_width * in atomisp_alloc_dis_coef_buf()
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
A D | ia_css_s3a_types.h | 84 u32 aligned_width; /** Horizontal stride (for alloc).
|
A D | ia_css_s3a.host.c | 309 isp_width = host_stats->grid.aligned_width; in ia_css_s3a_dmem_decode()
|
/linux/drivers/media/platform/sti/delta/ |
A D | delta-v4l2.c | 251 frameinfo->aligned_width = ALIGN(frameinfo->width, in set_default_params() 255 frameinfo->size = frame_size(frameinfo->aligned_width, in set_default_params() 469 pix->width = frameinfo->aligned_width; in delta_g_fmt_frame() 472 pix->bytesperline = frame_stride(frameinfo->aligned_width, in delta_g_fmt_frame() 683 frameinfo.aligned_width = pix->width; in delta_s_fmt_frame() 708 pix->width = frameinfo.aligned_width; in delta_s_fmt_frame() 753 s->r.width = frameinfo->aligned_width; in delta_g_selection() 1186 frameinfo->aligned_width = ALIGN(streaminfo->width, in delta_get_frameinfo_default() 1190 frameinfo->size = frame_size(frameinfo->aligned_width, in delta_get_frameinfo_default()
|
A D | delta-debug.c | 43 f->aligned_width, f->aligned_height, in delta_frameinfo_str()
|
A D | delta.h | 137 u32 aligned_width; member
|
A D | delta-mjpeg-dec.c | 281 + frame->info.aligned_width * frame->info.aligned_height); in delta_mjpeg_ipc_decode()
|
/linux/drivers/gpu/drm/ |
A D | drm_gem_framebuffer_helper.c | 559 afbc_fb->aligned_width = ALIGN(mode_cmd->width, w_alignment); in drm_gem_afbc_min_size() 569 n_blocks = (afbc_fb->aligned_width * afbc_fb->aligned_height) in drm_gem_afbc_min_size()
|
/linux/include/drm/ |
A D | drm_framebuffer.h | 321 u32 aligned_width; member
|
/linux/drivers/media/platform/sti/hva/ |
A D | hva-v4l2.c | 99 frameinfo->aligned_width = ALIGN(frameinfo->width, in set_default_params() 103 frameinfo->size = frame_size(frameinfo->aligned_width, in set_default_params() 240 frame->aligned_width, frame->aligned_height, in hva_dbg_summary() 328 f->fmt.pix.bytesperline = frame_stride(frameinfo->aligned_width, in hva_g_fmt_frame() 506 ctx->frameinfo.aligned_width = ALIGN(pix->width, HVA_WIDTH_ALIGNMENT); in hva_s_fmt_frame()
|
A D | hva.h | 44 u32 aligned_width; member
|
A D | hva-h264.c | 607 u32 frame_width = frame->info.aligned_width; in hva_h264_prepare_task() 894 u32 frame_width = pctx->frameinfo.aligned_width; in hva_h264_open()
|
A D | hva-debugfs.c | 31 frame->aligned_width, frame->aligned_height); in format_ctx()
|
/linux/drivers/staging/media/atomisp/include/linux/ |
A D | atomisp.h | 179 u32 aligned_width; member 198 u32 aligned_width; member
|
/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
A D | binary.c | 764 dvs_info->aligned_width = binary->dis.grid.pad.width; in ia_css_binary_dvs_grid_info() 802 s3a_info->aligned_width = binary->s3atbl_isp_width; in ia_css_binary_3a_grid_info()
|