commit | 02c653fa0c60e348f5a09f82f66935c5bc470583 | [log] [tgz] |
---|---|---|
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | Mon Sep 10 01:48:25 2012 -0700 |
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | Wed Sep 12 15:54:33 2012 -0400 |
tree | f86552c6c0d8be6e0f5e84260be1e45ae6b1bc78 | |
parent | 3f2efcbf3d7c58f6e328d8c4ba75554f1661bcf5 [diff] |
silk: move down- and upsamplers constants to the header file. These are only being used outside if the translation unit and only in a few codepaths; by making them static in the header, the compiler can optimize them quickly. This avoids GOT-based access to the external symbol on Unix, and can allow for constant propagation to optimize the code. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>