Mercurial > libavcodec.hg
comparison x86/dsputil_h264_template_mmx.c @ 11369:98970e51365a libavcodec
Remove DECLARE_ALIGNED_{8,16} macros
These macros are redundant. All uses are replaced with the generic
DECLARE_ALIGNED macro instead.
author | mru |
---|---|
date | Sat, 06 Mar 2010 14:24:59 +0000 |
parents | cc64e1343397 |
children |
comparison
equal
deleted
inserted
replaced
11368:3d4f64b8fb10 | 11369:98970e51365a |
---|---|
25 * H264_CHROMA_OP must be defined to empty for put and pavgb/pavgusb for avg | 25 * H264_CHROMA_OP must be defined to empty for put and pavgb/pavgusb for avg |
26 * H264_CHROMA_MC8_MV0 must be defined to a (put|avg)_pixels8 function | 26 * H264_CHROMA_MC8_MV0 must be defined to a (put|avg)_pixels8 function |
27 */ | 27 */ |
28 static void H264_CHROMA_MC8_TMPL(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y, const uint64_t *rnd_reg) | 28 static void H264_CHROMA_MC8_TMPL(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y, const uint64_t *rnd_reg) |
29 { | 29 { |
30 DECLARE_ALIGNED_8(uint64_t, AA); | 30 DECLARE_ALIGNED(8, uint64_t, AA); |
31 DECLARE_ALIGNED_8(uint64_t, DD); | 31 DECLARE_ALIGNED(8, uint64_t, DD); |
32 int i; | 32 int i; |
33 | 33 |
34 if(y==0 && x==0) { | 34 if(y==0 && x==0) { |
35 /* no filter needed */ | 35 /* no filter needed */ |
36 H264_CHROMA_MC8_MV0(dst, src, stride, h); | 36 H264_CHROMA_MC8_MV0(dst, src, stride, h); |