[FFmpeg-devel] [PATCH] optimize init_vlc
Loren Merritt
lorenm
Sun Mar 28 08:34:52 CEST 2010
On Sun, 28 Mar 2010, M?ns Rullg?rd wrote:
> Loren Merritt <lorenm at u.washington.edu> writes:
>
>> optimize init_vlc().
>
> Is the speed of init_vlc() ever important?
As I said, ffvhuff uses a different set of vlc tables on each frame, and
spends a couple percent of its time in init_vlc().
And ffv2 (my experimental codec that I have mentioned before but not
yet proposed as a patch) changes vlc tables less frequently but has many
more of them, spending a total of up to 30% of its time in init_vlc (prior
to this optimization).
--Loren Merritt
More information about the ffmpeg-devel
mailing list