public class Frame extends Object
CanvasFrame, FrameGrabber, FrameRecorder, and their
subclasses. We can also make the link with other APIs, such as Android,
Java 2D, FFmpeg, and OpenCV, via a FrameConverter.| Modifier and Type | Field and Description |
|---|---|
int |
audioChannels
Information associated with the
samples field. |
static int |
DEPTH_BYTE
Constants to be used for
imageDepth. |
static int |
DEPTH_DOUBLE
Constants to be used for
imageDepth. |
static int |
DEPTH_FLOAT
Constants to be used for
imageDepth. |
static int |
DEPTH_INT
Constants to be used for
imageDepth. |
static int |
DEPTH_LONG
Constants to be used for
imageDepth. |
static int |
DEPTH_SHORT
Constants to be used for
imageDepth. |
static int |
DEPTH_UBYTE
Constants to be used for
imageDepth. |
static int |
DEPTH_USHORT
Constants to be used for
imageDepth. |
Buffer[] |
image
Buffers to hold image pixels from multiple channels for a video frame.
|
int |
imageChannels
Information associated with the
image field. |
int |
imageDepth
Information associated with the
image field. |
int |
imageHeight
Information associated with the
image field. |
int |
imageStride
Information associated with the
image field. |
int |
imageWidth
Information associated with the
image field. |
boolean |
keyFrame
A flag set by a FrameGrabber or a FrameRecorder to indicate a key frame.
|
Object |
opaque
The underlying data object, for example, AVFrame, IplImage, or Mat.
|
int |
sampleRate
Information associated with the
samples field. |
Buffer[] |
samples
Buffers to hold audio samples from multiple channels for an audio frame.
|
public boolean keyFrame
public static final int DEPTH_BYTE
imageDepth.public static final int DEPTH_UBYTE
imageDepth.public static final int DEPTH_SHORT
imageDepth.public static final int DEPTH_USHORT
imageDepth.public static final int DEPTH_INT
imageDepth.public static final int DEPTH_LONG
imageDepth.public static final int DEPTH_FLOAT
imageDepth.public static final int DEPTH_DOUBLE
imageDepth.public int imageWidth
image field.public int imageHeight
image field.public int imageDepth
image field.public int imageChannels
image field.public int imageStride
image field.public Buffer[] image
public int sampleRate
samples field.public int audioChannels
samples field.public Buffer[] samples
public Object opaque
Copyright © 2015. All Rights Reserved.