Mercurial > libavcodec.hg
diff x86/h264dsp_mmx.c @ 9440:daee921fb6bb libavcodec
VC1: add and use avg_no_rnd chroma MC functions
author | conrad |
---|---|
date | Tue, 14 Apr 2009 23:56:10 +0000 |
parents | ef3a7b711cc0 |
children | 96e6cab7470a |
line wrap: on
line diff
--- a/x86/h264dsp_mmx.c Tue Apr 14 23:55:39 2009 +0000 +++ b/x86/h264dsp_mmx.c Tue Apr 14 23:56:10 2009 +0000 @@ -2129,6 +2129,10 @@ { avg_h264_chroma_generic_mc8_mmx2(dst, src, stride, h, x, y, h264_rnd_reg); } +static void avg_vc1_chroma_mc8_mmx2_nornd(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y) +{ + avg_h264_chroma_generic_mc8_mmx2(dst, src, stride, h, x, y, h264_rnd_reg+2); +} static void avg_h264_chroma_mc4_mmx2(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y) { avg_h264_chroma_generic_mc4_mmx2(dst, src, stride, h, x, y, h264_rnd_reg); @@ -2191,6 +2195,10 @@ { avg_h264_chroma_mc8_ssse3(dst, src, stride, h, x, y, 1); } +static void avg_vc1_chroma_mc8_ssse3_nornd(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y) +{ + avg_h264_chroma_mc8_ssse3(dst, src, stride, h, x, y, 0); +} #undef AVG_OP #undef H264_CHROMA_MC8_TMPL #undef H264_CHROMA_MC4_TMPL