MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / tak_decode_init

Function tak_decode_init

libavcodec/takdec.c:186–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186static av_cold int tak_decode_init(AVCodecContext *avctx)
187{
188 TAKDecContext *s = avctx->priv_data;
189
190 ff_audiodsp_init(&s->adsp);
191 ff_takdsp_init(&s->tdsp);
192
193 s->avctx = avctx;
194 avctx->bits_per_raw_sample = avctx->bits_per_coded_sample;
195
196 set_sample_rate_params(avctx);
197
198 return set_bps_params(avctx);
199}
200
201static void decode_lpc(int32_t *coeffs, int mode, int length)
202{

Callers

nothing calls this directly

Calls 4

ff_audiodsp_initFunction · 0.85
ff_takdsp_initFunction · 0.85
set_sample_rate_paramsFunction · 0.85
set_bps_paramsFunction · 0.85

Tested by

no test coverage detected