--- image.h 2005/09/09 12:18:10 1.15 +++ image.h 2006/10/13 07:38:09 1.17 @@ -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: image.h,v 1.15 2005/09/09 12:18:10 suxen_drol Exp $ + * $Id: image.h,v 1.17 2006/10/13 07:38:09 Skal Exp $ * ****************************************************************************/ @@ -66,10 +66,10 @@ uint32_t height, int bs_version); -void image_interpolate(const IMAGE * refn, - IMAGE * refh, - IMAGE * refv, - IMAGE * refhv, +void image_interpolate(const uint8_t * refn, + uint8_t * refh, + uint8_t * refv, + uint8_t * refhv, uint32_t edged_width, uint32_t edged_height, uint32_t quarterpel, @@ -141,4 +141,10 @@ int block, int flags); + /* helper function: deinterlace image. + Only for YUV 4:2:0 planar format. Use bottom_first!=0 if main + field is the bottom one. + returns 1 if everything went ok, 0 otherwise. */ +extern int xvid_image_deinterlace(xvid_image_t* img, int width, int height, int bottom_first); + #endif /* _IMAGE_H_ */