From 4c0836e8f1504db9bbb329a1351050a8ff2cf469 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Tue, 7 Aug 2001 23:59:50 +0000 Subject: latest ffmpeg updates - mmx works\! :-) CVS patchset: 400 CVS date: 2001/08/07 23:59:50 --- src/libffmpeg/libavcodec/dsputil.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/libffmpeg/libavcodec/dsputil.h') 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 */ -- cgit v1.2.3