--- postprocessing.h 2004/03/22 22:36:23 1.2 +++ postprocessing.h 2004/04/02 21:29:21 1.4 @@ -19,7 +19,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: postprocessing.h,v 1.2 2004/03/22 22:36:23 edgomez Exp $ + * $Id: postprocessing.h,v 1.4 2004/04/02 21:29:21 edgomez Exp $ * ****************************************************************************/ @@ -50,7 +50,7 @@ void image_postproc(XVID_POSTPROC *tbls, IMAGE * img, int edged_width, const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride, - int flags, int frame_num, int bvop); + int flags, int brightness, int frame_num, int bvop); void deblock8x8_h(XVID_POSTPROC *tbls, uint8_t *img, int stride, int quant); void deblock8x8_v(XVID_POSTPROC *tbls, uint8_t *img, int stride, int quant); @@ -61,4 +61,17 @@ void add_noise(XVID_POSTPROC * tbls, uint8_t *dst, uint8_t *src, int stride, int width, int height, int shiftptr, int quant); + +typedef void (IMAGEBRIGHTNESS) (uint8_t * dst, + int stride, + int width, + int height, + int offset); +typedef IMAGEBRIGHTNESS *IMAGEBRIGHTNESS_PTR; + +extern IMAGEBRIGHTNESS_PTR image_brightness; + +IMAGEBRIGHTNESS image_brightness_c; +IMAGEBRIGHTNESS image_brightness_mmx; + #endif