Home
last modified time | relevance | path

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

123

/external/pdfium/xfa/fxbarcode/common/
DBC_CommonByteMatrix.cpp28 m_width = width; in CBC_CommonByteMatrix()
32 m_bytes = FX_Alloc2D(uint8_t, m_height, m_width); in Init()
33 FXSYS_memset(m_bytes, 0xff, m_height * m_width); in Init()
42 return m_width; in GetWidth()
45 return m_bytes[y * m_width + x]; in Get()
48 m_bytes[y * m_width + x] = (uint8_t)value; in Set()
51 m_bytes[y * m_width + x] = value; in Set()
57 for (x = 0; x < m_width; x++) { in clear()
58 m_bytes[y * m_width + x] = value; in clear()
DBC_CommonBitMatrix.cpp28 m_width = 0; in CBC_CommonBitMatrix()
34 m_width = dimension; in Init()
42 m_width = width; in Init()
91 if (m_height < bottom || m_width < right) { in SetRegion()
107 if (!row || row->GetSize() < m_width) { in GetRow()
108 rowArray = new CBC_CommonBitArray(m_width); in GetRow()
132 return m_width; in GetWidth()
141 if (m_width != m_height) { in GetDimension()
145 return m_width; in GetDimension()
/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 …]
Des3fTextureSizeTests.cpp70 int m_width; member in deqp::gles3::Functional::Texture2DSizeCase
83 , m_width (width) in Texture2DSizeCase()
99 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
101 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
187 int m_width; member in deqp::gles3::Functional::TextureCubeSizeCase
203 , m_width (width) in TextureCubeSizeCase()
221 DE_ASSERT(m_width == m_height); in init()
222 m_texture = new TextureCube(m_renderCtx, m_format, m_dataType, m_width); in init()
234 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
Des3fTextureFormatTests.cpp85 int m_width; member in deqp::gles3::Functional::Texture2DFormatCase
97 , m_width (width) in Texture2DFormatCase()
109 , m_width (width) in Texture2DFormatCase()
133 log << TestLog::Message << "2D texture, " << fmtName.str() << ", " << m_width << "x" << m_height in init()
138 …? new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height) // Implicit internal fo… in init()
139 : new glu::Texture2D(m_renderCtx, m_format, m_width, m_height); // Explicit internal format. in init()
158 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in iterate()
243 int m_width; member in deqp::gles3::Functional::TextureCubeFormatCase
258 , m_width (width) in TextureCubeFormatCase()
272 , m_width (width) in TextureCubeFormatCase()
[all …]
Des3fReadPixelsTests.cpp85 const int m_width; member in deqp::gles3::Functional::__anone93a89a60111::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 …]
Des3fTextureSpecificationTests.cpp260 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 …]
Des3fTextureWrapTests.cpp119 int m_width; member in deqp::gles3::Functional::TextureWrapCase
141 , m_width (width) in TextureWrapCase()
160 , m_width (0) in TextureWrapCase()
180 , m_width (width) in TextureWrapCase()
202 DE_ASSERT(m_width == 0 && m_height == 0 && m_format == GL_NONE && m_dataType == GL_NONE); in init()
205 m_width = m_texture->getRefTexture().getWidth(); in init()
218 tcu::CompressedTexture compressedTexture (m_compressedFormat, m_width, m_height); in init()
249 tcu::CompressedTexture compressedTexture (m_compressedFormat, m_width, m_height); in init()
266 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
/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()
DtcuSurfaceAccess.cpp33 , m_width (width) in SurfaceAccess()
43 , m_width (surface.getWidth()) in SurfaceAccess()
53 , m_width (width) in SurfaceAccess()
DtcuSurfaceAccess.hpp57 int getWidth (void) const { return m_width; } in getWidth()
67 int m_width; member in tcu::SurfaceAccess
73 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in setPixel()
DtcuRenderTarget.cpp30 : m_width (0) in RenderTarget()
40 : m_width (width) in RenderTarget()
DtcuRenderTarget.hpp46 int getWidth (void) const { return m_width; } in getWidth()
52 int m_width; member in tcu::RenderTarget
/external/pdfium/xfa/fxbarcode/
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/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 …]
Des2fTextureSizeTests.cpp69 int m_width; member in deqp::gles2::Functional::Texture2DSizeCase
82 , m_width (width) in Texture2DSizeCase()
98 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
100 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
186 int m_width; member in deqp::gles2::Functional::TextureCubeSizeCase
202 , m_width (width) in TextureCubeSizeCase()
220 DE_ASSERT(m_width == m_height); in init()
221 m_texture = new TextureCube(m_renderCtx, m_format, m_dataType, m_width); in init()
233 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
Des2fFboCompletenessTests.cpp201 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()
Des2fTextureFormatTests.cpp86 const int m_width; member in deqp::gles2::Functional::Texture2DFormatCase
98 , m_width (width) in Texture2DFormatCase()
119 log << TestLog::Message << "2D texture, " << fmtName.str() << ", " << m_width << "x" << m_height in init()
123 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
142 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in iterate()
226 const int m_width; member in deqp::gles2::Functional::TextureCubeFormatCase
242 , m_width (width) in TextureCubeFormatCase()
268 …log << TestLog::Message << "Cube map texture, " << fmtName.str() << ", " << m_width << "x" << m_he… in init()
272 DE_ASSERT(m_width == m_height); in init()
274 ? new TextureCube(m_renderCtx, m_format, m_dataType, m_width) // Implicit internal format. in init()
[all …]
Des2fTextureWrapTests.cpp82 int m_width; member in deqp::gles2::Functional::TextureWrapCase
100 , m_width (width) in TextureWrapCase()
117 , m_width (0) in TextureWrapCase()
134 DE_ASSERT(m_width == 0 && m_height == 0 && m_format == GL_NONE && m_dataType == GL_NONE); in init()
137 m_width = m_texture->getRefTexture().getWidth(); in init()
142 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
/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
Dagg_vcgen_stroke.cpp35 m_width(0.5f), in vcgen_stroke()
115 m_width, in vertex()
128 m_width, in vertex()
154 m_width, in vertex()
182 m_width, in vertex()
Dagg_vcgen_stroke.h66 m_width = w / 2; in width()
83 return m_width * 2; in width()
106 FX_FLOAT m_width; variable
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp798 const deUint32 m_width; member in vkt::__anon6fc60d300111::MultisampleRenderPassTestInstance
828 , m_width (32u) in MultisampleRenderPassTestInstance()
831 …(), context.getDeviceInterface(), context.getDevice(), m_format, m_sampleCount, m_width, m_height)) in MultisampleRenderPassTestInstance()
835 …tPhysicalDevice(), context.getDeviceInterface(), context.getDevice(), m_format, m_width, m_height)) in MultisampleRenderPassTestInstance()
840 ….getDevice(), *m_renderPass, m_multisampleImageViews, m_singlesampleImageViews, m_width, m_height)) in MultisampleRenderPassTestInstance()
843 …, *m_renderPass, *m_renderPipelineLayout, context.getBinaryCollection(), m_width, m_height, m_samp… in MultisampleRenderPassTestInstance()
845 … (createBuffers(context.getDeviceInterface(), context.getDevice(), m_format, m_width, m_height)) in MultisampleRenderPassTestInstance()
849 …, m_sum (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT), m_width, m_… in MultisampleRenderPassTestInstance()
889 { m_width, m_height } in submit()
992 { m_width, m_height } in submit()
[all …]
/external/deqp/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp80 int m_width; member in deqp::gles2::Accuracy::Texture2DFilteringCase
100 , m_width (width) in Texture2DFilteringCase()
116 , m_width (0) in Texture2DFilteringCase()
142 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height)); in init()
144 const bool mipmaps = deIsPowerOfTwo32(m_width) && deIsPowerOfTwo32(m_height); in init()
145 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
341 int m_width; member in deqp::gles2::Accuracy::TextureCubeFilteringCase
361 , m_width (width) in TextureCubeFilteringCase()
377 , m_width (0) in TextureCubeFilteringCase()
401 DE_ASSERT(m_width == m_height); in init()
[all …]

123