[FFmpeg-devel] avcodec/qtrle : improve decoding speed of 24bpp and 32 bpp

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Feb 24 18:42:19 EET 2019

2019-02-23 16:02 GMT+01:00, Martin Vignali <martin.vignali at gmail.com>:
> Hello,
> Patch in attach, improve decoding speed of qtrle (also known as Mov
> Animation)
> Can't test on big endian. Test on big endian is welcome.

Patch 1 works on BE and lgtm.

Patch 2 does not work, correct change for case 32 on le and be is:
avctx->pix_fmt = AV_PIX_FMT_ARGB;
The patch cannot have a speed impact on BE, please
fix the commit message.

Patch 3 and 4 work fine on BE.

Do you expect the speedup for 3 on both 32 and 64bit
systems? If not please correct the commit message.

Carl Eugen

More information about the ffmpeg-devel mailing list