Home
last modified time | relevance | path

Searched refs:aligned_width (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/vc4/
Dvc4_validate.c163 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
700 aligned_width = round_up(level_width, utile_w * 8); in reloc_tex()
704 aligned_width = round_up(level_width, utile_w); in reloc_tex()
708 aligned_width = round_up(level_width, utile_w); in reloc_tex()
[all …]
/drivers/media/v4l2-core/
Dv4l2-common.c375 unsigned int aligned_width; in v4l2_fill_pixfmt_mp() local
378 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); in v4l2_fill_pixfmt_mp()
382 DIV_ROUND_UP(aligned_width, hdiv) * in v4l2_fill_pixfmt_mp()
389 unsigned int aligned_width; in v4l2_fill_pixfmt_mp() local
392 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); in v4l2_fill_pixfmt_mp()
397 info->bpp[i] * DIV_ROUND_UP(aligned_width, hdiv); in v4l2_fill_pixfmt_mp()
429 unsigned int aligned_width; in v4l2_fill_pixfmt() local
432 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); in v4l2_fill_pixfmt()
436 DIV_ROUND_UP(aligned_width, hdiv) * in v4l2_fill_pixfmt()
/drivers/media/platform/sti/delta/
Ddelta-v4l2.c251 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()
1187 frameinfo->aligned_width = ALIGN(streaminfo->width, in delta_get_frameinfo_default()
1191 frameinfo->size = frame_size(frameinfo->aligned_width, in delta_get_frameinfo_default()
Ddelta-debug.c43 f->aligned_width, f->aligned_height, in delta_frameinfo_str()
Ddelta.h137 u32 aligned_width; member
Ddelta-mjpeg-dec.c281 + frame->info.aligned_width * frame->info.aligned_height); in delta_mjpeg_ipc_decode()
/drivers/media/platform/sti/hva/
Dhva-v4l2.c99 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()
Dhva.h44 u32 aligned_width; member
Dhva-h264.c605 u32 frame_width = frame->info.aligned_width; in hva_h264_prepare_task()
892 u32 frame_width = pctx->frameinfo.aligned_width; in hva_h264_open()
Dhva-debugfs.c31 frame->aligned_width, frame->aligned_height); in format_ctx()