Home
last modified time | relevance | path

Searched refs:weight_count (Results 1 – 11 of 11) sorted by relevance

/third_party/astc-encoder/Source/
Dastcenc_weight_align.cpp104 unsigned int weight_count, in compute_angular_offsets() argument
109 promise(weight_count > 0); in compute_angular_offsets()
115 for (unsigned int i = 0; i < weight_count; i += ASTCENC_SIMD_WIDTH) in compute_angular_offsets()
131 for (unsigned int j = 0; j < weight_count; j++) in compute_angular_offsets()
163 unsigned int weight_count, in compute_lowest_and_highest_weight() argument
174 promise(weight_count > 0); in compute_lowest_and_highest_weight()
189 for (unsigned int j = 0; j < weight_count; ++j) in compute_lowest_and_highest_weight()
246 unsigned int weight_count, in compute_angular_endpoints_for_quant_levels() argument
256 compute_angular_offsets(weight_count, dec_weight_ideal_value, in compute_angular_endpoints_for_quant_levels()
265 compute_lowest_and_highest_weight(weight_count, dec_weight_ideal_value, in compute_angular_endpoints_for_quant_levels()
[all …]
Dastcenc_symbolic_physical.cpp174 int weight_count = di.weight_count; in symbolic_to_physical() local
178 int real_weight_count = is_dual_plane ? 2 * weight_count : weight_count; in symbolic_to_physical()
185 for (int i = 0; i < weight_count; i++) in symbolic_to_physical()
194 encode_ise(weight_quant_method, weight_count, scb.weights, weightbuf, 0); in symbolic_to_physical()
376 int weight_count = di.weight_count; in physical_to_symbolic() local
380 int real_weight_count = is_dual_plane ? 2 * weight_count : weight_count; in physical_to_symbolic()
400 for (int i = 0; i < weight_count; i++) in physical_to_symbolic()
408 decode_ise(weight_quant_method, weight_count, bswapped, scb.weights, 0); in physical_to_symbolic()
Dastcenc_block_sizes.cpp129 unsigned int weight_count = x_weights * y_weights * (D + 1); in decode_block_mode_2d() local
133 weight_bits = get_ise_sequence_bitcount(weight_count, static_cast<quant_method>(quant_mode)); in decode_block_mode_2d()
134 return (weight_count <= BLOCK_MAX_WEIGHTS && in decode_block_mode_2d()
232 unsigned int weight_count = x_weights * y_weights * z_weights * (D + 1); in decode_block_mode_3d() local
236 weight_bits = get_ise_sequence_bitcount(weight_count, static_cast<quant_method>(quant_mode)); in decode_block_mode_3d()
237 return (weight_count <= BLOCK_MAX_WEIGHTS && in decode_block_mode_3d()
431 di.weight_count = static_cast<uint8_t>(weights_per_block); in init_decimation_info_2d()
700 di.weight_count = static_cast<uint8_t>(weights_per_block); in init_decimation_info_3d()
773 unsigned int weight_count = x_weights * y_weights; in construct_dt_entry_2d() local
774 assert(weight_count <= BLOCK_MAX_WEIGHTS); in construct_dt_entry_2d()
[all …]
Dastcenc_ideal_endpoints_and_weights.cpp781 unsigned int weight_count = di.weight_count; in compute_ideal_weights_for_decimation() local
782 bool is_direct = texel_count == weight_count; in compute_ideal_weights_for_decimation()
784 promise(weight_count > 0); in compute_ideal_weights_for_decimation()
794 unsigned int prev_weight_count_simd = round_down_to_simd_multiple_vla(weight_count - 1); in compute_ideal_weights_for_decimation()
832 for (unsigned int i = 0; i < weight_count; i += ASTCENC_SIMD_WIDTH) in compute_ideal_weights_for_decimation()
887 for (unsigned int i = 0; i < weight_count; i += ASTCENC_SIMD_WIDTH) in compute_ideal_weights_for_decimation()
937 int weight_count = di.weight_count; in compute_quantized_weights_for_decimation() local
938 promise(weight_count > 0); in compute_quantized_weights_for_decimation()
971 for (int i = 0; i < weight_count; i += ASTCENC_SIMD_WIDTH) in compute_quantized_weights_for_decimation()
1071 unsigned int weight_count = di.weight_count; in recompute_ideal_colors_1plane() local
[all …]
Dastcenc_compress_symbolic.cpp208 unsigned int weight_count = di.weight_count; in realign_weights_decimated() local
209 assert(weight_count != bsd.texel_count); in realign_weights_decimated()
224 promise(weight_count > 0); in realign_weights_decimated()
256 for (unsigned int we_idx = 0; we_idx < weight_count; we_idx++) in realign_weights_decimated()
263 for (unsigned int we_idx = 0; we_idx < weight_count; we_idx++) in realign_weights_decimated()
525 promise(di.weight_count > 0); in compress_symbolic_block_for_partition_1plane()
540 for (unsigned int j = 0; j < di.weight_count; j++) in compress_symbolic_block_for_partition_1plane()
661 if (di.weight_count != bsd.texel_count) in compress_symbolic_block_for_partition_1plane()
906 promise(di.weight_count > 0); in compress_symbolic_block_for_partition_2planes()
924 for (int j = 0; j < di.weight_count; j++) in compress_symbolic_block_for_partition_2planes()
[all …]
Dastcenc_decompress_symbolic.cpp42 vint weight_count(di.texel_weight_count + base_texel_index); in compute_value_of_texel_weight_int_vla() local
43 int max_weight_count = hmax(weight_count).lane<0>(); in compute_value_of_texel_weight_int_vla()
137 unsigned int weight_count = di.weight_count; in unpack_weights() local
145 for (unsigned int i = 0; i < weight_count; i++) in unpack_weights()
157 for (unsigned int i = 0; i < weight_count; i++) in unpack_weights()
Dastcenc_internal.h550 uint8_t weight_count; member
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
Dastc_symbolic_physical.cpp121 int weight_count = ixtab2[bsd->block_modes[block_mode].decimation_mode]->num_weights; in physical_to_symbolic() local
125 int real_weight_count = is_dual_plane ? 2 * weight_count : weight_count; in physical_to_symbolic()
144 for (i = 0; i < weight_count; i++) in physical_to_symbolic()
152 decode_ise(weight_quantization_method, weight_count, bswapped, res->plane1_weights, 0); in physical_to_symbolic()
Dastc_block_sizes2.cpp126 int weight_count = N * M * (D + 1); in decode_block_mode_2d() local
129 int weightbits = compute_ise_bitcount(weight_count, (quantization_method) qmode); in decode_block_mode_2d()
130 …if (weight_count > MAX_WEIGHTS_PER_BLOCK || weightbits < MIN_WEIGHT_BITS_PER_BLOCK || weightbits >… in decode_block_mode_2d()
215 int weight_count = N * M * Q * (D + 1); in decode_block_mode_3d() local
218 int weightbits = compute_ise_bitcount(weight_count, (quantization_method) qmode); in decode_block_mode_3d()
219 if (weight_count > MAX_WEIGHTS_PER_BLOCK || in decode_block_mode_3d()
Dastc_decompress_symbolic.cpp236 int weight_count = it->num_weights; in decompress_symbolic_block() local
240 for (i = 0; i < weight_count; i++) in decompress_symbolic_block()
247 for (i = 0; i < weight_count; i++) in decompress_symbolic_block()
/third_party/astc-encoder/Docs/
DTerminology.md15 * `weight_count`