Home
last modified time | relevance | path

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

/external/swiftshader/src/Device/
DBlitter.hpp136 int pitchB; member
171 static Int ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes);
172 static Int ComputeOffset(Int &x, Int &y, Int &z, Int &sliceB, Int &pitchB, int bytes);
188 …void computeCubeCorner(Pointer<Byte> &layer, Int &x0, Int &x1, Int &y0, Int &y1, Int &pitchB, cons…
DBlitter.cpp1394 Int Blitter::ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes) in ComputeOffset() argument
1396 return y * pitchB + x * bytes; in ComputeOffset()
1399 Int Blitter::ComputeOffset(Int &x, Int &y, Int &z, Int &sliceB, Int &pitchB, int bytes) in ComputeOffset() argument
1401 return z * sliceB + y * pitchB + x * bytes; in ComputeOffset()
2155 …ubeCorner(Pointer<Byte> &layer, Int &x0, Int &x1, Int &y0, Int &y1, Int &pitchB, const State &stat… in computeCubeCorner() argument
2159 Float4 c = readFloat4(layer + ComputeOffset(x0, y1, pitchB, bytes), state) + in computeCubeCorner()
2160 readFloat4(layer + ComputeOffset(x1, y0, pitchB, bytes), state) + in computeCubeCorner()
2161 readFloat4(layer + ComputeOffset(x1, y1, pitchB, bytes), state); in computeCubeCorner()
2165 write(c, layer + ComputeOffset(x0, y0, pitchB, bytes), state); in computeCubeCorner()
2183 Int pitchB = *Pointer<Int>(blit + OFFSET(CubeBorderData, pitchB)); in generateCornerUpdate() local
[all …]
/external/swiftshader/src/Pipeline/
DPixelRoutine.cpp1006 Int pitchB = *Pointer<Int>(data + OFFSET(DrawData, colorPitchB[index])); in readPixel() local
1012 buffer2 = buffer + pitchB; in readPixel()
1030 buffer2 = buffer + pitchB; in readPixel()
1050 buffer += pitchB; in readPixel()
1070 buffer += pitchB; in readPixel()
1089 buffer += pitchB; in readPixel()
1099 buffer += pitchB; in readPixel()
1110 buffer += pitchB; in readPixel()
1118 buffer += pitchB; in readPixel()
1135 buffer += pitchB; in readPixel()
[all …]
/external/swiftshader/src/Renderer/
DSurface.hpp240 int pitchB; member
334 static int pitchB(int width, int border, Format format, bool target);
550 return external.pitchB; in getExternalPitchB()
575 return internal.pitchB; in getInternalPitchB()
600 return stencil.pitchB; in getStencilPitchB()
DSurface.cpp51 …byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * slice… in write()
65 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB; in write()
410 …void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB + z * sample… in read()
420 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB; in read()
1162 return (unsigned char*)buffer + 8 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect()
1167 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect()
1171 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect()
1173 return (unsigned char*)buffer + x * bytes + y * pitchB + z * samples * sliceB; in lockRect()
1229 external.pitchB = pitch; in Surface()
1244 internal.pitchB = pitchB(internal.width, 0, internal.format, false); in Surface()
[all …]
DBlitter.hpp111 static Int ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes, bool quadLayout);
DBlitter.cpp1144 Int Blitter::ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes, bool quadLayout) in ComputeOffset() argument
1148 return y * pitchB + x * bytes; in ComputeOffset()
1153 return (y & Int(~1)) * pitchB + in ComputeOffset()
/external/swiftshader/src/Vulkan/
DVkFormat.cpp1706 int Format::pitchB(int width, int border, bool target) const in pitchB() function in vk::Format
1825 return pitchB(width, border, target) * ((height + 3) / 4); // Pitch computed per 4 rows in sliceBUnpadded()
1834 return pitchB(width, border, target) * ((height + 4) / 5); // Pitch computed per 5 rows in sliceBUnpadded()
1841 return pitchB(width, border, target) * ((height + 5) / 6); // Pitch computed per 6 rows in sliceBUnpadded()
1846 return pitchB(width, border, target) * ((height + 7) / 8); // Pitch computed per 8 rows in sliceBUnpadded()
1851 return pitchB(width, border, target) * ((height + 9) / 10); // Pitch computed per 10 rows in sliceBUnpadded()
1854 return pitchB(width, border, target) * ((height + 11) / 12); // Pitch computed per 12 rows in sliceBUnpadded()
1858 …return pitchB(width, border, target) * (height + height / 2); // U and V planes are 1/4 size of Y… in sliceBUnpadded()
1860 return pitchB(width, border, target) * height; // Pitch computed per row in sliceBUnpadded()
DVkImage.cpp807 return usedFormat.pitchB(mipLevelExtent.width, borderSize(), true); in rowPitchBytes()
1328 int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresource.mipLevel); in decodeETC2() local
1335 sizeToWrite = ((mipLevelExtent.height - 1) * pitchB) + (mipLevelExtent.width * bytes); in decodeETC2()
1350 pitchB, bytes, inputType); in decodeETC2()
1365 int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresource.mipLevel); in decodeBC() local
1373 pitchB, bytes, n, noAlphaU); in decodeBC()
1399 int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresource.mipLevel); in decodeASTC() local
1407 …ce, dest, mipLevelExtent.width, mipLevelExtent.height, mipLevelExtent.depth, bytes, pitchB, sliceB, in decodeASTC()
DVkFormat.hpp58 int pitchB(int width, int border, bool target) const;
/external/swiftshader/src/OpenGL/common/
DImage.cpp525 GLsizei pitchB = ComputePitch(width, format, type, storageModes.alignment); in ComputePackingOffset() local
526 …return (storageModes.skipImages * height + storageModes.skipRows) * pitchB + storageModes.skipPixe… in ComputePackingOffset()
1067 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); in pitchP() local
1069 ASSERT((pitchB % bytesPerPixel) == 0); in pitchP()
1070 return pitchB / bytesPerPixel; in pitchP()
1109 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); in lock() local
1110 int sliceB = static_cast<int>(IOSurfaceGetHeightOfPlane(ioSurface, plane)) * pitchB; in lock()
1111 return (unsigned char*)pixels + x * bytes + y * pitchB + z * sliceB; in lock()
1117 int pitchB = sw::Surface::pitchB(width, 0, format, false); in lock()
1118 int sliceB = height * pitchB; in lock()
[all …]
/external/swiftshader/src/Main/
DFrameBufferOzone.cpp22 sw::Surface::pitchB(width, 0, format, true), in FrameBufferOzone()