OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FLAC__BITS_PER_WORD
(Results
1 - 2
of
2
) sorted by null
/external/flac/libFLAC/
bitreader.c
58
#define
FLAC__BITS_PER_WORD
32
94
static const unsigned FLAC__BITREADER_DEFAULT_CAPACITY = 65536u /
FLAC__BITS_PER_WORD
; /* in words */
200
for( ; br->crc16_align <
FLAC__BITS_PER_WORD
; br->crc16_align += 8)
201
crc = FLAC__CRC16_UPDATE((unsigned)((word >> (
FLAC__BITS_PER_WORD
-8-br->crc16_align)) & 0xff), crc);
375
for(j = 0; j <
FLAC__BITS_PER_WORD
; j++)
379
fprintf(out, "%01u", br->buffer[i] & (1 << (
FLAC__BITS_PER_WORD
-j-1)) ? 1:0);
415
br->read_crc16 = FLAC__CRC16_UPDATE((unsigned)((tail >> (
FLAC__BITS_PER_WORD
-8-br->crc16_align)) & 0xff), br->read_crc16);
432
return (br->words-br->consumed_words)*
FLAC__BITS_PER_WORD
+ br->bytes*8 - br->consumed_bits;
441
FLAC__ASSERT((br->capacity*
FLAC__BITS_PER_WORD
) * 2 >= bits);
445
FLAC__ASSERT(
FLAC__BITS_PER_WORD
>= 32)
[
all
...]
bitwriter.c
60
#define
FLAC__BITS_PER_WORD
32
83
#define FLAC__WORDS_TO_BITS(words) ((words) *
FLAC__BITS_PER_WORD
)
129
new_capacity = bw->words + ((bw->bits + bits_to_add +
FLAC__BITS_PER_WORD
- 1) /
FLAC__BITS_PER_WORD
);
143
FLAC__ASSERT(new_capacity >= bw->words + ((bw->bits + bits_to_add +
FLAC__BITS_PER_WORD
- 1) /
FLAC__BITS_PER_WORD
));
221
for(j = 0; j <
FLAC__BITS_PER_WORD
; j++)
222
fprintf(out, "%01u", bw->buffer[i] & (1 << (
FLAC__BITS_PER_WORD
-j-1)) ? 1:0);
283
if(bw->words == bw->capacity && !bitwriter_grow_(bw,
FLAC__BITS_PER_WORD
))
286
bw->buffer[bw->words] = SWAP_BE_WORD_TO_HOST(bw->accum << (
FLAC__BITS_PER_WORD
-bw->bits))
[
all
...]
Completed in 564 milliseconds