libavcodec/libspeexenc.c File Reference

#include <libavcodec/avcodec.h>
#include <speex/speex.h>
#include <speex/speex_header.h>
#include <speex/speex_stereo.h>

Go to the source code of this file.

Data Structures

struct  LibSpeexEncContext

Functions

static av_cold int libspeex_encode_init (AVCodecContext *avctx)
static av_cold int libspeex_encode_frame (AVCodecContext *avctx, uint8_t *frame, int buf_size, void *data)
static av_cold int libspeex_encode_close (AVCodecContext *avctx)

Variables

AVCodec ff_libspeex_encoder


Function Documentation

static av_cold int libspeex_encode_close ( AVCodecContext avctx  )  [static]

Definition at line 150 of file libspeexenc.c.

static av_cold int libspeex_encode_frame ( AVCodecContext avctx,
uint8_t *  frame,
int  buf_size,
void *  data 
) [static]

Definition at line 104 of file libspeexenc.c.

static av_cold int libspeex_encode_init ( AVCodecContext avctx  )  [static]

Definition at line 31 of file libspeexenc.c.


Variable Documentation

Initial value:

 {
    "libspeex",
    AVMEDIA_TYPE_AUDIO,
    CODEC_ID_SPEEX,
    sizeof(LibSpeexEncContext),
    libspeex_encode_init,
    libspeex_encode_frame,
    libspeex_encode_close,
    0,
    .capabilities = CODEC_CAP_DELAY,
    .supported_samplerates = (const int[]){8000, 16000, 32000, 0},
    .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_FLT,SAMPLE_FMT_NONE},
    .long_name = NULL_IF_CONFIG_SMALL("libspeex Speex Encoder"),
}

Definition at line 165 of file libspeexenc.c.


Generated on Fri Oct 26 02:39:45 2012 for FFmpeg by  doxygen 1.5.8