MCPcopy Create free account
hub / github.com/PhilLab/Android-MediaCodec-Examples / generateFrame

Method generateFrame

EncodeDecodeTest.java:815–855  ·  view source on GitHub ↗

Generates data for frame N into the supplied buffer. We have an 8-frame animation sequence that wraps around. It looks like this: 0 1 2 3 7 6 5 4 We draw one of the eight rectangles and leave the rest set to the zero-fill color.

(int frameIndex, int colorFormat, byte[] frameData)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

isSemiPlanarYUVMethod · 0.95

Tested by

no test coverage detected