From beb0e755cdeda58dce45e96ae6d7789548c0c298 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sat, 15 Aug 2009 09:58:36 +0000 Subject: removed 1024x1024 limitation svn path=/trunk/externals/pdp/; revision=11918 --- system/image/pdp_imageproc_common.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'system/image/pdp_imageproc_common.c') 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; } -- cgit v1.2.1