Home
last modified time | relevance | path

Searched refs:write_bits (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_integer_sequence.cpp452 static inline void write_bits( in write_bits() function
535 write_bits(pack, bits + 2, bit_offset, output_data); in encode_ise()
540 write_bits(pack, bits + 2, bit_offset, output_data); in encode_ise()
545 write_bits(pack, bits + 1, bit_offset, output_data); in encode_ise()
550 write_bits(pack, bits + 2, bit_offset, output_data); in encode_ise()
555 write_bits(pack, bits + 1, bit_offset, output_data); in encode_ise()
581 write_bits(pack, bits + tbits[j], bit_offset, output_data); in encode_ise()
606 write_bits(pack, bits + 3, bit_offset, output_data); in encode_ise()
611 write_bits(pack, bits + 2, bit_offset, output_data); in encode_ise()
616 write_bits(pack, bits + 2, bit_offset, output_data); in encode_ise()
[all …]
Dastcenc_symbolic_physical.cpp37 static inline void write_bits( in write_bits() function
197 write_bits(scb.block_mode, 11, 0, pcb.data); in symbolic_to_physical()
198 write_bits(partition_count - 1, 2, 11, pcb.data); in symbolic_to_physical()
205 write_bits(scb.partition_index, 6, 13, pcb.data); in symbolic_to_physical()
206 write_bits(scb.partition_index >> 6, PARTITION_INDEX_BITS - 6, 19, pcb.data); in symbolic_to_physical()
210 write_bits(scb.color_formats[0] << 2, 6, 13 + PARTITION_INDEX_BITS, pcb.data); in symbolic_to_physical()
249 write_bits(encoded_type_lowpart, 6, 13 + PARTITION_INDEX_BITS, pcb.data); in symbolic_to_physical()
250write_bits(encoded_type_highpart, encoded_type_highpart_size, encoded_type_highpart_pos, pcb.data); in symbolic_to_physical()
256 write_bits(scb.color_formats[0], 4, 13, pcb.data); in symbolic_to_physical()
262 write_bits(scb.plane2_component, 2, below_weights_pos - 2, pcb.data); in symbolic_to_physical()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Dtexcompress_bptc_tmp.h1290 write_bits(struct bit_writer *writer, int n_bits, int value) in write_bits() function
1447 write_bits(writer, BLOCK_SIZE * BLOCK_SIZE * 2 - 1, 0); in write_rgb_indices_unorm()
1464 write_bits(writer, (x == 0 && y == 0) ? 1 : 2, index); in write_rgb_indices_unorm()
1471 write_bits(writer, 2 * (BLOCK_SIZE - src_width), 0); in write_rgb_indices_unorm()
1478 write_bits(writer, 2 * BLOCK_SIZE * (BLOCK_SIZE - src_height), 0); in write_rgb_indices_unorm()
1493 write_bits(writer, BLOCK_SIZE * BLOCK_SIZE * 3 - 1, 0); in write_alpha_indices_unorm()
1509 write_bits(writer, (x == 0 && y == 0) ? 2 : 3, index); in write_alpha_indices_unorm()
1516 write_bits(writer, 3 * (BLOCK_SIZE - src_width), 0); in write_alpha_indices_unorm()
1523 write_bits(writer, 3 * BLOCK_SIZE * (BLOCK_SIZE - src_height), 0); in write_alpha_indices_unorm()
1546 write_bits(&writer, 5, 0x10); /* mode 4 */ in compress_rgba_unorm_block()
[all …]