summaryrefslogtreecommitdiffstats
path: root/libavformat/asfcrypt.c
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <[email protected]>2015-12-09 18:50:28 -0500
committerGanesh Ajjanagadde <[email protected]>2015-12-17 08:12:41 -0800
commit07a8fbaa553205b496b68a62cb7bf7a968d0281b (patch)
treeb7fe0c3c8623dcb358c242c2066aded57ee352d0 /libavformat/asfcrypt.c
parent39f8c7961dcd530e88d13c600145097106647d2e (diff)
lavc/nellymoserenc: avoid wasteful pow
exp2 suffices here. Some trivial speedup is done in addition here by reusing results. This retains accuracy, and in particular results in identical values with GNU libm + gcc/clang. sample benchmark (Haswell, GNU/Linux): proposed : 424160 decicycles in pow_table, 512 runs, 0 skips exp2 only: 1262093 decicycles in pow_table, 512 runs, 0 skips old : 2849085 decicycles in pow_table, 512 runs, 0 skips Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
Diffstat (limited to 'libavformat/asfcrypt.c')
0 files changed, 0 insertions, 0 deletions