On Thu, 16 May 2013, Diego Biurrun wrote:
On Thu, May 16, 2013 at 10:54:29AM +0200, Evert Taube wrote:
+ avctx->pix_fmt = AV_PIX_FMT_YUV420P;
+
+ ff_dsputil_init(&ctx->dsp, avctx);
+
+ for (i = 0; i < 64; i++)
+ scan[i] = i;
+ ff_init_scantable(ctx->dsp.idct_permutation, &ctx->scantable, scan);
Is that all you need dsputil for? Maybe it's time to split that part
off off the beast...
Do you mean only the scantable init? It's also used for
ctx->dsp.put_signed_pixels_clamped and ctx->dsp.idct.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel