diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-03-09 13:01:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-03-09 13:01:16 +0000 |
commit | 44eb49512888143905860af2de2932ab002cdbf7 (patch) | |
tree | 577944ddd5187ca0b9c09144b824a95ce9d18bc4 /libavcodec/dsputil.h | |
parent | ef0bc4c97f1ad704c0d6322775902c5d62adf546 (diff) | |
download | ffmpeg-44eb49512888143905860af2de2932ab002cdbf7.tar.gz |
divx5-gmc support
q-pel mc support
neither is totally bugfree yet though :(
Originally committed as revision 320 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index ed264c83b7..8730d69be7 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -4,6 +4,7 @@ #include "common.h" #include "avcodec.h" +//#define DEBUG /* dct code */ typedef short DCTELEM; @@ -38,6 +39,8 @@ extern void (*ff_idct)(DCTELEM *block); extern void (*get_pixels)(DCTELEM *block, const UINT8 *pixels, int line_size); extern void (*put_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size); extern void (*add_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size); +extern void (*gmc1)(UINT8 *dst, UINT8 *src, int srcStride, int h, int x16, int y16, int rounder); + void get_pixels_c(DCTELEM *block, const UINT8 *pixels, int line_size); void put_pixels_clamped_c(const DCTELEM *block, UINT8 *pixels, int line_size); @@ -45,11 +48,15 @@ void add_pixels_clamped_c(const DCTELEM *block, UINT8 *pixels, int line_size); /* add and put pixel (decoding) */ typedef void (*op_pixels_func)(UINT8 *block, const UINT8 *pixels, int line_size, int h); +typedef void (*qpel_mc_func)(UINT8 *dst, UINT8 *src, int dstStride, int srcStride, int mx, int my); extern op_pixels_func put_pixels_tab[4]; extern op_pixels_func avg_pixels_tab[4]; extern op_pixels_func put_no_rnd_pixels_tab[4]; extern op_pixels_func avg_no_rnd_pixels_tab[4]; +extern qpel_mc_func qpel_mc_rnd_tab[16]; +extern qpel_mc_func qpel_mc_no_rnd_tab[16]; + /* sub pixel (encoding) */ extern void (*sub_pixels_tab[4])(DCTELEM *block, const UINT8 *pixels, int line_size, int h); |