libavcodec/flac.c File Reference

#include "flac.h"

Go to the source code of this file.

Functions

int ff_flac_get_max_frame_size (int blocksize, int ch, int bps)
 Calculate an estimate for the maximum frame size based on verbatim mode.


Function Documentation

int ff_flac_get_max_frame_size ( int  blocksize,
int  ch,
int  bps 
)

Calculate an estimate for the maximum frame size based on verbatim mode.

Parameters:
blocksize block size, in samples
ch number of channels
bps bits-per-sample

Definition at line 24 of file flac.c.

Referenced by allocate_buffers(), and flac_encode_init().


Generated on Fri Oct 26 02:36:51 2012 for FFmpeg by  doxygen 1.5.8