Lines Matching defs:avctx
55 static int decode_frame(AVCodecContext *avctx, AVFrame *p,
65 if (buf_size < 8 + avctx->height * (avctx->width/2)/8) {
66 av_log(avctx, AV_LOG_ERROR, "Packet size %d is too small\n", buf_size);
70 if ((ret = ff_get_buffer(avctx, p, 0)) < 0)
82 avpriv_request_sample(avctx,
88 avpriv_request_sample(avctx,
98 for (j = 0; j < avctx->height; j++) {
99 for (i = 0; i < avctx->width / 2; i++) {
124 static av_cold int decode_init(AVCodecContext *avctx)
128 if (avctx->width <= 1)
131 avctx->pix_fmt = AV_PIX_FMT_YUV422P;