comparison ra288.c @ 7849:2bfde5b45e01 libavcodec

Cosmetics: align spec references
author vitor
date Thu, 11 Sep 2008 19:10:26 +0000
parents f29ec8e5d186
children 21ab545aed8b
comparison
equal deleted inserted replaced
7848:f29ec8e5d186 7849:2bfde5b45e01
25 #include "ra288.h" 25 #include "ra288.h"
26 #include "lpc.h" 26 #include "lpc.h"
27 27
28 typedef struct { 28 typedef struct {
29 float sp_lpc[36]; ///< LPC coefficients for speech data (spec: A) 29 float sp_lpc[36]; ///< LPC coefficients for speech data (spec: A)
30 float gain_lpc[10]; ///< LPC coefficients for gain (spec: GB) 30 float gain_lpc[10]; ///< LPC coefficients for gain (spec: GB)
31 31
32 float sp_hist[111]; ///< speech data history (spec: SB) 32 float sp_hist[111]; ///< speech data history (spec: SB)
33 33
34 /** speech part of the gain autocorrelation (spec: REXP) */ 34 /// speech part of the gain autocorrelation (spec: REXP)
35 float sp_rec[37]; 35 float sp_rec[37];
36 36
37 float gain_hist[38]; ///< log-gain history (spec: SBLG) 37 float gain_hist[38]; ///< log-gain history (spec: SBLG)
38 38
39 /** recursive part of the gain autocorrelation (spec: REXPLG) */ 39 /// recursive part of the gain autocorrelation (spec: REXPLG)
40 float gain_rec[11]; 40 float gain_rec[11];
41 41
42 float sp_block[41]; ///< four blocks of speech data (spec: STTMP) 42 float sp_block[41]; ///< four blocks of speech data (spec: STTMP)
43 float gain_block[10]; ///< four blocks of gain data (spec: GSTATE) 43 float gain_block[10]; ///< four blocks of gain data (spec: GSTATE)
44 } RA288Context; 44 } RA288Context;
45 45
46 static av_cold int ra288_decode_init(AVCodecContext *avctx) 46 static av_cold int ra288_decode_init(AVCodecContext *avctx)
47 { 47 {
48 avctx->sample_fmt = SAMPLE_FMT_S16; 48 avctx->sample_fmt = SAMPLE_FMT_S16;