Commit 80f4f3ab authored by jbr's avatar jbr

cosmetics: add some documentation to FLACContext

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16881 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b2090185
...@@ -58,16 +58,16 @@ enum decorrelation_type { ...@@ -58,16 +58,16 @@ enum decorrelation_type {
typedef struct FLACContext { typedef struct FLACContext {
FLACSTREAMINFO FLACSTREAMINFO
AVCodecContext *avctx; AVCodecContext *avctx; ///< parent AVCodecContext
GetBitContext gb; GetBitContext gb; ///< GetBitContext initialized to start at the current frame
int blocksize/*, last_blocksize*/; int blocksize; ///< number of samples in the current frame
int curr_bps; int curr_bps; ///< bps for current subframe, adjusted for channel correlation and wasted bits
int sample_shift; /* shift required to make output samples 16-bit or 32-bit */ int sample_shift; /* shift required to make output samples 16-bit or 32-bit */
int is32; /* flag to indicate if output should be 32-bit instead of 16-bit */ int is32; /* flag to indicate if output should be 32-bit instead of 16-bit */
enum decorrelation_type decorrelation; enum decorrelation_type decorrelation; ///< channel decorrelation type in the current frame
int32_t *decoded[MAX_CHANNELS]; int32_t *decoded[MAX_CHANNELS]; ///< decoded samples
uint8_t *bitstream; uint8_t *bitstream;
unsigned int bitstream_size; unsigned int bitstream_size;
unsigned int bitstream_index; unsigned int bitstream_index;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment