Mercurial > libavcodec.hg
diff dv.c @ 1092:f59c3f66363b libavcodec
MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
bitexact cleanup
| author | michaelni |
|---|---|
| date | Mon, 03 Mar 2003 14:54:00 +0000 |
| parents | 7f10d38721ed |
| children | 1e39f273ecd6 |
line wrap: on
line diff
--- a/dv.c Sat Mar 01 00:16:00 2003 +0000 +++ b/dv.c Mon Mar 03 14:54:00 2003 +0000 @@ -115,12 +115,12 @@ /* XXX: fix it */ memset(&s2, 0, sizeof(MpegEncContext)); s2.avctx = avctx; - dsputil_init(&s2.dsp, avctx->dsp_mask); + dsputil_init(&s2.dsp, avctx); if (DCT_common_init(&s2) < 0) return -1; - s->idct_put[0] = s2.idct_put; - memcpy(s->idct_permutation, s2.idct_permutation, 64); + s->idct_put[0] = s2.dsp.idct_put; + memcpy(s->idct_permutation, s2.dsp.idct_permutation, 64); memcpy(s->dv_zigzag[0], s2.intra_scantable.permutated, 64); /* XXX: use MMX also for idct248 */
