Home
last modified time | relevance | path

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

/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.hpp110 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/
DSurface.cpp48 …byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * slice… in write()
62 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB; in write()
250 …void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB + z * sample… in read()
260 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB; in read()
685 return (unsigned char*)buffer + 8 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect()
692 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect()
695 return (unsigned char*)buffer + 16 * (x / 5) + (y / 4) * pitchB + z * sliceB; in lockRect()
698 return (unsigned char*)buffer + 16 * (x / 5) + (y / 5) * pitchB + z * sliceB; in lockRect()
701 return (unsigned char*)buffer + 16 * (x / 6) + (y / 5) * pitchB + z * sliceB; in lockRect()
704 return (unsigned char*)buffer + 16 * (x / 6) + (y / 6) * pitchB + z * sliceB; in lockRect()
[all …]
DSurface.hpp102 int pitchB; member
195 static int pitchB(int width, int border, VkFormat format, bool target);
398 return external.pitchB; in getExternalPitchB()
423 return internal.pitchB; in getInternalPitchB()
448 return stencil.pitchB; in getStencilPitchB()
DBlitter.hpp110 static Int ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes, bool quadLayout);
DBlitter.cpp1384 Int Blitter::ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes, bool quadLayout) in ComputeOffset() argument
1388 return y * pitchB + x * bytes; in ComputeOffset()
1393 return (y & Int(~1)) * pitchB + in ComputeOffset()
/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()
1130 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); in pitchP() local
1132 ASSERT((pitchB % bytesPerPixel) == 0); in pitchP()
1133 return pitchB / bytesPerPixel; in pitchP()
1172 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); in lock() local
1173 int sliceB = static_cast<int>(IOSurfaceGetHeightOfPlane(ioSurface, plane)) * pitchB; in lock()
1174 return (unsigned char*)pixels + x * bytes + y * pitchB + z * sliceB; in lock()
1180 int pitchB = sw::Surface::pitchB(width, 0, format, false); in lock()
1181 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/WSI/
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()
/external/swiftshader/src/Vulkan/
DVkImage.cpp302 …return sw::Surface::pitchB(getMipLevelExtent(mipLevel).width, isCube() ? 1 : 0, getFormat(flags), … in rowPitchBytes()