Mercurial > libavcodec.hg
comparison i386/dsputil_mmx.c @ 3105:2d35fb3cb940 libavcodec
h264: special case dc-only idct. ~1% faster overall
author | lorenm |
---|---|
date | Fri, 10 Feb 2006 06:55:25 +0000 |
parents | 072dbc669253 |
children | 9a2cc7b0fbdb |
comparison
equal
deleted
inserted
replaced
3104:78d6bfc238f3 | 3105:2d35fb3cb940 |
---|---|
2752 c->hadamard8_diff[1]= hadamard8_diff_mmx2; | 2752 c->hadamard8_diff[1]= hadamard8_diff_mmx2; |
2753 c->vsad[4]= vsad_intra16_mmx2; | 2753 c->vsad[4]= vsad_intra16_mmx2; |
2754 #endif //CONFIG_ENCODERS | 2754 #endif //CONFIG_ENCODERS |
2755 | 2755 |
2756 c->h264_idct_add= ff_h264_idct_add_mmx2; | 2756 c->h264_idct_add= ff_h264_idct_add_mmx2; |
2757 c->h264_idct_dc_add= ff_h264_idct_dc_add_mmx2; | |
2758 c->h264_idct8_dc_add= ff_h264_idct8_dc_add_mmx2; | |
2757 | 2759 |
2758 if(!(avctx->flags & CODEC_FLAG_BITEXACT)){ | 2760 if(!(avctx->flags & CODEC_FLAG_BITEXACT)){ |
2759 c->put_no_rnd_pixels_tab[0][1] = put_no_rnd_pixels16_x2_mmx2; | 2761 c->put_no_rnd_pixels_tab[0][1] = put_no_rnd_pixels16_x2_mmx2; |
2760 c->put_no_rnd_pixels_tab[0][2] = put_no_rnd_pixels16_y2_mmx2; | 2762 c->put_no_rnd_pixels_tab[0][2] = put_no_rnd_pixels16_y2_mmx2; |
2761 c->put_no_rnd_pixels_tab[1][1] = put_no_rnd_pixels8_x2_mmx2; | 2763 c->put_no_rnd_pixels_tab[1][1] = put_no_rnd_pixels8_x2_mmx2; |