Home
last modified time | relevance | path

Searched refs:weight_bits (Results 1 - 4 of 4) sorted by relevance

/third_party/astc-encoder/Source/
H A Dastcenc_block_sizes.cpp32 * @param[out] weight_bits The storage bit count for the weights.
42 unsigned int& weight_bits in decode_block_mode_2d()
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()
148 * @param[out] weight_bits The storage bit count for the weights.
159 unsigned int& weight_bits in decode_block_mode_3d()
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 < in decode_block_mode_3d()
888 unsigned int weight_bits; construct_block_size_descriptor_2d() local
1141 unsigned int weight_bits; construct_block_size_descriptor_3d() local
[all...]
H A Dastcenc_internal.h439 uint8_t weight_bits; member
H A Dastcenc_compress_symbolic.cpp666 int bitcount = free_bits_for_partition_count[partition_count - 1] - bm.weight_bits; in compress_symbolic_block_for_partition_1plane()
1040 qwt_bitcounts[i] = static_cast<int8_t>(109 - bm.weight_bits); in compress_symbolic_block_for_partition_2planes()
/third_party/mesa3d/src/mesa/main/
H A 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()
1465 printf("weights_grid=%dx%dx%d dual_plane=%d num_weights=%d high_prec=%d r=%d range=0..%d (%dt %dq %db) weight_bits=%d\n",
1466 wt_w, wt_h, wt_d, dual_plane, num_weights, high_prec, wt_range, wt_max, wt_trits, wt_quints, wt_bits, weight_bits);
1527 int ccs_offset = 128 - weight_bits - num_extra_cem_bits - 2;
1538 in.printf_bits(128 - weight_bits, weight_bit
[all...]

Completed in 10 milliseconds