| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_validate.c | 169 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local 191 aligned_width = round_up(width, utile_w); in vc4_check_tex_size() 195 aligned_width = round_up(width, utile_w * 8); in vc4_check_tex_size() 199 aligned_width = round_up(width, utile_w); in vc4_check_tex_size() 207 stride = aligned_width * cpp; 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 727 aligned_width = round_up(level_width, utile_w * 8); in reloc_tex() 731 aligned_width = round_up(level_width, utile_w); in reloc_tex() 735 aligned_width = round_up(level_width, utile_w); in reloc_tex() [all …]
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A D | hfi_plat_bufs_v6.c | 289 u32 aligned_width = ALIGN(width, 16); in h264d_scratch_size() local 294 size = size_h264d_hw_bin_buffer(aligned_width, aligned_height); in h264d_scratch_size() 319 u32 aligned_width = ALIGN(width, 16); in h265d_scratch_size() local 324 size = size_h265d_hw_bin_buffer(aligned_width, aligned_height); in h265d_scratch_size() 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 [all …]
|
| H A D | helpers.h | 72 int venus_helper_set_stride(struct venus_inst *inst, unsigned int aligned_width,
|
| /linux/drivers/media/platform/chips-media/coda/ |
| H A D | coda-jpeg.c | 1076 u16 aligned_width, aligned_height; in coda9_jpeg_prepare_encode() local 1108 aligned_width = round_up(q_data_src->width, width_align[chroma_format]); in coda9_jpeg_prepare_encode() 1111 if (aligned_width != q_data_src->bytesperline) { in coda9_jpeg_prepare_encode() 1113 aligned_width, q_data_src->bytesperline); in coda9_jpeg_prepare_encode() 1159 aligned_width = aligned_height; 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 1367 aligned_width = round_up(q_data_src->width, width_align[chroma_format]); in coda9_jpeg_prepare_decode() 1369 if (aligned_width != q_data_dst->bytesperline) { in coda9_jpeg_prepare_decode() [all …]
|
| /linux/drivers/media/platform/st/sti/delta/ |
| H A D | delta-v4l2.c | 255 frameinfo->aligned_width = ALIGN(frameinfo->width, in set_default_params() 259 frameinfo->size = frame_size(frameinfo->aligned_width, in set_default_params() 473 pix->width = frameinfo->aligned_width; in delta_g_fmt_frame() 476 pix->bytesperline = frame_stride(frameinfo->aligned_width, in delta_g_fmt_frame() 687 frameinfo.aligned_width = pix->width; in delta_s_fmt_frame() 712 pix->width = frameinfo.aligned_width; in delta_s_fmt_frame() 757 s->r.width = frameinfo->aligned_width; in delta_g_selection() 1190 frameinfo->aligned_width = ALIGN(streaminfo->width, in delta_get_frameinfo_default() 1194 frameinfo->size = frame_size(frameinfo->aligned_width, in delta_get_frameinfo_default()
|
| H A D | delta.h | 137 u32 aligned_width; member
|
| H A D | delta-mjpeg-dec.c | 281 + frame->info.aligned_width * frame->info.aligned_height); in delta_mjpeg_ipc_decode()
|
| /linux/include/drm/ |
| H A D | drm_framebuffer.h | 311 u32 aligned_width; member
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_gem_framebuffer_helper.c | 561 afbc_fb->aligned_width = ALIGN(mode_cmd->width, w_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 D | hva-v4l2.c | 101 frameinfo->aligned_width = ALIGN(frameinfo->width, in set_default_params() 105 frameinfo->size = frame_size(frameinfo->aligned_width, in set_default_params() 242 frame->aligned_width, frame->aligned_height, in hva_dbg_summary() 330 f->fmt.pix.bytesperline = frame_stride(frameinfo->aligned_width, in hva_g_fmt_frame() 508 ctx->frameinfo.aligned_width = ALIGN(pix->width, HVA_WIDTH_ALIGNMENT); in hva_s_fmt_frame()
|
| H 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()
|
| H A D | hva-debugfs.c | 31 frame->aligned_width, frame->aligned_height); in format_ctx()
|
| /linux/drivers/media/platform/rockchip/rkvdec/ |
| H A D | rkvdec-vp9.c | 667 unsigned int aligned_width, aligned_height; in validate_dec_params() local 676 aligned_width = round_up(dec_params->frame_width_minus_1 + 1, 64); in validate_dec_params() 683 if (aligned_width != ctx->decoded_fmt.fmt.pix_mp.width || in validate_dec_params()
|