Home
last modified time | relevance | path

Searched refs:block_z (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_entry.cpp243 unsigned int block_z in validate_block_size() argument
246 bool is_legal = (((block_z <= 1) && is_legal_2d_block_size(block_x, block_y)) || in validate_block_size()
247 ((block_z >= 2) && is_legal_3d_block_size(block_x, block_y, block_z))); in validate_block_size()
254 bool have_capacity = (block_x * block_y * block_z) <= BLOCK_MAX_TEXELS; in validate_block_size()
420 status = validate_block_size(config.block_x, config.block_y, config.block_z); in validate_config()
478 unsigned int block_z, in astcenc_config_init() argument
504 block_z = astc::max(block_z, 1u); // For 2D blocks Z==0 is accepted, but convert to 1 in astcenc_config_init()
505 status = validate_block_size(block_x, block_y, block_z); in astcenc_config_init()
513 config.block_z = block_z; in astcenc_config_init()
515 float texels = static_cast<float>(block_x * block_y * block_z); in astcenc_config_init()
[all …]
Dastcenc.h412 unsigned int block_z; member
611 unsigned int block_z; member
691 unsigned int block_z,
Dastcenccli_toplevel.cpp465 unsigned int block_z = 1; in init_astcenc_config() local
472 block_z = comp_image.block_z; in init_astcenc_config()
491 &block_x, &block_y, &cnt2D, &block_z, &cnt3D); in init_astcenc_config()
610 astcenc_error status = astcenc_config_init(profile, block_x, block_y, block_z, in init_astcenc_config()
1118 if ((cli_config.array_size > 1) && (config.block_z == 1)) in edit_astcenc_config()
1201 if (config.block_z == 1) in print_astcenc_config()
1207 …intf(" Block size: %ux%ux%u\n", config.block_x, config.block_y, config.block_z); in print_astcenc_config()
1210 …rate: %3.2f bpp\n", 128.0 / (config.block_x * config.block_y * config.block_z)); in print_astcenc_config()
2090 unsigned int blocks_z = (image_uncomp_in->dim_z + config.block_z - 1) / config.block_z; in main()
2134 image_comp.block_z = config.block_z; in main()
Dastcenccli_internal.h45 unsigned int block_z; member
Dastcenccli_image_load_store.cpp1272 img.block_z = fmt->z == 0 ? 1 : fmt->z; in load_ktx_compressed_image()
1301 unsigned int fmt = get_format(img.block_x, img.block_y, img.block_z, is_srgb); in store_ktx_compressed_image()
2345 uint8_t block_z; member
2395 unsigned int block_z = astc::max(static_cast<unsigned int>(hdr.block_z), 1u); in load_cimage() local
2409 unsigned int zblocks = (dim_z + block_z - 1) / block_z; in load_cimage()
2425 img.block_z = block_z; in load_cimage()
2445 hdr.block_z = static_cast<uint8_t>(img.block_z); in store_cimage()