Lines Matching refs:avctx
34 static av_cold int encode_init(AVCodecContext *avctx)
36 SgiContext *s = avctx->priv_data;
39 avctx->coded_frame = &s->picture;
44 static int encode_frame(AVCodecContext *avctx, unsigned char *buf,
47 SgiContext *s = avctx->priv_data;
58 width = avctx->width;
59 height = avctx->height;
61 switch (avctx->pix_fmt) {
82 av_log(avctx, AV_LOG_ERROR, "buf_size too small(need %d, got %d)\n", length, buf_size);
88 bytestream_put_byte(&buf, avctx->coder_type != FF_CODER_TYPE_RAW); /* RLE 1 - VERBATIM 0*/
111 if (avctx->coder_type != FF_CODER_TYPE_RAW) {