Lines Matching refs:avctx
38 static av_cold int sgirle_decode_init(AVCodecContext *avctx)
40 SGIRLEContext *s = avctx->priv_data;
41 avctx->pix_fmt = AV_PIX_FMT_BGR8;
73 static int decode_sgirle8(AVCodecContext *avctx, uint8_t *dst,
113 avpriv_request_sample(avctx, "opcode %d", v);
120 static int sgirle_decode_frame(AVCodecContext *avctx, void *data,
123 SGIRLEContext *s = avctx->priv_data;
126 if ((ret = ff_reget_buffer(avctx, s->frame)) < 0)
129 ret = decode_sgirle8(avctx, s->frame->data[0], avpkt->data, avpkt->size,
130 avctx->width, avctx->height, s->frame->linesize[0]);
141 static av_cold int sgirle_decode_end(AVCodecContext *avctx)
143 SGIRLEContext *s = avctx->priv_data;