]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Fix documenting comments for APE decoder
authorkostya <kostya@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 28 Jan 2009 07:15:22 +0000 (07:15 +0000)
committerkostya <kostya@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 28 Jan 2009 07:15:22 +0000 (07:15 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16841 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/apedec.c

index 8746724133ab766f7acd779a557c74015ffa4e00..c3497d7cca78624955c69d7b4cf9468b0dc412f2 100644 (file)
@@ -248,6 +248,7 @@ static inline void range_dec_normalize(APEContext * ctx)
 
 /**
  * Calculate culmulative frequency for next symbol. Does NO update!
+ * @param ctx decoder context
  * @param tot_f is the total frequency or (code_value)1<<shift
  * @return the culmulative frequency
  */
@@ -260,6 +261,7 @@ static inline int range_decode_culfreq(APEContext * ctx, int tot_f)
 
 /**
  * Decode value with given size in bits
+ * @param ctx decoder context
  * @param shift number of bits to decode
  */
 static inline int range_decode_culshift(APEContext * ctx, int shift)
@@ -272,6 +274,7 @@ static inline int range_decode_culshift(APEContext * ctx, int shift)
 
 /**
  * Update decoding state
+ * @param ctx decoder context
  * @param sy_f the interval length (frequency of the symbol)
  * @param lt_f the lower end (frequency sum of < symbols)
  */
@@ -330,8 +333,9 @@ static const uint16_t counts_diff_3980[21] = {
 
 /**
  * Decode symbol
+ * @param ctx decoder context
  * @param counts probability range start position
- * @param count_diffs probability range widths
+ * @param counts_diff probability range widths
  */
 static inline int range_get_symbol(APEContext * ctx,
                                    const uint16_t counts[],