public class VideoFrame extends MediaFrame
MediaFrame.Type| Constructor and Description |
|---|
VideoFrame() |
VideoFrame(ByteBuffer data,
int width,
int height,
PixelFormat format) |
| Modifier and Type | Method and Description |
|---|---|
static VideoFrame |
create(BufferedImage image) |
ByteBuffer |
getData() |
int |
getHeight() |
PictureFormat |
getPictureFormat() |
PixelFormat |
getPixelFormat() |
MediaFrame.Type |
getType() |
int |
getWidth() |
boolean |
hasFrame() |
getTimestamp, isKeyFrame, setKeyFrame, setTimestamppublic VideoFrame()
public VideoFrame(ByteBuffer data, int width, int height, PixelFormat format)
public static VideoFrame create(BufferedImage image)
public ByteBuffer getData()
public int getWidth()
public int getHeight()
public PixelFormat getPixelFormat()
public PictureFormat getPictureFormat()
public MediaFrame.Type getType()
getType in class MediaFramepublic boolean hasFrame()
hasFrame in class MediaFrameCopyright © 2013. All Rights Reserved.