Lines Matching defs:blocksize
104 int blocksize;
134 if (s->blocksize + s->nwrap >= UINT_MAX / sizeof(int32_t) ||
135 s->blocksize + s->nwrap <= (unsigned)s->nwrap) {
137 "s->blocksize + s->nwrap too large\n");
147 tmp_ptr = av_realloc(s->decoded_base[chan], (s->blocksize + s->nwrap) *
177 for (i = 0; i < s->blocksize; i++)
260 static void interleave_buffer(int16_t *samples, int nchan, int blocksize,
264 for (i=0; i<blocksize; i++)
309 for (i = 0; i < s->blocksize; i++) {
319 for (i = 0; i < s->blocksize; i++)
336 s->blocksize = DEFAULT_BLOCK_SIZE;
353 /* get blocksize if version > 0 */
356 unsigned blocksize;
358 blocksize = get_uint(s, av_log2(DEFAULT_BLOCK_SIZE));
359 if (!blocksize || blocksize > MAX_BLOCKSIZE) {
362 blocksize);
365 s->blocksize = blocksize;
508 unsigned blocksize = get_uint(s, av_log2(s->blocksize));
509 if (blocksize > s->blocksize) {
514 if (!blocksize || blocksize > MAX_BLOCKSIZE) {
516 "block size: %d\n", blocksize);
519 s->blocksize = blocksize;
558 for (i = 0; i < s->blocksize; i++)
568 int32_t sum = (s->version < 2) ? 0 : s->blocksize / 2;
569 for (i = 0; i < s->blocksize; i++)
576 s->offset[channel][s->nmean - 1] = sum / s->blocksize;
578 s->offset[channel][s->nmean - 1] = (sum / s->blocksize) << s->bitshift;
583 s->decoded[channel][i] = s->decoded[channel][i + s->blocksize];
593 s->frame.nb_samples = s->blocksize;
600 s->blocksize, s->decoded);