aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mf_utils.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-25 00:56:42 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-08 17:51:44 +0100
commit09062eece2e8f188330adab9ddd873341dcf9862 (patch)
tree91edf4d57fd48050e8cf397d2aec723b319d7d63 /libavcodec/mf_utils.c
parent4df5144102fb45f74ea46cc9c2a5750a7882dfdd (diff)
downloadffmpeg-09062eece2e8f188330adab9ddd873341dcf9862.tar.gz
avcodec/cllc: Improve creating VLCs
One can offload the computation of the codes to ff_init_vlc_from_lengths(); this also improves performance: The number of decicycles for one call to read_code_table() decreased from 198343 to 148338 with the sample sample-cllc-rgb.avi from the FATE suite; it has been looped 100 times and the test repeated ten times to test it sufficiently often. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mf_utils.c')
0 files changed, 0 insertions, 0 deletions