Home
last modified time | relevance | path

Searched refs:aligned_height (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
Dia_css_sdis2.host.c66 unsigned int aligned_height = from->grid.aligned_height * in ia_css_sdis2_vertcoef_vmem_encode() local
69 int padding = aligned_height - height; in ia_css_sdis2_vertcoef_vmem_encode()
71 unsigned int total_bytes = aligned_height * IA_CSS_DVS2_NUM_COEF_TYPES * in ia_css_sdis2_vertcoef_vmem_encode()
240 table_size = table_width * host_stats->grid.aligned_height; in ia_css_translate_dvs2_statistics()
244 for (height = 0; height < host_stats->grid.aligned_height; height++) { in ia_css_translate_dvs2_statistics()
294 * grid->aligned_height * IA_CSS_DVS2_NUM_COEF_TYPES; in ia_css_isp_dvs2_statistics_allocate()
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_validate.c168 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local
191 aligned_height = height; in vc4_check_tex_size()
195 aligned_height = round_up(height, utile_h * 8); in vc4_check_tex_size()
199 aligned_height = round_up(height, utile_h); in vc4_check_tex_size()
207 size = stride * aligned_height; in vc4_check_tex_size()
213 aligned_width, aligned_height, in vc4_check_tex_size()
701 uint32_t aligned_width, aligned_height; in reloc_tex() local
713 aligned_height = round_up(level_height, utile_h * 8); in reloc_tex()
717 aligned_height = round_up(level_height, utile_h); in reloc_tex()
721 aligned_height = level_height; in reloc_tex()
[all …]
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dhfi_plat_bufs_v6.c290 u32 aligned_height = ALIGN(height, 16); in h264d_scratch_size() local
294 size = size_h264d_hw_bin_buffer(aligned_width, aligned_height); in h264d_scratch_size()
320 u32 aligned_height = ALIGN(height, 16); in h265d_scratch_size() local
324 size = size_h265d_hw_bin_buffer(aligned_width, aligned_height); in h265d_scratch_size()
332 u32 aligned_height = ALIGN(height, 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
375 aligned_height = ALIGN(height, 32); in calculate_enc_output_frame_size()
376 mbs_per_frame = (ALIGN(aligned_height, 16) * in calculate_enc_output_frame_size()
407 u32 aligned_width, aligned_height, bitstream_size; in calculate_enc_scratch_size() local
[all …]
Dhelpers.h73 unsigned int aligned_height);
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
Dia_css_sdis.host.c72 unsigned int aligned_height = from->grid.aligned_height * in ia_css_sdis_vertcoef_vmem_encode() local
75 int padding = aligned_height - height; in ia_css_sdis_vertcoef_vmem_encode()
77 unsigned int total_bytes = aligned_height * IA_CSS_DVS_NUM_COEF_TYPES * in ia_css_sdis_vertcoef_vmem_encode()
286 hor_num_isp = host_stats->grid.aligned_height; in ia_css_translate_dvs_statistics()
327 grid->aligned_height, in ia_css_isp_dvs_statistics_allocate()
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/
Dia_css_sdis_common_types.h69 u32 aligned_height;/** Stride of each grid column. member
97 u32 aligned_height;/** Stride of each grid column. member
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-common.c383 unsigned int aligned_height; in v4l2_fill_pixfmt_mp() local
386 aligned_height = ALIGN(height, v4l2_format_block_height(info, i)); in v4l2_fill_pixfmt_mp()
390 DIV_ROUND_UP(aligned_height, vdiv); in v4l2_fill_pixfmt_mp()
397 unsigned int aligned_height; in v4l2_fill_pixfmt_mp() local
400 aligned_height = ALIGN(height, v4l2_format_block_height(info, i)); in v4l2_fill_pixfmt_mp()
406 plane->bytesperline * DIV_ROUND_UP(aligned_height, vdiv); in v4l2_fill_pixfmt_mp()
437 unsigned int aligned_height; in v4l2_fill_pixfmt() local
440 aligned_height = ALIGN(height, v4l2_format_block_height(info, i)); in v4l2_fill_pixfmt()
444 DIV_ROUND_UP(aligned_height, vdiv); in v4l2_fill_pixfmt()
/linux-6.1.9/drivers/staging/media/rkvdec/
Drkvdec-vp9.c403 unsigned int aligned_pitch, aligned_height, yuv_len; in get_mv_base_addr() local
405 aligned_height = round_up(buf->vp9.height, 64); in get_mv_base_addr()
407 yuv_len = (aligned_height * aligned_pitch * 3) / 2; in get_mv_base_addr()
418 unsigned int aligned_pitch, aligned_height, y_len, yuv_len; in config_ref_registers() local
421 aligned_height = round_up(ref_buf->vp9.height, 64); in config_ref_registers()
433 y_len = aligned_height * aligned_pitch; in config_ref_registers()
520 unsigned int y_len, uv_len, yuv_len, bit_depth, aligned_height, aligned_pitch, stream_len; in config_registers() local
555 aligned_height = round_up(ctx->decoded_fmt.fmt.pix_mp.height, 64); in config_registers()
560 y_len = aligned_height * aligned_pitch; in config_registers()
700 unsigned int aligned_width, aligned_height; in validate_dec_params() local
[all …]
/linux-6.1.9/drivers/media/platform/chips-media/
Dcoda-jpeg.c1076 u16 aligned_width, aligned_height; in coda9_jpeg_prepare_encode() local
1109 aligned_height = round_up(q_data_src->height, in coda9_jpeg_prepare_encode()
1159 aligned_width = aligned_height; in coda9_jpeg_prepare_encode()
1160 aligned_height = q_data_src->bytesperline; in coda9_jpeg_prepare_encode()
1167 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_encode()
1188 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_encode()
1330 int aligned_width, aligned_height; in coda9_jpeg_prepare_decode() local
1368 aligned_height = round_up(q_data_src->height, height_align[chroma_format]); in coda9_jpeg_prepare_decode()
1386 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_decode()
1430 coda_write(dev, aligned_width << 16 | aligned_height, in coda9_jpeg_prepare_decode()
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
Dia_css_s3a_types.h88 u32 aligned_height; /** Vertical stride (for alloc).
/linux-6.1.9/drivers/media/platform/st/sti/delta/
Ddelta-debug.c43 f->aligned_width, f->aligned_height, in delta_frameinfo_str()
Ddelta-v4l2.c253 frameinfo->aligned_height = ALIGN(frameinfo->height, in set_default_params()
256 frameinfo->aligned_height, in set_default_params()
470 pix->height = frameinfo->aligned_height; in delta_g_fmt_frame()
684 frameinfo.aligned_height = pix->height; in delta_s_fmt_frame()
709 pix->height = frameinfo.aligned_height; in delta_s_fmt_frame()
754 s->r.height = frameinfo->aligned_height; in delta_g_selection()
1188 frameinfo->aligned_height = ALIGN(streaminfo->height, in delta_get_frameinfo_default()
1191 frameinfo->aligned_height, in delta_get_frameinfo_default()
Ddelta.h138 u32 aligned_height; member
Ddelta-mjpeg-dec.c281 + frame->info.aligned_width * frame->info.aligned_height); in delta_mjpeg_ipc_decode()
/linux-6.1.9/include/drm/
Ddrm_framebuffer.h325 u32 aligned_height; member
/linux-6.1.9/drivers/gpu/drm/
Ddrm_gem_framebuffer_helper.c552 afbc_fb->aligned_height = ALIGN(mode_cmd->height, h_alignment); in drm_gem_afbc_min_size()
561 n_blocks = (afbc_fb->aligned_width * afbc_fb->aligned_height) in drm_gem_afbc_min_size()
/linux-6.1.9/drivers/media/platform/st/sti/hva/
Dhva.h45 u32 aligned_height; member
Dhva-v4l2.c101 frameinfo->aligned_height = ALIGN(frameinfo->height, in set_default_params()
104 frameinfo->aligned_height, in set_default_params()
240 frame->aligned_width, frame->aligned_height, in hva_dbg_summary()
507 ctx->frameinfo.aligned_height = ALIGN(pix->height, in hva_s_fmt_frame()
Dhva-h264.c608 u32 frame_height = frame->info.aligned_height; in hva_h264_prepare_task()
895 u32 frame_height = pctx->frameinfo.aligned_height; in hva_h264_open()
Dhva-debugfs.c31 frame->aligned_width, frame->aligned_height); in format_ctx()
/linux-6.1.9/drivers/staging/media/atomisp/pci/
Dsh_css_params.c2146 grid->aligned_height; in ia_css_isp_3a_statistics_allocate()
2149 grid->aligned_height; in ia_css_isp_3a_statistics_allocate()
4253 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4260 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4267 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4274 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4281 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4288 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4295 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
4302 grid->aligned_height * in ia_css_dvs2_statistics_allocate()
/linux-6.1.9/drivers/staging/media/atomisp/include/linux/
Datomisp.h181 u32 aligned_height; member
199 u32 aligned_height; member
/linux-6.1.9/drivers/gpu/drm/i915/display/
Di9xx_plane.c983 unsigned int aligned_height; in i9xx_get_initial_plane_config() local
1045 aligned_height = intel_fb_align_height(fb, 0, fb->height); in i9xx_get_initial_plane_config()
1047 plane_config->size = fb->pitches[0] * aligned_height; in i9xx_get_initial_plane_config()
Dskl_universal_plane.c2378 unsigned int aligned_height; in skl_get_initial_plane_config() local
2510 aligned_height = intel_fb_align_height(fb, 0, fb->height); in skl_get_initial_plane_config()
2512 plane_config->size = fb->pitches[0] * aligned_height; in skl_get_initial_plane_config()
/linux-6.1.9/drivers/staging/media/atomisp/pci/runtime/binary/src/
Dbinary.c355 dvs_info->aligned_height = binary->dis.grid.pad.height; in ia_css_binary_dvs_grid_info()
393 s3a_info->aligned_height = binary->s3atbl_isp_height; in ia_css_binary_3a_grid_info()

12