Lines Matching refs:blocksize
137 uint32_t blocksize[2];
558 if (rangemax > vc->blocksize[1] / 2) {
560 "Floor value is too large for blocksize: %u (%"PRIu32")\n",
561 rangemax, vc->blocksize[1] / 2);
687 res_setup->end > (res_setup->type == 2 ? vc->avccontext->channels : 1) * vc->blocksize[1] / 2 ||
690 "partition out of bounds: type, begin, end, size, blocksize: %"PRIu16", %"PRIu32", %"PRIu32", %u, %"PRIu32"\n",
692 res_setup->partition_size, vc->blocksize[1] / 2);
819 n = vc->blocksize[blockflag] / 2;
942 vc->blocksize[0] = (1 << bl0);
943 vc->blocksize[1] = (1 << bl1);
945 av_log(vc->avccontext, AV_LOG_ERROR, " Vorbis id header packet corrupt (illegal blocksize). \n");
956 vc->channel_residues = av_malloc((vc->blocksize[1] / 2) * vc->audio_channels * sizeof(*vc->channel_residues));
957 vc->channel_floors = av_malloc((vc->blocksize[1] / 2) * vc->audio_channels * sizeof(*vc->channel_floors));
958 vc->saved = av_mallocz((vc->blocksize[1] / 4) * vc->audio_channels * sizeof(*vc->saved));
965 vc->version, vc->audio_channels, vc->audio_samplerate, vc->bitrate_maximum, vc->bitrate_nominal, vc->bitrate_minimum, vc->blocksize[0], vc->blocksize[1]);
968 BLK = vc->blocksize[0];
1043 avccontext->frame_size = FFMIN(vc->blocksize[0], vc->blocksize[1]) >> 2;
1459 void vorbis_inverse_coupling(float *mag, float *ang, int blocksize)
1462 for (i = 0; i < blocksize; i++) {
1490 unsigned mode_number, blockflag, blocksize;
1520 blocksize = vc->blocksize[blockflag];
1521 vlen = blocksize / 2;
1597 mag = vc->channel_residues+res_chan[mapping->magnitude[i]] * blocksize / 2;
1598 ang = vc->channel_residues+res_chan[mapping->angle[i]] * blocksize / 2;
1599 vc->dsp.vorbis_inverse_coupling(mag, ang, blocksize / 2);
1607 ch_floor_ptr = vc->channel_floors + j * blocksize / 2;
1608 ch_res_ptr = vc->channel_residues + res_chan[j] * blocksize / 2;
1609 vc->dsp.vector_fmul(ch_floor_ptr, ch_floor_ptr, ch_res_ptr, blocksize / 2);
1615 retlen = (blocksize + vc->blocksize[previous_window]) / 4;
1617 unsigned bs0 = vc->blocksize[0];
1618 unsigned bs1 = vc->blocksize[1];
1619 float *residue = vc->channel_residues + res_chan[j] * blocksize / 2;
1626 vc->dsp.vector_fmul_window(ret, saved, buf, win, blocksize / 4);
1634 memcpy(saved, buf + blocksize / 4, blocksize / 4 * sizeof(float));