Lines Matching refs:pitchB
553 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()
1182 return (unsigned char*)buffer + x * bytes + y * pitchB + z * sliceB; in lock()