comparison dsputil.c @ 625:bb6a69f9d409 libavcodec

slow but accurate integer dct from IJG (should be ok with the LGPL as the old DCT is the fast integer DCT from IJG) per context DCT selection
author michaelni
date Thu, 29 Aug 2002 23:55:32 +0000
parents 92e99e506920
children 23a093d6e450
comparison
equal deleted inserted replaced
624:35353e4520d8 625:bb6a69f9d409
23 #include "simple_idct.h" 23 #include "simple_idct.h"
24 24
25 void (*ff_idct)(DCTELEM *block); 25 void (*ff_idct)(DCTELEM *block);
26 void (*ff_idct_put)(UINT8 *dest, int line_size, DCTELEM *block); 26 void (*ff_idct_put)(UINT8 *dest, int line_size, DCTELEM *block);
27 void (*ff_idct_add)(UINT8 *dest, int line_size, DCTELEM *block); 27 void (*ff_idct_add)(UINT8 *dest, int line_size, DCTELEM *block);
28 void (*av_fdct)(DCTELEM *block);
29 void (*get_pixels)(DCTELEM *block, const UINT8 *pixels, int line_size); 28 void (*get_pixels)(DCTELEM *block, const UINT8 *pixels, int line_size);
30 void (*diff_pixels)(DCTELEM *block, const UINT8 *s1, const UINT8 *s2, int stride); 29 void (*diff_pixels)(DCTELEM *block, const UINT8 *s1, const UINT8 *s2, int stride);
31 void (*put_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size); 30 void (*put_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size);
32 void (*add_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size); 31 void (*add_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size);
33 void (*gmc1)(UINT8 *dst, UINT8 *src, int srcStride, int h, int x16, int y16, int rounder); 32 void (*gmc1)(UINT8 *dst, UINT8 *src, int srcStride, int h, int x16, int y16, int rounder);
1321 pix_abs16x16_xy2 = pix_abs16x16_xy2_c; 1320 pix_abs16x16_xy2 = pix_abs16x16_xy2_c;
1322 pix_abs8x8 = pix_abs8x8_c; 1321 pix_abs8x8 = pix_abs8x8_c;
1323 pix_abs8x8_x2 = pix_abs8x8_x2_c; 1322 pix_abs8x8_x2 = pix_abs8x8_x2_c;
1324 pix_abs8x8_y2 = pix_abs8x8_y2_c; 1323 pix_abs8x8_y2 = pix_abs8x8_y2_c;
1325 pix_abs8x8_xy2 = pix_abs8x8_xy2_c; 1324 pix_abs8x8_xy2 = pix_abs8x8_xy2_c;
1326 av_fdct = fdct_ifast;
1327 1325
1328 use_permuted_idct = 1; 1326 use_permuted_idct = 1;
1329 1327
1330 #ifdef HAVE_MMX 1328 #ifdef HAVE_MMX
1331 dsputil_init_mmx(); 1329 dsputil_init_mmx();