public class YUVBuffer
extends java.lang.Object
implements java.awt.image.ImageProducer
Modifier and Type | Field and Description |
---|---|
short[] |
data |
int |
u_offset |
int |
uv_height |
int |
uv_stride |
int |
uv_width |
int |
v_offset |
int |
y_height |
int |
y_offset |
int |
y_stride |
int |
y_width |
Constructor and Description |
---|
YUVBuffer() |
Modifier and Type | Method and Description |
---|---|
void |
addConsumer(java.awt.image.ImageConsumer ic) |
java.lang.Object |
getObject(int x,
int y,
int width,
int height) |
boolean |
isConsumer(java.awt.image.ImageConsumer ic) |
void |
newPixels() |
void |
removeConsumer(java.awt.image.ImageConsumer ic) |
void |
requestTopDownLeftRightResend(java.awt.image.ImageConsumer ic) |
void |
startProduction(java.awt.image.ImageConsumer ic) |
public int y_width
public int y_height
public int y_stride
public int uv_width
public int uv_height
public int uv_stride
public short[] data
public int y_offset
public int u_offset
public int v_offset
public void addConsumer(java.awt.image.ImageConsumer ic)
addConsumer
in interface java.awt.image.ImageProducer
public boolean isConsumer(java.awt.image.ImageConsumer ic)
isConsumer
in interface java.awt.image.ImageProducer
public void removeConsumer(java.awt.image.ImageConsumer ic)
removeConsumer
in interface java.awt.image.ImageProducer
public void requestTopDownLeftRightResend(java.awt.image.ImageConsumer ic)
requestTopDownLeftRightResend
in interface java.awt.image.ImageProducer
public void startProduction(java.awt.image.ImageConsumer ic)
startProduction
in interface java.awt.image.ImageProducer
public void newPixels()
public java.lang.Object getObject(int x, int y, int width, int height)