Searched refs:bwword (Results 1 – 2 of 2) 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 */ 71 static bwword test_pattern1[5] = { 0xaaf0aabe, 0xaaaaaaa8, 0x300aaaaa, 0xaaadeadb, 0x00eeface }; in test_bitwriter() 73 static bwword test_pattern1[5] = { 0xbeaaf0aa, 0xa8aaaaaa, 0xaaaa0a30, 0xdbeaadaa, 0x00eeface }; in test_bitwriter() 77 …static bwword test_pattern1[3] = { FLAC__U64L(0xaaf0aabeaaaaaaa8), FLAC__U64L(0x300aaaaaaaadeadb),… in test_bitwriter() 79 …static bwword test_pattern1[3] = { FLAC__U64L(0xa8aaaaaabeaaf0aa), FLAC__U64L(0xdbeaadaaaaaa0a30),… in test_bitwriter() 211 if(memcmp(bw->buffer, test_pattern1, sizeof(bwword)*words) != 0) { in test_bitwriter() 244 if(memcmp(bw->buffer, test_pattern1, sizeof(bwword)*words) != 0) { in test_bitwriter()
|
/external/flac/src/libFLAC/ |
D | bitwriter.c | 53 typedef FLAC__uint32 bwword; typedef 65 typedef FLAC__uint64 bwword; typedef 83 static const uint32_t FLAC__BITWRITER_DEFAULT_CAPACITY = 32768u / sizeof(bwword); /* size in words … 85 static const uint32_t FLAC__BITWRITER_DEFAULT_INCREMENT = 4096u / sizeof(bwword); /* size in words … 91 bwword *buffer; 92 bwword accum; /* accumulator; bits are right-justified; when full, accum is appended to buffer */ 105 bwword *new_buffer; in bitwriter_grow_() 127 new_buffer = safe_realloc_mul_2op_(bw->buffer, sizeof(bwword), /*times*/new_capacity); in bitwriter_grow_() 169 bw->buffer = malloc(sizeof(bwword) * bw->capacity); in FLAC__bitwriter_init() 204 fprintf(out, "%01d", bw->buffer[i] & ((bwword)1 << (FLAC__BITS_PER_WORD-j-1)) ? 1:0); in FLAC__bitwriter_dump() [all …]
|