Skip to content
  • Erik de Castro Lopo's avatar
    Adds use of restrict keyword to improve encoding speed. · cf28c014
    Erik de Castro Lopo authored
    Restrict works very poorly in Visual Studio (much slower than without)
    so defined flac_restrict in share/compat.h and use that in:
    
        lpc_compute_residual...()
        lpc_restore_signal...()
    
    As a result, FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41()
    offers no advantage for 64-bit compiles and was removed from x86-64 part
    of stream_encoder.c
    
    Patch-from: lvqcl <lvqcl.mail@gmail.com>
    cf28c014