Searched refs:ch_ctx (Results 1 – 2 of 2) sorted by relevance
34 TTAChannel *ch_ctx; member60 s->ch_ctx = av_malloc_array(avctx->ch_layout.nb_channels, sizeof(*s->ch_ctx)); in tta_encode_init()61 if (!s->ch_ctx) in tta_encode_init()103 s->ch_ctx[i].predictor = 0; in tta_encode_frame()104 ff_tta_filter_init(&s->ch_ctx[i].filter, ff_tta_filter_configs[s->bps - 1]); in tta_encode_frame()105 ff_tta_rice_init(&s->ch_ctx[i].rice, 10, 10); in tta_encode_frame()109 TTAChannel *c = &s->ch_ctx[cur_chan]; in tta_encode_frame()201 av_freep(&s->ch_ctx); in tta_encode_close()
62 TTAChannel *ch_ctx; member116 s->ch_ctx = av_malloc_array(avctx->ch_layout.nb_channels, sizeof(*s->ch_ctx)); in allocate_buffers()117 if (!s->ch_ctx) in allocate_buffers()258 TTAFilter *filter = &s->ch_ctx[i].filter; in tta_decode_frame()259 s->ch_ctx[i].predictor = 0; in tta_decode_frame()266 ff_tta_rice_init(&s->ch_ctx[i].rice, 10, 10); in tta_decode_frame()271 int32_t *predictor = &s->ch_ctx[cur_chan].predictor; in tta_decode_frame()272 TTAFilter *filter = &s->ch_ctx[cur_chan].filter; in tta_decode_frame()273 TTARice *rice = &s->ch_ctx[cur_chan].rice; in tta_decode_frame()411 av_freep(&s->ch_ctx); in tta_decode_close()