Mercurial > libavcodec.hg
changeset 855:df26acd21c84 libavcodec
* using DSPContext - so each codec could use its local (sub)set of CPU extension
* fixing compiler warning about uninit level
author | kabi |
---|---|
date | Mon, 11 Nov 2002 09:44:59 +0000 |
parents | 3034f1816596 |
children | 3c6df37177dd |
files | i386/mpegvideo_mmx.c |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/mpegvideo_mmx.c Mon Nov 11 09:43:43 2002 +0000 +++ b/i386/mpegvideo_mmx.c Mon Nov 11 09:44:59 2002 +0000 @@ -55,7 +55,8 @@ } nCoeffs=63; } else { - nCoeffs= s->inter_scantable.raster_end[ s->block_last_index[n] ]; + nCoeffs= s->inter_scantable.raster_end[ s->block_last_index[n] ]; + level = 0;/* keep gcc quiet */ } //printf("%d %d ", qmul, qadd); asm volatile( @@ -507,22 +508,22 @@ static void ff_libmpeg2mmx_idct_put(UINT8 *dest, int line_size, DCTELEM *block) { ff_mmx_idct (block); - put_pixels_clamped(block, dest, line_size); + put_pixels_clamped_mmx(block, dest, line_size); } static void ff_libmpeg2mmx_idct_add(UINT8 *dest, int line_size, DCTELEM *block) { ff_mmx_idct (block); - add_pixels_clamped(block, dest, line_size); + add_pixels_clamped_mmx(block, dest, line_size); } static void ff_libmpeg2mmx2_idct_put(UINT8 *dest, int line_size, DCTELEM *block) { ff_mmxext_idct (block); - put_pixels_clamped(block, dest, line_size); + put_pixels_clamped_mmx(block, dest, line_size); } static void ff_libmpeg2mmx2_idct_add(UINT8 *dest, int line_size, DCTELEM *block) { ff_mmxext_idct (block); - add_pixels_clamped(block, dest, line_size); + add_pixels_clamped_mmx(block, dest, line_size); } void MPV_common_init_mmx(MpegEncContext *s)