diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2009-01-31 02:10:43 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2009-01-31 02:10:43 +0000 |
commit | 64cb37656210b83b629fad62516f74d22296fef4 (patch) | |
tree | 17ff03afd2f554a23167df9d774581cb29378db5 | |
parent | 1a969d6dfea4e1b35f3fd60ca6f7ed0e3cd15978 (diff) | |
download | ffmpeg-64cb37656210b83b629fad62516f74d22296fef4.tar.gz |
cosmetics: add some documentation to FLACContext
Originally committed as revision 16881 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/flacdec.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index 82456dc494..fb9f4bc32a 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -58,16 +58,16 @@ enum decorrelation_type { typedef struct FLACContext { FLACSTREAMINFO - AVCodecContext *avctx; - GetBitContext gb; + AVCodecContext *avctx; ///< parent AVCodecContext + GetBitContext gb; ///< GetBitContext initialized to start at the current frame - int blocksize/*, last_blocksize*/; - int curr_bps; + int blocksize; ///< number of samples in the current frame + 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 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; unsigned int bitstream_size; unsigned int bitstream_index; |