Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mark Harris
Opus
Commits
7009c722
Commit
7009c722
authored
Apr 29, 2011
by
Jean-Marc Valin
Browse files
Getting fixed-point to work (I think)
parent
6fe45a5e
Changes
4
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
7009c722
...
...
@@ -104,7 +104,7 @@ ac_enable_fixed="no";
AC_ARG_ENABLE(fixed-point, [ --enable-fixed-point compile as fixed-point],
[if test "$enableval" = yes; then
ac_enable_fixed="yes";
AC_DEFINE([FIXED_POINT], , [Compile as fixed-point])
AC_DEFINE([FIXED_POINT],
[1]
, [Compile as fixed-point])
else
AC_DEFINE([FLOATING_POINT], , [Compile as floating-point])
fi],
...
...
silk/SKP_Silk_control_codec.c
View file @
7009c722
...
...
@@ -25,6 +25,10 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
***********************************************************************/
#ifdef HAVE_CONFIG_H
#include
"config.h"
#endif
#include
"SKP_Silk_tuning_parameters.h"
#if FIXED_POINT
#include
"SKP_Silk_main_FIX.h"
...
...
silk/SKP_Silk_enc_API.c
View file @
7009c722
...
...
@@ -25,6 +25,9 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
***********************************************************************/
#ifdef HAVE_CONFIG_H
#include
"config.h"
#endif
#include
"SKP_Silk_define.h"
#include
"SKP_Silk_SDK_API.h"
...
...
silk/SKP_Silk_init_encoder.c
View file @
7009c722
...
...
@@ -25,6 +25,10 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
***********************************************************************/
#ifdef HAVE_CONFIG_H
#include
"config.h"
#endif
#if FIXED_POINT
#include
"SKP_Silk_main_FIX.h"
#define SKP_Silk_encoder_state_Fxx SKP_Silk_encoder_state_FIX
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment