Lines Matching defs:avctx
28 static av_cold int v408_decode_init(AVCodecContext *avctx)
30 avctx->pix_fmt = AV_PIX_FMT_YUVA444P;
35 static int v408_decode_frame(AVCodecContext *avctx, AVFrame *pic,
42 if (avpkt->size < 4 * avctx->height * avctx->width) {
43 av_log(avctx, AV_LOG_ERROR, "Insufficient input data.\n");
47 if ((ret = ff_get_buffer(avctx, pic, 0)) < 0)
58 for (i = 0; i < avctx->height; i++) {
59 for (j = 0; j < avctx->width; j++) {
60 if (avctx->codec_id==AV_CODEC_ID_AYUV) {