Revision 029e1c01 libavcodec/ra288.c

View differences:

libavcodec/ra288.c
35 35
    float st2a[38], st2b[11], st2[11];
36 36
    float sb[41];
37 37
    float lhist[10];
38
} Real288_internal;
38
} RA288Context;
39 39

  
40 40
static inline float scalar_product_float(const float * v1, const float * v2,
41 41
                                         int size)
......
49 49
}
50 50

  
51 51
/* Decode and produce output */
52
static void decode(Real288_internal *glob, float gain, int cb_coef)
52
static void decode(RA288Context *glob, float gain, int cb_coef)
53 53
{
54 54
    int x, y;
55 55
    double sumsum;
......
187 187
/**
188 188
 * Backward synthesis filter. Find the LPC coefficients from past speech data.
189 189
 */
190
static void backward_filter(Real288_internal *glob)
190
static void backward_filter(RA288Context *glob)
191 191
{
192 192
    float buffer1[40], temp1[37];
193 193
    float buffer2[8], temp2[11];
......
218 218
{
219 219
    int16_t *out = data;
220 220
    int x, y;
221
    Real288_internal *glob = avctx->priv_data;
221
    RA288Context *glob = avctx->priv_data;
222 222
    GetBitContext gb;
223 223

  
224 224
    if (buf_size < avctx->block_align) {
......
252 252
    "real_288",
253 253
    CODEC_TYPE_AUDIO,
254 254
    CODEC_ID_RA_288,
255
    sizeof(Real288_internal),
255
    sizeof(RA288Context),
256 256
    NULL,
257 257
    NULL,
258 258
    NULL,

Also available in: Unified diff