diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-08-05 16:13:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-10-28 02:22:42 +0200 |
commit | 848726afc642fbe8aea7773594506bfb495bd8ab (patch) | |
tree | 4c3f8d9af8c8e5b965f67202d9e21d5b850c16b5 /libavcodec/cngenc.c | |
parent | 50aa132f4d34465e291eb7acb5c884e4d8aa7232 (diff) | |
download | ffmpeg-848726afc642fbe8aea7773594506bfb495bd8ab.tar.gz |
avcodec/gdv: Replace divisions by shifts in rescale()
Divisions tend to be slower than shifts unless the compiler optimizes them out.
And some of these are in inner loops.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b90d8cc7466386a166dd72107457498aa5a7c43d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cngenc.c')
0 files changed, 0 insertions, 0 deletions