3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - Postprocessing header - |
* - Postprocessing header - |
5 |
* |
* |
6 |
* Copyright(C) 2003 Michael Militzer <skal@planet-d.net> |
* Copyright(C) 2003 Michael Militzer <isibaar@xvid.org> |
7 |
* |
* |
8 |
* This program is free software ; you can redistribute it and/or modify |
* This program is free software ; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
|
* $Id$ |
23 |
|
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
26 |
#ifndef _POSTPROCESSING_H_ |
#ifndef _POSTPROCESSING_H_ |
31 |
#include "../portab.h" |
#include "../portab.h" |
32 |
|
|
33 |
void |
void |
34 |
image_deblock(IMAGE * img, int edged_width, |
image_postproc(IMAGE * img, int edged_width, |
35 |
const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride, |
const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride, |
36 |
int flags); |
int flags, int frame_num); |
37 |
|
|
38 |
void deblock8x8_h(uint8_t *img, int stride, int quant); |
void deblock8x8_h(uint8_t *img, int stride, int quant); |
39 |
void deblock8x8_v(uint8_t *img, int stride, int quant); |
void deblock8x8_v(uint8_t *img, int stride, int quant); |
40 |
|
|
41 |
void init_postproc(void); |
void init_postproc(void); |
42 |
|
void init_noise(void); |
43 |
|
void init_deblock(void); |
44 |
|
|
45 |
|
void add_noise(uint8_t *dst, uint8_t *src, int stride, int width, int height, int shiftptr); |
46 |
|
|
47 |
#endif |
#endif |