aboutsummaryrefslogtreecommitdiff
path: root/include/pdp_imageproc.h
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2003-02-28 09:48:54 +0000
committerTom Schouten <doelie@users.sourceforge.net>2003-02-28 09:48:54 +0000
commit8227dc75b8e236f7f9629d1bc49fae0addee3def (patch)
tree13f2aec426201ee87dd0cbda0860082315dfa1ae /include/pdp_imageproc.h
parenta0aef64af84622e8d6d02c7714fb82178dea0286 (diff)
pdp config
svn path=/trunk/externals/pdp/; revision=440
Diffstat (limited to 'include/pdp_imageproc.h')
-rw-r--r--include/pdp_imageproc.h11
1 files changed, 11 insertions, 0 deletions
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"