On Sat, May 30, 2015 at 3:57 PM, Tom Butterworth <bangno...@gmail.com> wrote: > I haven't added any further looping and dxt_decode_colors could be > inlined, but maybe I misunderstand you. Even if you don't want to do > that, still better to calculate the four colours once and then apply > them using the indices rather than calculating them sixteen times - > no?
It's me who misunderstood you, I was talking on a different part of the code entirely. I went for your approach and squeezed some more performance out it before 10.484727391 seconds time elapsed ( +- 0.10% ) now 9.324538527 seconds time elapsed ( +- 0.11% ) I'll send an updated patch soon, thanks a lot. -- Vittorio _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel