Revision b58e2985 libavcodec/psymodel.c

View differences:

libavcodec/psymodel.c
45 45
    return 0;
46 46
}
47 47

  
48
FFPsyWindowInfo ff_psy_suggest_window(FFPsyContext *ctx,
49
                                      const int16_t *audio, const int16_t *la,
50
                                      int channel, int prev_type)
51
{
52
    return ctx->model->window(ctx, audio, la, channel, prev_type);
53
}
54

  
55
void ff_psy_set_band_info(FFPsyContext *ctx, int channel,
56
                          const float *coeffs, const FFPsyWindowInfo *wi)
57
{
58
    ctx->model->analyze(ctx, channel, coeffs, wi);
59
}
60

  
61 48
av_cold void ff_psy_end(FFPsyContext *ctx)
62 49
{
63 50
    if (ctx->model->end)

Also available in: Unified diff