Lines Matching refs:channels
108 if (avctx->channels < min_channels || avctx->channels > max_channels) {
109 av_log(avctx, AV_LOG_ERROR, "Invalid number of channels\n");
356 int ch = avctx->channels;
566 st = avctx->channels == 2 ? 1 : 0;
572 for (channel = 0; channel < avctx->channels; channel++) {
606 samples += avctx->channels;
608 samples += avctx->channels;
617 for(i=0; i<avctx->channels; i++){
630 for (i = 0; i < avctx->channels; i++) {
635 samples += avctx->channels;
637 samples += avctx->channels;
639 samples -= 8 * avctx->channels - 1;
641 samples += 7 * avctx->channels;
645 for (i = 0; i < avctx->channels; i++)
648 for (i = 0; i < avctx->channels; i++) {
653 for (i = 0; i < avctx->channels; i++) {
659 samples += avctx->channels;
661 samples += avctx->channels;
704 for (channel = 0; channel < avctx->channels; channel++) {
768 for (channel = 0; channel < avctx->channels; channel++) {
800 &c->status[1], avctx->channels)) < 0)
885 for(channel = 0; channel < avctx->channels; channel++) {
893 for(channel = 0; channel < avctx->channels; channel++) {
903 src+=avctx->channels;
928 for (channel=0; channel<avctx->channels; channel++) {
931 + (avctx->channels-channel-1) * 4;
954 samplesC += avctx->channels;
975 samplesC += avctx->channels;
997 for (channel=0; channel<avctx->channels; channel++) {
1000 for (n=0; n<4; n++, s+=32*avctx->channels) {
1004 for (s2=s, i=0; i<2; i++, src+=2, s2+=avctx->channels)
1009 s = &samples[m*avctx->channels + channel];
1010 for (n=0; n<4; n++, src++, s+=32*avctx->channels) {
1011 for (s2=s, i=0; i<8; i+=4, s2+=avctx->channels) {
1013 int pred = s2[-1*avctx->channels] * coeff[0][n]
1014 + s2[-2*avctx->channels] * coeff[1][n];
1110 while (get_bits_count(&gb) <= size - 22*avctx->channels) {
1111 for (i = 0; i < avctx->channels; i++) {
1116 for (count = 0; get_bits_count(&gb) <= size - nb_bits*avctx->channels && count < 4095; count++) {
1119 for (i = 0; i < avctx->channels; i++) {