Lines Matching refs:avctx
32 static av_cold int ra144_decode_init(AVCodecContext * avctx)
34 RA144Context *ractx = avctx->priv_data;
36 ractx->avctx = avctx;
42 avctx->channels = 1;
43 avctx->channel_layout = AV_CH_LAYOUT_MONO;
44 avctx->sample_fmt = AV_SAMPLE_FMT_S16;
62 static int ra144_decode_frame(AVCodecContext * avctx, void *data,
77 RA144Context *ractx = avctx->priv_data;
81 av_log(avctx, AV_LOG_ERROR,
89 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)