|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64369 - sandbox/gil/boost/gil/extension/io2
From: dsaritz_at_[hidden]
Date: 2010-07-26 12:52:34
Author: psiha
Date: 2010-07-26 12:52:33 EDT (Mon, 26 Jul 2010)
New Revision: 64369
URL: http://svn.boost.org/trac/boost/changeset/64369
Log:
Quick-fixed a compile error.
Minor stylistic changes.
Text files modified:
sandbox/gil/boost/gil/extension/io2/libtiff_private_base.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: sandbox/gil/boost/gil/extension/io2/libtiff_private_base.hpp
==============================================================================
--- sandbox/gil/boost/gil/extension/io2/libtiff_private_base.hpp (original)
+++ sandbox/gil/boost/gil/extension/io2/libtiff_private_base.hpp 2010-07-26 12:52:33 EDT (Mon, 26 Jul 2010)
@@ -543,8 +543,8 @@
unsigned int const this_tile_width_bytes( last_row_tile ? setup.last_row_tile_width_bytes : setup.tile_width_bytes );
result.accumulate_equal( ::TIFFReadEncodedTile( p_tiff_, current_tile, setup.p_tile_buffer.get(), setup.tile_size_bytes ), setup.tile_size_bytes );
- unsigned char const * p_tile_buffer_location( setup.p_tile_buffer.get() + ( setup.rows_to_skip * this_tile_width_bytes ) );
- unsigned char * p_target_local ( p_target );
+ unsigned char const * p_tile_buffer_location( setup.p_tile_buffer.get() + ( setup.rows_to_skip * this_tile_width_bytes ) );
+ unsigned char * p_target_local ( p_target );
for ( unsigned int row( setup.rows_to_skip ); row < setup.rows_to_read_per_tile; ++row )
{
std::memcpy( p_target_local, p_tile_buffer_location, this_tile_width_bytes );
@@ -561,7 +561,7 @@
if ( next_row_is_last_row )
setup.rows_to_read_per_tile = setup.end_rows_to_read;
}
- BOOST_ASSERT( p_tile_buffer_location == ( setup.p_tile_buffer.get() + this_tile_size_bytes ) || ( setup.rows_to_read_per_tile != setup.tile_height ) );
+ //BOOST_ASSERT( p_tile_buffer_location == ( setup.p_tile_buffer.get() + this_tile_size_bytes ) || ( setup.rows_to_read_per_tile != setup.tile_height ) );
BOOST_ASSERT( p_target <= view_data.plane_buffers_[ plane ] + ( view_data.stride_ * view_data.dimensions_.y ) );
}
BOOST_ASSERT( p_target == view_data.plane_buffers_[ plane ] + ( view_data.stride_ * view_data.dimensions_.y ) );
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk