#include <vorbis/vorbisenc.h>#include "avcodec.h"#include "bytestream.h"#include <assert.h>Go to the source code of this file.
Data Structures | |
| struct | OggVorbisContext |
Defines | |
| #define | OGGVORBIS_FRAME_SIZE 64 |
| #define | BUFFER_SIZE (1024*64) |
Functions | |
| static int | oggvorbis_init_encoder (vorbis_info *vi, AVCodecContext *avccontext) |
| static int | oggvorbis_encode_init (AVCodecContext *avccontext) |
| static int | oggvorbis_encode_frame (AVCodecContext *avccontext, unsigned char *packets, int buf_size, void *data) |
| static int | oggvorbis_encode_close (AVCodecContext *avccontext) |
Variables | |
| AVCodec | libvorbis_encoder |
| #define BUFFER_SIZE (1024*64) |
Definition at line 37 of file libvorbis.c.
| #define OGGVORBIS_FRAME_SIZE 64 |
Definition at line 35 of file libvorbis.c.
Referenced by oggvorbis_encode_frame(), and oggvorbis_encode_init().
| static int oggvorbis_encode_close | ( | AVCodecContext * | avccontext | ) | [static] |
Definition at line 194 of file libvorbis.c.
| static int oggvorbis_encode_frame | ( | AVCodecContext * | avccontext, | |
| unsigned char * | packets, | |||
| int | buf_size, | |||
| void * | data | |||
| ) | [static] |
Definition at line 134 of file libvorbis.c.
| static int oggvorbis_encode_init | ( | AVCodecContext * | avccontext | ) | [static] |
Definition at line 84 of file libvorbis.c.
| static int oggvorbis_init_encoder | ( | vorbis_info * | vi, | |
| AVCodecContext * | avccontext | |||
| ) | [static] |
Initial value:
{
"libvorbis",
CODEC_TYPE_AUDIO,
CODEC_ID_VORBIS,
sizeof(OggVorbisContext),
oggvorbis_encode_init,
oggvorbis_encode_frame,
oggvorbis_encode_close,
.capabilities= CODEC_CAP_DELAY,
}
Definition at line 211 of file libvorbis.c.
1.5.6