• Viswanath Puttagunta's avatar
    armv7(float): Optimize encode usecase using NE10 library · f48abe83
    Viswanath Puttagunta authored
    Optimize opus encode (float only) usecase using ARM NE10
    library. Mainly effects opus_fft and ctl_mdct_forward
    and related functions.
    
    This optimization can be used for ARM CPUs that have NEON
    VFP unit. This patch only enables optimizations for ARMv7.
    
    Official ARM NE10 library page available at
    http://projectne10.github.io/Ne10/
    
    To enable this optimization, use
    --enable-intrinsics --with-NE10=<install_prefix>
    or
    --enable-intrinsics --with-NE10-libraries=<NE10_lib_dir> --with-NE10-includes=<NE10_includes_dir>
    
    Compile time checks made during configure process to make sure
    optimization option available only when compiler supports NEON
    instrinsics.
    
    Runtime checks made to make sure optimized functions only called
    on appropriate hardware.
    Signed-off-by: Timothy B. Terriberry's avatarTimothy B. Terriberry <tterribe@xiph.org>
    f48abe83
celt_encoder.c 74.9 KB