/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_integer_sequence.cpp | 341 uint8_t bits; member 508 unsigned int bits = btq_counts[quant_level].bits; in encode_ise() local 511 unsigned int mask = (1 << bits) - 1; in encode_ise() 521 unsigned int i4 = input_data[i + 4] >> bits; in encode_ise() 522 unsigned int i3 = input_data[i + 3] >> bits; in encode_ise() 523 unsigned int i2 = input_data[i + 2] >> bits; in encode_ise() 524 unsigned int i1 = input_data[i + 1] >> bits; in encode_ise() 525 unsigned int i0 = input_data[i + 0] >> bits; in encode_ise() 534 pack = (input_data[i++] & mask) | (((T >> 0) & 0x3) << bits); in encode_ise() 535 write_bits(pack, bits + 2, bit_offset, output_data); in encode_ise() [all …]
|
D | astcenccli_toplevel_help.cpp | 575 unsigned int bits = static_cast<unsigned int>(sizeof(void*) * 8); in astcenc_print_header() local 577 VERSION_STRING, bits, simdtype, pcnttype, f16ctype, YEAR_STRING); in astcenc_print_header()
|
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/ |
D | AstcLookupTables.glsl | 3 // 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 12 // that use only bits. 35 // Lookup table to decode a pack of 5 trits (encoded with 8 bits) 36 // index: the 8 bits that make the pack of 5 trits 37 // output: the values for the 5 trits, packed together using 2 bits each 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 68 // Array to unquantize weights encoded with the trit + bits encoding. [all …]
|
D | AstcDecompressor.glsl | 22 // Each ASTC block is 128 bits. From top to bottom (from bit 127 to bit 0), we have: 23 // 1. weight data (24 - 96 bits). Starts at bit 127 and grows down. (So it needs to be reversed) 24 // 2. extra CEM data. 0 bits if only 1 partition OR if CEM selector value in bits [24:23] is 00, 25 // otherwise 2, 5 or 8 bits for 2, 3, or 4 partitions respectively. 26 // 3. color component selector (CCS) - 2 bits if dual plane is active, otherwise 0 bits. 28 // 5. CEM 4 bits if single partition, else 6 bits. 29 // 6. partition seed 10 bits (13-22) - only if more than 1 partition 30 // 7. partition count 2 bits (11-12) 31 // 8. block mode 11 bits ( 0-10) 64 uvec3 weightEncoding; // Number of trits (x), quints (y) and bits (z) to encode the weights. [all …]
|
D | AstcNew.comp | 22 // Each ASTC block is 128 bits. From top to bottom (from bit 127 to bit 0), we have: 23 // 1. weight data (24 - 96 bits). Starts at bit 127 and grows down. (So it needs to be reversed) 24 // 2. extra CEM data. 0 bits if only 1 partition OR if CEM selector value in bits [24:23] is 00, 25 // otherwise 2, 5 or 8 bits for 2, 3, or 4 partitions respectively. 26 // 3. color component selector (CCS) - 2 bits if dual plane is active, otherwise 0 bits. 28 // 5. CEM 4 bits if single partition, else 6 bits. 29 // 6. partition seed 10 bits (13-22) - only if more than 1 partition 30 // 7. partition count 2 bits (11-12) 31 // 8. block mode 11 bits ( 0-10) 64 uvec3 weightEncoding; // Number of trits (x), quints (y) and bits (z) to encode the weights. [all …]
|
D | Astc.comp | 170 uint get_bit_count(uint num_vals, uint trits, uint quints, uint bits) { 174 uint base_bit_count = num_vals * bits; 178 void get_pack_size(uint trits, uint quints, uint bits, out uint pack, out uint packedSize) { 181 packedSize = 8 + 5 * bits; 184 packedSize = 7 + 3 * bits; 187 packedSize = bits; 561 // In void extend, the last 12 bits should be 604 uint bits = 0; 614 bits = 1; 620 bits = 2; [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | vl_rbsp.h | 91 unsigned i, bits; in vl_rbsp_fillbits() local 111 bits = vl_vlc_valid_bits(&rbsp->nal); in vl_rbsp_fillbits() 112 for (i = valid + 24; i <= bits; i += 8) { in vl_rbsp_fillbits() 115 rbsp->escaped = bits - i; in vl_rbsp_fillbits() 116 bits -= 8; in vl_rbsp_fillbits() 140 unsigned bits = 0; in vl_rbsp_ue() local 144 ++bits; in vl_rbsp_ue() 146 return (1 << bits) - 1 + vl_rbsp_u(rbsp, bits); in vl_rbsp_ue() 166 unsigned bits, value; in vl_rbsp_more_data() local 171 bits = vl_vlc_valid_bits(&rbsp->nal); in vl_rbsp_more_data() [all …]
|
D | bitpack_helpers.h | 58 const int bits = end - start + 1; in util_bitpack_uint() local 59 if (bits < 64) { in util_bitpack_uint() 60 const uint64_t max = u_uintN_max(bits); in util_bitpack_uint() 78 const int bits = end - start + 1; in util_bitpack_sint() local 83 if (bits < 64) { in util_bitpack_sint() 84 const int64_t min = u_intN_min(bits); in util_bitpack_sint() 85 const int64_t max = u_intN_max(bits); in util_bitpack_sint() 90 const uint64_t mask = BITFIELD64_MASK(bits); in util_bitpack_sint()
|
D | half_float.h | 122 uint16_t bits; member 123 float16_t(float f) : bits(_mesa_float_to_half(f)) {} in float16_t() 124 float16_t(double d) : bits(_mesa_float_to_half(d)) {} in float16_t() 125 float16_t(uint16_t raw_bits) : bits(raw_bits) {} in float16_t()
|
D | bitscan.h | 325 unsigned bits; in util_bitcount() 326 for (bits = 0; n; bits++) { in util_bitcount() 329 return bits; in util_bitcount()
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | fast_idiv_by_const_test.cpp | 190 rand_uint(unsigned bits, unsigned min) in rand_uint() argument 192 assert(bits >= 4); in rand_uint() 201 return u_uintN_max(bits) - (rand() % 16); in rand_uint() 205 r = 1ull << (rand() % bits); in rand_uint() 211 assert(bits <= 64); in rand_uint() 215 return r >> (63 - (rand() % bits)); in rand_uint() 219 r = rand_uint(bits, 0); in rand_uint() 226 rand_sint(unsigned bits, unsigned min_abs) in rand_sint() argument 230 return u_intN_min(bits); in rand_sint() 232 int64_t s = rand_uint(bits - 1, min_abs); in rand_sint() [all …]
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/fit/ |
D | FunctionInternal.h | 38 const void* (*target_type_id)(void* bits, const void* impl_ops); 39 void* (*get)(void* bits); 40 Result (*invoke)(void* bits, Args... args); 42 void (*destroy)(void* bits); 48 inline const void* unshared_target_type_id(void* bits, const void* impl_ops) { in unshared_target_type_id() argument 61 static Result invoke(void* bits, Args... args) { __builtin_abort(); } 66 inline void* null_target_get(void* bits) { 70 inline void null_target_destroy(void* bits) {} 91 static void initialize(void* bits, Callable_&& target) { 92 new (bits) Callable(std::forward<Callable_>(target)); [all …]
|
/hardware/libhardware/modules/input/evdev/ |
D | BitUtils.cpp | 53 uint8_t bits = arr[i]; in testBitInRange() local 56 ALOGD("block %04d: %s%s", i, bitstrings[bits >> 4], bitstrings[bits & 0x0f]); in testBitInRange() 58 if (bits) { in testBitInRange() 71 if (bits & mask) return true; in testBitInRange()
|
/hardware/google/aemu/host-common/ |
D | address_space_shared_slots_host_memory_allocator.cpp | 96 bits = android::aligned_buf_alloc(kAllocAlignment, sz); in MemBlock() 103 if (!ops->add_memory_mapping(physBase, bits, bitsSize)) { in MemBlock() 117 bits(std::exchange(rhs.bits, nullptr)), in MemBlock() 129 ops->remove_memory_mapping(physBase, bits, bitsSize); in ~MemBlock() 131 android::aligned_buf_free(bits); in ~MemBlock() 140 swap(lhs.bits, rhs.bits); in swap() 240 stream->write(bits, bitsSize); in save() 254 void* const bits = android::aligned_buf_alloc(kAllocAlignment, bitsSize); in load() local 255 if (!bits) { in load() 258 if (stream->read(bits, bitsSize) != static_cast<ssize_t>(bitsSize)) { in load() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/ |
D | formats.adoc | 33 unsigned normalized format that has a 4-bit R component in bits 4..7, 34 and a 4-bit G component in bits 0..3. 36 packed unsigned normalized format that has a 4-bit R component in bits 37 12..15, a 4-bit G component in bits 8..11, a 4-bit B component in bits 38 4..7, and a 4-bit A component in bits 0..3. 40 packed unsigned normalized format that has a 4-bit B component in bits 41 12..15, a 4-bit G component in bits 8..11, a 4-bit R component in bits 42 4..7, and a 4-bit A component in bits 0..3. 45 packed unsigned normalized format that has a 4-bit A component in bits 46 12..15, a 4-bit R component in bits 8..11, a 4-bit G component in bits [all …]
|
/hardware/interfaces/bluetooth/a2dp/1.0/ |
D | types.hal | 66 * The encoded audio bitrate in bits / second. 68 * 0x00000001 - 0x00FFFFFF - Encoded audio bitrate in bits/second 81 /** Block length: 4 bits | Subbands: 2 bits | Allocation Method: 2 bits */
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | mp4_utils.cpp | 52 uint8 *bits = &posPtr->bytePtr[0]; in read_bit_field() local 54 (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; in read_bit_field()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | mp4_utils.cpp | 52 uint8 *bits = &posPtr->bytePtr[0]; in read_bit_field() local 54 (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; in read_bit_field()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | mp4_utils.cpp | 52 uint8 *bits = &posPtr->bytePtr[0]; in read_bit_field() local 54 (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; in read_bit_field()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | VK_KHR_format_feature_flags2.adoc | 25 This extension adds a new elink:VkFormatFeatureFlagBits2KHR 64bits format 28 At the time of this writing 29 bits of elink:VkFormatFeatureFlagBits are 36 On top of replicating all the bits from elink:VkFormatFeatureFlagBits, 37 elink:VkFormatFeatureFlagBits2KHR adds the following bits :
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | mp4_utils.cpp | 58 uint8 *bits = &posPtr->bytePtr[0]; in read_bit_field() local 60 (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; in read_bit_field()
|
/hardware/google/gfxstream/guest/mesa/src/util/tools/ |
D | find_hash_func.c | 65 for (unsigned bits = 1; bits <= MAX_GLENUM_BITS; bits++) { in find_perfect_hash_func() local 66 unsigned mask = (1 << bits) - 1; in find_perfect_hash_func()
|
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/ |
D | packing.inl | 17 // 10 bits => EE EEEFFFFF 18 // 11 bits => EEE EEFFFFFF 19 // Half bits => SEEEEEFF FFFFFFFF 20 // Float bits => SEEEEEEE EFFFFFFF FFFFFFFF FFFFFFFF 35 // 10 bits => EE EEEFFFFF 36 // 11 bits => EEE EEFFFFFF 37 // Half bits => SEEEEEFF FFFFFFFF 38 // Float bits => SEEEEEEE EFFFFFFF FFFFFFFF FFFFFFFF 53 // 10 bits => EE EEEFFFFF 54 // 11 bits => EEE EEFFFFFF [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/reflow-tests/ |
D | expect-table-noreflow-novuid.adoc | 24 3+| [eq]#n# is the number of bits in the component. 27 …uffix etext:_PACKnn indicates that the format is packed into an underlying type with etext:nn bits. 29 …ot be stored in separate _planes_) that are each packed into an underlying type with etext:nn bits.
|
D | expect-table-default.adoc | 24 3+| [eq]#n# is the number of bits in the component. 28 underlying type with etext:nn bits. 32 _planes_) that are each packed into an underlying type with etext:nn bits.
|