| 2853 | } |
| 2854 | |
| 2855 | av_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 |
| 2869 | static void vp8_replace_frame(VP8Frame *dst, const VP8Frame *src) |
no test coverage detected