|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jna.Structure net.sf.theora_java.jna.TheoraLibrary.yuv_buffer
public static class TheoraLibrary.yuv_buffer
A YUV buffer for passing uncompressed frames to and from the codec. This holds a Y'CbCr frame in planar format. The CbCr planes can be subsampled and have their own separate dimensions and row stride offsets. Note that the strides may be negative in some configurations. For theora the width and height of the largest plane must be a multiple of 16. The actual meaningful picture size and offset are stored in the theora_info structure; frames returned by the decoder may need to be cropped for display. All samples are 8 bits. Within each plane samples are ordered by row from the top of the frame to the bottom. Within each row samples are ordered from left to right.
Field Summary | |
---|---|
com.sun.jna.Pointer |
u
< Pointer to start of luminance data |
int |
uv_height
< Height of the Cb and Cr chroma planes |
int |
uv_stride
< Width of the chroma planes |
int |
uv_width
< Offset in bytes between successive rows |
com.sun.jna.Pointer |
v
< Pointer to start of Cb data |
com.sun.jna.Pointer |
y
< Offset between successive chroma rows |
int |
y_height
< Width of the Y' luminance plane |
int |
y_stride
< Height of the luminance plane |
int |
y_width
|
Fields inherited from class com.sun.jna.Structure |
---|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE |
Constructor Summary | |
---|---|
TheoraLibrary.yuv_buffer()
|
Method Summary |
---|
Methods inherited from class com.sun.jna.Structure |
---|
allocateMemory, allocateMemory, clear, equals, getMemory, getNativeAlignment, getNativeSize, getNativeSize, getPointer, hashCode, read, setAlignType, setTypeMapper, size, toArray, toArray, toString, useMemory, useMemory, write |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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 com.sun.jna.Pointer y
public com.sun.jna.Pointer u
public com.sun.jna.Pointer v
Constructor Detail |
---|
public TheoraLibrary.yuv_buffer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |