remove some dbg
This commit is contained in:
parent
441ae2305e
commit
7807efcfbe
1
TODO
1
TODO
@ -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?
|
vips__vector_to_ink() breakage something to do with the new bandjoin thing?
|
||||||
|
|
||||||
|
strange, seems to work on laptop, try again on desktop
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -343,8 +343,6 @@ vips_cast_gen( VipsRegion *or, void *vseq, void *a, void *b,
|
|||||||
int sz = VIPS_REGION_N_ELEMENTS( or );
|
int sz = VIPS_REGION_N_ELEMENTS( or );
|
||||||
int x, y;
|
int x, y;
|
||||||
|
|
||||||
printf( "vips_cast_gen: %p\n", cast );
|
|
||||||
|
|
||||||
if( vips_region_prepare( ir, r ) )
|
if( vips_region_prepare( ir, r ) )
|
||||||
return( -1 );
|
return( -1 );
|
||||||
|
|
||||||
@ -445,8 +443,6 @@ vips_cast_build( VipsObject *object )
|
|||||||
if( cast->in->BandFmt == cast->format )
|
if( cast->in->BandFmt == cast->format )
|
||||||
return( vips_image_write( cast->in, conversion->out ) );
|
return( vips_image_write( cast->in, conversion->out ) );
|
||||||
|
|
||||||
printf( "vips_cast_build: %p\n", object );
|
|
||||||
|
|
||||||
if( vips_check_uncoded( "VipsCast", cast->in ) ||
|
if( vips_check_uncoded( "VipsCast", cast->in ) ||
|
||||||
vips_image_pio_input( cast->in ) ||
|
vips_image_pio_input( cast->in ) ||
|
||||||
vips_image_pio_output( conversion->out ) )
|
vips_image_pio_output( conversion->out ) )
|
||||||
@ -469,8 +465,6 @@ vips_cast_build( VipsObject *object )
|
|||||||
cast->in, cast ) )
|
cast->in, cast ) )
|
||||||
return( -1 );
|
return( -1 );
|
||||||
|
|
||||||
printf( "vips_cast_build: %p done\n", object );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -251,8 +251,6 @@ vips__vector_to_ink( const char *domain, VipsImage *im, double *vec, int n )
|
|||||||
double *zeros;
|
double *zeros;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
printf( "vips__vector_to_ink: starting\n" );
|
|
||||||
|
|
||||||
if( vips_check_vector( domain, n, im ) )
|
if( vips_check_vector( domain, n, im ) )
|
||||||
return( NULL );
|
return( NULL );
|
||||||
if( im_open_local_array( im, t, 3, "vtoi", "t" ) ||
|
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 ) )
|
im_clip2fmt( t[1], t[2], im->BandFmt ) )
|
||||||
return( NULL );
|
return( NULL );
|
||||||
|
|
||||||
|
#ifdef VIPS_DEBUG
|
||||||
printf( "vips__vector_to_ink: ink = %p (%d %d %d)\n",
|
printf( "vips__vector_to_ink: ink = %p (%d %d %d)\n",
|
||||||
t[2]->data,
|
t[2]->data,
|
||||||
t[2]->data[0], t[2]->data[1], t[2]->data[2] );
|
t[2]->data[0], t[2]->data[1], t[2]->data[2] );
|
||||||
|
#endif /*VIPS_DEBUG*/
|
||||||
|
|
||||||
return( (PEL *) t[2]->data );
|
return( (PEL *) t[2]->data );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user