Searched refs:pixelsPerByte (Results 1 – 2 of 2) sorted by relevance
/external/angle/third_party/vulkan_memory_allocator/tools/GpuMemDumpVis/ |
D | GpuMemDumpVis.py | 190 def DrawBlock(draw, y, block, pixelsPerByte): argument 191 sizePixels = int(block['Size'] * pixelsPerByte) 198 xEnd = int(byteEnd * pixelsPerByte) 211 def DrawDedicatedAllocationBlock(draw, y, dedicatedAlloc, pixelsPerByte): argument 212 sizePixels = int(dedicatedAlloc['Size'] * pixelsPerByte) 257 imgHeight, pixelsPerByte = CalcParams() variable 267 while bytesBetweenGridLines * pixelsPerByte < 64: 272 x = int(byte * pixelsPerByte) 294 DrawBlock(draw, y, block, pixelsPerByte) 301 DrawDedicatedAllocationBlock(draw, y, dedicatedAlloc, pixelsPerByte) [all …]
|
/external/skia/src/codec/ |
D | SkCodecPriv.h | 126 static size_t ComputeRowBytesPixelsPerByte(int width, uint32_t pixelsPerByte) { in ComputeRowBytesPixelsPerByte() argument 127 return (width + pixelsPerByte - 1) / pixelsPerByte; in ComputeRowBytesPixelsPerByte() 143 const uint32_t pixelsPerByte = 8 / bitsPerPixel; in ComputeRowBytes() local 144 return ComputeRowBytesPixelsPerByte(width, pixelsPerByte); in ComputeRowBytes()
|