[Jahshaka-cvs] openlibraries/src/openimagelib/il utility.cpp, 1.27, 1.28
Status: Beta
Brought to you by:
jahshaka
From: Goncalo N. M. de C. <gl...@us...> - 2006-07-17 10:48:04
|
Update of /cvsroot/openlibraries/openlibraries/src/openimagelib/il In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11368/src/openimagelib/il Modified Files: utility.cpp Log Message: + scaling width constrained to multiple of 4 commented out (unconfirmed for now) + oal build updates Index: utility.cpp =================================================================== RCS file: /cvsroot/openlibraries/openlibraries/src/openimagelib/il/utility.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- utility.cpp 15 Jul 2006 07:42:46 -0000 1.27 +++ utility.cpp 17 Jul 2006 10:47:55 -0000 1.28 @@ -1370,7 +1370,8 @@ image_type_ptr rescale( const image_type_ptr &im, int new_w, int new_h, int new_d, rescale_filter filter ) { // TODO: Confirm the need or correct this in the rescale - ensures that the width is a multiple of 4 - new_w = ( new_w | 3 ) - 3; + // Goncalo - unconfimed but it still needs a better review + //new_w = ( new_w | 3 ) - 3; // Goncalo - we need some enums for the pixel formats really quick! if( ( im->pf( ) == L"r8g8b8" ) || ( im->pf( ) == L"b8g8r8" ) || ( im->pf( ) == L"yuv444" ) ) |