Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DBlitter.hpp136 uint32_t 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, const State &state);
H A DBlitter.cpp1478 Int Blitter::ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes) in ComputeOffset() argument
1480 return y * pitchB + x * bytes; in ComputeOffset()
1483 Int Blitter::ComputeOffset(Int &x, Int &y, Int &z, Int &sliceB, Int &pitchB, int bytes) in ComputeOffset() argument
1485 return z * sliceB + y * pitchB + x * bytes; in ComputeOffset()
2241 void Blitter::computeCubeCorner(Pointer<Byte> &layer, Int &x0, Int &x1, Int &y0, Int &y1, Int &pitchB, const State &state) in computeCubeCorner() argument
2245 Float4 c = readFloat4(layer + ComputeOffset(x0, y1, pitchB, bytes), state) + in computeCubeCorner()
2246 readFloat4(layer + ComputeOffset(x1, y0, pitchB, bytes), state) + in computeCubeCorner()
2247 readFloat4(layer + ComputeOffset(x1, y1, pitchB, bytes), state); in computeCubeCorner()
2251 write(c, layer + ComputeOffset(x0, y0, pitchB, bytes), state); in computeCubeCorner()
2269 Int pitchB in generateCornerUpdate() local
2388 int pitchB = image->rowPitchBytes(aspect, srcSubresource.mipLevel); copyCubeEdge() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A 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()
H A DSurface.cpp51 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * sliceB; 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 * samples * sliceB; 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 in Surface()
1653 int Surface::pitchB(int width, int border, Format format, bool target) pitchB() function in sw::Surface
[all...]
H A DBlitter.hpp111 static Int ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes, bool quadLayout);
H A 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()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DPixelRoutine.cpp948 Int pitchB = *Pointer<Int>(data + OFFSET(DrawData, colorPitchB[index])); in readPixel() local
954 buffer2 = buffer + pitchB; in readPixel()
974 buffer2 = buffer + pitchB; in readPixel()
994 buffer2 = buffer + pitchB; in readPixel()
1014 buffer2 = buffer + pitchB; in readPixel()
1034 buffer2 = buffer + pitchB; in readPixel()
1052 buffer2 = buffer + pitchB; in readPixel()
1070 buffer2 = buffer + pitchB; in readPixel()
1088 buffer2 = buffer + pitchB; in readPixel()
1106 buffer2 = buffer + pitchB; in readPixel()
1523 Int pitchB = *Pointer<Int>(data + OFFSET(DrawData, colorPitchB[index])); writeColor() local
2281 Int pitchB = *Pointer<Int>(data + OFFSET(DrawData, colorPitchB[index])); alphaBlend() local
2656 Int pitchB = *Pointer<Int>(data + OFFSET(DrawData, colorPitchB[index])); writeColor() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkFormat.cpp1745 size_t Format::pitchB(int width, int border) const in pitchB() function in vk::Format
1854 return pitchB(width, border) * ((height + 3) / 4); // Pitch computed per 4 rows in sliceBUnpadded()
1863 return pitchB(width, border) * ((height + 4) / 5); // Pitch computed per 5 rows in sliceBUnpadded()
1870 return pitchB(width, border) * ((height + 5) / 6); // Pitch computed per 6 rows in sliceBUnpadded()
1875 return pitchB(width, border) * ((height + 7) / 8); // Pitch computed per 8 rows in sliceBUnpadded()
1880 return pitchB(width, border) * ((height + 9) / 10); // Pitch computed per 10 rows in sliceBUnpadded()
1883 return pitchB(width, border) * ((height + 11) / 12); // Pitch computed per 12 rows in sliceBUnpadded()
1887 return pitchB(width, border) * (height + height / 2); // U and V planes are 1/4 size of Y plane. in sliceBUnpadded()
1889 return pitchB(width, border) * height; // Pitch computed per row in sliceBUnpadded()
H A DVkImage.cpp839 return usedFormat.pitchB(mipLevelExtent.width, borderSize()); in rowPitchBytes()
1327 int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresource.mipLevel); in decodeETC2() local
1334 sizeToWrite = ((mipLevelExtent.height - 1) * pitchB) + (mipLevelExtent.width * bytes); in decodeETC2()
1349 pitchB, bytes, inputType); in decodeETC2()
1364 int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresource.mipLevel); in decodeBC() local
1372 pitchB, bytes, n, noAlphaU); in decodeBC()
1398 int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresource.mipLevel); in decodeASTC() local
1406 ASTC_Decoder::Decode(source, dest, mipLevelExtent.width, mipLevelExtent.height, mipLevelExtent.depth, bytes, pitchB, sliceB, in decodeASTC()
H A DVkFormat.hpp60 size_t pitchB(int width, int border) const;
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
H A DImage.cpp525 GLsizei pitchB = ComputePitch(width, format, type, storageModes.alignment); in ComputePackingOffset() local
526 return (storageModes.skipImages * height + storageModes.skipRows) * pitchB + storageModes.skipPixels * ComputePixelSize(format, type); 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(widt in lock()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DFrameBufferOzone.cpp22 sw::Surface::pitchB(width, 0, format, true), in FrameBufferOzone()

Completed in 20 milliseconds