Home
last modified time | relevance | path

Searched refs:byteSize (Results 1 - 25 of 38) sorted by relevance

12

/third_party/libsnd/src/ALAC/
H A DALACBitUtilities.c34 void BitBufferInit (BitBuffer * bits, uint8_t * buffer, uint32_t byteSize) in BitBufferInit() argument
37 bits->end = bits->cur + byteSize ; in BitBufferInit()
39 bits->byteSize = byteSize ; in BitBufferInit()
143 begin = bits->end - bits->byteSize ; in BitBufferGetPosition()
203 if (bits->cur < (bits->end - bits->byteSize)) in BitBufferRewind()
207 bits->cur = (bits->end - bits->byteSize) ; in BitBufferRewind()
254 //void BitBufferInit (BitBuffer * bits, uint8_t * buffer, uint32_t byteSize) in BitBufferReset()
256 bits->cur = bits->end - bits->byteSize ; in BitBufferReset()
H A DALACBitUtilities.h66 uint32_t byteSize ; member
75 void BitBufferInit (BitBuffer * bits, uint8_t * buffer, uint32_t byteSize) ;
H A Dag_dec.c286 maxPos = bitstream->byteSize * 8 ; in dyn_decomp()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmUtils.hpp212 void append (const void* buf, const size_t byteSize) in append()
214 DE_ASSERT(byteSize > 0); in append()
216 valuesBuffer.resize(valuesBuffer.size() + byteSize); in append()
217 deMemcpy(&valuesBuffer[valuesBuffer.size() - byteSize], buf, byteSize); in append()
219 sizesBuffer.push_back(byteSize); in append()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmUtils.hpp212 void append (const void* buf, const size_t byteSize) in append()
214 DE_ASSERT(byteSize > 0); in append()
216 valuesBuffer.resize(valuesBuffer.size() + byteSize); in append()
217 deMemcpy(&valuesBuffer[valuesBuffer.size() - byteSize], buf, byteSize); in append()
219 sizesBuffer.push_back(byteSize); in append()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DFormat.cpp154 (kTextureBytesPerRowAlignment % format.aspectInfo[0].block.byteSize) == 0); in BuildFormatTable()
161 bool supportsStorageUsage, uint32_t byteSize, in BuildFormatTable()
172 firstAspect->block.byteSize = byteSize; in BuildFormatTable()
199 auto AddDepthFormat = [&AddFormat](wgpu::TextureFormat format, uint32_t byteSize, in BuildFormatTable()
210 firstAspect->block.byteSize = byteSize; in BuildFormatTable()
229 firstAspect->block.byteSize = 1; in BuildFormatTable()
238 auto AddCompressedFormat = [&AddFormat](wgpu::TextureFormat format, uint32_t byteSize, in BuildFormatTable()
250 firstAspect->block.byteSize in BuildFormatTable()
[all...]
H A DCommandValidation.cpp121 uint64_t bytesInLastRow = Safe32x32(widthInBlocks, blockInfo.byteSize); in ComputeRequiredBytesInCopy()
184 uint32_t bytesInLastRow = widthInBlocks * blockInfo.byteSize; in ApplyDefaultTextureDataLayoutOptions()
196 uint64_t byteSize, in ValidateLinearTextureData()
218 ASSERT(Safe32x32(widthInBlocks, blockInfo.byteSize) <= in ValidateLinearTextureData()
220 uint32_t bytesInLastRow = widthInBlocks * blockInfo.byteSize; in ValidateLinearTextureData()
243 layout.offset <= byteSize && (requiredBytesInCopy <= (byteSize - layout.offset)); in ValidateLinearTextureData()
248 requiredBytesInCopy, byteSize, layout.offset); in ValidateLinearTextureData()
195 ValidateLinearTextureData(const TextureDataLayout& layout, uint64_t byteSize, const TexelBlockInfo& blockInfo, const Extent3D& copyExtent) ValidateLinearTextureData() argument
H A DVertexFormat.h30 uint32_t byteSize; member
H A DRenderPipeline.cpp135 ASSERT(kMaxVertexBufferArrayStride >= formatInfo.byteSize); in ValidateVertexAttribute()
137 attribute->offset > kMaxVertexBufferArrayStride - formatInfo.byteSize, in ValidateVertexAttribute()
140 attribute->offset, attribute->format, formatInfo.byteSize, in ValidateVertexAttribute()
148 attribute->offset + formatInfo.byteSize > vertexBufferStride, in ValidateVertexAttribute()
151 attribute->offset, attribute->format, formatInfo.byteSize, vertexBufferStride); in ValidateVertexAttribute()
153 DAWN_INVALID_IF(attribute->offset % std::min(4u, formatInfo.byteSize) != 0, in ValidateVertexAttribute()
155 std::min(4u, formatInfo.byteSize)); in ValidateVertexAttribute()
614 uint16_t(GetVertexFormatInfo(buffers[slot].attributes[i].format).byteSize); in RenderPipelineBase()
H A DQueue.cpp95 ASSERT(IsPowerOfTwo(blockInfo.byteSize)); in UploadTextureDataAligningBytesPerRowAndOffset()
99 std::max(optimalOffsetAlignment, uint64_t(blockInfo.byteSize)); in UploadTextureDataAligningBytesPerRowAndOffset()
334 uint32_t alignedBytesPerRow = writeSizePixel.width / blockInfo.width * blockInfo.byteSize; in WriteTextureImpl()
H A DCommandValidation.h48 uint64_t byteSize,
H A DFormat.h64 uint32_t byteSize; member
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DTextureCopySplitter.cpp31 return {byteOffsetX / blockInfo.byteSize * blockInfo.width, in ComputeTexelOffsets()
40 return alignedOffset + bufferOffset.x * blockInfo.byteSize / blockInfo.width + in OffsetToFirstCopiedTexel()
61 ASSERT(bytesPerRow % blockInfo.byteSize == 0); in Compute2DTextureCopySubresource()
110 uint32_t copyBytesPerRowPitch = copySize.width / blockInfo.width * blockInfo.byteSize; in Compute2DTextureCopySubresource()
111 uint32_t byteOffsetInRowPitch = texelOffset.x / blockInfo.width * blockInfo.byteSize; in Compute2DTextureCopySubresource()
190 uint32_t texelsPerRow = bytesPerRow / blockInfo.byteSize * blockInfo.width; in Compute2DTextureCopySubresource()
201 offset + copy.copies[0].copySize.width / blockInfo.width * blockInfo.byteSize; in Compute2DTextureCopySubresource()
/third_party/icu/icu4c/source/common/
H A Ducol_swp.cpp575 header.byteSize=udata_readInt32(ds, inHeader->byteSize); in ucol_swapInverseUCA()
578 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize))) in ucol_swapInverseUCA()
589 uprv_memcpy(outBytes, inBytes, header.byteSize); in ucol_swapInverseUCA()
594 /* read more of the InverseUCATableHeader (the byteSize field was read above) */ in ucol_swapInverseUCA()
612 return headerSize+header.byteSize; in ucol_swapInverseUCA()
H A Ducol_data.h78 uint32_t byteSize; member
/third_party/node/deps/icu-small/source/common/
H A Ducol_swp.cpp575 header.byteSize=udata_readInt32(ds, inHeader->byteSize); in ucol_swapInverseUCA()
578 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize))) in ucol_swapInverseUCA()
589 uprv_memcpy(outBytes, inBytes, header.byteSize); in ucol_swapInverseUCA()
594 /* read more of the InverseUCATableHeader (the byteSize field was read above) */ in ucol_swapInverseUCA()
612 return headerSize+header.byteSize; in ucol_swapInverseUCA()
H A Ducol_data.h78 uint32_t byteSize; member
/third_party/skia/third_party/externals/icu/source/common/
H A Ducol_swp.cpp575 header.byteSize=udata_readInt32(ds, inHeader->byteSize); in ucol_swapInverseUCA()
578 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize))) in ucol_swapInverseUCA()
589 uprv_memcpy(outBytes, inBytes, header.byteSize); in ucol_swapInverseUCA()
594 /* read more of the InverseUCATableHeader (the byteSize field was read above) */ in ucol_swapInverseUCA()
612 return headerSize+header.byteSize; in ucol_swapInverseUCA()
H A Ducol_data.h78 uint32_t byteSize; member
/third_party/skia/src/ports/
H A DSkImageGeneratorNDK.cpp205 auto byteSize = info.computeByteSize(rowBytes); in onGetPixels() local
206 switch (AImageDecoder_decodeImage(fDecoder, pixels, rowBytes, byteSize)) { in onGetPixels()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DTextureGL.cpp340 ASSERT(blockInfo.byteSize <= MAX_TEXEL_SIZE); in ClearTexture()
452 ASSERT(kTextureBytesPerRowAlignment % blockInfo.byteSize == 0); in ClearTexture()
456 Align((largestMipSize.width / blockInfo.width) * blockInfo.byteSize, 4); in ClearTexture()
459 ASSERT(bytesPerRow % blockInfo.byteSize == 0); in ClearTexture()
H A DCommandBufferGL.cpp718 gl.PixelStorei(GL_PACK_ROW_LENGTH, dst.bytesPerRow / blockInfo.byteSize); in Execute()
1377 size_t rowSize = copySize.width / blockInfo.width * blockInfo.byteSize; in DoTexSubImage()
1386 // copies only for uploads where bytesPerRow is not a multiple of byteSize. in DoTexSubImage()
1387 if (dataLayout.bytesPerRow % blockInfo.byteSize == 0 && gl.GetVersion().IsDesktop()) { in DoTexSubImage()
1394 dataLayout.bytesPerRow / blockInfo.byteSize * blockInfo.width); in DoTexSubImage()
1395 gl.PixelStorei(GL_UNPACK_COMPRESSED_BLOCK_SIZE, blockInfo.byteSize); in DoTexSubImage()
1451 if (dataLayout.bytesPerRow % blockInfo.byteSize == 0) { in DoTexSubImage()
1453 dataLayout.bytesPerRow / blockInfo.byteSize * blockInfo.width); in DoTexSubImage()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DUtilsVulkan.cpp126 ASSERT(dataLayout.bytesPerRow % blockInfo.byteSize == 0); in ComputeBufferImageCopyRegion()
127 region.bufferRowLength = dataLayout.bytesPerRow / blockInfo.byteSize * blockInfo.width; in ComputeBufferImageCopyRegion()
/third_party/skia/include/core/
H A DSkImageInfo.h675 /** Returns true if byteSize equals SIZE_MAX. computeByteSize() and
678 @param byteSize result of computeByteSize() or computeMinByteSize()
681 static bool ByteSizeOverflowed(size_t byteSize) { in ByteSizeOverflowed()
682 return SIZE_MAX == byteSize; in ByteSizeOverflowed()
/third_party/protobuf/php/tests/
H A DPhpImplementationTest.php518 $this->assertSame(504, $m->byteSize());
525 $this->assertSame(166, $m->byteSize());

Completed in 20 milliseconds

12