MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / bufferFromRGB

Method bufferFromRGB

java/com/tigervnc/rfb/PixelFormat.java:215–218  ·  view source on GitHub ↗
(ByteBuffer dst, ByteBuffer src, int pixels)

Source from the content-addressed store, hash-verified

213
214 // This method should be invoked with duplicates of dst/src Buffers
215 public void bufferFromRGB(ByteBuffer dst, ByteBuffer src, int pixels)
216 {
217 bufferFromRGB(dst, src, pixels, pixels, 1);
218 }
219
220 // This method should be invoked with duplicates of dst/src Buffers
221 public void bufferFromRGB(ByteBuffer dst, ByteBuffer src,

Callers 3

decodeRectMethod · 0.95
FilterGradient24Method · 0.45
FilterGradientMethod · 0.45

Calls 6

is888Method · 0.95
pixelFromRGBMethod · 0.95
bufferFromPixelMethod · 0.95
positionMethod · 0.80
putMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected