Mercurial > libavcodec.hg
diff dsputil.h @ 3020:c75fb0747e74 libavcodec
use h264 MC functions for 2xX Xx2 blocks in snow too
author | michael |
---|---|
date | Sun, 08 Jan 2006 01:50:34 +0000 |
parents | 533c6386eca9 |
children | 7a92269a3ccd |
line wrap: on
line diff
--- a/dsputil.h Sat Jan 07 23:38:17 2006 +0000 +++ b/dsputil.h Sun Jan 08 01:50:34 2006 +0000 @@ -253,8 +253,8 @@ h264_chroma_mc_func put_h264_chroma_pixels_tab[3]; h264_chroma_mc_func avg_h264_chroma_pixels_tab[3]; - qpel_mc_func put_h264_qpel_pixels_tab[3][16]; - qpel_mc_func avg_h264_qpel_pixels_tab[3][16]; + qpel_mc_func put_h264_qpel_pixels_tab[4][16]; + qpel_mc_func avg_h264_qpel_pixels_tab[4][16]; h264_weight_func weight_h264_pixels_tab[10]; h264_biweight_func biweight_h264_pixels_tab[10]; @@ -510,6 +510,7 @@ #define LD32(a) (((const struct unaligned_32 *) (a))->l) #define LD64(a) (((const struct unaligned_64 *) (a))->l) +#define ST16(a, b) (((struct unaligned_16 *) (a))->l) = (b) #define ST32(a, b) (((struct unaligned_32 *) (a))->l) = (b) #else /* __GNUC__ */