Mercurial > libavcodec.hg
comparison x86/vc1dsp_mmx.c @ 10961:34a65026fa06 libavcodec
Move array specifiers outside DECLARE_ALIGNED() invocations
author | mru |
---|---|
date | Fri, 22 Jan 2010 03:25:11 +0000 |
parents | 7a116de63777 |
children | 98970e51365a |
comparison
equal
deleted
inserted
replaced
10960:10759fd39860 | 10961:34a65026fa06 |
---|---|
440 if (vmode) { /* Vertical filter to apply */\ | 440 if (vmode) { /* Vertical filter to apply */\ |
441 if (hmode) { /* Horizontal filter to apply, output to tmp */\ | 441 if (hmode) { /* Horizontal filter to apply, output to tmp */\ |
442 static const int shift_value[] = { 0, 5, 1, 5 };\ | 442 static const int shift_value[] = { 0, 5, 1, 5 };\ |
443 int shift = (shift_value[hmode]+shift_value[vmode])>>1;\ | 443 int shift = (shift_value[hmode]+shift_value[vmode])>>1;\ |
444 int r;\ | 444 int r;\ |
445 DECLARE_ALIGNED_16(int16_t, tmp[12*8]);\ | 445 DECLARE_ALIGNED_16(int16_t, tmp)[12*8];\ |
446 \ | 446 \ |
447 r = (1<<(shift-1)) + rnd-1;\ | 447 r = (1<<(shift-1)) + rnd-1;\ |
448 vc1_put_shift_ver_16bits[vmode](tmp, src-1, stride, r, shift);\ | 448 vc1_put_shift_ver_16bits[vmode](tmp, src-1, stride, r, shift);\ |
449 \ | 449 \ |
450 vc1_put_shift_hor_16bits[hmode](dst, stride, tmp+1, 64-rnd);\ | 450 vc1_put_shift_hor_16bits[hmode](dst, stride, tmp+1, 64-rnd);\ |