public class PPMFileAcceptor extends Object implements FFMPGByteAcceptor
Constructor and Description |
---|
PPMFileAcceptor() |
Modifier and Type | Method and Description |
---|---|
void |
accept(byte[] bytes,
int linesize,
int width,
int height) |
void |
accept(org.bytedeco.javacpp.BytePointer data,
int linesize,
int width,
int height) |
protected void |
closeStream(OutputStream stream)
Supports robust closure of output stream.
|
void |
setFrameNum(int frameNum) |
void |
setPixelBytes(int pixelBytes) |
public void setFrameNum(int frameNum)
setFrameNum
in interface FFMPGByteAcceptor
public void accept(org.bytedeco.javacpp.BytePointer data, int linesize, int width, int height)
accept
in interface FFMPGByteAcceptor
public void accept(byte[] bytes, int linesize, int width, int height)
accept
in interface FFMPGByteAcceptor
public void setPixelBytes(int pixelBytes)
setPixelBytes
in interface FFMPGByteAcceptor
protected void closeStream(OutputStream stream) throws RuntimeException
RuntimeException
Copyright © 2015–2021 Fiji. All rights reserved.