|
FFmpeg
|
Theora encoder using libtheora. More...
#include "libavutil/common.h"#include "libavutil/intreadwrite.h"#include "libavutil/mem.h"#include "libavutil/pixdesc.h"#include "libavutil/log.h"#include "libavutil/base64.h"#include "libavutil/opt.h"#include "avcodec.h"#include "codec_internal.h"#include "encode.h"#include <theora/theoraenc.h>Go to the source code of this file.
Data Structures | |
| struct | TheoraContext |
Functions | |
| static int | concatenate_packet (unsigned int *offset, AVCodecContext *avc_context, const ogg_packet *packet) |
| Concatenate an ogg_packet into the extradata. More... | |
| static int | get_stats (AVCodecContext *avctx, int eos) |
| static int | submit_stats (AVCodecContext *avctx) |
| static av_cold int | encode_init (AVCodecContext *avc_context) |
| static int | encode_frame (AVCodecContext *avc_context, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
| static av_cold int | encode_close (AVCodecContext *avc_context) |
Variables | |
| static const AVOption | options [] |
| static const AVClass | theora_class |
| const FFCodec | ff_libtheora_encoder |
| AVCodec struct exposed to libavcodec. More... | |
Theora encoder using libtheora.
A lot of this is copy / paste from other output codecs in libavcodec or pure guesswork (or both).
I have used t_ prefixes on variables which are libtheora types and o_ prefixes on variables which are libogg types.
Definition in file libtheoraenc.c.
|
static |
Concatenate an ogg_packet into the extradata.
Definition at line 73 of file libtheoraenc.c.
Referenced by encode_init().
|
static |
Definition at line 106 of file libtheoraenc.c.
Referenced by encode_frame(), and encode_init().
|
static |
Definition at line 144 of file libtheoraenc.c.
Referenced by encode_frame(), and encode_init().
|
static |
Definition at line 181 of file libtheoraenc.c.
|
static |
Definition at line 301 of file libtheoraenc.c.
|
static |
Definition at line 388 of file libtheoraenc.c.
Definition at line 60 of file libtheoraenc.c.
|
static |
Definition at line 65 of file libtheoraenc.c.
| const FFCodec ff_libtheora_encoder |
AVCodec struct exposed to libavcodec.
Definition at line 401 of file libtheoraenc.c.
1.8.17