com.fluendo.jheora
Class YUVBuffer

java.lang.Object
  extended by com.fluendo.jheora.YUVBuffer
All Implemented Interfaces:
java.awt.image.ImageProducer

public class YUVBuffer
extends java.lang.Object
implements java.awt.image.ImageProducer


Field Summary
 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 Summary
YUVBuffer()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

y_width

public int y_width

y_height

public int y_height

y_stride

public int y_stride

uv_width

public int uv_width

uv_height

public int uv_height

uv_stride

public int uv_stride

data

public short[] data

y_offset

public int y_offset

u_offset

public int u_offset

v_offset

public int v_offset
Constructor Detail

YUVBuffer

public YUVBuffer()
Method Detail

addConsumer

public void addConsumer(java.awt.image.ImageConsumer ic)
Specified by:
addConsumer in interface java.awt.image.ImageProducer

isConsumer

public boolean isConsumer(java.awt.image.ImageConsumer ic)
Specified by:
isConsumer in interface java.awt.image.ImageProducer

removeConsumer

public void removeConsumer(java.awt.image.ImageConsumer ic)
Specified by:
removeConsumer in interface java.awt.image.ImageProducer

requestTopDownLeftRightResend

public void requestTopDownLeftRightResend(java.awt.image.ImageConsumer ic)
Specified by:
requestTopDownLeftRightResend in interface java.awt.image.ImageProducer

startProduction

public void startProduction(java.awt.image.ImageConsumer ic)
Specified by:
startProduction in interface java.awt.image.ImageProducer

newPixels

public void newPixels()

getObject

public java.lang.Object getObject(int x,
                                  int y,
                                  int width,
                                  int height)