Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vc4/
H A Dvc4_validate.c169 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local
192 aligned_height = height; in vc4_check_tex_size()
196 aligned_height = round_up(height, utile_h * 8); in vc4_check_tex_size()
200 aligned_height = round_up(height, utile_h); in vc4_check_tex_size()
208 size = stride * aligned_height; in vc4_check_tex_size()
214 aligned_width, aligned_height, in vc4_check_tex_size()
716 uint32_t aligned_width, aligned_height; in reloc_tex() local
728 aligned_height = round_up(level_height, utile_h * 8); in reloc_tex()
732 aligned_height = round_up(level_height, utile_h); in reloc_tex()
736 aligned_height = level_height; in reloc_tex()
[all …]
/linux/drivers/media/platform/qcom/venus/
H A 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 …]
H A Dhelpers.h73 unsigned int aligned_height);
/linux/drivers/media/platform/rockchip/rkvdec/
H A Drkvdec-vp9.c371 unsigned int aligned_pitch, aligned_height, yuv_len; in get_mv_base_addr() local
373 aligned_height = round_up(buf->vp9.height, 64); in get_mv_base_addr()
375 yuv_len = (aligned_height * aligned_pitch * 3) / 2; in get_mv_base_addr()
386 unsigned int aligned_pitch, aligned_height, y_len, yuv_len; in config_ref_registers() local
390 aligned_height = round_up(ref_buf->vp9.height, 64); in config_ref_registers()
400 y_len = aligned_height * aligned_pitch; in config_ref_registers()
478 unsigned int y_len, uv_len, yuv_len, bit_depth, aligned_height, aligned_pitch, stream_len; in config_registers() local
512 aligned_height = round_up(ctx->decoded_fmt.fmt.pix_mp.height, 64); in config_registers()
517 y_len = aligned_height * aligned_pitch; in config_registers()
667 unsigned int aligned_width, aligned_height; in validate_dec_params() local
[all …]
/linux/drivers/media/platform/chips-media/coda/
H A 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/include/drm/
H A Ddrm_framebuffer.h315 u32 aligned_height; member
/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-v4l2.c257 frameinfo->aligned_height = ALIGN(frameinfo->height, in set_default_params()
260 frameinfo->aligned_height, in set_default_params()
474 pix->height = frameinfo->aligned_height; in delta_g_fmt_frame()
688 frameinfo.aligned_height = pix->height; in delta_s_fmt_frame()
713 pix->height = frameinfo.aligned_height; in delta_s_fmt_frame()
758 s->r.height = frameinfo->aligned_height; in delta_g_selection()
1192 frameinfo->aligned_height = ALIGN(streaminfo->height, in delta_get_frameinfo_default()
1195 frameinfo->aligned_height, in delta_get_frameinfo_default()
H A Ddelta.h138 u32 aligned_height; member
H A Ddelta-mjpeg-dec.c281 + frame->info.aligned_width * frame->info.aligned_height); in delta_mjpeg_ipc_decode()
/linux/drivers/gpu/drm/
H A Ddrm_gem_framebuffer_helper.c562 afbc_fb->aligned_height = ALIGN(mode_cmd->height, h_alignment); in drm_gem_afbc_min_size()
571 n_blocks = (afbc_fb->aligned_width * afbc_fb->aligned_height) in drm_gem_afbc_min_size()
/linux/drivers/media/platform/st/sti/hva/
H A Dhva-v4l2.c103 frameinfo->aligned_height = ALIGN(frameinfo->height, in set_default_params()
106 frameinfo->aligned_height, in set_default_params()
242 frame->aligned_width, frame->aligned_height, in hva_dbg_summary()
509 ctx->frameinfo.aligned_height = ALIGN(pix->height, in hva_s_fmt_frame()
H A 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()
H A Dhva-debugfs.c31 frame->aligned_width, frame->aligned_height); in format_ctx()
/linux/drivers/gpu/drm/i915/display/
H A Dskl_universal_plane.c3065 unsigned int aligned_height; in skl_get_initial_plane_config() local
3203 aligned_height = intel_fb_align_height(fb, 0, fb->height); in skl_get_initial_plane_config()
3205 plane_config->size = fb->pitches[0] * aligned_height; in skl_get_initial_plane_config()