Searched refs:buffer (Results 1 – 7 of 7) sorted by relevance
/liblc3-3.7.0-3.6.0/src/ |
D | bits.c | 62 const struct lc3_bits_buffer *buffer = &bits->buffer; in get_bits_left() local 66 uintptr_t end = (uintptr_t)buffer->p_bw + in get_bits_left() 69 uintptr_t start = (uintptr_t)buffer->p_fw - in get_bits_left() 81 enum lc3_bits_mode mode, void *buffer, int len) in lc3_setup_bits() argument 92 .buffer = { in lc3_setup_bits() 93 .start = (uint8_t *)buffer, .end = (uint8_t *)buffer + len, in lc3_setup_bits() 94 .p_fw = (uint8_t *)buffer, .p_bw = (uint8_t *)buffer + len, in lc3_setup_bits() 101 struct lc3_bits_buffer *buffer = &bits->buffer; in lc3_setup_bits() local 103 ac->low = ac_get(buffer) << 16; in lc3_setup_bits() 104 ac->low |= ac_get(buffer) << 8; in lc3_setup_bits() [all …]
|
D | bits.h | 122 struct lc3_bits_buffer buffer; member 133 enum lc3_bits_mode mode, void *buffer, int len);
|
D | mdct.c | 433 struct lc3_complex buffer[LC3_MAX_NS / 2]; in lc3_mdct_forward() local 435 union { float *f; struct lc3_complex *z; } u = { .z = buffer }; in lc3_mdct_forward() 457 struct lc3_complex buffer[LC3_MAX_NS / 2]; in lc3_mdct_inverse() local 459 union { float *f; struct lc3_complex *z; } u = { .z = buffer }; in lc3_mdct_inverse()
|
D | lc3.c | 299 const struct side_data *side, uint16_t *xq, int nbytes, void *buffer) in encode() argument 308 lc3_setup_bits(&bits, LC3_BITS_MODE_WRITE, buffer, nbytes); in encode()
|
/liblc3-3.7.0-3.6.0/tools/ |
D | lc3bin.c | 67 int lc3bin_read_data(FILE *fp, int nchannels, void *buffer) in lc3bin_read_data() argument 74 || fread(buffer, nbytes, 1, fp) < 1) in lc3bin_read_data()
|
D | lc3bin.h | 46 int lc3bin_read_data(FILE *fp, int nchannels, void *buffer);
|
D | wave.c | 132 int nch, int count, void *buffer) in wave_read_pcm() argument 134 return fread(buffer, nch * samplesize, count, fp); in wave_read_pcm()
|