Lines Matching defs:cpp
33 * Computes the HW's UIFblock padding for a given height/cpp.
40 v3d_get_ub_pad(uint32_t cpp, uint32_t height)
42 uint32_t utile_h = v3d_utile_height(cpp);
76 assert(image->cpp > 0);
91 uint32_t utile_w = v3d_utile_width(image->cpp);
92 uint32_t utile_h = v3d_utile_height(image->cpp);
138 level_width = align(level_width, 64 / image->cpp);
160 slice->ub_pad = v3d_get_ub_pad(image->cpp, level_height);
177 slice->stride = level_width * image->cpp;
182 slice->padded_height / (2 * v3d_utile_height(image->cpp));
212 image->alignment = image->tiled ? 4096 : image->cpp;
328 image->cpp = vk_format_get_blocksize(image->vk.format);