libavcodec/wmaenc.c File Reference

#include "avcodec.h"
#include "wma.h"
#include <assert.h>

Go to the source code of this file.

Functions

static int encode_init (AVCodecContext *avctx)
static void apply_window_and_mdct (AVCodecContext *avctx, signed short *audio, int len)
static void init_exp (WMACodecContext *s, int ch, const int *exp_param)
static void encode_exp_vlc (WMACodecContext *s, int ch, const int *exp_param)
static int encode_block (WMACodecContext *s, float(*src_coefs)[BLOCK_MAX_SIZE], int total_gain)
static int encode_frame (WMACodecContext *s, float(*src_coefs)[BLOCK_MAX_SIZE], uint8_t *buf, int buf_size, int total_gain)
static int encode_superframe (AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)

Variables

AVCodec wmav1_encoder
AVCodec wmav2_encoder


Function Documentation

static void apply_window_and_mdct ( AVCodecContext avctx,
signed short *  audio,
int  len 
) [static]

Definition at line 77 of file wmaenc.c.

static int encode_block ( WMACodecContext s,
float(*)  src_coefs[BLOCK_MAX_SIZE],
int  total_gain 
) [static]

Definition at line 144 of file wmaenc.c.

static void encode_exp_vlc ( WMACodecContext s,
int  ch,
const int *  exp_param 
) [static]

Definition at line 118 of file wmaenc.c.

Referenced by encode_block().

static int encode_frame ( WMACodecContext s,
float(*)  src_coefs[BLOCK_MAX_SIZE],
uint8_t buf,
int  buf_size,
int  total_gain 
) [static]

Definition at line 308 of file wmaenc.c.

static int encode_init ( AVCodecContext avctx  )  [static]

Definition at line 29 of file wmaenc.c.

static int encode_superframe ( AVCodecContext avctx,
unsigned char *  buf,
int  buf_size,
void *  data 
) [static]

Definition at line 323 of file wmaenc.c.

static void init_exp ( WMACodecContext s,
int  ch,
const int *  exp_param 
) [static]

Definition at line 97 of file wmaenc.c.

Referenced by encode_block().


Variable Documentation

Initial value:

Definition at line 381 of file wmaenc.c.

Initial value:

Definition at line 392 of file wmaenc.c.


Generated on Thu Apr 2 07:16:13 2009 for ffmpeg by  doxygen 1.5.6