aboutsummaryrefslogtreecommitdiff
path: root/system/image
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2009-08-15 09:58:36 +0000
committerN.N. <sevyves@users.sourceforge.net>2009-08-15 09:58:36 +0000
commitbeb0e755cdeda58dce45e96ae6d7789548c0c298 (patch)
treedc03d6889d690aa5da65a4f6b26df3bbd3e86202 /system/image
parent4a87d7a76e84b9b5a98207861b28873e0f317c32 (diff)
removed 1024x1024 limitation
svn path=/trunk/externals/pdp/; revision=11918
Diffstat (limited to 'system/image')
-rw-r--r--system/image/pdp_imageproc_common.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/image/pdp_imageproc_common.c b/system/image/pdp_imageproc_common.c
index a84fa0b..68bd8b8 100644
--- a/system/image/pdp_imageproc_common.c
+++ b/system/image/pdp_imageproc_common.c
@@ -41,7 +41,9 @@
u32 pdp_imageproc_legalwidth(int i)
{
- if (i>1024) return 1024;
+ // sevy : we don't see no need for that limitation
+ // has been tested on linux with 1280x1024 without problems
+ // if (i>1024) return 1024;
if (i>0) return ((((i-1)>>3)+1)<<3);
return 8;
@@ -49,13 +51,13 @@ u32 pdp_imageproc_legalwidth(int i)
u32 pdp_imageproc_legalheight(int i)
{
- if (i>1024) return 1024;
+ // if (i>1024) return 1024;
if (i>0) return ((((i-1)>>3)+1)<<3);
return 8;
}
u32 pdp_imageproc_legalwidth_round_down(int i)
{
- if (i>1024) return 1024;
+ // if (i>1024) return 1024;
if (i>8) return ((i>>3)<<3);
return 8;
@@ -63,7 +65,7 @@ u32 pdp_imageproc_legalwidth_round_down(int i)
u32 pdp_imageproc_legalheight_round_down(int i)
{
- if (i>1024) return 1024;
+ // if (i>1024) return 1024;
if (i>8) return ((i>>3)<<3);
return 8;
}