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 FFMPGByteAcceptorpublic void accept(org.bytedeco.javacpp.BytePointer data,
int linesize,
int width,
int height)
accept in interface FFMPGByteAcceptorpublic void accept(byte[] bytes,
int linesize,
int width,
int height)
accept in interface FFMPGByteAcceptorpublic void setPixelBytes(int pixelBytes)
setPixelBytes in interface FFMPGByteAcceptorprotected void closeStream(OutputStream stream) throws RuntimeException
RuntimeExceptionCopyright © 2015–2021 Fiji. All rights reserved.