Properly compute redundancy_bytes
[opus.git] / celt / dump_modes / dump_modes_arm_ne10.c
index 23f9a00..828e7b9 100644 (file)
@@ -60,7 +60,7 @@ void dump_modes_arch_init(CELTMode **modes, int nb_modes)
       fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts);
    }
    fprintf(file, "\n * It contains static definitions for some pre-defined modes. */\n");
-   fprintf(file, "#include <NE10_init.h>\n\n");
+   fprintf(file, "#include <NE10_types.h>\n\n");
 }
 
 void dump_modes_arch_finalize()
@@ -133,10 +133,12 @@ void dump_mode_arch(CELTMode *mode)
       fprintf(file, "NULL,\n");  /* buffer */
       fprintf(file, "(%s *)&ne10_twiddles_%d[%d],\n",
               NE10_FFT_CPX_TYPE_T_STR, mode->mdct.kfft[k]->nfft, cfg->nfft);
+#if !defined(FIXED_POINT)
       fprintf(file, "/* is_forward_scaled = true */\n");
       fprintf(file, "(ne10_int32_t) 1,\n");
       fprintf(file, "/* is_backward_scaled = false */\n");
       fprintf(file, "(ne10_int32_t) 0,\n");
+#endif
       fprintf(file, "};\n");
 
       fprintf(file, "static const arch_fft_state cfg_arch_%d = {\n",