[FFmpeg-devel] [PATCH 4/4] avcodec/pngdec: use memcpy instead of byte loops for P frames.
christophe.gisquet at gmail.com
Wed Dec 3 14:51:25 CET 2014
2014-12-03 14:16 GMT+01:00 Benoit Fouet <benoit.fouet at free.fr>:
> Rely on the way memcpy is optimized for one's system instead of looping
> on a byte buffer for buffer copies to handle P frames.
Are there many compilers left that actually perform a call here
instead of inlining code? Some people will smugly call that ricing,
but it would be interesting to bench this for small and large images.
As you mention "P frames", that might be smaller widths here, where
the overhead of checking the various aligments etc in a C lib memcpy
More information about the ffmpeg-devel