#include <ogg/ogg.h>
Go to the source code of this file.
Data Structures | |
struct | yuv_buffer |
struct | theora_info |
struct | theora_state |
struct | theora_comment |
Defines | |
#define | OC_FAULT -1 |
#define | OC_EINVAL -10 |
#define | OC_DISABLED -11 |
#define | OC_BADHEADER -20 |
#define | OC_NOTFORMAT -21 |
#define | OC_VERSION -22 |
#define | OC_IMPL -23 |
#define | OC_BADPACKET -24 |
#define | OC_NEWPACKET -25 |
Typedefs | |
typedef theora_comment | theora_comment |
Enumerations | |
enum | theora_colorspace { OC_CS_UNSPECIFIED, OC_CS_ITU_REC_470M, OC_CS_ITU_REC_470BG } |
Functions | |
const char * | theora_version_string (void) |
ogg_uint32_t | theora_version_number (void) |
int | theora_encode_init (theora_state *th, theora_info *c) |
int | theora_encode_YUVin (theora_state *t, yuv_buffer *yuv) |
int | theora_encode_packetout (theora_state *t, int last_p, ogg_packet *op) |
int | theora_encode_header (theora_state *t, ogg_packet *op) |
int | theora_encode_comment (theora_comment *tc, ogg_packet *op) |
int | theora_encode_tables (theora_state *t, ogg_packet *op) |
int | theora_decode_header (theora_info *ci, theora_comment *cc, ogg_packet *op) |
int | theora_decode_init (theora_state *th, theora_info *c) |
int | theora_decode_packetin (theora_state *th, ogg_packet *op) |
int | theora_decode_YUVout (theora_state *th, yuv_buffer *yuv) |
double | theora_granule_time (theora_state *th, ogg_int64_t granulepos) |
ogg_int64_t | theora_granule_frame (theora_state *th, ogg_int64_t granulepos) |
void | theora_info_init (theora_info *c) |
void | theora_info_clear (theora_info *c) |
void | theora_clear (theora_state *t) |
void | theora_comment_init (theora_comment *tc) |
void | theora_comment_add (theora_comment *tc, char *comment) |
void | theora_comment_add_tag (theora_comment *tc, char *tag, char *value) |
char * | theora_comment_query (theora_comment *tc, char *tag, int count) |
int | theora_comment_query_count (theora_comment *tc, char *tag) |
void | theora_comment_clear (theora_comment *tc) |
|
A Colorspace. |
|
Free all internal data associated with a theora_state handle.
|
|
Decode an Ogg packet, with the expectation that the packet contains an initial header, comment data or codebook tables.
|
|
Initialize a theora_state handle for decoding.
|
|
Input a packet containing encoded data into the theora decoder.
|
|
Output the next available frame of decoded YUV data.
|
|
Request a comment header packet from provided metadata. A pointer to the comment data is placed in a user-provided ogg_packet structure.
|
|
Request a packet containing the initial header. A pointer to the header data is placed in a user-provided ogg_packet structure.
|
|
Initialize the theora encoder.
|
|
Request the next packet of encoded video. The encoded data is placed in a user-provided ogg_packet structure.
|
|
Request a packet containing the codebook tables for the stream. A pointer to the codebook data is placed in a user-provided ogg_packet structure.
|
|
Input a YUV buffer into the theora encoder.
|
|
Convert a granulepos to an absolute frame number. The granulepos is interpreted in the context of a given theora_state handle.
|
|
Convert a granulepos to absolute time in seconds. The granulepos is interpreted in the context of a given theora_state handle.
|
|
Clear a theora_info structure. All values within the given theora_info structure are cleared, and associated internal codec setup data is freed.
|
|
Initialize a theora_info structure. All values within the given theora_info structure are initialized, and space is allocated within libtheora for internal codec setup data.
|
|
Retrieve a 32-bit version number. This number is composed of a 16-bit major version, 8-bit minor version and 8 bit sub-version, composed as follows: (VERSION_MAJOR<<16) + (VERSION_MINOR<<8) + (VERSION_SUB)
|
|
Retrieve a human-readable string to identify the vendor and version.
|