Home
last modified time | relevance | path

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

1234567891011

/external/intel-media-driver/media_driver/agnostic/common/cm/
Dcm_thread_space_rt.cpp154 m_width( width ), in CmThreadSpaceRT()
247 …CM_CHK_CMSTATUS_RETURN(m_device->CreateThreadGroupSpaceEx(1, 1, 1, m_width, m_height, 1, m_threadG… in Initialize()
280 if((x >= m_width) || (y >= m_height) || (kernel == nullptr)) in AssociateThreadWithMask()
289 m_threadSpaceUnit = MOS_NewArray(CM_THREAD_SPACE_UNIT, (m_height * m_width)); in AssociateThreadWithMask()
292 CmSafeMemSet(m_threadSpaceUnit, 0, sizeof(CM_THREAD_SPACE_UNIT) * m_height * m_width); in AssociateThreadWithMask()
301 uint32_t linearOffset = y*m_width + x; in AssociateThreadWithMask()
390 m_boardFlag = MOS_NewArray(uint32_t, (m_height * m_width)); in SelectThreadDependencyPattern()
393 CmSafeMemSet(m_boardFlag, 0, sizeof(uint32_t) * m_height * m_width); in SelectThreadDependencyPattern()
403 m_boardOrderList = MOS_NewArray(uint32_t, (m_height * m_width)); in SelectThreadDependencyPattern()
406 CmSafeMemSet(m_boardOrderList, 0, sizeof(uint32_t) * m_height * m_width); in SelectThreadDependencyPattern()
[all …]
Dcm_surface_2d_rt_base.cpp53 m_width(width), in CmSurface2DRTBase()
496 inParam.width = m_width; in WriteSurfaceFullStride()
511 widthInByte = m_width * sizePerPixel; in WriteSurfaceFullStride()
564 src += horizontalStride * UVwidth / m_width; in WriteSurfaceFullStride()
583 (horizontalStride * UVwidth / m_width * verticalStride * UVHeight / m_height); in WriteSurfaceFullStride()
587 src += horizontalStride * UVwidth / m_width; in WriteSurfaceFullStride()
641 inParam.width = m_width; in WriteSurface()
646 return WriteSurfaceFullStride(sysMem, event, sizePerPixel * m_width, m_height, sysMemSize); in WriteSurface()
678 …int32_t result = m_surfaceMgr->GetPixelBytesAndHeight(m_width, m_height, m_format, sizePerPixel, u… in WriteSurfaceHybridStrides()
685 widthInBytes = m_width * sizePerPixel; in WriteSurfaceHybridStrides()
[all …]
Dcm_surface_3d_rt.cpp73 m_width( width ), in CmSurface3DRT()
129 uSizeInBytes = (uint64_t)m_width * m_height * m_depth * pixel; in WriteSurface()
159 inParam.width = m_width; in WriteSurface()
260 uSizeInBytes = (uint64_t)m_width * m_height * m_depth * pixel; in ReadSurface()
294 inParam.width = m_width; in ReadSurface()
376 width = m_width; in GetProperties()
385 m_width = width; in SetProperties()
424 …CM_CHK_CMSTATUS_GOTOFINISH(m_surfaceMgr->GetPixelBytesAndHeight(m_width, m_height, m_format, sizeP… in InitSurface()
428 inParam.width = m_width; in InitSurface()
547 << " Width:" << m_width in Log()
[all …]
Dcm_surface_2d_up_rt.cpp84 m_width( width ), in CmSurface2DUPRT()
201 width = m_width; in GetSurfaceDesc()
215 << " Width:" << m_width in Log()
238 << "_w_" << m_width in DumpContent()
252 m_surfaceMgr->GetPixelBytesAndHeight(m_width, m_height, m_format, sizePerPixel, updatedHeight); in DumpContent()
253 surfaceSize = m_width*sizePerPixel*updatedHeight; in DumpContent()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayGenerateMipMap.cpp223 storage_config_1.m_width = 64; in initTest()
227 …storage_config_1.m_levels = getAmountOfLevelsForTexture(storage_config_1.m_width, storage_config_1… in initTest()
232 storage_config_2.m_width = 117; in initTest()
236 …storage_config_2.m_levels = getAmountOfLevelsForTexture(storage_config_2.m_width, storage_config_2… in initTest()
241 storage_config_3.m_width = 256; in initTest()
245 …storage_config_3.m_levels = getAmountOfLevelsForTexture(storage_config_3.m_width, storage_config_3… in initTest()
250 storage_config_4.m_width = 173; in initTest()
254 …storage_config_4.m_levels = getAmountOfLevelsForTexture(storage_config_4.m_width, storage_config_4… in initTest()
279 GL_RGBA8, config.m_width, config.m_height, config.m_depth, 0, /* border */ in initTest()
288 …gl.texStorage3D(GL_TEXTURE_CUBE_MAP_ARRAY, config.m_levels, GL_RGBA8, config.m_width, config.m_hei… in initTest()
[all …]
DesextcTextureCubeMapArraySubImage3D.cpp238 …m_copy_data_buffer.assign(copy_params.m_width * copy_params.m_height * copy_params.m_depth * m_n_c… in configureDataBuffer()
245 …glw::GLuint xoffset = copy_params.m_xoffset; xoffset < copy_params.m_xoffset + copy_params.m_width; in configureDataBuffer()
263 …glw::GLuint xoffset = copy_params.m_xoffset; xoffset < copy_params.m_xoffset + copy_params.m_width; in configureDataBuffer()
296 … copy_params.m_width * copy_params.m_height * copy_params.m_depth * m_n_components * in configurePixelUnpackBuffer()
382 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_RGBA32UI, copy_params.m_width, copy_params.m_height); in configure2DTexture()
385 …gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, copy_params.m_width, copy_params.m_height, GL_RGBA_INTEGE… in configure2DTexture()
401 … copy_params.m_width, copy_params.m_height, copy_params.m_depth, GL_RGBA_INTEGER, GL_UNSIGNED_INT, in texSubImage3D()
420 copy_params.m_zoffset, 0, 0, copy_params.m_width, copy_params.m_height); in copyTexSubImage3D()
485 …<< "(" << copy_params.m_width << "," << copy_params.m_height << "," << copy_params.m_depth << ")\n" in testTexSubImage3D()
509 … << "(" << copy_params.m_width << "," << copy_params.m_height << "," << copy_params.m_depth in testTexSubImage3D()
[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()
193 glViewport(0, 0, m_width, m_height); in render()
[all …]
/external/deqp/framework/common/
DtcuSurface.hpp55 return m_width; in getWidth()
71 int m_width; member in tcu::Surface
78 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in setPixel()
80 const int pixOffset = y * m_width + x; in setPixel()
95 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in getPixel()
97 const int pixOffset = y * m_width + x; in getPixel()
114 …elBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, in getAccess()
121 …return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m… in getAccess()
DtcuSurface.cpp28 Surface::Surface(void) : m_width(0), m_height(0) in Surface()
32 Surface::Surface(int width, int height) : m_width(width), m_height(height), m_pixels(width * height) in Surface()
49 m_width = width; in setSize()
DtcuSurfaceAccess.cpp34 , m_width(width) in SurfaceAccess()
44 , m_width(surface.getWidth()) in SurfaceAccess()
54 , m_width(width) in SurfaceAccess()
/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/dec/shared/features/
Ddecode_downsampling_feature.cpp128 m_outputSurfaceRegion.m_width = (procParams->m_outputSurfaceRegion.m_width == 0) ? in Update()
129 m_outputSurface.dwWidth : procParams->m_outputSurfaceRegion.m_width; in Update()
140 m_inputSurfaceRegion.m_width = (procParams->m_inputSurfaceRegion.m_width == 0) ? in Update()
141 m_inputSurface->dwWidth : procParams->m_inputSurfaceRegion.m_width; in Update()
160 …urfaceRegion.m_width = (procParams->m_inputSurfaceRegion.m_width == 0 || procParams->m_inputSurfa… in Update()
161 m_basicFeature->m_width : procParams->m_inputSurfaceRegion.m_width; in Update()
/external/deqp/external/openglcts/modules/common/
DglcNearestEdgeTests.cpp89 const int m_width; member in glcts::__anon052cba910111::NearestEdgeTestCase
185 , m_width{context.getRenderTarget().getWidth()}
201 if (m_width < 2 || m_height < 2) in init()
279 m_texData.resize(m_width * m_height * tcu::getPixelSize(m_texFormat)); in fillTexture()
280 tcu::PixelBufferAccess texAccess{m_texFormat, m_width, m_height, 1, m_texData.data()}; in fillTexture()
283 DE_ASSERT(m_width > 1); in fillTexture()
286 const float divX = static_cast<float>(m_width - 1); in fillTexture()
289 for (int x = 0; x < m_width; ++x) in fillTexture()
304 …gl.texImage2D(kTextureType, 0, internalFormat, m_width, m_height, 0 /* border */, m_transFormat.fo… in fillTexture()
325 const float offsetWidth = offset / static_cast<float>(m_width); in renderQuad()
[all …]
/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/dec/hevc/packet/
Ddecode_hevc_downsampling_packet.cpp63 sfcParams.input.width = m_basicFeature->m_width; in InitSfcParams()
168 scalabilityParams.srcEndX = inputSurfaceRegion.m_x + inputSurfaceRegion.m_width - 1; in InitSfcScalabSrcParams()
188 scalabilityParams.srcEndX = inputSurfaceRegion.m_x + inputSurfaceRegion.m_width - 1; in InitSfcScalabSrcParams()
201 … scalabilityParams.srcEndX = inputSurfaceRegion.m_x + inputSurfaceRegion.m_width - 1; in InitSfcScalabSrcParams()
222 if (scalabilityParams.srcEndX > inputSurfaceRegion.m_x + inputSurfaceRegion.m_width - 1) in InitSfcScalabSrcParams()
224 scalabilityParams.srcEndX = inputSurfaceRegion.m_x + inputSurfaceRegion.m_width - 1; in InitSfcScalabSrcParams()
251 if ((inputSurfaceRegion.m_x + inputSurfaceRegion.m_width - 1) <= srcEndXCorr) in InitSfcScalabDstParams()
254 tileEndX = inputSurfaceRegion.m_x + inputSurfaceRegion.m_width; in InitSfcScalabDstParams()
268 …2_t xPhaseShift = MOS_F_ROUND((double(inputSurfaceRegion.m_width) / outputSurfaceRegion.m_width - … in InitSfcScalabDstParams()
270 …neBySf = uint64_t(double(uint64_t(inputSurfaceRegion.m_width) * 524288 / outputSurfaceRegion.m_wid… in InitSfcScalabDstParams()
[all …]
/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/dec/vp9/packet/
Ddecode_vp9_downsampling_packet.cpp147 scalabilityParams.srcEndX = inputSurfaceRegion.m_x + inputSurfaceRegion.m_width - 1; in InitSfcScalabSrcParams()
160 … scalabilityParams.srcEndX = inputSurfaceRegion.m_x + inputSurfaceRegion.m_width - 1; in InitSfcScalabSrcParams()
181 if (scalabilityParams.srcEndX > inputSurfaceRegion.m_x + inputSurfaceRegion.m_width - 1) in InitSfcScalabSrcParams()
183 scalabilityParams.srcEndX = inputSurfaceRegion.m_x + inputSurfaceRegion.m_width - 1; in InitSfcScalabSrcParams()
210 if ((inputSurfaceRegion.m_x + inputSurfaceRegion.m_width - 1) <= srcEndXCorr) in InitSfcScalabDstParams()
213 tileEndX = inputSurfaceRegion.m_x + inputSurfaceRegion.m_width; in InitSfcScalabDstParams()
228 …2_t xPhaseShift = MOS_F_ROUND((double(inputSurfaceRegion.m_width) / outputSurfaceRegion.m_width - … in InitSfcScalabDstParams()
230 …neBySf = uint64_t(double(uint64_t(inputSurfaceRegion.m_width) * 524288 / outputSurfaceRegion.m_wid… in InitSfcScalabDstParams()
267 dstEndX = outputSurfaceRegion.m_x + outputSurfaceRegion.m_width - 1; in InitSfcScalabDstParams()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRenderingFBONoAttachment.cpp108 const glw::GLint GeometryShaderLayeredRenderingFBONoAttachment::m_width = 128; member in glcts::GeometryShaderLayeredRenderingFBONoAttachment
258 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_WIDTH, m_width); in iterate()
267 if (m_width != width || m_height != height) in iterate()
269 …etLog() << tcu::TestLog::Message << "Framebuffer's default width/height is not equal to" << m_width in iterate()
290 m_all_layers_data = new glw::GLint[m_n_layers * m_width * m_height * m_n_texture_components]; in iterate()
292 for (int n = 0; n < m_n_layers * m_width * m_height; ++n) in iterate()
302 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1 /* levels */, GL_RGBA32I, m_width, m_height, m_n_layers); in iterate()
323 gl.viewport(0 /* x */, 0 /* y */, m_width /* width */, m_height /* height */); in iterate()
334 m_layer_data = new glw::GLint[m_width * m_height * m_n_texture_components]; in iterate()
345 m_width, m_height, m_n_layers, GL_RGBA_INTEGER, GL_INT, m_all_layers_data); in iterate()
[all …]
/external/pdfium/fxbarcode/common/
DBC_CommonByteMatrix.cpp32 : m_width(width), m_height(height) { in CBC_CommonByteMatrix()
35 CHECK_LT(m_width, kMaxBytes / m_height); in CBC_CommonByteMatrix()
36 m_bytes.resize(m_width * m_height, kDefaultFill); in CBC_CommonByteMatrix()
46 const size_t offset = y * m_width + x; in Get()
52 const size_t offset = y * m_width + x; in Set()
/external/pdfium/fxbarcode/pdf417/
DBC_PDF417BarcodeMatrix.cpp32 : m_width((width + 4) * 17 + 1), m_height(height) { in CBC_BarcodeMatrix()
35 m_matrix[i] = std::make_unique<CBC_BarcodeRow>(m_width); in CBC_BarcodeMatrix()
41 DataVector<uint8_t> bit_array(m_width * m_height); in toBitArray()
44 fxcrt::Copy(m_matrix[i]->GetRow(), bit_array_span.subspan(i * m_width)); in toBitArray()
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureBarrierTests.cpp122 , m_width(0) in TextureBarrierBasicOutline()
153 m_width = renderTarget.getWidth(); in init()
157 m_width = m_width >= 16383 ? 16382 : m_width; in init()
168 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_R32UI, m_width, m_height); in init()
171 m_reference[i] = new GLuint[m_width * m_height]; in init()
173 m_actual = new GLuint[m_width * m_height]; in init()
345 …if ((static_cast<GLint>(x) < 0) || (x >= m_width) || (static_cast<GLint>(y) < 0) || (y >= m_height… in texel()
351 return image[x + y * m_width]; in texel()
361 for (GLuint x = 0; x < m_width; ++x) in initTextureData()
368 … gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_width, m_height, GL_RED_INTEGER, GL_UNSIGNED_INT, in initTextureData()
[all …]
/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/dec/hevc/features/
Ddecode_hevc_mv_buffers.cpp47 …uint32_t mvtSize = ((((m_basicFeature->m_width + 63) >> 6) * (((m_basicFeature->m_height + 15) … in Allocate()
48 …uint32_t mvtbSize = ((((m_basicFeature->m_width + 31) >> 5) * (((m_basicFeature->m_height + 31) … in Allocate()
67 …uint32_t mvtSize = ((((m_basicFeature->m_width + 63) >> 6) * (((m_basicFeature->m_height + 15) … in Resize()
68 …uint32_t mvtbSize = ((((m_basicFeature->m_width + 31) >> 5) * (((m_basicFeature->m_height + 31) … in Resize()
/external/pdfium/third_party/agg23/
Dagg_rendering_buffer.h53 m_width(0), in rendering_buffer()
62 m_width(0), in rendering_buffer()
72 m_width = width; in attach()
99 return m_width; in width()
141 unsigned m_width; variable
Dagg_vcgen_stroke.cpp36 m_width(0.5f), in vcgen_stroke()
116 m_width, in vertex()
129 m_width, in vertex()
155 m_width, in vertex()
183 m_width, in vertex()
Dagg_vcgen_stroke.h68 m_width = w / 2; in width()
85 return m_width * 2; in width()
108 float m_width; variable
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp382 const int m_width; member in deqp::gles2::Functional::TextureSpecCase
415 , m_width(width) in TextureSpecCase()
438 DE_ASSERT(m_width <= 256 && m_height <= 256); in iterate()
439 if (renderTarget.getWidth() < m_width || renderTarget.getHeight() < m_height) in iterate()
508 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height)) + 1… in verifyTex2D()
514 int levelW = de::max(1, m_width >> levelNdx); in verifyTex2D()
547 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height)) + 1… in verifyTexCube()
553 int levelW = de::max(1, m_width >> levelNdx); in verifyTexCube()
653 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_hei… in createTexture()
667 int levelW = de::max(1, m_width >> ndx); in createTexture()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp484 const uint32_t m_width; member in vkt::__anon45ae53da0111::ExternalDependencyTestInstance
518 , m_width(testConfig.imageSize.x()) in ExternalDependencyTestInstance()
523 … m_imageMemories, context.getUniversalQueueFamilyIndex(), m_format, m_width, in ExternalDependencyTestInstance()
528 …, m_dstBuffer(createBuffer(context.getDeviceInterface(), context.getDevice(), m_format, m_width, m… in ExternalDependencyTestInstance()
534 m_width, m_height)) in ExternalDependencyTestInstance()
546 … m_renderPipelineLayouts, context.getBinaryCollection(), m_width, in ExternalDependencyTestInstance()
831 {m_width, m_height} // VkExtent2D extent in iterateInternal()
905 {m_width, m_height, 1u} // VkExtent3D imageExtent in iterateInternal()
938 const tcu::ConstPixelBufferAccess access(format, m_width, m_height, 1, ptr); in iterateInternal()
939 tcu::TextureLevel reference(format, m_width, m_height); in iterateInternal()
[all …]
DvktRenderPassSparseRenderTargetTests.cpp388 const uint32_t m_width; member in vkt::__anonf5df336f0111::SparseRenderTargetTestInstance
415 , m_width(32u) in SparseRenderTargetTestInstance()
423 *m_bindSemaphore, m_format, m_width, m_height)) in SparseRenderTargetTestInstance()
426 …, m_dstBuffer(createBuffer(context.getDeviceInterface(), context.getDevice(), m_format, m_width, m… in SparseRenderTargetTestInstance()
432 m_width, m_height)) in SparseRenderTargetTestInstance()
436 m_width, m_height)) in SparseRenderTargetTestInstance()
467 const VkRect2D renderArea = makeRect2D(m_width, m_height); in iterateInternal()
482 … copyImageToBuffer(vkd, *commandBuffer, *m_dstImage, *m_dstBuffer, tcu::IVec2(m_width, m_height)); in iterateInternal()
499 const VkRect2D renderArea = makeRect2D(m_width, m_height); in iterateInternalDynamicRendering()
573 copyImageToBuffer(vkd, *cmdBuffer, *m_dstImage, *m_dstBuffer, tcu::IVec2(m_width, m_height)); in iterateInternalDynamicRendering()
[all …]

1234567891011