|
|||||||||
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.theora_comment
public static class TheoraLibrary.theora_comment
Comment header metadata. This structure holds the in-stream metadata corresponding to the 'comment' header packet. Meta data is stored as a series of (tag, value) pairs, in length-encoded string vectors. The first occurence of the '=' character delimits the tag and value. A particular tag may occur more than once. The character set encoding for the strings is always utf-8, but the tag names are limited to case-insensitive ascii. See the spec for details. In filling in this structure, theora_decode_header() will null-terminate the user_comment strings for safety. However, the bitstream format itself treats them as 8-bit clean, and so the length array should be treated as authoritative for their length.
Field Summary | |
---|---|
com.sun.jna.Pointer |
comment_lengths
< An array of comment string vectors |
int |
comments
< An array of corresponding string vector lengths in bytes |
com.sun.jna.Pointer |
user_comments
|
com.sun.jna.Pointer |
vendor
< The total number of comment string vectors |
Fields inherited from class com.sun.jna.Structure |
---|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE |
Constructor Summary | |
---|---|
TheoraLibrary.theora_comment()
|
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 com.sun.jna.Pointer user_comments
public com.sun.jna.Pointer comment_lengths
public int comments
public com.sun.jna.Pointer vendor
Constructor Detail |
---|
public TheoraLibrary.theora_comment()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |