Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DAstcLookupTables.glsl3 // Number of trits, quints and bits that are used to encode the weights.
10 // Number of trits, quints, and bits that we are used to encode the color endpoints, sorted from
55 // Lookup table to decode a pack of 3 quints (encoded with 7 bits)
56 // index: the 7 bits that make the pack of 3 quints
57 // output: the values for the 3 quints, packed together using 3 bits each
DAstc.comp170 uint get_bit_count(uint num_vals, uint trits, uint quints, uint bits) {
173 uint quint_bit_count = ((num_vals * 7 * quints) + 2) / 3;
178 void get_pack_size(uint trits, uint quints, uint bits, out uint pack, out uint packedSize) {
182 } else if (quints == 1) {
192 // We either have three quints or five trits
218 // We either have three quints or five trits
603 uint quints = 0;
623 quints = 1;
639 quints = 1;
649 quints = 1;
[all …]
DAstcDecompressor.glsl64 uvec3 weightEncoding; // Number of trits (x), quints (y) and bits (z) to encode the weights.
72 // encoding: number of trits (x), quints (y) and bits (z) used for the encoding.
288 // Extract the 7 bits that encode the pack of 3 quints
317 // only bits, no trits or quints. We can have between 1 and 6 bits.
559 // only bits, no trits or quints. We can have between 1 and 8 bits.
DAstcNew.comp64 uvec3 weightEncoding; // Number of trits (x), quints (y) and bits (z) to encode the weights.
72 // encoding: number of trits (x), quints (y) and bits (z) used for the encoding.
288 // Extract the 7 bits that encode the pack of 3 quints
317 // only bits, no trits or quints. We can have between 1 and 6 bits.
559 // only bits, no trits or quints. We can have between 1 and 8 bits.
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_integer_sequence.cpp347 uint8_t quints; member
510 unsigned int quints = btq_counts[quant_level].quints; in encode_ise() local
587 else if (quints) in encode_ise()
675 unsigned int quints = btq_counts[quant_level].quints; in decode_ise() local
699 if (quints) in decode_ise()
728 if (quints) in decode_ise()