[FFmpeg-devel] [PATCH] jpeg2000dec; optimize output sample convert a bit

Michael Niedermayer michaelni at gmx.at
Mon Jun 3 13:06:26 CEST 2013


On Mon, Jun 03, 2013 at 10:40:03AM +0200, Nicolas BERTRAND wrote:
> LGTM,

applied, thanks


> In your opinion, what is the reason of this code optimization/
> 
> Avoiding If statements in a for loop ?

yes, reducing the amount of computations in the inner loop.

Alot more speed can probably be gained by writing this in SIMD asm

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130603/8588503d/attachment.asc>


More information about the ffmpeg-devel mailing list