Lines Matching refs:avctx
31 static av_cold int ra144_decode_init(AVCodecContext * avctx)
33 RA144Context *ractx = avctx->priv_data;
35 ractx->avctx = avctx;
40 avctx->sample_fmt = AV_SAMPLE_FMT_S16;
43 avctx->coded_frame = &ractx->frame;
61 static int ra144_decode_frame(AVCodecContext * avctx, void *data,
75 RA144Context *ractx = avctx->priv_data;
80 if ((ret = avctx->get_buffer(avctx, &ractx->frame)) < 0) {
81 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
87 av_log(avctx, AV_LOG_ERROR,