Home
last modified time | relevance | path

Searched refs:_info (Results 1 – 25 of 107) sorted by relevance

12345

/third_party/boost/boost/gil/extension/io/png/detail/
Dwriter_backend.hpp52 , _info( info ) in writer_backend()
70 get()->_info = png_create_info_struct( get_struct() ); in writer_backend()
87 , &get()->_info in writer_backend()
120 , _info._interlace_method in write_header()
121 , _info._compression_type in write_header()
122 , _info._filter_method in write_header()
126 if( _info._valid_cie_colors ) in write_header()
130 , _info._white_x in write_header()
131 , _info._white_y in write_header()
132 , _info._red_x in write_header()
[all …]
Dreader_backend.hpp45 , _info() in reader_backend()
54 _settings._dim.x = _info._width; in reader_backend()
59 _settings._dim.y = _info._height; in reader_backend()
109 get()->_info = png_create_info_struct( get_struct() ); in read_header()
128 , &get()->_info in read_header()
179 , &this->_info._width in read_header()
180 , &this->_info._height in read_header()
181 , &this->_info._bit_depth in read_header()
182 , &this->_info._color_type in read_header()
183 , &this->_info._interlace_method in read_header()
[all …]
Dscanline_read.hpp72 iterator_t end() { return iterator_t( *this, this->_info._height ); } in end()
82 if( this->_info._bit_depth == 16 ) in initialize()
88 if( this->_info._bit_depth < 8 ) in initialize()
95 if( this->_info._color_type == PNG_COLOR_TYPE_PALETTE ) in initialize()
100 if( this->_info._num_trans > 0 ) in initialize()
116 , this->_info._file_gamma in initialize()
121 , this->_info._file_gamma in initialize()
135 , this->get()->_info in initialize()
138 this->_info._bit_depth = png_get_bit_depth( this->get()->_struct in initialize()
139 , this->get()->_info in initialize()
[all …]
Dread.hpp99 if( this->_info._bit_depth == 16 ) in apply()
105 if( this->_info._bit_depth < 8 ) in apply()
112 if( this->_info._color_type == PNG_COLOR_TYPE_PALETTE ) in apply()
133 , this->_info._file_gamma in apply()
138 , this->_info._file_gamma in apply()
154 this->_info._bit_depth = png_get_bit_depth( this->get_struct() in apply()
158 this->_info._num_channels = png_get_channels( this->get_struct() in apply()
162 this->_info._color_type = png_get_color_type( this->get_struct() in apply()
170 switch( this->_info._color_type ) in apply()
174 switch( this->_info._bit_depth ) in apply()
[all …]
Dbase.hpp23 , _info ( nullptr ) in png_ptr_wrapper()
27 png_infop _info; member
56 png_info* get_info() { return get()->_info; } in get_info()
57 png_info const* get_info() const { return get()->_info; } in get_info()
65 if( png_ptr->_struct && png_ptr->_info ) in png_ptr_read_deleter()
68 , &png_ptr->_info in png_ptr_read_deleter()
82 if( png_ptr->_struct && png_ptr->_info ) in png_ptr_write_deleter()
85 , &png_ptr->_info in png_ptr_write_deleter()
/third_party/boost/boost/gil/extension/io/bmp/detail/
Dreader_backend.hpp56 , _info() in reader_backend()
64 _settings._dim.x = _info._width; in reader_backend()
69 _settings._dim.y = _info._height; in reader_backend()
90 _info._offset = _io_dev.read_uint32(); in read_header()
96 _info._header_size = _io_dev.read_uint32(); in read_header()
98 if( _info._header_size == bmp_header_size::_win32_info_size ) in read_header()
100 _info._width = _io_dev.read_uint32(); in read_header()
101 _info._height = _io_dev.read_uint32(); in read_header()
103 if (_info._height < 0) in read_header()
105 _info._height = -_info._height; in read_header()
[all …]
Dscanline_read.hpp70 if( this->_info._height > 0 ) in read()
73 offset = this->_info._offset in read()
74 + ( this->_info._height - 1 - pos ) * this->_pitch; in read()
78 offset = this->_info._offset in read()
96 iterator_t end() { return iterator_t( *this, this->_info._height ); } in end()
102 if( this->_info._bits_per_pixel < 8 ) in initialize()
104 _pitch = (( this->_info._width * this->_info._bits_per_pixel ) + 7 ) >> 3; in initialize()
108 _pitch = this->_info._width * (( this->_info._bits_per_pixel + 7 ) >> 3); in initialize()
115 switch( this->_info._bits_per_pixel ) in initialize()
119 … this->_scanline_length = ( this->_info._width * num_channels< rgba8_view_t >::value + 3 ) & ~3; in initialize()
[all …]
Dread.hpp96 if( this->_info._valid == false ) in apply()
107 io_error_if( !detail::is_allowed< View >( this->_info in apply()
114 if( this->_info._bits_per_pixel < 8 ) in apply()
116 … _pitch = static_cast<long>((( this->_info._width * this->_info._bits_per_pixel ) + 7 ) >> 3 ); in apply()
120 … _pitch = static_cast<long>( this->_info._width * (( this->_info._bits_per_pixel + 7 ) >> 3 )); in apply()
125 switch( this->_info._bits_per_pixel ) in apply()
129 … this->_scanline_length = ( this->_info._width * num_channels< rgba8_view_t >::value + 3 ) & ~3; in apply()
141 switch ( this->_info._compression ) in apply()
155 … this->_scanline_length = ( this->_info._width * num_channels< rgba8_view_t >::value + 3 ) & ~3; in apply()
176 switch ( this->_info._compression ) in apply()
[all …]
/third_party/boost/boost/gil/extension/io/targa/detail/
Dreader_backend.hpp40 , _info() in reader_backend()
46 _settings._dim.x = _info._width; in reader_backend()
51 _settings._dim.y = _info._height; in reader_backend()
57 _info._header_size = targa_header_size::_size; in read_header()
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()
[all …]
Dread.hpp92 io_error_if( !detail::is_allowed< View >( this->_info, is_read_and_convert_t() ) in apply()
96 switch( this->_info._image_type ) in apply()
100 if( this->_info._color_map_type != targa_color_map_type::_rgb ) in apply()
105 if( this->_info._color_map_length != 0 ) in apply()
110 switch( this->_info._bits_per_pixel ) in apply()
114 … this->_scanline_length = this->_info._width * ( this->_info._bits_per_pixel / 8 ); in apply()
116 if( this->_info._screen_origin_bit ) in apply()
129 … this->_scanline_length = this->_info._width * ( this->_info._bits_per_pixel / 8 ); in apply()
131 if( this->_info._screen_origin_bit ) in apply()
153 if( this->_info._color_map_type != targa_color_map_type::_rgb ) in apply()
[all …]
Dscanline_read.hpp62 long offset = this->_info._offset in read()
63 … + ( this->_info._height - 1 - pos ) * static_cast< long >( this->_scanline_length ); in read()
80 iterator_t end() { return iterator_t( *this, this->_info._height ); } in end()
86 if( this->_info._color_map_type != targa_color_map_type::_rgb ) in initialize()
91 if( this->_info._image_type != targa_image_type::_rgb ) in initialize()
96 switch( this->_info._image_type ) in initialize()
100 if( this->_info._color_map_type != targa_color_map_type::_rgb ) in initialize()
105 if( this->_info._color_map_length != 0 ) in initialize()
110 if( this->_info._screen_origin_bit ) in initialize()
115 switch( this->_info._bits_per_pixel ) in initialize()
[all …]
/third_party/boost/boost/gil/extension/io/raw/detail/
Dreader_backend.hpp39 , _info() in reader_backend()
46 _settings._dim.x = _info._width; in reader_backend()
51 _settings._dim.y = _info._height; in reader_backend()
57 _io_dev.get_mem_image_format( &_info._width in read_header()
58 , &_info._height in read_header()
59 , &_info._samples_per_pixel in read_header()
60 , &_info._bits_per_pixel 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()
[all …]
/third_party/boost/libs/gil/test/extension/io/
Dpng_read_test.cpp64 write_info._file_gamma = backend._info._file_gamma; in test_file()
98 BOOST_CHECK_EQUAL( backend._info._width , 1000u ); in BOOST_AUTO_TEST_CASE()
99 BOOST_CHECK_EQUAL( backend._info._height, 600u ); in BOOST_AUTO_TEST_CASE()
101 BOOST_CHECK_EQUAL( backend._info._num_channels, 4 ); in BOOST_AUTO_TEST_CASE()
102 BOOST_CHECK_EQUAL( backend._info._bit_depth , 8 ); in BOOST_AUTO_TEST_CASE()
103 BOOST_CHECK_EQUAL( backend._info._color_type , PNG_COLOR_TYPE_RGBA ); in BOOST_AUTO_TEST_CASE()
105 BOOST_CHECK_EQUAL( backend._info._interlace_method , PNG_INTERLACE_NONE ); in BOOST_AUTO_TEST_CASE()
106 BOOST_CHECK_EQUAL( backend._info._compression_method, PNG_COMPRESSION_TYPE_BASE ); in BOOST_AUTO_TEST_CASE()
107 BOOST_CHECK_EQUAL( backend._info._filter_method , PNG_FILTER_TYPE_BASE ); in BOOST_AUTO_TEST_CASE()
110 BOOST_CHECK_EQUAL( backend._info._file_gamma, 1 ); in BOOST_AUTO_TEST_CASE()
[all …]
Djpeg_read_test.cpp35 BOOST_CHECK_EQUAL( backend._info._width , 1000u ); in BOOST_AUTO_TEST_CASE()
36 BOOST_CHECK_EQUAL( backend._info._height , 600u ); in BOOST_AUTO_TEST_CASE()
38 BOOST_CHECK_EQUAL( backend._info._num_components, 3 ); in BOOST_AUTO_TEST_CASE()
39 BOOST_CHECK_EQUAL( backend._info._color_space , JCS_YCbCr ); in BOOST_AUTO_TEST_CASE()
41 BOOST_CHECK_EQUAL( backend._info._data_precision, 8 ); in BOOST_AUTO_TEST_CASE()
57 write_settings.set_pixel_dimensions( backend._info._width in BOOST_AUTO_TEST_CASE()
58 , backend._info._height in BOOST_AUTO_TEST_CASE()
59 , backend._info._pixel_width_mm in BOOST_AUTO_TEST_CASE()
60 , backend._info._pixel_height_mm in BOOST_AUTO_TEST_CASE()
73 if( std::abs( backend._info._pixel_width_mm - backend2._info._pixel_width_mm ) > 10.0 in BOOST_AUTO_TEST_CASE()
[all …]
Dtiff_tiled_test.cpp33 BOOST_CHECK_EQUAL( backend._info._tile_width , 16 ); in BOOST_AUTO_TEST_CASE()
34 BOOST_CHECK_EQUAL( backend._info._tile_length, 16 ); in BOOST_AUTO_TEST_CASE()
44 BOOST_CHECK_EQUAL( backend._info._tile_width , 16 ); in BOOST_AUTO_TEST_CASE()
45 BOOST_CHECK_EQUAL( backend._info._tile_length, 16 ); in BOOST_AUTO_TEST_CASE()
55 BOOST_CHECK_EQUAL( backend._info._tile_width , 16 ); in BOOST_AUTO_TEST_CASE()
56 BOOST_CHECK_EQUAL( backend._info._tile_length, 16 ); in BOOST_AUTO_TEST_CASE()
66 BOOST_CHECK_EQUAL( backend._info._tile_width , 16 ); in BOOST_AUTO_TEST_CASE()
67 BOOST_CHECK_EQUAL( backend._info._tile_length, 16 ); in BOOST_AUTO_TEST_CASE()
77 BOOST_CHECK_EQUAL( backend._info._tile_width , 16 ); in BOOST_AUTO_TEST_CASE()
78 BOOST_CHECK_EQUAL( backend._info._tile_length, 16 ); in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/gil/extension/io/tiff/detail/
Dreader_backend.hpp39 , _info() in reader_backend()
53 _settings._dim.x = _info._width; in reader_backend()
58 _settings._dim.y = _info._height; 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()
[all …]
Dwriter_backend.hpp41 , _info( info ) in writer_backend()
55 if(! this->_info._photometric_interpretation_user_defined ) in write_header()
64 …this->_info._photometric_interpretation = detail::photometric_interpretation< color_space_t >::val… in write_header()
75 …this->_io_dev.template set_property<tiff_planar_configuration>( this->_info._planar_configuration … 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()
104 this->_io_dev.template set_property<tiff_orientation>( this->_info._orientation ); in write_header()
110 this->_io_dev.template set_property<tiff_resolution_unit>( this->_info._resolution_unit ); in write_header()
111 this->_io_dev.template set_property<tiff_x_resolution>( this->_info._x_resolution ); in write_header()
112 this->_io_dev.template set_property<tiff_y_resolution>( this->_info._y_resolution ); in write_header()
[all …]
Dscanline_read.hpp84 iterator_t end() { return iterator_t( *this, this->_info._height ); } in end()
90 io_error_if( this->_info._is_tiled in initialize()
94 if( this->_info._photometric_interpretation == PHOTOMETRIC_PALETTE ) in initialize()
97 this->_scanline_length = this->_info._width in initialize()
108 switch( this->_info._bits_per_sample ) in initialize()
248 if( this->_info._planar_configuration == PLANARCONFIG_SEPARATE ) in initialize()
252 else if( this->_info._planar_configuration == PLANARCONFIG_CONTIG ) in initialize()
258 switch( this->_info._photometric_interpretation ) in initialize()
263 switch( this->_info._bits_per_sample ) in initialize()
284 switch( this->_info._samples_per_pixel ) in initialize()
[all …]
Dread.hpp142 if( this->_info._photometric_interpretation == PHOTOMETRIC_PALETTE ) in apply()
144 this->_scanline_length = this->_info._width in apply()
155 switch( this->_info._bits_per_sample ) in apply()
183 io_error_if( !detail::is_allowed< View >( this->_info in apply()
189 if( this->_info._planar_configuration == PLANARCONFIG_SEPARATE ) in apply()
195 else if( this->_info._planar_configuration == PLANARCONFIG_CONTIG ) in apply()
226 switch( this->_info._photometric_interpretation ) in read()
231 switch( this->_info._bits_per_sample ) in read()
247 switch( this->_info._samples_per_pixel ) in read()
251 switch( this->_info._bits_per_sample ) in read()
[all …]
/third_party/boost/libs/gil/test/extension/io/png/
Dpng_read_test.cpp52 write_info._file_gamma = backend._info._file_gamma; in test_file()
73 BOOST_TEST_EQ(backend._info._width, 1000u); in test_read_header()
74 BOOST_TEST_EQ(backend._info._height, 600u); in test_read_header()
76 BOOST_TEST_EQ(backend._info._num_channels, 4); in test_read_header()
77 BOOST_TEST_EQ(backend._info._bit_depth, 8); in test_read_header()
78 BOOST_TEST_EQ(backend._info._color_type, PNG_COLOR_TYPE_RGBA); in test_read_header()
80 BOOST_TEST_EQ(backend._info._interlace_method, PNG_INTERLACE_NONE); in test_read_header()
81 BOOST_TEST_EQ(backend._info._compression_method, PNG_COMPRESSION_TYPE_BASE); in test_read_header()
82 BOOST_TEST_EQ(backend._info._filter_method, PNG_FILTER_TYPE_BASE); in test_read_header()
84 BOOST_TEST_EQ(backend._info._file_gamma, 1); in test_read_header()
[all …]
/third_party/boost/boost/gil/extension/io/pnm/detail/
Dreader_backend.hpp39 , _info() in reader_backend()
47 _settings._dim.x = _info._width; in reader_backend()
52 _settings._dim.y = _info._height; in reader_backend()
61 _info._type = read_char() - '0'; in read_header()
63 …io_error_if( _info._type < pnm_image_type::mono_asc_t::value || _info._type > pnm_image_type::colo… in read_header()
67 _info._width = read_int(); in read_header()
68 _info._height = read_int(); in read_header()
70 …if( _info._type == pnm_image_type::mono_asc_t::value || _info._type == pnm_image_type::mono_bin_t:… in read_header()
72 _info._max_value = 1; in read_header()
76 _info._max_value = read_int(); in read_header()
[all …]
/third_party/boost/libs/gil/test/extension/io/jpeg/
Djpeg_read_test.cpp29 BOOST_TEST_EQ(backend._info._width, 1000u); in test_read_header()
30 BOOST_TEST_EQ(backend._info._height, 600u); in test_read_header()
32 BOOST_TEST_EQ(backend._info._num_components, 3); in test_read_header()
33 BOOST_TEST_EQ(backend._info._color_space, JCS_YCbCr); in test_read_header()
35 BOOST_TEST_EQ(backend._info._data_precision, 8); in test_read_header()
47 …ttings.set_pixel_dimensions(backend._info._width, backend._info._height, backend._info._pixel_widt… in test_read_pixel_density()
56 …d::abs(backend._info._pixel_width_mm - backend2._info._pixel_width_mm) > 10.0 || std::abs(backend. in test_read_pixel_density()
/third_party/boost/boost/gil/extension/io/jpeg/detail/
Dreader_backend.hpp94 , _info() in reader_backend()
138 _settings._dim.x = _info._width; in reader_backend()
143 _settings._dim.y = _info._height; in reader_backend()
150 _info._width = get()->image_width; in read_header()
151 _info._height = get()->image_height; in read_header()
152 _info._num_components = get()->num_components; in read_header()
153 _info._color_space = get()->jpeg_color_space; in read_header()
154 _info._data_precision = get()->data_precision; in read_header()
156 _info._density_unit = get()->density_unit; in read_header()
157 _info._x_density = get()->X_density; in read_header()
[all …]
/third_party/boost/libs/gil/test/extension/io/tiff/
Dtiff_tiled_test.cpp27 BOOST_TEST_EQ(backend._info._tile_width, 16); in test_read_info_tile_minisblack_float()
28 BOOST_TEST_EQ(backend._info._tile_length, 16); in test_read_info_tile_minisblack_float()
37 BOOST_TEST_EQ(backend._info._tile_width, 16); in test_read_info_tile_minisblack()
38 BOOST_TEST_EQ(backend._info._tile_length, 16); in test_read_info_tile_minisblack()
47 BOOST_TEST_EQ(backend._info._tile_width, 16); in test_read_info_tile_palette()
48 BOOST_TEST_EQ(backend._info._tile_length, 16); in test_read_info_tile_palette()
57 BOOST_TEST_EQ(backend._info._tile_width, 16); in test_read_info_tile_rgb()
58 BOOST_TEST_EQ(backend._info._tile_length, 16); in test_read_info_tile_rgb()
67 BOOST_TEST_EQ(backend._info._tile_width, 16); in test_read_info_tile_planar()
68 BOOST_TEST_EQ(backend._info._tile_length, 16); in test_read_info_tile_planar()
/third_party/python/Tools/c-analyzer/c_analyzer/
Dmatch.py4 info as _info, unknown
9 _KIND = _info.KIND
62 kind, storage, _, _, _ = _info.get_parsed_vartype(vardecl)
78 _, _, _, typespec, abstract = _info.get_parsed_vartype(vardecl)
102 _, _, typequal, _, _ = _info.get_parsed_vartype(vardecl)
172 _info.set_flag(item, 'is_public', item.id in public)
189 if _info.get_effective_storage(decl) == 'static':
196 return _info.get_effective_storage(decl) == 'static'
200 return _info.get_effective_storage(decl) == 'static'

12345