Skip to content
Snippets Groups Projects
  1. Jul 13, 2012
  2. Jul 12, 2012
  3. Jul 11, 2012
  4. Jul 07, 2012
  5. Jun 11, 2012
  6. Jun 01, 2012
  7. May 30, 2012
  8. May 16, 2012
  9. May 15, 2012
  10. May 11, 2012
  11. May 10, 2012
  12. May 08, 2012
  13. May 06, 2012
  14. Apr 24, 2012
  15. Apr 20, 2012
  16. Apr 13, 2012
  17. Apr 12, 2012
  18. Apr 08, 2012
  19. Apr 07, 2012
    • Jean-Marc Valin's avatar
      Fixes some overflows in the fixed-point pitch code · 178758b8
      Jean-Marc Valin authored
      The overflows reported were:
      - Syy in find_best_pitch() in pitch.c
      - xy, xx and yy in remove_doubling() in pitch.c
      
      The fixes are:
      - Adaptive scaling in pitch_downsample() which also improves quality
      - Adding a missing downshift in find_best_pitch()
      - More conservative yshift when calling find_best_pitch()
      178758b8
  20. Apr 02, 2012
    • Ralph Giles's avatar
      Cast a factor to maintain precision on 16 bit systems. · d9474d90
      Ralph Giles authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      The multiply would overflow with 16 bit ints. Thanks
      to Riccardo Micci for pointing out the issue. Thanks
      to Tim Terriberry for the valid range of the decay
      argument.
      
      Note that ft is unsigned, but always less than 32736,
      so we could use a 16 bit signed type here if it allows
      the compiler to produce faster code (with signed 16*16
      and 16*32 multiplies). In the absense of actual cycle
      counts from a real platform, I've left it as an unsigned
      for the sake of readability.
      
      For similar reasons we cast (16384-decay) to a signed
      integer even though it is also always positive.
      d9474d90
    • Ralph Giles's avatar
      Remove trailing whitespace. · 5f6e472c
      Ralph Giles authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      Also fixes a minor typo.
      5f6e472c
  21. Mar 08, 2012
  22. Mar 06, 2012
Loading