comment-out function having no effect; drops RAM use by 30x.
from upstream svn r3895
This commit is contained in:
parent
84af2859fd
commit
ea935b06ed
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2009/05/27 12:59:45 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2009/07/17 18:19:52 sthen Exp $
|
||||
|
||||
COMMENT = identify control points from groups of overlapping images
|
||||
|
||||
DISTNAME = autopano-sift-C-2.5.0
|
||||
PKGNAME = ${DISTNAME:S/C/c/}p1
|
||||
PKGNAME = ${DISTNAME:S/C/c/}p2
|
||||
|
||||
CATEGORIES = graphics
|
||||
|
||||
@ -34,7 +34,7 @@ NO_REGRESS = Yes
|
||||
|
||||
# dos line-endings in file needing patch
|
||||
post-extract:
|
||||
@perl -i -pe 's/\r$$//' ${WRKSRC}/CMakeLists.txt
|
||||
@cd ${WRKSRC}; perl -i -pe 's/\r$$//' CMakeLists.txt APSCpp/APSCpp.c
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/CMakeModules/FindPNG.cmake
|
||||
|
16
graphics/autopano-sift-c/patches/patch-APSCpp_APSCpp_c
Normal file
16
graphics/autopano-sift-c/patches/patch-APSCpp_APSCpp_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-APSCpp_APSCpp_c,v 1.1 2009/07/17 18:19:52 sthen Exp $
|
||||
|
||||
comment-out function having no effect; drops RAM use by 30x.
|
||||
from upstream svn r3895
|
||||
|
||||
--- APSCpp/APSCpp.c.orig Wed Jul 23 23:16:59 2008
|
||||
+++ APSCpp/APSCpp.c Fri Jul 17 19:11:52 2009
|
||||
@@ -327,7 +327,7 @@ KeypointXMLList * GenerateKeyspp( char * imgname, int
|
||||
// create result map
|
||||
pn = ImageMap_new( dwid, dhgt );
|
||||
// smooth the source
|
||||
- ImageMap_GaussianConvolution( picMap, 0.75 * Scale );
|
||||
+ //ImageMap_GaussianConvolution( picMap, 0.75 * Scale ); // NO EFFECT.
|
||||
LoweFeatureDetector_SetPreprocSigma( 0 );
|
||||
// set up coordinate mapping
|
||||
if( pdi ){ // ++ mode
|
Loading…
Reference in New Issue
Block a user