Lines Matching refs:cwords
818 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()
904 cwords = br->consumed_words; in FLAC__bitreader_read_rice_signed_block()
908 FLAC__ASSERT(cwords <= br->words); in FLAC__bitreader_read_rice_signed_block()
911 while((br->words-cwords)*FLAC__BITS_PER_WORD + br->bytes*8 - cbits < bits) { in FLAC__bitreader_read_rice_signed_block()
917 br->consumed_words = cwords; in FLAC__bitreader_read_rice_signed_block()
920 cwords = br->consumed_words; in FLAC__bitreader_read_rice_signed_block()
922 if(cwords < br->words) { /* if we've not consumed up to a partial tail word... */ in FLAC__bitreader_read_rice_signed_block()
926 const brword word = br->buffer[cwords]; in FLAC__bitreader_read_rice_signed_block()
937 cwords++; in FLAC__bitreader_read_rice_signed_block()
941 uval |= (br->buffer[cwords] >> (FLAC__BITS_PER_WORD-bits)); in FLAC__bitreader_read_rice_signed_block()
949 uval |= br->buffer[cwords] >> (FLAC__BITS_PER_WORD-bits); in FLAC__bitreader_read_rice_signed_block()
963 … uval |= (br->buffer[cwords] & (FLAC__WORD_ALL_ONES >> cbits)) >> (FLAC__BITS_PER_WORD-cbits-bits); in FLAC__bitreader_read_rice_signed_block()
968 uval |= br->buffer[cwords] >> (FLAC__BITS_PER_WORD-bits); in FLAC__bitreader_read_rice_signed_block()
982 br->consumed_words = cwords; in FLAC__bitreader_read_rice_signed_block()
999 register unsigned cwords;
1014 cwords = br->consumed_words;
1015 ucbits = (br->words-cwords)*FLAC__BITS_PER_WORD + br->bytes*8 - cbits;
1021 while(cwords < br->words) { /* if we've not consumed up to a partial tail word... */
1022 brword b = br->buffer[cwords] << cbits;
1039 crc16_update_word_(br, br->buffer[cwords]);
1040 cwords++;
1047 crc16_update_word_(br, br->buffer[cwords]);
1048 cwords++;
1062 brword b = (br->buffer[cwords] & ~(FLAC__WORD_ALL_ONES >> end)) << cbits;
1083 br->consumed_words = cwords;
1086 cwords = br->consumed_words;
1087 ucbits = (br->words-cwords)*FLAC__BITS_PER_WORD + br->bytes*8 - cbits + uval;
1098 FLAC__ASSERT(cwords <= br->words);
1107 br->consumed_words = cwords;
1110 cwords = br->consumed_words;
1111 ucbits = (br->words-cwords)*FLAC__BITS_PER_WORD + br->bytes*8 - cbits;
1113 if(cwords < br->words) { /* if we've not consumed up to a partial tail word... */
1117 const brword word = br->buffer[cwords];
1127 cwords++;
1131 uval |= (br->buffer[cwords] >> (FLAC__BITS_PER_WORD-cbits));
1138 uval |= br->buffer[cwords] >> (FLAC__BITS_PER_WORD-cbits);
1150 …uval |= (br->buffer[cwords] & (FLAC__WORD_ALL_ONES >> cbits)) >> (FLAC__BITS_PER_WORD-cbits-parame…
1155 uval |= br->buffer[cwords] >> (FLAC__BITS_PER_WORD-cbits);
1169 br->consumed_words = cwords;