Lines Matching defs:block_x
188 * @param block_x The block x dimensions.
195 unsigned int block_x,
200 bool is_legal = (((block_z <= 1) && is_legal_2d_block_size(block_x, block_y)) ||
201 ((block_z >= 2) && is_legal_3d_block_size(block_x, block_y, block_z)));
208 bool have_capacity = (block_x * block_y * block_z) <= BLOCK_MAX_TEXELS;
383 status = validate_block_size(config.block_x, config.block_y, config.block_z);
438 unsigned int block_x,
459 status = validate_block_size(block_x, block_y, block_z);
465 config.block_x = block_x;
469 float texels = static_cast<float>(block_x * block_y * block_z);
482 int texels_int = block_x * block_y * block_z;
717 if (!init_block_size_descriptor(ctx->config.privateProfile, config.block_x, config.block_y, config.block_z,
729 init_block_size_descriptor(ctx->config.privateProfile, config.block_x, config.block_y, config.block_z,
771 trace_add_data("block_x", config.block_x);
845 int block_x = bsd.xdim;
848 blk.texel_count = static_cast<uint8_t>(block_x * block_y * block_z);
854 int xblocks = (dim_x + block_x - 1) / block_x;
914 int start_x = x * block_x;
915 int end_x = astc::min(dim_x, start_x + block_x);
923 int x_footprint = block_x + 2 * (ctx.config.a_scale_radius - 1);
950 load_func(decode_mode, image, blk, bsd, x * block_x, y * block_y, z * block_z, swizzle);
1101 unsigned int block_x = ctx->config.block_x;
1105 unsigned int xblocks = (image.dim_x + block_x - 1) / block_x;
1210 unsigned int block_x = ctx->config.block_x;
1214 unsigned int xblocks = (image_out.dim_x + block_x - 1) / block_x;
1230 blk.texel_count = static_cast<uint8_t>(block_x * block_y * block_z);
1270 x * block_x, y * block_y, z * block_z,
1274 x * block_x, y * block_y, z * block_z, *swizzle);
1318 info->block_x = ctx->config.block_x;