[cvs] / xvidcore / src / image / postprocessing.h Repository:
ViewVC logotype

Diff of /xvidcore/src/image/postprocessing.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.4.4, Sun Dec 21 19:42:11 2003 UTC revision 1.4, Fri Apr 2 21:29:21 2004 UTC
# Line 39  Line 39 
39  #define MAX_RES (MAX_NOISE - MAX_SHIFT)  #define MAX_RES (MAX_NOISE - MAX_SHIFT)
40    
41  typedef struct {  typedef struct {
42          int8_t xvid_thresh_tbl[510];          int8_t  xvid_thresh_tbl[511];
43          int8_t xvid_abs_tbl[510];          uint8_t xvid_abs_tbl[511];
44          int8_t xvid_noise1[MAX_NOISE * sizeof(int8_t)];          int8_t xvid_noise1[MAX_NOISE * sizeof(int8_t)];
45          int8_t xvid_noise2[MAX_NOISE * sizeof(int8_t)];          int8_t xvid_noise2[MAX_NOISE * sizeof(int8_t)];
46          int8_t *xvid_prev_shift[MAX_RES][6];          int8_t *xvid_prev_shift[MAX_RES][6];
# Line 50  Line 50 
50  void  void
51  image_postproc(XVID_POSTPROC *tbls, IMAGE * img, int edged_width,  image_postproc(XVID_POSTPROC *tbls, IMAGE * img, int edged_width,
52                                  const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride,                                  const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride,
53                                  int flags, int frame_num, int bvop);                                  int flags, int brightness, int frame_num, int bvop);
54    
55  void deblock8x8_h(XVID_POSTPROC *tbls, uint8_t *img, int stride, int quant);  void deblock8x8_h(XVID_POSTPROC *tbls, uint8_t *img, int stride, int quant);
56  void deblock8x8_v(XVID_POSTPROC *tbls, uint8_t *img, int stride, int quant);  void deblock8x8_v(XVID_POSTPROC *tbls, uint8_t *img, int stride, int quant);
# Line 61  Line 61 
61    
62  void add_noise(XVID_POSTPROC * tbls, uint8_t *dst, uint8_t *src, int stride, int width, int height, int shiftptr, int quant);  void add_noise(XVID_POSTPROC * tbls, uint8_t *dst, uint8_t *src, int stride, int width, int height, int shiftptr, int quant);
63    
64    
65    typedef void (IMAGEBRIGHTNESS) (uint8_t * dst,
66                                                    int stride,
67                                                    int width,
68                                                    int height,
69                                                    int offset);
70    typedef IMAGEBRIGHTNESS *IMAGEBRIGHTNESS_PTR;
71    
72    extern IMAGEBRIGHTNESS_PTR image_brightness;
73    
74    IMAGEBRIGHTNESS image_brightness_c;
75    IMAGEBRIGHTNESS image_brightness_mmx;
76    
77  #endif  #endif

Legend:
Removed from v.1.1.4.4  
changed lines
  Added in v.1.4

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4