Searched refs:bwword (Results 1 – 3 of 3) sorted by relevance
/external/flac/src/test_libFLAC/ |
D | bitwriter.c | 38 typedef FLAC__uint32 bwword; typedef 45 typedef FLAC__uint64 bwword; typedef 53 bwword *buffer; 54 bwword accum; /* accumulator; bits are right-justified; when full, accum is appended to buffer */ 75 fprintf(out, "%01d", bw->buffer[i] & ((bwword)1 << (FLAC__BITS_PER_WORD-j-1)) ? 1:0); in FLAC__bitwriter_dump() 81 fprintf(out, "%01d", bw->accum & ((bwword)1 << (bw->bits-j-1)) ? 1:0); in FLAC__bitwriter_dump() 94 static bwword test_pattern1[5] = { 0xaaf0aabe, 0xaaaaaaa8, 0x300aaaaa, 0xaaadeadb, 0x00eeface }; in test_bitwriter() 96 static bwword test_pattern1[5] = { 0xbeaaf0aa, 0xa8aaaaaa, 0xaaaa0a30, 0xdbeaadaa, 0x00eeface }; in test_bitwriter() 100 …static bwword test_pattern1[3] = { FLAC__U64L(0xaaf0aabeaaaaaaa8), FLAC__U64L(0x300aaaaaaaadeadb),… in test_bitwriter() 102 …static bwword test_pattern1[3] = { FLAC__U64L(0xa8aaaaaabeaaf0aa), FLAC__U64L(0xdbeaadaaaaaa0a30),… in test_bitwriter() [all …]
|
/external/flac/src/libFLAC/ |
D | bitwriter.c | 55 typedef FLAC__uint32 bwword; typedef 70 typedef FLAC__uint64 bwword; typedef 91 static const uint32_t FLAC__BITWRITER_DEFAULT_CAPACITY = 32768u / sizeof(bwword); /* size in words … 93 static const uint32_t FLAC__BITWRITER_DEFAULT_INCREMENT = 4096u / sizeof(bwword); /* size in words … 99 bwword *buffer; 100 bwword accum; /* accumulator; bits are right-justified; when full, accum is appended to buffer */ 113 bwword *new_buffer; in bitwriter_grow_() 127 if(new_capacity * sizeof(bwword) > (1u << FLAC__STREAM_METADATA_LENGTH_LEN)) in bitwriter_grow_() 142 new_buffer = safe_realloc_nofree_mul_2op_(bw->buffer, sizeof(bwword), /*times*/new_capacity); in bitwriter_grow_() 184 bw->buffer = malloc(sizeof(bwword) * bw->capacity); in FLAC__bitwriter_init() [all …]
|
/external/flac/ |
D | CHANGELOG.md | 213 … * Support 64bit brword/bwword allowing FLAC__BYTES_PER_WORD to be set to 8 (disabled by default).
|