[FFmpeg-devel] [PATCH 2/2] lavc/dxvenc: migrate DXT1 encoder to lavu hashtable

Connor Worley connorbworley at gmail.com
Mon Feb 5 21:57:01 EET 2024


>
> How much would one gain if the hash function knew that key_size and
> val_size are four?
>

That yields a nice 10-20% speedup on my machine. Are you thinking of macros
to parametrize key/val size, or possibly optimized versions for common
sizes?
-- 
Connor Worley


More information about the ffmpeg-devel mailing list