Lines Matching refs:avctx
27 static int pam_encode_frame(AVCodecContext *avctx, unsigned char *outbuf,
30 PNMContext *s = avctx->priv_data;
37 if (buf_size < avpicture_get_size(avctx->pix_fmt, avctx->width, avctx->height) + 200) {
38 av_log(avctx, AV_LOG_ERROR, "encoded frame too large\n");
50 h = avctx->height;
51 w = avctx->width;
52 switch (avctx->pix_fmt) {
88 if (avctx->pix_fmt == PIX_FMT_RGB32) {