Home
last modified time | relevance | path

Searched refs:weight_bits (Results 1 – 8 of 8) sorted by relevance

/third_party/astc-encoder/Source/
Dastcenc_block_sizes.cpp42 unsigned int& weight_bits in decode_block_mode_2d() argument
133 weight_bits = get_ise_sequence_bitcount(weight_count, static_cast<quant_method>(quant_mode)); in decode_block_mode_2d()
135 weight_bits >= BLOCK_MIN_WEIGHT_BITS && in decode_block_mode_2d()
136 weight_bits <= BLOCK_MAX_WEIGHT_BITS); in decode_block_mode_2d()
159 unsigned int& weight_bits in decode_block_mode_3d() argument
236 weight_bits = get_ise_sequence_bitcount(weight_count, static_cast<quant_method>(quant_mode)); in decode_block_mode_3d()
238 weight_bits >= BLOCK_MIN_WEIGHT_BITS && in decode_block_mode_3d()
239 weight_bits <= BLOCK_MAX_WEIGHT_BITS); in decode_block_mode_3d()
891 unsigned int weight_bits; in construct_block_size_descriptor_2d() local
892 …bool valid = decode_block_mode_2d(i, x_weights, y_weights, is_dual_plane, quant_mode, weight_bits); in construct_block_size_descriptor_2d()
[all …]
Dastcenc_compress_symbolic.cpp463 int bitcount = free_bits_for_partition_count[partition_count - 1] - bm.weight_bits; in compress_symbolic_block_for_partition_1plane()
828 qwt_bitcounts[i] = 109 - bm.weight_bits; in compress_symbolic_block_for_partition_2planes()
Dastcenc_internal.h610 uint8_t weight_bits; member
/third_party/mesa3d/src/mesa/main/
Dtexcompress_astc.cpp601 int weight_bits; member
844 int offset = 128 - weight_bits; in decode_cem()
879 uint32_t m0 = in.get_bits(28, 1) | (in.get_bits(128 - weight_bits - 5, 1) << 1); in decode_cem()
1112 int bits_left = weight_bits; in unpack_weights()
1132 int bits_left = weight_bits; in unpack_weights()
1149 assert((weight_bits % wt_bits) == 0); in unpack_weights()
1466 …, dual_plane, num_weights, high_prec, wt_range, wt_max, wt_trits, wt_quints, wt_bits, weight_bits); in decode()
1527 int ccs_offset = 128 - weight_bits - num_extra_cem_bits - 2; in decode()
1538 in.printf_bits(128 - weight_bits, weight_bits, "weights (%d bits)", weight_bits); in decode()
1543 if (weight_bits < 24 || weight_bits > 96) in decode()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/KHR/
DKHR_texture_compression_astc_hdr.txt1862 weight_bits = ceil(num_weights*8*trits_in_weight_range/5) +
1866 remaining_bits = 128 - config_bits - weight_bits;
/third_party/openGLES/extensions/OES/
DOES_texture_compression_astc.txt2017 weight_bits = ceil(num_weights*8*trits_in_weight_range/5) +
2021 remaining_bits = 128 - config_bits - weight_bits;
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_texture_compression_astc.txt2004 weight_bits = ceil(num_weights*8*trits_in_weight_range/5) +
2008 remaining_bits = 128 - config_bits - weight_bits;
/third_party/openGLES/extensions/KHR/
DKHR_texture_compression_astc_hdr.txt1873 weight_bits = ceil(num_weights*8*trits_in_weight_range/5) +
1877 remaining_bits = 128 - config_bits - weight_bits;