Mercurial > mplayer.hg
view libmpcodecs/ae_toolame.h @ 13675:d4cba4c4c54c
Bitrate setting option in ve_xvid4.c doesn't follow the rules described
in manpage (i.e. if bitrate > 16000, then it's in bits/s, not kbits),
unlike lavc and the old ve_xvid.c do. Fixed.
author | rathann |
---|---|
date | Mon, 18 Oct 2004 20:00:07 +0000 |
parents | a87f1a948a24 |
children | e84a6ae9d51e |
line wrap: on
line source
#ifndef MPAE_TOOLAME_H #define MPAE_TOOLAME_H #include <toolame.h> typedef struct { toolame_options *toolame_ctx; int channels, srate, bitrate; int16_t left_pcm[1152], right_pcm[1152]; } mpae_toolame_ctx; mpae_toolame_ctx *mpae_init_toolame(int channels, int srate); int mpae_encode_toolame(mpae_toolame_ctx *ctx, uint8_t *dest, int nsamples, void *src, int max_size); #endif