115{
116 (void)mixFlag;
117 int32_t i=0, j=0, n=0, cb=0, w=0;
118 int32_t sampsLeft, isf, mOutL, mOutR, xl, xr;
120 int32_t cbStartL=0, cbStartS=0, cbEndL=0, cbEndS=0;
122
123
124
125
126
127
128
129 if (cbi[1].cbType == 0) {
130
131 cbStartL = cbi[1].
cbEndL + 1;
132 cbEndL = cbi[0].
cbEndL + 1;
133 cbStartS = cbEndS = 0;
135 } else if (cbi[1].cbType == 1 || cbi[1].cbType == 2) {
136
139 cbStartL = cbEndL = 0;
140 i = 3 * fh->
sfBand->
s[cbStartS];
141 }
142
143 sampsLeft = nSamps - i;
145 mOutL = mOutR = 0;
146
147
148 for (cb = cbStartL; cb < cbEndL && sampsLeft > 0; cb++) {
150 if (isf == 7) {
152 fr =
ISFIIP[midSideFlag][1];
153 } else {
155 fr = isfTab[6] - isfTab[isf];
156 }
157
159 for (j = 0; j < n && sampsLeft > 0; j++, i++) {
162 sampsLeft--;
163 }
164 }
165
166
167 for (cb = cbStartS; cb < cbEndS && sampsLeft >= 3; cb++) {
168 for (w = 0; w < 3; w++) {
169 isf = sfis->
s[cb][w];
170 if (isf == 7) {
171 fls[w] =
ISFIIP[midSideFlag][0];
172 frs[w] =
ISFIIP[midSideFlag][1];
173 } else {
174 fls[w] = isfTab[isf];
175 frs[w] = isfTab[6] - isfTab[isf];
176 }
177 }
178
180 for (j = 0; j < n && sampsLeft >= 3; j++, i+=3) {
187 sampsLeft -= 3;
188 }
189 }
190 mOut[0] = mOutL;
191 mOut[1] = mOutR;
192
193 return;
194}
const int32_t ISFIIP[2][2]
__inline int32_t MULSHIFT32(int32_t x, int32_t y) FL_NOEXCEPT
Multiply together two 32-bit numbers and return the top 32-bits of the result.
__inline int32_t FASTABS(int32_t x) FL_NOEXCEPT
Absolute value of x.
const int32_t ISFMpeg1[2][7]
const SFBandTable * sfBand
Base definition for an LED controller.