Change #264584
| Category | ffmpeg |
| Changed by | Niklas Haas <git@haasn.dev> |
| Changed at | Wed 15 Apr 2026 16:51:16 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | b6755b0158e7e75102b5edc89d943686b69ebff7 |
Comments
swscale/ops_memcpy: always use loop on buffers with large padding The overhead of the loop and memcpy call is less than the overhead of possibly spilling into one extra unnecessary cache line. 64 is still a good rule of thumb for L1 cache line size in 2026. I leave it to future code archeologists to find and tweak this constant if it ever becomes unnecessary. Signed-off-by: Niklas Haas <git@haasn.dev>
Changed files
- libswscale/ops_memcpy.c