Home
last modified time | relevance | path

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

/external/swiftshader/src/Pipeline/
DPixelRoutine.cpp952 Int pitchB = *Pointer<Int>(data + OFFSET(DrawData, colorPitchB[index])); in readPixel() local
958 buffer2 = buffer + pitchB; in readPixel()
976 buffer2 = buffer + pitchB; in readPixel()
996 buffer += pitchB; in readPixel()
1016 buffer += pitchB; in readPixel()
1035 buffer += pitchB; in readPixel()
1045 buffer += pitchB; in readPixel()
1056 buffer += pitchB; in readPixel()
1064 buffer += pitchB; in readPixel()
1081 buffer += pitchB; in readPixel()
[all …]
/external/swiftshader/src/Renderer/
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()
1169 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect()
1172 return (unsigned char*)buffer + 16 * (x / 5) + (y / 4) * pitchB + z * sliceB; in lockRect()
1175 return (unsigned char*)buffer + 16 * (x / 5) + (y / 5) * pitchB + z * sliceB; in lockRect()
1178 return (unsigned char*)buffer + 16 * (x / 6) + (y / 5) * pitchB + z * sliceB; in lockRect()
1181 return (unsigned char*)buffer + 16 * (x / 6) + (y / 6) * pitchB + z * sliceB; in lockRect()
[all …]
DSurface.hpp268 int pitchB; member
362 static int pitchB(int width, int border, Format format, bool target);
579 return external.pitchB; in getExternalPitchB()
604 return internal.pitchB; in getInternalPitchB()
629 return stencil.pitchB; in getStencilPitchB()
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/Device/
DBlitter.hpp130 int pitchB; member
163 static Int ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes);
176 …void computeCubeCorner(Pointer<Byte> &layer, Int &x0, Int &x1, Int &y0, Int &y1, Int &pitchB, cons…
DBlitter.cpp1352 Int Blitter::ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes) in ComputeOffset() argument
1354 return y * pitchB + x * bytes; in ComputeOffset()
1874 …ubeCorner(Pointer<Byte> &layer, Int &x0, Int &x1, Int &y0, Int &y1, Int &pitchB, const State &stat… in computeCubeCorner() argument
1878 Float4 c = readFloat4(layer + ComputeOffset(x0, y1, pitchB, bytes), state) + in computeCubeCorner()
1879 readFloat4(layer + ComputeOffset(x1, y0, pitchB, bytes), state) + in computeCubeCorner()
1880 readFloat4(layer + ComputeOffset(x1, y1, pitchB, bytes), state); in computeCubeCorner()
1884 write(c, layer + ComputeOffset(x0, y0, pitchB, bytes), state); in computeCubeCorner()
1902 Int pitchB = *Pointer<Int>(blit + OFFSET(CubeBorderData, pitchB)); in generateCornerUpdate() local
1911 computeCubeCorner(layers, LB, LP, LB, LP, pitchB, state); in generateCornerUpdate()
1912 computeCubeCorner(layers, LB, LP, HB, HP, pitchB, state); in generateCornerUpdate()
[all …]
/external/swiftshader/src/Vulkan/
DVkFormat.cpp1888 int Format::pitchB(int width, int border, bool target) const in pitchB() function in vk::Format
2019 return pitchB(width, border, target) * ((height + 3) / 4); // Pitch computed per 4 rows in sliceBUnpadded()
2032 return pitchB(width, border, target) * ((height + 4) / 5); // Pitch computed per 5 rows in sliceBUnpadded()
2042 return pitchB(width, border, target) * ((height + 5) / 6); // Pitch computed per 6 rows in sliceBUnpadded()
2049 return pitchB(width, border, target) * ((height + 7) / 8); // Pitch computed per 8 rows in sliceBUnpadded()
2056 return pitchB(width, border, target) * ((height + 9) / 10); // Pitch computed per 10 rows in sliceBUnpadded()
2060 return pitchB(width, border, target) * ((height + 11) / 12); // Pitch computed per 12 rows in sliceBUnpadded()
2064 …return pitchB(width, border, target) * (height + height / 2); // U and V planes are 1/4 size of Y… in sliceBUnpadded()
2066 return pitchB(width, border, target) * height; // Pitch computed per row in sliceBUnpadded()
DVkFormat.h56 int pitchB(int width, int border, bool target) const;
DVkImage.cpp689 return usedFormat.pitchB(mipLevelExtent.width, borderSize(), true); in rowPitchBytes()
1099 …int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresourceLayers.mipLeve… in decodeETC2() local
1106 sizeToWrite = ((mipLevelExtent.height - 1) * pitchB) + (mipLevelExtent.width * bytes); in decodeETC2()
1121 mipLevelExtent.width, mipLevelExtent.height, pitchB, bytes, inputType); in decodeETC2()
1146 …int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresourceLayers.mipLeve… in decodeBC() local
1154 mipLevelExtent.width, mipLevelExtent.height, pitchB, bytes, n, noAlphaU); in decodeBC()
1190 …int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresourceLayers.mipLeve… in decodeASTC() local
1198 …ce, dest, mipLevelExtent.width, mipLevelExtent.height, mipLevelExtent.depth, bytes, pitchB, sliceB, in decodeASTC()
/external/swiftshader/src/OpenGL/common/
DImage.cpp553 GLsizei pitchB = ComputePitch(width, format, type, storageModes.alignment); in ComputePackingOffset() local
554 …return (storageModes.skipImages * height + storageModes.skipRows) * pitchB + storageModes.skipPixe… in ComputePackingOffset()
1136 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); in pitchP() local
1138 ASSERT((pitchB % bytesPerPixel) == 0); in pitchP()
1139 return pitchB / bytesPerPixel; in pitchP()
1178 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); in lock() local
1179 int sliceB = static_cast<int>(IOSurfaceGetHeightOfPlane(ioSurface, plane)) * pitchB; in lock()
1180 return (unsigned char*)pixels + x * bytes + y * pitchB + z * sliceB; in lock()
1186 int pitchB = sw::Surface::pitchB(width, 0, format, false); in lock()
1187 int sliceB = height * pitchB; in lock()
[all …]
/external/swiftshader/src/Main/
DFrameBufferOzone.cpp22 sw::Surface::pitchB(width, 0, format, true), in FrameBufferOzone()
/external/swiftshader/src/D3D8/
DDirect3DVolume8.cpp148 lockedVolume->RowPitch = pitchB(getWidth(), 0, getExternalFormat(), false); in LockBox()