/external/opencv/otherlibs/highgui/ |
D | grfmt_sunras.cpp | 103 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 …]
|
D | grfmt_bmp.cpp | 108 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 …]
|
D | grfmt_pxm.cpp | 166 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 …]
|
D | grfmt_tiff.cpp | 150 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 …]
|
D | grfmt_imageio.cpp | 112 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()
|
D | grfmt_exr.cpp | 132 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/deqp/modules/gles3/functional/ |
D | es3fFboDepthbufferTests.cpp | 55 , 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 …]
|
D | es3fTextureSizeTests.cpp | 68 int m_width; member in deqp::gles3::Functional::Texture2DSizeCase 81 , m_width (width) in Texture2DSizeCase() 97 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init() 99 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() 185 int m_width; member in deqp::gles3::Functional::TextureCubeSizeCase 201 , m_width (width) in TextureCubeSizeCase() 219 DE_ASSERT(m_width == m_height); in init() 220 m_texture = new TextureCube(m_renderCtx, m_format, m_dataType, m_width); in init() 232 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
|
D | es3fTextureFormatTests.cpp | 84 int m_width; member in deqp::gles3::Functional::Texture2DFormatCase 96 , m_width (width) in Texture2DFormatCase() 108 , m_width (width) in Texture2DFormatCase() 132 log << TestLog::Message << "2D texture, " << fmtName.str() << ", " << m_width << "x" << m_height in init() 137 …? new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height) // Implicit internal fo… in init() 138 : new glu::Texture2D(m_renderCtx, m_format, m_width, m_height); // Explicit internal format. in init() 157 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in iterate() 242 int m_width; member in deqp::gles3::Functional::TextureCubeFormatCase 257 , m_width (width) in TextureCubeFormatCase() 271 , m_width (width) in TextureCubeFormatCase() [all …]
|
D | es3fReadPixelsTests.cpp | 85 const int m_width; member in deqp::gles3::Functional::__anon37546d670111::ReadPixelsTest 103 , m_width (13) in ReadPixelsTest() 233 GLU_CHECK_CALL(glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA32UI, m_width, m_height)); in clearColor() 239 GLU_CHECK_CALL(glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA32I, m_width, m_height)); in clearColor() 313 const int rowWidth = (m_rowLength == 0 ? m_width : m_rowLength) + m_skipPixels; in clearColor() 318 GLU_CHECK_CALL(glReadPixels(0, 0, m_width, m_height, m_format, m_type, &(pixelData[0]))); in clearColor() 335 tcu::Texture2D reference(format, m_width, m_height); in iterate() 350 GLU_CHECK_CALL(glViewport(0, 0, m_width, m_height)); in iterate() 355 const int rowWidth = (m_rowLength == 0 ? m_width : m_rowLength); in iterate() 357 …const tcu::ConstPixelBufferAccess resultAccess = tcu::ConstPixelBufferAccess(format, m_width, m_he… in iterate() [all …]
|
D | es3fTextureSpecificationTests.cpp | 260 int m_width; member in deqp::gles3::Functional::Texture2DSpecCase 269 , m_width (width) in Texture2DSpecCase() 303 int levelW = de::max(1, m_width >> levelNdx); in verifyTexture() 442 int m_width; member in deqp::gles3::Functional::Texture2DArraySpecCase 452 , m_width (width) in Texture2DArraySpecCase() 494 int levelW = de::max(1, m_width >> levelNdx); in verifyTexture() 542 int m_width; member in deqp::gles3::Functional::Texture3DSpecCase 552 , m_width (width) in Texture3DSpecCase() 588 int levelW = de::max(1, m_width >> levelNdx); in verifyTexture() 670 int levelW = de::max(1, m_width >> ndx); in createTexture() [all …]
|
D | es3fTextureWrapTests.cpp | 118 int m_width; member in deqp::gles3::Functional::TextureWrapCase 140 , m_width (width) in TextureWrapCase() 159 , m_width (0) in TextureWrapCase() 179 , m_width (width) in TextureWrapCase() 201 DE_ASSERT(m_width == 0 && m_height == 0 && m_format == GL_NONE && m_dataType == GL_NONE); in init() 204 m_width = m_texture->getRefTexture().getWidth(); in init() 217 tcu::CompressedTexture compressedTexture (m_compressedFormat, m_width, m_height); in init() 248 tcu::CompressedTexture compressedTexture (m_compressedFormat, m_width, m_height); in init() 265 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
|
/external/deqp/framework/common/ |
D | tcuSurface.hpp | 53 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()
|
D | tcuSurface.cpp | 29 : m_width (0) in Surface() 35 : m_width (width) in Surface() 54 m_width = width; in setSize()
|
D | tcuRenderTarget.cpp | 30 : m_width (0) in RenderTarget() 40 : m_width (width) in RenderTarget()
|
D | tcuRenderTarget.hpp | 46 int getWidth (void) const { return m_width; } in getWidth() 52 int m_width; member in tcu::RenderTarget
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/ |
D | MemoryFlyoutPreferences.java | 22 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/deqp/modules/gles2/functional/ |
D | es2fTextureSpecificationTests.cpp | 367 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 …]
|
D | es2fTextureSizeTests.cpp | 68 int m_width; member in deqp::gles2::Functional::Texture2DSizeCase 81 , m_width (width) in Texture2DSizeCase() 97 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init() 99 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() 185 int m_width; member in deqp::gles2::Functional::TextureCubeSizeCase 201 , m_width (width) in TextureCubeSizeCase() 219 DE_ASSERT(m_width == m_height); in init() 220 m_texture = new TextureCube(m_renderCtx, m_format, m_dataType, m_width); in init() 232 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
|
D | es2fFboCompletenessTests.cpp | 201 GLsizei m_width; //< The common width of images member in deqp::gles2::Functional::ES2Checker 207 , m_width (-1) in ES2Checker() 217 if (m_width == -1) in check() 219 m_width = image->width; in check() 222 else if (image->width != m_width || image->height != m_height) in check()
|
D | es2fTextureFormatTests.cpp | 84 const int m_width; member in deqp::gles2::Functional::Texture2DFormatCase 96 , m_width (width) in Texture2DFormatCase() 117 log << TestLog::Message << "2D texture, " << fmtName.str() << ", " << m_width << "x" << m_height in init() 121 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init() 140 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in iterate() 224 const int m_width; member in deqp::gles2::Functional::TextureCubeFormatCase 240 , m_width (width) in TextureCubeFormatCase() 266 …log << TestLog::Message << "Cube map texture, " << fmtName.str() << ", " << m_width << "x" << m_he… in init() 270 DE_ASSERT(m_width == m_height); in init() 272 ? new TextureCube(m_renderCtx, m_format, m_dataType, m_width) // Implicit internal format. in init() [all …]
|
D | es2fTextureWrapTests.cpp | 81 int m_width; member in deqp::gles2::Functional::TextureWrapCase 99 , m_width (width) in TextureWrapCase() 116 , m_width (0) in TextureWrapCase() 133 DE_ASSERT(m_width == 0 && m_height == 0 && m_format == GL_NONE && m_dataType == GL_NONE); in init() 136 m_width = m_texture->getRefTexture().getWidth(); in init() 141 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
|
/external/pdfium/core/src/fxge/agg/agg23/ |
D | agg_rendering_buffer.h | 51 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
|
D | fx_agg_vcgen_stroke.cpp | 33 m_width(0.5f), in vcgen_stroke() 114 m_width, in vertex() 127 m_width, in vertex() 153 m_width, in vertex() 181 m_width, in vertex()
|
D | agg_vcgen_stroke.h | 66 m_width = w / 2; in width() 83 return m_width * 2; in width() 106 FX_FLOAT m_width; variable
|