Home
last modified time | relevance | path

Searched refs:m_width (Results 1 – 25 of 98) sorted by relevance

1234

/external/pdfium/xfa/src/fxbarcode/common/
DBC_CommonByteMatrix.cpp27 m_width = width; in CBC_CommonByteMatrix()
31 m_bytes = FX_Alloc2D(uint8_t, m_height, m_width); in Init()
32 FXSYS_memset(m_bytes, 0xff, m_height * m_width); in Init()
44 return m_width; in GetWidth()
47 return m_bytes[y * m_width + x]; in Get()
50 m_bytes[y * m_width + x] = (uint8_t)value; in Set()
53 m_bytes[y * m_width + x] = value; in Set()
59 for (x = 0; x < m_width; x++) { in clear()
60 m_bytes[y * m_width + x] = value; in clear()
DBC_CommonBitMatrix.cpp27 m_width = 0; in CBC_CommonBitMatrix()
33 m_width = dimension; in Init()
41 m_width = width; in Init()
53 m_height = m_width = m_rowSize = 0; in ~CBC_CommonBitMatrix()
94 if (m_height < bottom || m_width < right) { in SetRegion()
110 if (row == NULL || row->GetSize() < m_width) { in GetRow()
111 rowArray = new CBC_CommonBitArray(m_width); in GetRow()
135 return m_width; in GetWidth()
144 if (m_width != m_height) { in GetDimension()
148 return m_width; in GetDimension()
DBC_WhiteRectangleDetector.cpp33 m_width = image->GetWidth(); in CBC_WhiteRectangleDetector()
34 m_leftInit = (m_width - INIT_SIZE) >> 1; in CBC_WhiteRectangleDetector()
35 m_rightInit = (m_width + INIT_SIZE) >> 1; in CBC_WhiteRectangleDetector()
41 m_rightInit >= m_width) { in Init()
53 m_width = image->GetWidth(); in CBC_WhiteRectangleDetector()
72 while (rightBorderNotWhite && right < m_width) { in Detect()
79 if (right >= m_width) { in Detect()
224 if (yi < m_width / 2) { in CenterEdges()
/external/opencv/otherlibs/highgui/
Dgrfmt_sunras.cpp103 m_width = m_strm.GetDWord(); in ReadHeader()
113 if( m_width > 0 && m_height > 0 && in ReadHeader()
166 m_width = m_height = -1; in ReadHeader()
182 int src_pitch = ((m_width*m_bpp + 7)/8 + 1) & -2; in ReadData()
184 int width3 = m_width*nch; in ReadData()
193 if( m_width*3 + 32 > buffer_size ) in ReadData()
194 bgr = new uchar[m_width*3 + 32]; in ReadData()
213 FillColorRow1( data, src, m_width, m_palette ); in ReadData()
215 FillGrayRow1( data, src, m_width, gray_palette ); in ReadData()
221 uchar* line_end = src + (m_width*m_bpp + 7)/8; in ReadData()
[all …]
Dgrfmt_bmp.cpp108 m_width = m_strm.GetDWord(); in ReadHeader()
116 if( m_width > 0 && m_height > 0 && in ReadHeader()
151 m_width = m_strm.GetWord(); in ReadHeader()
156 if( m_width > 0 && m_height > 0 && in ReadHeader()
180 m_width = m_height = -1; in ReadHeader()
196 int src_pitch = ((m_width*(m_bpp != 15 ? m_bpp : 16) + 7)/8 + 3) & -4; in ReadData()
198 int width3 = m_width*nch; in ReadData()
216 if( m_width*3 + 32 > buffer_size ) bgr = new uchar[m_width*3 + 32]; in ReadData()
230 FillColorRow1( color ? data : bgr, src, m_width, m_palette ); in ReadData()
232 icvCvt_BGR2Gray_8u_C3C1R( bgr, 0, data, 0, cvSize(m_width,1) ); in ReadData()
[all …]
Dgrfmt_pxm.cpp166 m_width = ReadNumber( m_strm, INT_MAX ); in ReadHeader()
177 if( m_width > 0 && m_height > 0 && m_maxval > 0 && m_maxval < (1 << 16)) in ReadHeader()
189 m_width = m_height = -1; in ReadHeader()
205 int src_pitch = (m_width*m_bpp*m_bit_depth/8 + 7)/8; in ReadData()
207 int width3 = m_width*nch; in ReadData()
242 for( x = 0; x < m_width; x++ ) in ReadData()
246 FillColorRow8( data, src, m_width, palette ); in ReadData()
248 FillGrayRow8( data, src, m_width, gray_palette ); in ReadData()
258 FillColorRow1( data, src, m_width, palette ); in ReadData()
260 FillGrayRow1( data, src, m_width, gray_palette ); in ReadData()
[all …]
Dgrfmt_tiff.cpp150 m_width = width; in ReadHeader()
172 if( m_tif && m_width && m_height ) in ReadData()
175 int tile_width0 = m_width, tile_height0 = 0; in ReadData()
186 tile_width0 = m_width; in ReadData()
200 for( x = 0; x < m_width; x += tile_width0 ) in ReadData()
204 if( x + tile_width > m_width ) in ReadData()
205 tile_width = m_width - x; in ReadData()
369 m_width = -1; in ReadHeader()
411 m_width = value; in ReadHeader()
501 if( m_width > 0 && m_height > 0 && m_strips > 0 && in ReadHeader()
[all …]
Dgrfmt_imageio.cpp112 m_width = CGImageGetWidth( imageRef ); in ReadHeader()
158 bitmap = (uchar*)malloc( bpp * m_height * m_width ); in ReadData()
166 m_width, /* width */ in ReadData()
169 bpp * m_width, /* bytes per row */ in ReadData()
181 CGRect rect = {{0,0},{m_width,m_height}}; in ReadData()
203 for (int x = 0; x < m_width; x++) in ReadData()
220 memcpy (data + y * step, bitmap + y * m_width, m_width); in ReadData()
Dgrfmt_exr.cpp132 m_width = m_datawindow.max.x - m_datawindow.min.x + 1; in ReadHeader()
214 buffer = (char *)new float[ m_width * 3 ]; in ReadData()
357 for( x = 0; x < m_width * 3; x++) in ReadData()
366 for( x = 0; x < m_width * 3; x++) in ReadData()
405 for( int x = (m_width - 1) / xsample, xre = m_width - xsample; x >= 0; x--, xre -= xsample ) in UpSample()
429 for( int x = (m_width - 1) / xsample, xre = m_width - xsample; x >= 0; x--, xre -= xsample ) in UpSampleX()
449 for( int x = 0; x < m_width; x++ ) in UpSampleY()
473 for( x = 0; x < m_width; x++ ) in ChromaToBGR()
536 for( int i = 0, n = 0; i < m_width; i++, n += 3 ) in RGBToGray()
542 for( int i = 0, n = 0; i < m_width; i++, n += 3 ) in RGBToGray()
[all …]
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_bmp.cpp98 m_width = m_strm.getDWord(); in readHeader()
106 if( m_width > 0 && m_height != 0 && in readHeader()
141 m_width = m_strm.getWord(); in readHeader()
146 if( m_width > 0 && m_height != 0 && in readHeader()
177 m_width = m_height = -1; in readHeader()
191 int src_pitch = ((m_width*(m_bpp != 15 ? m_bpp : 16) + 7)/8 + 3) & -4; in readData()
193 int y, width3 = m_width*nch; in readData()
213 _bgr.allocate(m_width*3 + 32); in readData()
228 FillColorRow1( color ? data : bgr, src, m_width, m_palette ); in readData()
230 icvCvt_BGR2Gray_8u_C3C1R( bgr, 0, data, 0, cvSize(m_width,1) ); in readData()
[all …]
Dgrfmt_sunras.cpp84 m_width = m_strm.getDWord(); in readHeader()
94 if( m_width > 0 && m_height > 0 && in readHeader()
148 m_width = m_height = -1; in readHeader()
162 int src_pitch = ((m_width*m_bpp + 7)/8 + 1) & -2; in readData()
164 int width3 = m_width*nch; in readData()
172 AutoBuffer<uchar> _bgr(m_width*3 + 32); in readData()
192 FillColorRow1( data, src, m_width, m_palette ); in readData()
194 FillGrayRow1( data, src, m_width, gray_palette ); in readData()
200 uchar* line_end = src + (m_width*m_bpp + 7)/8; in readData()
241 FillColorRow1( data, src, m_width, m_palette ); in readData()
[all …]
Dgrfmt_pxm.cpp158 m_width = ReadNumber( m_strm, INT_MAX ); in readHeader()
169 if( m_width > 0 && m_height > 0 && m_maxval > 0 && m_maxval < (1 << 16)) in readHeader()
182 m_width = m_height = -1; in readHeader()
197 int src_pitch = (m_width*m_bpp*bit_depth/8 + 7)/8; in readData()
199 int width3 = m_width*nch; in readData()
234 for( x = 0; x < m_width; x++ ) in readData()
238 FillColorRow8( data, src, m_width, palette ); in readData()
240 FillGrayRow8( data, src, m_width, gray_palette ); in readData()
250 FillColorRow1( data, src, m_width, palette ); in readData()
252 FillGrayRow1( data, src, m_width, gray_palette ); in readData()
[all …]
Dgrfmt_exr.cpp119 m_width = m_datawindow.max.x - m_datawindow.min.x + 1; in readHeader()
206 buffer = (char *)new float[ m_width * 3 ]; in readData()
349 for( x = 0; x < m_width * 3; x++) in readData()
357 for( x = 0; x < m_width * 3; x++) in readData()
395 for( int x = (m_width - 1) / xsample, xre = m_width - xsample; x >= 0; x--, xre -= xsample ) in UpSample()
419 for( int x = (m_width - 1) / xsample, xre = m_width - xsample; x >= 0; x--, xre -= xsample ) in UpSampleX()
439 for( int x = 0; x < m_width; x++ ) in UpSampleY()
461 for( int x = 0; x < m_width; x++ ) in ChromaToBGR()
521 for( int i = 0, n = 0; i < m_width; i++, n += 3 ) in RGBToGray()
527 for( int i = 0, n = 0; i < m_width; i++, n += 3 ) in RGBToGray()
[all …]
/external/deqp/modules/gles3/functional/
Des3fFboDepthbufferTests.cpp55 , m_width (width) in BasicFboDepthCase()
89 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
92 glRenderbufferStorage(GL_RENDERBUFFER, m_format, m_width, m_height); in render()
100 glViewport(0, 0, m_width, m_height); in render()
132 …readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0… in render()
137 int m_width; member in deqp::gles3::Functional::BasicFboDepthCase
147 , m_width (width) in DepthWriteClampCase()
179 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
182 …glTexImage2D(GL_TEXTURE_2D, 0, m_format, m_width, m_height, 0, transferFmt.format, transferFmt.dat… in render()
192 glViewport(0, 0, m_width, m_height); in render()
[all …]
/external/deqp/framework/common/
DtcuSurface.hpp53 int getWidth (void) const { return m_width; } in getWidth()
65 int m_width; member in tcu::Surface
72 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in setPixel()
74 const int pixOffset = y*m_width + x; in setPixel()
89 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in getPixel()
91 const int pixOffset = y*m_width + x; in getPixel()
107 …ferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, m_p… in getAccess()
113 …return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m… in getAccess()
DtcuSurface.cpp29 : m_width (0) in Surface()
35 : m_width (width) in Surface()
54 m_width = width; in setSize()
/external/pdfium/xfa/src/fxbarcode/
DBC_BufferedImageLuminanceSource.cpp90 m_width = 0; in CBC_BufferedImageLuminanceSource()
104 m_width = m_pBitmap->GetWidth(); in Init()
105 m_rgbData.SetSize(m_height * m_width); in Init()
106 m_bytesPerLine = m_width * 4; in Init()
116 m_width = m_pBitmap->GetWidth(); in CBC_BufferedImageLuminanceSource()
117 m_rgbData.SetSize(m_height * m_width); in CBC_BufferedImageLuminanceSource()
118 m_bytesPerLine = m_width * 4; in CBC_BufferedImageLuminanceSource()
133 int32_t width = m_width; in GetRow()
157 int32_t offset = y * m_width; in GetMatrix()
159 for (x = 0; x < m_width; x++) { in GetMatrix()
DBC_Dimension.cpp31 m_width = width; in CBC_Dimension()
36 return m_width; in getWidth()
42 return m_width * 32713 + m_height; in hashCode()
45 return (FX_WCHAR)(m_width + (FX_WCHAR)'x' + m_height); in toString()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
DMemoryFlyoutPreferences.java22 private int m_width; field in MemoryFlyoutPreferences
32 m_width = width; in MemoryFlyoutPreferences()
49 return m_width; in getWidth()
61 m_width = width; in setWidth()
/external/pdfium/third_party/agg23/
Dagg_rendering_buffer.h51 m_width(0), in rendering_buffer()
60 m_width(0), in rendering_buffer()
70 m_width = width; in attach()
97 return m_width; in width()
139 unsigned m_width; variable
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp367 const int m_width; member in deqp::gles2::Functional::TextureSpecCase
397 , m_width (width) in TextureSpecCase()
418 DE_ASSERT(m_width <= 256 && m_height <= 256); in iterate()
419 if (renderTarget.getWidth() < m_width || renderTarget.getHeight() < m_height) in iterate()
482 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTex2D()
488 int levelW = de::max(1, m_width >> levelNdx); in verifyTex2D()
520 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTexCube()
526 int levelW = de::max(1, m_width >> levelNdx); in verifyTexCube()
627 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture()
638 int levelW = de::max(1, m_width >> ndx); in createTexture()
[all …]
/external/opencv3/samples/directx/
Dd3d9ex_interop.cpp63 d3dpp.BackBufferWidth = m_width; in create()
82 …r = m_pD3D9DevEx->CreateOffscreenPlainSurface(m_width, m_height, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT,… in create()
114 RECT rc = { 0, 0, m_width, m_height }; in get_surface()
122 cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); in get_surface()
165 RECT rc = { 0, 0, m_width, m_height }; in render()
173 cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); in render()
Dd3d9_interop.cpp63 d3dpp.BackBufferWidth = m_width; in create()
82 …r = m_pD3D9Dev->CreateOffscreenPlainSurface(m_width, m_height, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &… in create()
114 RECT rc = { 0, 0, m_width, m_height }; in get_surface()
122 cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); in get_surface()
165 RECT rc = { 0, 0, m_width, m_height }; in render()
173 cv::Mat m(m_height, m_width, CV_8UC4, memDesc.pBits, memDesc.Pitch); in render()
Dd3d10_interop.cpp50 scd.BufferDesc.Width = m_width; // set the back buffer width in create()
90 viewport.Width = m_width; in create()
99 desc.Width = m_width; in create()
149 cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); in get_surface()
196 cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); in render()
267 cv::Mat m(m_height, m_width, CV_8UC4, mappedTex.pData, (int)mappedTex.RowPitch); in print_info()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtHeightfieldTerrainShape.cpp76 m_width = (btScalar) (heightStickWidth - 1); in initialize()
93 m_localAabbMax.setValue(m_maxHeight, m_width, m_length); in initialize()
99 m_localAabbMax.setValue(m_width, m_maxHeight, m_length); in initialize()
105 m_localAabbMax.setValue(m_width, m_length, m_maxHeight); in initialize()
202 (-m_width/btScalar(2.0)) + x, in getVertex()
210 (-m_width/btScalar(2.0)) + x, in getVertex()
219 (-m_width/btScalar(2.0)) + x, in getVertex()

1234