Logo Search packages:      
Sourcecode: libtheora version File versions  Download package

theora_comment Struct Reference

#include <theora.h>

List of all members.


Detailed Description

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.

Definition at line 187 of file theora.h.


Public Attributes

int * comment_lengths
int comments
char ** user_comments
char * vendor

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index