MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / indeo3_decode_init

Function indeo3_decode_init

libavcodec/indeo3.c:960–976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

958}
959
960static av_cold int indeo3_decode_init(AVCodecContext *avctx)
961{
962 Indeo3DecodeContext *s = avctx->priv_data;
963 int ret = 0;
964
965 s->avctx = avctx;
966 s->width = avctx->width;
967 s->height = avctx->height;
968 avctx->pix_fmt = PIX_FMT_YUV410P;
969
970 if (!(ret = build_modpred(s)))
971 ret = iv_alloc_frames(s);
972 if (ret)
973 iv_free_func(s);
974
975 return ret;
976}
977
978static int iv_decode_frame(AVCodecContext *avctx,
979 const uint8_t *buf, int buf_size)

Callers

nothing calls this directly

Calls 3

build_modpredFunction · 0.85
iv_alloc_framesFunction · 0.85
iv_free_funcFunction · 0.85

Tested by

no test coverage detected