Lines Matching defs:avctx
51 AVCodecContext* avctx;
117 static av_cold int decode_init(AVCodecContext * avctx) {
118 NellyMoserDecodeContext *s = avctx->priv_data;
120 s->avctx = avctx;
126 s->fdsp = avpriv_float_dsp_alloc(avctx->flags & AV_CODEC_FLAG_BITEXACT);
131 avctx->sample_fmt = AV_SAMPLE_FMT_FLT;
133 av_channel_layout_uninit(&avctx->ch_layout);
134 avctx->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO;
142 static int decode_tag(AVCodecContext *avctx, AVFrame *frame,
147 NellyMoserDecodeContext *s = avctx->priv_data;
154 av_log(avctx, AV_LOG_ERROR, "Packet is too small\n");
159 av_log(avctx, AV_LOG_WARNING, "Leftover bytes: %d.\n",
165 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)
180 static av_cold int decode_end(AVCodecContext * avctx) {
181 NellyMoserDecodeContext *s = avctx->priv_data;