Mercurial > libavcodec.hg
diff dsputil.h @ 324:9c6f056f0e41 libavcodec
fixed mpeg4 time stuff on encoding
mpeg4 b-frame enoding support
removed old, out-commented ratecontrol
reuse motion compensation code between encoding & decoding
prefix newly added global functions with ff_ to reduce namespace polution
b-frame ME (unfinished, but working)
added some comments to mpegvideo.h
do MC on encoding only once if possible
bugs? ;)
| author | michaelni |
|---|---|
| date | Wed, 17 Apr 2002 04:32:12 +0000 |
| parents | c1a8a1b4a24b |
| children | 2c3e25f4c496 |
line wrap: on
line diff
--- a/dsputil.h Mon Apr 15 12:52:21 2002 +0000 +++ b/dsputil.h Wed Apr 17 04:32:12 2002 +0000 @@ -37,6 +37,7 @@ extern void (*ff_idct)(DCTELEM *block); extern void (*get_pixels)(DCTELEM *block, const UINT8 *pixels, int line_size); +extern void (*diff_pixels)(DCTELEM *block, const UINT8 *s1, const UINT8 *s2, int stride); 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); @@ -44,6 +45,7 @@ void get_pixels_c(DCTELEM *block, const UINT8 *pixels, int line_size); +void diff_pixels_c(DCTELEM *block, const UINT8 *s1, const UINT8 *s2, int stride); void put_pixels_clamped_c(const DCTELEM *block, UINT8 *pixels, int line_size); void add_pixels_clamped_c(const DCTELEM *block, UINT8 *pixels, int line_size); void clear_blocks_c(DCTELEM *blocks);
