Home
last modified time | relevance | path

Searched refs:_width (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/boost/boost/gil/
Diterator_from_2d.hpp59 …std::ptrdiff_t width() const { return _width; } // number of pixels per image r… in width()
71 …d::ptrdiff_t width, std::ptrdiff_t x=0, std::ptrdiff_t y=0) : _coords(x,y), _width(width), _p(p) {} in iterator_from_2d()
72 …iterator_from_2d(const iterator_from_2d& pit) : _coords(pit._coords), _width(pit._width), _p(pit._… in iterator_from_2d()
73 …r_from_2d(const iterator_from_2d<Loc>& pit) : _coords(pit._coords), _width(pit._width), _p(pit._p)… in iterator_from_2d()
83 if (_coords.x>=_width) { in increment()
86 _p+=point_t(-_width,1); in increment()
93 _coords.x=_width-1; in decrement()
95 _p+=point_t(_width,-1); in decrement()
100 …if (_width==0) return; // unfortunately we need to check for that. Default-constructed images hav… in advance()
103 delta.x=(_coords.x+(std::ptrdiff_t)d)%_width - _coords.x; in advance()
[all …]
/third_party/uboot/u-boot-2020.01/include/fsl-mc/
Dfsl_mc_cmd.h10 #define MAKE_UMASK64(_width) \ argument
11 ((uint64_t)((_width) < 64 ? ((uint64_t)1 << (_width)) - 1 : -1))
80 #define MC_PREP_OP(_ext, _param, _offset, _width, _type, _arg) \ argument
81 ((_ext)[_param] |= cpu_to_le64(mc_enc((_offset), (_width), _arg)))
83 #define MC_EXT_OP(_ext, _param, _offset, _width, _type, _arg) \ argument
84 (_arg = (_type)mc_dec(cpu_to_le64(_ext[_param]), (_offset), (_width)))
86 #define MC_CMD_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument
87 ((_cmd).params[_param] |= mc_enc((_offset), (_width), _arg))
89 #define MC_RSP_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument
90 (_arg = (_type)mc_dec(_cmd.params[_param], (_offset), (_width)))
/third_party/jsframework/runtime/main/page/
DImage.ts26 private _width: number; property in Image
34 this._width = 0;
51 width: this._width,
54 this._width = data.width;
73 return this._width;
77 this._width = width;
DOffscreenCanvas.ts6 private _width: number; property in OffscreenCanvas
11 this._width = width;
13 width: this._width,
30 return this._width;
34 this._width = width;
/third_party/boost/boost/gil/extension/io/bmp/detail/
Dscanline_read.hpp104 _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()
119 … this->_scanline_length = ( this->_info._width * num_channels< rgba8_view_t >::value + 3 ) & ~3; in initialize()
142 … this->_scanline_length = ( this->_info._width * num_channels< rgba8_view_t >::value + 3 ) & ~3; in initialize()
173 … this->_scanline_length = ( this->_info._width * num_channels< rgba8_view_t >::value + 3 ) & ~3; in initialize()
192 … this->_scanline_length = ( this->_info._width * num_channels< rgb8_view_t >::value + 3 ) & ~3; in initialize()
248 … this->_scanline_length = ( this->_info._width * num_channels< rgb8_view_t >::value + 3 ) & ~3; in initialize()
256 … this->_scanline_length = ( this->_info._width * num_channels< rgba8_view_t >::value + 3 ) & ~3; in initialize()
308 src_view_t src_view = interleaved_view( this->_info._width in read_bit_row()
314 dst_view_t dst_view = interleaved_view( this->_info._width in read_bit_row()
[all …]
Dread.hpp116 … _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()
129 … this->_scanline_length = ( this->_info._width * num_channels< rgba8_view_t >::value + 3 ) & ~3; in apply()
155 … this->_scanline_length = ( this->_info._width * num_channels< rgba8_view_t >::value + 3 ) & ~3; in apply()
189 … this->_scanline_length = ( this->_info._width * num_channels< rgba8_view_t >::value + 3 ) & ~3; in apply()
209 … this->_scanline_length = ( this->_info._width * num_channels< rgb8_view_t >::value + 3 ) & ~3; in apply()
218 … this->_scanline_length = ( this->_info._width * num_channels< rgb8_view_t >::value + 3 ) & ~3; in apply()
227 … this->_scanline_length = ( this->_info._width * num_channels< rgba8_view_t >::value + 3 ) & ~3; in apply()
361 image_t img_row( this->_info._width, 1 ); in read_data_15()
369 for( int32_t i = 0 ; i < this->_info._width; ++i, src += 2 ) in read_data_15()
[all …]
Dreader_backend.hpp64 _settings._dim.x = _info._width; in reader_backend()
100 _info._width = _io_dev.read_uint32(); in read_header()
127 _info._width = static_cast< bmp_image_width::type >( _io_dev.read_uint16() ); in read_header()
149 _info._width = _io_dev.read_uint32(); in read_header()
211 if( img_dim.x < _info._width ) { io_error( "Supplied image is too small" ); } in check_image_size()
/third_party/boost/libs/gil/test/extension/io/
Dpng_read_test.cpp98 BOOST_CHECK_EQUAL( backend._info._width , 1000u ); in BOOST_AUTO_TEST_CASE()
140 BOOST_CHECK_EQUAL(backend._info._width, 32u); in BOOST_AUTO_TEST_CASE()
148 BOOST_CHECK_EQUAL(backend._info._width, 32u); in BOOST_AUTO_TEST_CASE()
162 BOOST_CHECK_EQUAL(backend._info._width, 32u); in BOOST_AUTO_TEST_CASE()
170 BOOST_CHECK_EQUAL(backend._info._width, 32u); in BOOST_AUTO_TEST_CASE()
194 BOOST_CHECK_EQUAL(backend._info._width, 32u); in BOOST_AUTO_TEST_CASE()
202 BOOST_CHECK_EQUAL(backend._info._width, 32u); in BOOST_AUTO_TEST_CASE()
216 BOOST_CHECK_EQUAL(backend._info._width, 32u); in BOOST_AUTO_TEST_CASE()
224 BOOST_CHECK_EQUAL(backend._info._width, 32u); in BOOST_AUTO_TEST_CASE()
238 BOOST_CHECK_EQUAL(backend._info._width, 32u); in BOOST_AUTO_TEST_CASE()
[all …]
Dscanline_read_test.hpp31 Image dst( reader._info._width, reader._info._height ); in test_scanline_reader()
40 copy_pixels( interleaved_view( reader._info._width in test_scanline_reader()
48 , reader._info._width in test_scanline_reader()
Dtarga_test.cpp44 BOOST_CHECK_EQUAL( backend._info._width , 124 ); in BOOST_AUTO_TEST_CASE()
57 BOOST_CHECK_EQUAL( backend._info._width , 124 ); in BOOST_AUTO_TEST_CASE()
70 BOOST_CHECK_EQUAL( backend._info._width , 124 ); in BOOST_AUTO_TEST_CASE()
83 BOOST_CHECK_EQUAL( backend._info._width , 124 ); in BOOST_AUTO_TEST_CASE()
/third_party/uboot/u-boot-2020.01/drivers/clk/mediatek/
Dclk-mtk.h113 #define MUX_GATE_FLAGS(_id, _parents, _reg, _shift, _width, _gate, \ argument
118 .mux_mask = BIT(_width) - 1, \
126 #define MUX_GATE(_id, _parents, _reg, _shift, _width, _gate) \ argument
127 MUX_GATE_FLAGS(_id, _parents, _reg, _shift, _width, _gate, 0)
129 #define MUX(_id, _parents, _reg, _shift, _width) { \ argument
133 .mux_mask = BIT(_width) - 1, \
/third_party/boost/boost/gil/extension/io/targa/detail/
Dread.hpp114 … this->_scanline_length = this->_info._width * ( this->_info._bits_per_pixel / 8 ); in apply()
129 … this->_scanline_length = this->_info._width * ( this->_info._bits_per_pixel / 8 ); in apply()
213 byte_vector_t row( this->_info._width * (this->_info._bits_per_pixel / 8) ); in read_data()
218 View_Src v = interleaved_view( this->_info._width, in read_data()
221 this->_info._width * num_channels< View_Src >::value in read_data()
244 size_t image_size = this->_info._width * this->_info._height * bytes_per_pixel; in read_rle_data()
279 View_Src v = flipped_up_down_view( interleaved_view( this->_info._width, in read_rle_data()
282 … this->_info._width * num_channels< View_Src >::value ) ); in read_rle_data()
Dreader_backend.hpp46 _settings._dim.x = _info._width; in reader_backend()
71 _info._width = _io_dev.read_uint16(); in read_header()
74 if( _info._width < 1 || _info._height < 1 ) in read_header()
133 if( img_dim.x < _info._width ) { io_error( "Supplied image is too small" ); } in check_image_size()
/third_party/boost/libs/gil/test/extension/io/png/
Dpng_read_test.cpp73 BOOST_TEST_EQ(backend._info._width, 1000u); in test_read_header()
109 BOOST_TEST_EQ(backend._info._width, 32u); in test_read_with_trns_chunk_color_type_0()
117 BOOST_TEST_EQ(backend._info._width, 32u); in test_read_with_trns_chunk_color_type_0()
131 BOOST_TEST_EQ(backend._info._width, 32u); in test_read_with_trns_chunk_color_type_0()
139 BOOST_TEST_EQ(backend._info._width, 32u); in test_read_with_trns_chunk_color_type_0()
163 BOOST_TEST_EQ(backend._info._width, 32u); in test_read_with_trns_chunk_color_type_2()
171 BOOST_TEST_EQ(backend._info._width, 32u); in test_read_with_trns_chunk_color_type_2()
185 BOOST_TEST_EQ(backend._info._width, 32u); in test_read_with_trns_chunk_color_type_2()
193 BOOST_TEST_EQ(backend._info._width, 32u); in test_read_with_trns_chunk_color_type_2()
207 BOOST_TEST_EQ(backend._info._width, 32u); in test_read_with_trns_chunk_color_type_2()
[all …]
/third_party/boost/boost/gil/extension/io/pnm/detail/
Dscanline_read.hpp86 this->_scanline_length = this->_info._width; in initialize()
96 this->_scanline_length = this->_info._width * num_channels< rgb8_view_t >::value; in initialize()
108 this->_scanline_length = ( this->_info._width + 7 ) >> 3; in initialize()
119 this->_scanline_length = this->_info._width; in initialize()
130 this->_scanline_length = this->_info._width * num_channels< rgb8_view_t >::value; in initialize()
Dread.hpp106 this->_scanline_length = this->_info._width; in apply()
115 this->_scanline_length = this->_info._width * num_channels< rgb8_view_t >::value; in apply()
125 this->_scanline_length = ( this->_info._width + 7 ) >> 3; in apply()
135 this->_scanline_length = this->_info._width; in apply()
145 this->_scanline_length = this->_info._width * num_channels< rgb8_view_t >::value; in apply()
185 View_Src src = interleaved_view( this->_info._width in read_text_row()
Dreader_backend.hpp47 _settings._dim.x = _info._width; in reader_backend()
67 _info._width = read_int(); in read_header()
93 if( img_dim.x < _info._width ) { io_error( "Supplied image is too small" ); } in check_image_size()
/third_party/boost/boost/gil/extension/io/jpeg/detail/
Dscanline_read.hpp101 this->_scanline_length = this->_info._width; in initialize()
110 this->_scanline_length = this->_info._width * num_channels< rgb8_view_t >::value; in initialize()
121 this->_scanline_length = this->_info._width * num_channels< cmyk8_view_t >::value; in initialize()
Dread.hpp124 this->_scanline_length = this->_info._width; in apply()
134 this->_scanline_length = this->_info._width * num_channels< rgb8_view_t >::value; in apply()
145 this->_scanline_length = this->_info._width * num_channels< cmyk8_view_t >::value; in apply()
165 buffer_t buffer( this->_info._width ); in read_rows()
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/bcm281xx/
Dclk-core.h298 #define DIVIDER(_offset, _shift, _width) \ argument
302 .width = (_width), \
308 #define FRAC_DIVIDER(_offset, _shift, _width, _frac_width) \ argument
312 .width = (_width), \
349 #define SELECTOR(_offset, _shift, _width) \ argument
353 .width = (_width), \
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/bcm235xx/
Dclk-core.h298 #define DIVIDER(_offset, _shift, _width) \ argument
302 .width = (_width), \
308 #define FRAC_DIVIDER(_offset, _shift, _width, _frac_width) \ argument
312 .width = (_width), \
349 #define SELECTOR(_offset, _shift, _width) \ argument
353 .width = (_width), \
/third_party/boost/boost/gil/extension/io/tiff/detail/
Dscanline_read.hpp97 this->_scanline_length = this->_info._width in initialize()
368 Src_View src_view = interleaved_view( this->_info._width in read_n_bits_row()
374 dst_view_t dst_view = interleaved_view( this->_info._width in read_n_bits_row()
377 … , num_channels< dst_view_t >::value * 2 * this->_info._width in read_n_bits_row()
385 ; i < this->_info._width in read_n_bits_row()
Dreader_backend.hpp53 _settings._dim.x = _info._width; in reader_backend()
64 …io_error_if( _io_dev.template get_property<tiff_image_width> ( _info._width ) == fal… in read_header()
114 …if( (tiff_image_width::type) img_dim.x < _info._width ) { io_error( "Supplied image is too small" … in check_image_size()
/third_party/boost/boost/gil/extension/io/raw/detail/
Dreader_backend.hpp46 _settings._dim.x = _info._width; in reader_backend()
57 _io_dev.get_mem_image_format( &_info._width in read_header()
109 if( img_dim.x < _info._width ) { io_error( "Supplied image is too small" ); } in check_image_size()
/third_party/flutter/skia/experimental/wasm-skp-debugger/
Dcpu.js43 surface._width = width;
64 var imageData = new ImageData(pixels, this._width, this._height);

1234