1. 09 12月, 2020 1 次提交
    • A
      avcodec/mpegaudiodec: Hardcode tables to save space · ed33bbe6
      Andreas Rheinhardt 提交于
      The csa_tables (which always consist of 32 entries of four byte each,
      but the type depends upon whether the decoder is fixed or
      floating-point) are currently initialized once during decoder
      initialization; yet it turns out that this is actually no benefit: The
      code used to initialize these tables takes up 153 (fixed point) and 122
      (floating point) bytes when compiled with GCC 9.3 with -O3 on x64, so it
      is better to just hardcode these tables.
      
      Essentially the same applies to the is_tables: They have a size of 128B
      each and the code to initialize them occupies 149 (fixed point) resp.
      140 (floating point) bytes. So hardcode them, too.
      
      To make the origin of the tables clear, references to the code used to
      create them have been added.
      Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
      ed33bbe6
  2. 10 3月, 2016 1 次提交
  3. 06 3月, 2015 1 次提交
  4. 16 8月, 2014 1 次提交
  5. 19 3月, 2013 1 次提交
  6. 11 11月, 2012 1 次提交
  7. 11 7月, 2012 1 次提交
  8. 05 7月, 2012 1 次提交