Home
last modified time | relevance | path

Searched refs:elementSizeBytes (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/mac/portaudio/
Dpa_ringbuffer.c67 PaRingBufferSize elementSizeBytes, in PaUtil_InitializeRingBuffer() argument
76 rbuf->elementSizeBytes = elementSizeBytes; in PaUtil_InitializeRingBuffer()
123 *dataPtr1 = &rbuf->buffer[index*rbuf->elementSizeBytes]; in PaUtil_GetRingBufferWriteRegions()
130 *dataPtr1 = &rbuf->buffer[index*rbuf->elementSizeBytes]; in PaUtil_GetRingBufferWriteRegions()
170 *dataPtr1 = &rbuf->buffer[index*rbuf->elementSizeBytes]; in PaUtil_GetRingBufferReadRegions()
177 *dataPtr1 = &rbuf->buffer[index*rbuf->elementSizeBytes]; in PaUtil_GetRingBufferReadRegions()
205 memcpy( data1, data, size1*rbuf->elementSizeBytes ); in PaUtil_WriteRingBuffer()
206 data = ((char *)data) + size1*rbuf->elementSizeBytes; in PaUtil_WriteRingBuffer()
207 memcpy( data2, data, size2*rbuf->elementSizeBytes ); in PaUtil_WriteRingBuffer()
211 memcpy( data1, data, size1*rbuf->elementSizeBytes ); in PaUtil_WriteRingBuffer()
[all …]
Dpa_ringbuffer.h97 PaRingBufferSize elementSizeBytes; /**< Number of bytes per element. */ member
114 …Util_InitializeRingBuffer( PaUtilRingBuffer *rbuf, PaRingBufferSize elementSizeBytes, PaRingBuffer…
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp92 planeRowPitches[planeNdx] = m_description.planes[planeNdx].elementSizeBytes * planeW; in getChannelAccess()
111 planeRowPitches[planeNdx] = m_description.planes[planeNdx].elementSizeBytes * planeW; in getChannelAccess()
932 const deUint32 elementSizeBytes = formatInfo.planes[planeNdx].elementSizeBytes; in getChannelAccess() local
933 const deUint32 rowPitch = formatInfo.planes[planeNdx].elementSizeBytes * accessWidth; in getChannelAccess()
936 if (pixelStrideBytes != elementSizeBytes) in getChannelAccess()
938 DE_ASSERT(elementSizeBytes % pixelStrideBytes == 0); in getChannelAccess()
939 accessWidth *= elementSizeBytes/pixelStrideBytes; in getChannelAccess()
DvktYCbCrStorageImageWriteTests.cpp304 planeRowPitches[planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * planeW; in testStorageImageWrite()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp2248 …return deAlign32( formatInfo.planes[planeNdx].elementSizeBytes * imageExtent.width * imageExtent.h… in getPlaneSizeInBytes()
2258 …return deAlign32( formatInfo.planes[planeNdx].elementSizeBytes * mipExtents.x() * mipExtents.y(), … in getPlaneSizeInBytes()
3101 const deUint32 elementSizeBytes = formatInfo.planes[planeNdx].elementSizeBytes; in getChannelAccess() local
3104 DE_ASSERT(elementSizeBytes % pixelStrideBytes == 0); in getChannelAccess()
3107 …o.blockWidth * formatInfo.planes[planeNdx].widthDivisor * pixelStrideBytes / elementSizeBytes, 1u), in getChannelAccess()
3108 …blockHeight * formatInfo.planes[planeNdx].heightDivisor * pixelStrideBytes / elementSizeBytes, 1u), in getChannelAccess()
3146 const deUint32 elementSizeBytes = formatInfo.planes[planeNdx].elementSizeBytes; in getChannelAccess() local
3149 DE_ASSERT(elementSizeBytes % pixelStrideBytes == 0); in getChannelAccess()
3152 …o.blockWidth * formatInfo.planes[planeNdx].widthDivisor * pixelStrideBytes / elementSizeBytes, 1u), in getChannelAccess()
3153 …blockHeight * formatInfo.planes[planeNdx].heightDivisor * pixelStrideBytes / elementSizeBytes, 1u), in getChannelAccess()
DvkImageUtil.hpp101 deUint8 elementSizeBytes; member
DvkNullDriver.cpp1139 const deUint32 elementSize = desc.planes[planeNdx].elementSizeBytes; in getYCbCrImageDataSize()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageBlockShapes.cpp220 … pixelSize = static_cast<deUint32>(formatDescription.planes[planeNdx].elementSizeBytes) * 8u; in iterate()
DvktSparseResourcesShaderIntrinsicsBase.cpp489 …ers, formatDescription, planeNdx, mipmapNdx) / formatDescription.planes[planeNdx].elementSizeBytes; in iterate()
537 …ers, formatDescription, planeNdx, mipmapNdx) / formatDescription.planes[planeNdx].elementSizeBytes; in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp454 …planeRowPitches[mipmapNdx][planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * plane… in iterate()
DvktSparseResourcesImageSparseResidency.cpp677 planeRowPitches[planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * planeW; in iterate()
/external/angle/src/compiler/translator/
DIntermNode.cpp740 size_t elementSizeBytes = sizeof(TConstantUnion) * elementSize; in getConstantValue() local
742 static_cast<const void *>(elementConstArray), elementSizeBytes); in getConstantValue()