[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.2, Mon Mar 22 22:36:23 2004 UTC revision 1.6, Thu Jul 15 10:08:22 2004 UTC
# Line 38  Line 38 
38  #define MAX_SHIFT 1024  #define MAX_SHIFT 1024
39  #define MAX_RES (MAX_NOISE - MAX_SHIFT)  #define MAX_RES (MAX_NOISE - MAX_SHIFT)
40    
41    #define DERING_STRENGTH         2
42    
43  typedef struct {  typedef struct {
44          int8_t  xvid_thresh_tbl[511];          int8_t  xvid_thresh_tbl[511];
45          uint8_t xvid_abs_tbl[511];          uint8_t xvid_abs_tbl[511];
# Line 50  Line 52 
52  void  void
53  image_postproc(XVID_POSTPROC *tbls, IMAGE * img, int edged_width,  image_postproc(XVID_POSTPROC *tbls, IMAGE * img, int edged_width,
54                                  const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride,                                  const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride,
55                                  int flags, int frame_num, int bvop);                                  int flags, int brightness, int frame_num, int bvop);
56    
57  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, int dering);
58  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, int dering);
59    
60  void init_postproc(XVID_POSTPROC *tbls);  void init_postproc(XVID_POSTPROC *tbls);
61  void init_noise(XVID_POSTPROC *tbls);  void init_noise(XVID_POSTPROC *tbls);
# Line 61  Line 63 
63    
64  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);
65    
66    
67    typedef void (IMAGEBRIGHTNESS) (uint8_t * dst,
68                                                    int stride,
69                                                    int width,
70                                                    int height,
71                                                    int offset);
72    typedef IMAGEBRIGHTNESS *IMAGEBRIGHTNESS_PTR;
73    
74    extern IMAGEBRIGHTNESS_PTR image_brightness;
75    
76    IMAGEBRIGHTNESS image_brightness_c;
77    IMAGEBRIGHTNESS image_brightness_mmx;
78    IMAGEBRIGHTNESS image_brightness_sse2;
79    
80  #endif  #endif

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

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