From 8227dc75b8e236f7f9629d1bc49fae0addee3def Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Fri, 28 Feb 2003 09:48:54 +0000 Subject: pdp config svn path=/trunk/externals/pdp/; revision=440 --- include/pdp_imageproc.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/pdp_imageproc.h') diff --git a/include/pdp_imageproc.h b/include/pdp_imageproc.h index 09825dc..26bcdc6 100644 --- a/include/pdp_imageproc.h +++ b/include/pdp_imageproc.h @@ -21,6 +21,7 @@ /* this is a c wrapper around platform specific (mmx) code */ +#include "pdp_types.h" #ifndef PDP_IMAGEPROC_H #define PDP_IMAGEPROC_H @@ -32,6 +33,16 @@ extern "C" #endif */ +/* get legal image dimensions */ +/* this is a fix for the dimension problem */ +/* some imageproc implementations require the dims to be a multiple of some square */ +u32 pdp_imageproc_legalwidth(int i); +u32 pdp_imageproc_legalheight(int i); +u32 pdp_imageproc_legalwidth_round_down(int i); +u32 pdp_imageproc_legalheight_round_down(int i); + + + /****************************** 16 bit signed (pixel) routines ***************************************/ #include "pdp_types.h" -- cgit v1.2.1