comparison 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
comparison
equal deleted inserted replaced
323:68cc7650c645 324:9c6f056f0e41
35 35
36 /* pixel ops : interface with DCT */ 36 /* pixel ops : interface with DCT */
37 37
38 extern void (*ff_idct)(DCTELEM *block); 38 extern void (*ff_idct)(DCTELEM *block);
39 extern void (*get_pixels)(DCTELEM *block, const UINT8 *pixels, int line_size); 39 extern void (*get_pixels)(DCTELEM *block, const UINT8 *pixels, int line_size);
40 extern void (*diff_pixels)(DCTELEM *block, const UINT8 *s1, const UINT8 *s2, int stride);
40 extern void (*put_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size); 41 extern void (*put_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size);
41 extern void (*add_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size); 42 extern void (*add_pixels_clamped)(const DCTELEM *block, UINT8 *pixels, int line_size);
42 extern void (*gmc1)(UINT8 *dst, UINT8 *src, int srcStride, int h, int x16, int y16, int rounder); 43 extern void (*gmc1)(UINT8 *dst, UINT8 *src, int srcStride, int h, int x16, int y16, int rounder);
43 extern void (*clear_blocks)(DCTELEM *blocks); 44 extern void (*clear_blocks)(DCTELEM *blocks);
44 45
45 46
46 void get_pixels_c(DCTELEM *block, const UINT8 *pixels, int line_size); 47 void get_pixels_c(DCTELEM *block, const UINT8 *pixels, int line_size);
48 void diff_pixels_c(DCTELEM *block, const UINT8 *s1, const UINT8 *s2, int stride);
47 void put_pixels_clamped_c(const DCTELEM *block, UINT8 *pixels, int line_size); 49 void put_pixels_clamped_c(const DCTELEM *block, UINT8 *pixels, int line_size);
48 void add_pixels_clamped_c(const DCTELEM *block, UINT8 *pixels, int line_size); 50 void add_pixels_clamped_c(const DCTELEM *block, UINT8 *pixels, int line_size);
49 void clear_blocks_c(DCTELEM *blocks); 51 void clear_blocks_c(DCTELEM *blocks);
50 52
51 /* add and put pixel (decoding) */ 53 /* add and put pixel (decoding) */