Lines Matching defs:block_z

190  * @param block_z   The block z dimensions.
197 unsigned int block_z
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);
440 unsigned int block_z,
458 block_z = astc::max(block_z, 1u); // For 2D blocks Z==0 is accepted, but convert to 1
459 status = validate_block_size(block_x, block_y, block_z);
467 config.block_z = block_z;
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,
773 trace_add_data("block_z", config.block_z);
847 int block_z = bsd.zdim;
848 blk.texel_count = static_cast<uint8_t>(block_x * block_y * block_z);
856 int zblocks = (dim_z + block_z - 1) / block_z;
884 block_z == 1 && image.data_type == ASTCENC_TYPE_U8;
912 if (ctx.config.a_scale_radius != 0 && block_z == 1)
950 load_func(decode_mode, image, blk, bsd, x * block_x, y * block_y, z * block_z, swizzle);
1103 unsigned int block_z = ctx->config.block_z;
1107 unsigned int zblocks = (image.dim_z + block_z - 1) / block_z;
1212 unsigned int block_z = ctx->config.block_z;
1216 unsigned int zblocks = (image_out.dim_z + block_z - 1) / block_z;
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);
1320 info->block_z = ctx->config.block_z;