3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - Image related header - |
* - Image related header - |
5 |
* |
* |
6 |
* Copyright(C) 2001-2004 Peter Ross <pross@xvid.org> |
* Copyright(C) 2001-2010 Peter Ross <pross@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 |
135 |
int y, int u, int v); |
int y, int u, int v); |
136 |
|
|
137 |
|
|
138 |
|
void image_block_variance(IMAGE * orig_image, uint16_t stride, MACROBLOCK *mbs, |
139 |
|
uint16_t mb_width, uint16_t mb_height); |
140 |
|
|
141 |
void |
void |
142 |
image_deblock_rrv(IMAGE * img, int edgeg_width, |
image_deblock_rrv(IMAGE * img, int edged_width, |
143 |
const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride, |
const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride, |
144 |
int block, int flags); |
int block, int flags); |
145 |
|
|
146 |
|
|
147 |
|
/* helper function: deinterlace image. |
148 |
|
Only for YUV 4:2:0 planar format. Use bottom_first!=0 if main |
149 |
|
field is the bottom one. |
150 |
|
returns 1 if everything went ok, 0 otherwise. */ |
151 |
|
extern int xvid_image_deinterlace(xvid_image_t* img, int width, int height, int bottom_first); |
152 |
|
|
153 |
#endif /* _IMAGE_H_ */ |
#endif /* _IMAGE_H_ */ |