/third_party/boost/boost/gil/extension/io/bmp/detail/ |
D | reader_backend.hpp | 54 : _io_dev ( io_dev ) in reader_backend() 77 if( _io_dev.read_uint16() == 0x424D ) in read_header() 83 _io_dev.read_uint32(); in read_header() 86 _io_dev.read_uint16(); in read_header() 88 _io_dev.read_uint16(); in read_header() 90 _info._offset = _io_dev.read_uint32(); in read_header() 96 _info._header_size = _io_dev.read_uint32(); in read_header() 100 _info._width = _io_dev.read_uint32(); in read_header() 101 _info._height = _io_dev.read_uint32(); in read_header() 110 _io_dev.read_uint16(); in read_header() [all …]
|
D | write.hpp | 115 this->_io_dev.write_uint16( bmp_signature ); in write() 116 this->_io_dev.write_uint32( (uint32_t) siz ); in write() 117 this->_io_dev.write_uint16( 0 ); in write() 118 this->_io_dev.write_uint16( 0 ); in write() 119 this->_io_dev.write_uint32( (uint32_t) ofs ); in write() 122 this->_io_dev.write_uint32( bmp_header_size::_win32_info_size ); in write() 123 this->_io_dev.write_uint32( static_cast< uint32_t >( view.width() )); in write() 124 this->_io_dev.write_uint32( static_cast< uint32_t >( view.height() )); in write() 125 this->_io_dev.write_uint16( 1 ); in write() 126 this->_io_dev.write_uint16( static_cast< uint16_t >( bpp )); in write() [all …]
|
D | scanline_read.hpp | 82 this->_io_dev.seek( offset ); in read() 198 this->_mask.red.mask = this->_io_dev.read_uint32(); in initialize() 199 this->_mask.green.mask = this->_io_dev.read_uint32(); in initialize() 200 this->_mask.blue.mask = this->_io_dev.read_uint32(); in initialize() 288 get_color( this->_palette[i], blue_t() ) = this->_io_dev.read_uint8(); in read_palette() 289 get_color( this->_palette[i], green_t() ) = this->_io_dev.read_uint8(); in read_palette() 290 get_color( this->_palette[i], red_t() ) = this->_io_dev.read_uint8(); in read_palette() 296 this->_io_dev.read_uint8(); in read_palette() 337 this->_io_dev.read( &_buffer.front(), _pitch ); in read_1_bit_row() 346 this->_io_dev.read( &_buffer.front(), _pitch ); in read_4_bits_row() [all …]
|
D | read.hpp | 276 this->_io_dev.seek( get_offset( y + this->_settings._top_left.y )); in read_palette_image() 278 this->_io_dev.read( reinterpret_cast< byte_t* >( rh.data() ) in read_palette_image() 305 this->_mask.red.mask = this->_io_dev.read_uint32(); in read_data_15() 306 this->_mask.green.mask = this->_io_dev.read_uint32(); in read_data_15() 307 this->_mask.blue.mask = this->_io_dev.read_uint32(); in read_data_15() 355 this->_io_dev.seek( get_offset( y + this->_settings._top_left.y )); in read_data_15() 357 this->_io_dev.read( &row.front() in read_data_15() 413 this->_io_dev.seek( get_offset( y + this->_settings._top_left.y )); in read_data() 415 this->_io_dev.read( &row.front() in read_data() 458 this->_io_dev.seek( this->_info._offset ); in read_palette_image_rle() [all …]
|
D | writer_backend.hpp | 37 : _io_dev( io_dev ) in writer_backend() 43 Device _io_dev; member
|
/third_party/boost/boost/gil/extension/io/raw/detail/ |
D | reader_backend.hpp | 37 : _io_dev ( io_dev ) in reader_backend() 57 _io_dev.get_mem_image_format( &_info._width in read_header() 64 _info._camera_manufacturer = _io_dev.get_camera_manufacturer(); in read_header() 65 _info._camera_model = _io_dev.get_camera_model(); in read_header() 66 _info._raw_images_count = _io_dev.get_raw_count(); in read_header() 67 _info._dng_version = _io_dev.get_dng_version(); in read_header() 68 _info._number_colors = _io_dev.get_colors(); in read_header() 70 _info._colors_description = _io_dev.get_cdesc(); in read_header() 73 _info._raw_width = _io_dev.get_raw_width(); in read_header() 74 _info._raw_height = _io_dev.get_raw_height(); in read_header() [all …]
|
D | read.hpp | 117 int return_code = this->_io_dev.unpack(); in apply() 119 this->_info._unpack_function_name = this->_io_dev.get_unpack_function_name(); in apply() 121 return_code = this->_io_dev.dcraw_process(); in apply() 124 … libraw_processed_image_t* processed_image = this->_io_dev.dcraw_make_mem_image(&return_code); in apply()
|
/third_party/boost/boost/gil/extension/io/tiff/detail/ |
D | writer_backend.hpp | 40 : _io_dev( io_dev ) in writer_backend() 71 this->_io_dev.template set_property< tiff_image_width >( width ); in write_header() 72 this->_io_dev.template set_property< tiff_image_height >( height ); in write_header() 75 …this->_io_dev.template set_property<tiff_planar_configuration>( this->_info._planar_configuration … in write_header() 79 this->_io_dev.template set_property<tiff_samples_per_pixel>( samples_per_pixel ); in write_header() 84 this->_io_dev.template set_property<tiff_extra_samples>( extra_samples ); in write_header() 91 this->_io_dev.template set_property<tiff_bits_per_sample>( bits_per_sample ); in write_header() 95 this->_io_dev.template set_property<tiff_sample_format>( sampl_format ); in write_header() 98 …this->_io_dev.template set_property<tiff_photometric_interpretation>( this->_info._photometric_int… in write_header() 101 this->_io_dev.template set_property<tiff_compression>( this->_info._compression ); in write_header() [all …]
|
D | reader_backend.hpp | 37 : _io_dev ( io_dev ) in reader_backend() 64 …io_error_if( _io_dev.template get_property<tiff_image_width> ( _info._width ) == fal… in read_header() 66 …io_error_if( _io_dev.template get_property<tiff_image_height> ( _info._height ) == fa… in read_header() 68 …io_error_if( _io_dev.template get_property<tiff_compression> ( _info._compression ) … in read_header() 70 …io_error_if( _io_dev.template get_property<tiff_samples_per_pixel> ( _info._samples_per_pi… in read_header() 72 …io_error_if( _io_dev.template get_property<tiff_bits_per_sample> ( _info._bits_per_sampl… in read_header() 74 …io_error_if( _io_dev.template get_property<tiff_sample_format> ( _info._sample_format … in read_header() 76 …io_error_if( _io_dev.template get_property<tiff_planar_configuration> ( _info._planar_configu… in read_header() 78 …io_error_if( _io_dev.template get_property<tiff_photometric_interpretation>( _info._photometric_in… in read_header() 84 if( _io_dev.is_tiled() ) in read_header() [all …]
|
D | write.hpp | 145 if(!this->_io_dev.check_tile_size( tw, th )) in write_view() 151 this->_io_dev.template set_property<tiff_tile_width> ( tw ); in write_view() 152 this->_io_dev.template set_property<tiff_tile_length>( th ); in write_view() 185 this->_io_dev.write_scaline( row in write_bit_aligned_view_to_dev() 213 this->_io_dev.write_scaline( row in write_bit_aligned_view_to_dev() 243 byte_vector_t row( this->_io_dev.get_tile_size() ); in write_tiled_data() 275 this->_io_dev.write_scaline( row_addr in write_data() 291 byte_vector_t row( this->_io_dev.get_tile_size() ); in write_tiled_data() 395 this->_io_dev.write_tile( row in internal_write_tiled_data()
|
D | read.hpp | 171 this->_scanline_length = this->_io_dev.get_scanline_size(); in apply() 327 this->_io_dev.get_field_defaulted( red, green, blue ); in read_palette_image() 379 this->_io_dev.read_scanline( buffer in skip_over_rows() 392 if( this->_io_dev.is_tiled() ) in read_data() 451 row_buffer_helper_t row_buffer_helper(this->_io_dev.get_tile_size(), true ); in read_tiled_data_subimage() 460 this->_io_dev.read_tile( row_buffer_helper.buffer() in read_tiled_data_subimage() 568 row_buffer_helper_t row_buffer_helper(this->_io_dev.get_tile_size(), true ); in read_tiled_data_full() 577 this->_io_dev.read_tile( row_buffer_helper.buffer() in read_tiled_data_full() 646 this->_io_dev.read_scanline( row_buffer_helper.buffer() in read_stripped_data() 662 std::size_t scanline_size_in_bytes = this->_io_dev.get_scanline_size(); in buffer_size() [all …]
|
D | scanline_read.hpp | 101 this->_io_dev.get_field_defaulted( this->_red in initialize() 106 _buffer = std::vector< byte_t >( this->_io_dev.get_scanline_size() ); in initialize() 246 this->_scanline_length = this->_io_dev.get_scanline_size(); in initialize() 363 this->_io_dev.read_scanline( _buffer in read_n_bits_row() 431 this->_io_dev.read_scanline( dst in read_row()
|
/third_party/boost/boost/gil/extension/io/targa/detail/ |
D | reader_backend.hpp | 37 : _io_dev ( io_dev ) in reader_backend() 59 _info._offset = _io_dev.read_uint8() + _info._header_size; in read_header() 61 _info._color_map_type = _io_dev.read_uint8(); in read_header() 62 _info._image_type = _io_dev.read_uint8(); in read_header() 64 _info._color_map_start = _io_dev.read_uint16(); in read_header() 65 _info._color_map_length = _io_dev.read_uint16(); in read_header() 66 _info._color_map_depth = _io_dev.read_uint8(); in read_header() 68 _info._x_origin = _io_dev.read_uint16(); in read_header() 69 _info._y_origin = _io_dev.read_uint16(); in read_header() 71 _info._width = _io_dev.read_uint16(); in read_header() [all …]
|
D | write.hpp | 83 this->_io_dev.write_uint8( 0 ); // offset in write() 84 this->_io_dev.write_uint8( targa_color_map_type::_rgb ); in write() 85 this->_io_dev.write_uint8( targa_image_type::_rgb ); in write() 86 this->_io_dev.write_uint16( 0 ); // color map start in write() 87 this->_io_dev.write_uint16( 0 ); // color map length in write() 88 this->_io_dev.write_uint8( 0 ); // color map depth in write() 89 this->_io_dev.write_uint16( 0 ); // x origin in write() 90 this->_io_dev.write_uint16( 0 ); // y origin in write() 91 this->_io_dev.write_uint16( static_cast<uint16_t>( view.width() ) ); // width in pixels in write() 92 this->_io_dev.write_uint16( static_cast<uint16_t>( view.height() ) ); // height in pixels in write() [all …]
|
D | scanline_read.hpp | 65 this->_io_dev.seek( offset ); in read() 74 this->_io_dev.seek( static_cast<long>( this->_scanline_length ) in skip() 123 this->_io_dev.seek( static_cast< long >( this->_info._offset )); in initialize() 146 this->_io_dev.read( dst, this->_scanline_length ); in read_row()
|
D | read.hpp | 216 this->_io_dev.seek( static_cast< long >( this->_info._offset )); in read_data() 233 this->_io_dev.read( &row.front(), row.size() ); in read_data() 247 this->_io_dev.seek( static_cast< long >( this->_info._offset )); in read_rle_data() 251 targa_offset::type current_byte = this->_io_dev.read_uint8(); in read_rle_data() 259 pixel_data[channel] = this->_io_dev.read_uint8(); in read_rle_data() 274 this->_io_dev.read( &image_data[pixel], pixels_written ); in read_rle_data()
|
D | writer_backend.hpp | 37 : _io_dev( io_dev ) in writer_backend() 43 Device _io_dev; member
|
/third_party/boost/boost/gil/extension/io/pnm/detail/ |
D | write.hpp | 88 this->_io_dev.print_line( str ); in apply() 92 this->_io_dev.print_line( str ); in apply() 96 this->_io_dev.print_line( str ); in apply() 100 this->_io_dev.print_line( "255 "); in apply() 156 this->_io_dev.write(&row.front(), pitch / 8); in write_data() 201 this->_io_dev.write( row_addr, pitch ); in write_data()
|
D | scanline_read.hpp | 148 int ch = this->_io_dev.getc_unchecked(); in read_text_row() 187 int ch = this->_io_dev.getc_unchecked(); in skip_text_row() 208 this->_io_dev.read( dst in read_binary_bit_row() 219 this->_io_dev.read( dst in read_binary_byte_row() 226 this->_io_dev.seek( static_cast<long>( this->_scanline_length ), SEEK_CUR ); in skip_binary_row()
|
D | reader_backend.hpp | 37 : _io_dev ( io_dev ) in reader_backend() 114 if(( ch = _io_dev.getc() ) == '#' ) in read_char() 119 ch = _io_dev.getc(); in read_char() 166 Device _io_dev; member
|
D | writer_backend.hpp | 37 : _io_dev( io_dev ) in writer_backend() 43 Device _io_dev; member
|
D | read.hpp | 195 int ch = this->_io_dev.getc_unchecked(); in read_text_row() 324 this->_io_dev.read( reinterpret_cast< byte_t* >( rh.data() ) in read_bin_data() 331 this->_io_dev.read( reinterpret_cast< byte_t* >( rh.data() ) in read_bin_data()
|
/third_party/boost/boost/gil/extension/io/jpeg/detail/ |
D | writer_backend.hpp | 91 : _io_dev( io_dev ) in writer_backend() 144 dest->_this->_io_dev.write( dest->_this->buffer in empty_buffer() 160 dest->_this->_io_dev.flush(); in close_device() 177 Device _io_dev; member
|
D | reader_backend.hpp | 92 : _io_dev( io_dev ) in reader_backend() 257 size_t count = src->_this->_io_dev.read(src->_this->buffer_, sizeof(src->_this->buffer_) ); in fill_buffer() 294 Device _io_dev; member
|
/third_party/boost/boost/gil/extension/io/png/detail/ |
D | reader_backend.hpp | 42 : _io_dev( io_dev ) in reader_backend() 70 io_error_if( _io_dev.read( buf in read_header() 136 , static_cast< png_voidp >( &this->_io_dev ) in read_header() 661 Device _io_dev; member
|