remove some dbg

This commit is contained in:
John Cupitt 2011-10-29 20:59:32 +01:00
parent 441ae2305e
commit 7807efcfbe
3 changed files with 3 additions and 8 deletions

1
TODO
View File

@ -24,6 +24,7 @@ vips__vector_to_ink: ink = 0x177d660 (0 0 0)
vips__vector_to_ink() breakage something to do with the new bandjoin thing?
strange, seems to work on laptop, try again on desktop

View File

@ -343,8 +343,6 @@ vips_cast_gen( VipsRegion *or, void *vseq, void *a, void *b,
int sz = VIPS_REGION_N_ELEMENTS( or );
int x, y;
printf( "vips_cast_gen: %p\n", cast );
if( vips_region_prepare( ir, r ) )
return( -1 );
@ -445,8 +443,6 @@ vips_cast_build( VipsObject *object )
if( cast->in->BandFmt == cast->format )
return( vips_image_write( cast->in, conversion->out ) );
printf( "vips_cast_build: %p\n", object );
if( vips_check_uncoded( "VipsCast", cast->in ) ||
vips_image_pio_input( cast->in ) ||
vips_image_pio_output( conversion->out ) )
@ -469,8 +465,6 @@ vips_cast_build( VipsObject *object )
cast->in, cast ) )
return( -1 );
printf( "vips_cast_build: %p done\n", object );
return( 0 );
}

View File

@ -251,8 +251,6 @@ vips__vector_to_ink( const char *domain, VipsImage *im, double *vec, int n )
double *zeros;
int i;
printf( "vips__vector_to_ink: starting\n" );
if( vips_check_vector( domain, n, im ) )
return( NULL );
if( im_open_local_array( im, t, 3, "vtoi", "t" ) ||
@ -266,9 +264,11 @@ vips__vector_to_ink( const char *domain, VipsImage *im, double *vec, int n )
im_clip2fmt( t[1], t[2], im->BandFmt ) )
return( NULL );
#ifdef VIPS_DEBUG
printf( "vips__vector_to_ink: ink = %p (%d %d %d)\n",
t[2]->data,
t[2]->data[0], t[2]->data[1], t[2]->data[2] );
#endif /*VIPS_DEBUG*/
return( (PEL *) t[2]->data );
}