1. 02 Jul, 2012 1 commit
  2. 11 Dec, 2011 1 commit
    • Mans Rullgard's avatar
      lavu: replace int/float punning functions · 3383a53e
      Mans Rullgard authored
      The existing functions defined in intfloat_readwrite.[ch] are
      both slow and incorrect (infinities are not handled).
      This introduces a new header with fast, inline conversion
      functions using direct union punning assuming an IEEE-754
      system, an assumption already made throughout the code.
      The one use of Intel/Motorola extended 80-bit format is
      replaced by simpler code sufficient under the present
      constraints (positive normal values).
      The old functions are marked deprecated and retained for
      Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>