MCPcopy Create free account
hub / github.com/HackWebRTC/webrtc / wrap

Method wrap

sdk/android/api/org/webrtc/JavaI420Buffer.java:52–76  ·  view source on GitHub ↗

Wraps existing ByteBuffers into JavaI420Buffer object without copying the contents.

(int width, int height, ByteBuffer dataY, int strideY,
      ByteBuffer dataU, int strideU, ByteBuffer dataV, int strideV,
      @Nullable Runnable releaseCallback)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

feedFrameMethod · 0.95
createTestI420BufferMethod · 0.95
createFrameMethod · 0.95
allocateI420BufferMethod · 0.95
wrapI420Method · 0.95
convertMethod · 0.95
cropAndScaleI420Method · 0.95
testCompleteSessionMethod · 0.80

Calls 1

checkCapacityMethod · 0.95

Tested by 9

feedFrameMethod · 0.76
createTestI420BufferMethod · 0.76
createFrameMethod · 0.76
allocateI420BufferMethod · 0.76
wrapI420Method · 0.76
testCompleteSessionMethod · 0.64