Searched defs:pitchB (Results 1 - 4 of 4) sorted by relevance

/external/swiftshader/src/Renderer/
H A DBlitter.cpp1141 Int Blitter::ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes, bool quadLayout) argument
1145 return y * pitchB + x * bytes;
1150 return (y & Int(~1)) * pitchB +
H A DSurface.hpp268 int pitchB; member in struct:sw::Surface::Buffer
361 static int pitchB(int width, int border, Format format, bool target);
578 return external.pitchB;
603 return internal.pitchB;
628 return stencil.pitchB;
H A DSurface.cpp47 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * sliceB;
58 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB;
399 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * sliceB;
406 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB;
1148 return (unsigned char*)buffer + 8 * (x / 4) + (y / 4) * pitchB + z * sliceB;
1155 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB;
1158 return (unsigned char*)buffer + 16 * (x / 5) + (y / 4) * pitchB + z * sliceB;
1161 return (unsigned char*)buffer + 16 * (x / 5) + (y / 5) * pitchB + z * sliceB;
1164 return (unsigned char*)buffer + 16 * (x / 6) + (y / 5) * pitchB + z * sliceB;
1167 return (unsigned char*)buffer + 16 * (x / 6) + (y / 6) * pitchB
1708 int Surface::pitchB(int width, int border, Format format, bool target) function in class:sw::Surface
[all...]
/external/swiftshader/src/OpenGL/common/
H A DImage.cpp691 GLsizei pitchB = ComputePitch(width, format, type, storageModes.alignment); local
692 return (storageModes.skipImages * height + storageModes.skipRows) * pitchB + storageModes.skipPixels * ComputePixelSize(format, type);
1239 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); local
1241 ASSERT((pitchB % bytesPerPixel) == 0);
1242 return pitchB / bytesPerPixel;
1281 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); local
1282 int sliceB = static_cast<int>(IOSurfaceGetHeightOfPlane(ioSurface, plane)) * pitchB;
1283 return (unsigned char*)pixels + x * bytes + y * pitchB + z * sliceB;
1289 int pitchB = sw::Surface::pitchB(widt
[all...]

Completed in 152 milliseconds