Home
last modified time | relevance | path

Searched refs:bits_to_read (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/astc-encoder/Source/
Dastc_integer_sequence.cpp266 static const int bits_to_read[5] = { 2, 2, 1, 2, 1 }; in decode_ise() local
270 int tdata = read_bits(bits_to_read[lcounter], bit_offset, input_data); in decode_ise()
271 bit_offset += bits_to_read[lcounter]; in decode_ise()
279 static const int bits_to_read[3] = { 3, 2, 2 }; in decode_ise() local
283 int tdata = read_bits(bits_to_read[lcounter], bit_offset, input_data); in decode_ise()
284 bit_offset += bits_to_read[lcounter]; in decode_ise()
/external/libavc/decoder/
Dih264d_bitstrm.h94 #define CHECK_BITS_SUFFICIENT(ps_bitstrm, bits_to_read) \ argument
95 (ps_bitstrm->u4_ofst + bits_to_read <= ps_bitstrm->u4_max_ofst)
/external/mesa3d/src/mesa/main/
Dtexcompress_astc.cpp947 int bits_to_read = MIN2(bits_left, 8 + ce_bits * 5); in unpack_colour_endpoints() local
949 uint64_t raw = in.get_bits64(offset, bits_to_read); in unpack_colour_endpoints()
953 in.printf_bits(offset, bits_to_read, in unpack_colour_endpoints()
966 int bits_to_read = MIN2(bits_left, 7 + ce_bits * 3); in unpack_colour_endpoints() local
968 uint32_t raw = in.get_bits(offset, bits_to_read); in unpack_colour_endpoints()
972 in.printf_bits(offset, bits_to_read, in unpack_colour_endpoints()
1120 int bits_to_read = MIN2(bits_left, 8 + 5*wt_bits); in unpack_weights() local
1122 uint32_t raw = in.get_bits_rev(offset, bits_to_read); in unpack_weights()
1126 in.printf_bits(offset - bits_to_read, bits_to_read, "weight trits [%d,%d,%d,%d,%d]", in unpack_weights()
1140 int bits_to_read = MIN2(bits_left, 7 + 3*wt_bits); in unpack_weights() local
[all …]
/external/libxaac/decoder/
Dixheaacd_headerdecode.c225 WORD32 bits_to_read = ptr_config_element->alignment_bits; in ixheaacd_read_prog_config_element() local
226 if (bits_to_read <= it_bit_buff->bit_pos) { in ixheaacd_read_prog_config_element()
227 bits_to_read = it_bit_buff->bit_pos - bits_to_read; in ixheaacd_read_prog_config_element()
229 bits_to_read = 8 - (bits_to_read) + it_bit_buff->bit_pos; in ixheaacd_read_prog_config_element()
231 tmp = ixheaacd_read_bits_buf(it_bit_buff, bits_to_read); in ixheaacd_read_prog_config_element()