|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.smaxe.uv.media.core.VideoFrame
public final class VideoFrame
VideoFrame
- video frame.
Field Summary | |
---|---|
int |
height
height. |
int[] |
rgb
RGB data (array size is width * height) in the ARGB-int format (A-highest byte, B - lowest byte). |
java.lang.Object |
tag
tag associated with the video frame. |
long |
timestamp
timestamp. |
int |
width
width. |
Constructor Summary | |
---|---|
VideoFrame(com.smaxe.video.VideoFrame frame)
Constructor. |
|
VideoFrame(int width,
int height)
Constructor. |
|
VideoFrame(int width,
int height,
int[] rgb)
Constructor. |
|
VideoFrame(long timestamp,
int width,
int height,
int[] rgb)
Constructor. |
|
VideoFrame(long timestamp,
VideoFrame frame)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final long timestamp
public final int width
public final int height
public final int[] rgb
public java.lang.Object tag
Constructor Detail |
---|
public VideoFrame(int width, int height)
width
- frame widthheight
- frame heightpublic VideoFrame(int width, int height, int[] rgb)
width
- frame widthheight
- frame heightrgb
- frame rgb data (array size is width * height)public VideoFrame(long timestamp, int width, int height, int[] rgb)
timestamp
- frame timestampwidth
- frame widthheight
- frame heightrgb
- frame rgb data (array size is width * height)public VideoFrame(long timestamp, VideoFrame frame)
timestamp
- frame timestampframe
- framepublic VideoFrame(com.smaxe.video.VideoFrame frame)
frame
- frameMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |