#include <stdlib.h>#include <theora/theora.h>#include "avcodec.h"

Go to the source code of this file.
Data Structures | |
| struct | TheoraContext |
Functions | |
| static int | Theora_decode_frame (AVCodecContext *ctx, void *outdata, int *outdata_size, uint8_t *buf, int buf_size) |
| static int | Theora_decode_end (AVCodecContext *ctx) |
| static int | Theora_decode_init (AVCodecContext *ctx) |
Variables | |
| AVCodec | oggtheora_decoder |
| static int Theora_decode_end | ( | AVCodecContext * | ctx | ) | [static] |
Definition at line 64 of file oggtheora.c.
References TheoraContext::comment, TheoraContext::info, and AVCodecContext::priv_data.
| static int Theora_decode_frame | ( | AVCodecContext * | ctx, | |
| void * | outdata, | |||
| int * | outdata_size, | |||
| uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
Definition at line 37 of file oggtheora.c.
References TheoraContext::op, AVCodecContext::priv_data, TheoraContext::state, and yuv.
| static int Theora_decode_init | ( | AVCodecContext * | ctx | ) | [static] |
Definition at line 73 of file oggtheora.c.
References av_log(), AV_LOG_ERROR, TheoraContext::comment, AVRational::den, AVCodecContext::extradata, AVCodecContext::extradata_size, AVCodecContext::height, TheoraContext::info, AVRational::num, AVCodecContext::pix_fmt, PIX_FMT_YUV420P, AVCodecContext::priv_data, TheoraContext::state, theora_decode_header(), theora_decode_init(), AVCodecContext::time_base, and AVCodecContext::width.

Initial value:
{
"theora",
CODEC_TYPE_VIDEO,
CODEC_ID_THEORA,
sizeof(TheoraContext),
Theora_decode_init,
NULL,
Theora_decode_end,
Theora_decode_frame,
0,
NULL
}
Definition at line 122 of file oggtheora.c.
Referenced by avcodec_register_all().
1.5.5