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

Function ff_vp8_decode_init

libavcodec/vp8.c:2855–2866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2853}
2854
2855av_cold int ff_vp8_decode_init(AVCodecContext *avctx)
2856{
2857 VP8Context *s = avctx->priv_data;
2858
2859 vp78_decode_init(avctx);
2860 ff_h264_pred_init(&s->hpc, AV_CODEC_ID_VP8, 8, 1);
2861 ff_vp8dsp_init(&s->vp8dsp);
2862 s->decode_mb_row_no_filter = vp8_decode_mb_row_no_filter;
2863 s->filter_mb_row = vp8_filter_mb_row;
2864
2865 return 0;
2866}
2867
2868#if HAVE_THREADS
2869static void vp8_replace_frame(VP8Frame *dst, const VP8Frame *src)

Callers 1

vp8_lossy_decode_frameFunction · 0.85

Calls 3

vp78_decode_initFunction · 0.85
ff_h264_pred_initFunction · 0.85
ff_vp8dsp_initFunction · 0.85

Tested by

no test coverage detected