diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-08-07 23:59:50 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-08-07 23:59:50 +0000 |
commit | 4c0836e8f1504db9bbb329a1351050a8ff2cf469 (patch) | |
tree | 5a15df1f39b66be829da3641336d0cac1b846e34 /src/libffmpeg/libavcodec/dsputil.h | |
parent | 116de8566118cae73b42132985c174c372ed6c41 (diff) | |
download | xine-lib-4c0836e8f1504db9bbb329a1351050a8ff2cf469.tar.gz xine-lib-4c0836e8f1504db9bbb329a1351050a8ff2cf469.tar.bz2 |
latest ffmpeg updates - mmx works\! :-)
CVS patchset: 400
CVS date: 2001/08/07 23:59:50
Diffstat (limited to 'src/libffmpeg/libavcodec/dsputil.h')
-rw-r--r-- | src/libffmpeg/libavcodec/dsputil.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/dsputil.h b/src/libffmpeg/libavcodec/dsputil.h index ffbc395ba..ebb4d8446 100644 --- a/src/libffmpeg/libavcodec/dsputil.h +++ b/src/libffmpeg/libavcodec/dsputil.h @@ -15,6 +15,11 @@ void fdct_mmx(DCTELEM *block); void (*av_fdct)(DCTELEM *block); +/* encoding scans */ +extern UINT8 ff_alternate_horizontal_scan[64]; +extern UINT8 ff_alternate_vertical_scan[64]; +extern UINT8 zigzag_direct[64]; + /* pixel operations */ #define MAX_NEG_CROP 384 @@ -62,6 +67,13 @@ int pix_abs16x16_x2_c(UINT8 *blk1, UINT8 *blk2, int lx, int h); int pix_abs16x16_y2_c(UINT8 *blk1, UINT8 *blk2, int lx, int h); int pix_abs16x16_xy2_c(UINT8 *blk1, UINT8 *blk2, int lx, int h); +static inline int block_permute_op(int j) +{ + return (j & 0x38) | ((j & 6) >> 1) | ((j & 1) << 2); +} + +void block_permute(INT16 *block); + #ifdef HAVE_MMX #define MM_MMX 0x0001 /* standard MMX */ |