WebPFrame constructor
WebPFrame(
- InputBuffer input,
- int size
Implementation
WebPFrame(InputBuffer input, int size)
: x = input.readUint24() * 2,
y = input.readUint24() * 2,
width = input.readUint24() + 1,
height = input.readUint24() + 1,
duration = input.readUint24() {
final b = input.readByte();
_reserved = (b & 0x7F) >> 7;
clearFrame = (b & 0x1) != 0;
_framePosition = input.position;
_frameSize = size - _ANIMF_HEADER_SIZE;
}