Lines Matching defs:col
165 DCTELEM * col)
171 a0 = W4 * (col[8*0] + ((1<<(COL_SHIFT-1))/W4));
176 a0 += + W2*col[8*2];
177 a1 += + W6*col[8*2];
178 a2 += - W6*col[8*2];
179 a3 += - W2*col[8*2];
181 b0 = MUL16(W1, col[8*1]);
182 b1 = MUL16(W3, col[8*1]);
183 b2 = MUL16(W5, col[8*1]);
184 b3 = MUL16(W7, col[8*1]);
186 MAC16(b0, + W3, col[8*3]);
187 MAC16(b1, - W7, col[8*3]);
188 MAC16(b2, - W1, col[8*3]);
189 MAC16(b3, - W5, col[8*3]);
191 if(col[8*4]){
192 a0 += + W4*col[8*4];
193 a1 += - W4*col[8*4];
194 a2 += - W4*col[8*4];
195 a3 += + W4*col[8*4];
198 if (col[8*5]) {
199 MAC16(b0, + W5, col[8*5]);
200 MAC16(b1, - W1, col[8*5]);
201 MAC16(b2, + W7, col[8*5]);
202 MAC16(b3, + W3, col[8*5]);
205 if(col[8*6]){
206 a0 += + W6*col[8*6];
207 a1 += - W2*col[8*6];
208 a2 += + W2*col[8*6];
209 a3 += - W6*col[8*6];
212 if (col[8*7]) {
213 MAC16(b0, + W7, col[8*7]);
214 MAC16(b1, - W5, col[8*7]);
215 MAC16(b2, + W3, col[8*7]);
216 MAC16(b3, - W1, col[8*7]);
237 DCTELEM * col)
243 a0 = W4 * (col[8*0] + ((1<<(COL_SHIFT-1))/W4));
248 a0 += + W2*col[8*2];
249 a1 += + W6*col[8*2];
250 a2 += - W6*col[8*2];
251 a3 += - W2*col[8*2];
253 b0 = MUL16(W1, col[8*1]);
254 b1 = MUL16(W3, col[8*1]);
255 b2 = MUL16(W5, col[8*1]);
256 b3 = MUL16(W7, col[8*1]);
258 MAC16(b0, + W3, col[8*3]);
259 MAC16(b1, - W7, col[8*3]);
260 MAC16(b2, - W1, col[8*3]);
261 MAC16(b3, - W5, col[8*3]);
263 if(col[8*4]){
264 a0 += + W4*col[8*4];
265 a1 += - W4*col[8*4];
266 a2 += - W4*col[8*4];
267 a3 += + W4*col[8*4];
270 if (col[8*5]) {
271 MAC16(b0, + W5, col[8*5]);
272 MAC16(b1, - W1, col[8*5]);
273 MAC16(b2, + W7, col[8*5]);
274 MAC16(b3, + W3, col[8*5]);
277 if(col[8*6]){
278 a0 += + W6*col[8*6];
279 a1 += - W2*col[8*6];
280 a2 += + W2*col[8*6];
281 a3 += - W6*col[8*6];
284 if (col[8*7]) {
285 MAC16(b0, + W7, col[8*7]);
286 MAC16(b1, - W5, col[8*7]);
287 MAC16(b2, + W3, col[8*7]);
288 MAC16(b3, - W1, col[8*7]);
308 static inline void idctSparseCol (DCTELEM * col)
313 a0 = W4 * (col[8*0] + ((1<<(COL_SHIFT-1))/W4));
318 a0 += + W2*col[8*2];
319 a1 += + W6*col[8*2];
320 a2 += - W6*col[8*2];
321 a3 += - W2*col[8*2];
323 b0 = MUL16(W1, col[8*1]);
324 b1 = MUL16(W3, col[8*1]);
325 b2 = MUL16(W5, col[8*1]);
326 b3 = MUL16(W7, col[8*1]);
328 MAC16(b0, + W3, col[8*3]);
329 MAC16(b1, - W7, col[8*3]);
330 MAC16(b2, - W1, col[8*3]);
331 MAC16(b3, - W5, col[8*3]);
333 if(col[8*4]){
334 a0 += + W4*col[8*4];
335 a1 += - W4*col[8*4];
336 a2 += - W4*col[8*4];
337 a3 += + W4*col[8*4];
340 if (col[8*5]) {
341 MAC16(b0, + W5, col[8*5]);
342 MAC16(b1, - W1, col[8*5]);
343 MAC16(b2, + W7, col[8*5]);
344 MAC16(b3, + W3, col[8*5]);
347 if(col[8*6]){
348 a0 += + W6*col[8*6];
349 a1 += - W2*col[8*6];
350 a2 += + W2*col[8*6];
351 a3 += - W6*col[8*6];
354 if (col[8*7]) {
355 MAC16(b0, + W7, col[8*7]);
356 MAC16(b1, - W5, col[8*7]);
357 MAC16(b2, + W3, col[8*7]);
358 MAC16(b3, - W1, col[8*7]);
361 col[0 ] = ((a0 + b0) >> COL_SHIFT);
362 col[8 ] = ((a1 + b1) >> COL_SHIFT);
363 col[16] = ((a2 + b2) >> COL_SHIFT);
364 col[24] = ((a3 + b3) >> COL_SHIFT);
365 col[32] = ((a3 - b3) >> COL_SHIFT);
366 col[40] = ((a2 - b2) >> COL_SHIFT);
367 col[48] = ((a1 - b1) >> COL_SHIFT);
368 col[56] = ((a0 - b0) >> COL_SHIFT);
408 /* row idct is multiple by 16 * sqrt(2.0), col idct4 is normalized,
412 static inline void idct4col_put(uint8_t *dest, int line_size, const DCTELEM *col)
417 a0 = col[8*0];
418 a1 = col[8*2];
419 a2 = col[8*4];
420 a3 = col[8*6];
492 static inline void idct4col_add(uint8_t *dest, int line_size, const DCTELEM *col)
497 a0 = col[8*0];
498 a1 = col[8*1];
499 a2 = col[8*2];
500 a3 = col[8*3];