Home
last modified time | relevance | path

Searched refs:cwords (Results 1 – 2 of 2) sorted by relevance

/external/flac/libFLAC/
Dbitreader.c818 register unsigned cwords; in FLAC__bitreader_read_rice_signed_block() local
832 cwords = br->consumed_words; in FLAC__bitreader_read_rice_signed_block()
838 while(cwords < br->words) { /* if we've not consumed up to a partial tail word... */ in FLAC__bitreader_read_rice_signed_block()
839 brword b = br->buffer[cwords] << cbits; in FLAC__bitreader_read_rice_signed_block()
856 crc16_update_word_(br, br->buffer[cwords]); in FLAC__bitreader_read_rice_signed_block()
857 cwords++; in FLAC__bitreader_read_rice_signed_block()
864 crc16_update_word_(br, br->buffer[cwords]); in FLAC__bitreader_read_rice_signed_block()
865 cwords++; in FLAC__bitreader_read_rice_signed_block()
879 brword b = (br->buffer[cwords] & (FLAC__WORD_ALL_ONES << (FLAC__BITS_PER_WORD-end))) << cbits; in FLAC__bitreader_read_rice_signed_block()
901 br->consumed_words = cwords; in FLAC__bitreader_read_rice_signed_block()
[all …]
/external/flac/libFLAC/ia32/
Dbitreader_asm.nasm83 mov esi, [ebp + 16] ; esi <- br->consumed_words (aka 'cwords' in the C version)
87 ;; esi cwords
98 ; ucbits = (br->words-cwords)*FLAC__BITS_PER_WORD + br->bytes*8 - cbits;
100 sub eax, esi ; eax <- br->words-cwords
101 shl eax, 2 ; eax <- (br->words-cwords)*FLAC__BYTES_PER_WORD
102 add eax, [ebp + 12] ; eax <- (br->words-cwords)*FLAC__BYTES_PER_WORD + br->bytes
103 shl eax, 3 ; eax <- (br->words-cwords)*FLAC__BITS_PER_WORD + br->bytes*8
104 sub eax, ecx ; eax <- (br->words-cwords)*FLAC__BITS_PER_WORD + br->bytes*8 - cbits
115 ;; esi cwords
118 …cmp esi, [ebp + 8] ; while(cwords < br->words) /* if we've not consumed up to a partial tai…
[all …]