1. 14 Apr, 2015 1 commit
  2. 13 Apr, 2015 1 commit
    • Rostislav Pehlivanov's avatar
      aacenc: Add support for Perceptual Noise Substitution energy values · f7f71b57
      Rostislav Pehlivanov authored
      This commit implements support for writing the noise energy values used in PNS.
      The difference between regular scalefactors and noise energy values is that the latter
      require a small preamble (NOISE_PRE + energy_value_diff) to be written as the first
      noise-containing band. Any following noise energy values use the previous one to
      base their "diff" on. Ordinary scalefactors remain unchanged other than that they ignore the noise values.
      
      This commit should not change anything by itself, the following commits will bring it in use.
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      f7f71b57
  3. 03 Mar, 2015 1 commit
    • Claudio Freire's avatar
      AAC: Fix M/S stereo encoding · 6394acaf
      Claudio Freire authored
      This patch fixes a pointer arithmetic bug in adjust_frame_information that resulted in heavily corrupted audio when using M/S encoding. Also, a backup copy of untransformed coefficients has to be kept around or attempts at re-processing the frame (which happens when hevavily overspending bits during transients) will result in re-encoding of the coefficients and subsequent corruption of the resulting stream.
      
      A/B testing shows the bug as corrected, but still cannot prove that M/S coding is a win at least in numbers. Limited listening tests do show improvement on M/S encoded samples in lower bitrates, but they're hidden among the other artifacts that remain to be corrected in the encoder.
      
      Some of the regressions flagged in the report do show poor stereo image (but not buggy), so M/S encoding is clearly not good enough yet to be defaulted to auto.
      
      In numbers, Patched against Unpatched, stereo_mode auto:
      
        Files: 114
        Bitrates: 6
        Tests: 683
      
        Serious Regressions: 0 (0%)
        Regressions: 0 (0%)
        Improvements: 227 (33%)
        Big improvements: 92 (13%)
        Worst regression - mybloodrusts.wv - 256k
          - StdDev: 28.61       pSNR: -0.43     maxdiff: 1372.00
        Best improvement - 60.wv - 384k
          - StdDev: -369.57     pSNR: 45.02     maxdiff: -13322.00
        Average          - StdDev: -80.56       pSNR: 2.49      maxdiff: -8858.00
      
      Patched against Unpatched stereo_mode ms_off shows no difference.
      
      Patched stereo_mode auto vs Unpatched stereo_mode ms_off shows a small average improvement, just not too significant:
      
        Serious Regressions: 0 (0%)
        Regressions: 10 (1%)
        Improvements: 45 (6%)
        Big improvements: 2 (0%)
        Worst regression - Illinois.wv - 256k
          - StdDev: 33.20       pSNR: -2.03     maxdiff: 477.00
        Best improvement - song_of_circomstances.flac - 384k
          - StdDev: -3.97       pSNR: 7.61      maxdiff: -826.00
        Average          - StdDev: -10.25       pSNR: 0.20      maxdiff: -281.00
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      6394acaf
  4. 28 Feb, 2015 1 commit
  5. 04 Feb, 2015 1 commit
  6. 02 Dec, 2014 1 commit
  7. 09 Nov, 2014 1 commit
  8. 24 Oct, 2014 1 commit
  9. 25 May, 2014 1 commit
  10. 23 Oct, 2013 1 commit
  11. 18 Sep, 2013 1 commit
  12. 25 Jul, 2013 1 commit
  13. 08 Mar, 2013 1 commit
  14. 07 Mar, 2013 1 commit
  15. 25 Feb, 2013 1 commit
  16. 21 Feb, 2013 1 commit
  17. 12 Feb, 2013 1 commit
  18. 31 Jan, 2013 1 commit
  19. 22 Jan, 2013 1 commit
  20. 30 Dec, 2012 2 commits
  21. 26 Nov, 2012 1 commit
  22. 18 Oct, 2012 1 commit
    • Mans Rullgard's avatar
      aac: fix build with hardcoded tables · 7a12d97e
      Mans Rullgard authored
      aac_tablegen.h includes aac.h for the POW_SF2_ZERO definition, but
      this also pulls in a raft of other headers, some of which are not
      safe to use in code built with the host compiler.
      
      Moving POW_SF2_ZERO to aac_tablegen_decl.h, where the declaration
      of the array it relates to already resides, fixes the problems.
      Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
      7a12d97e
  23. 06 Oct, 2012 1 commit
  24. 15 Sep, 2012 1 commit
    • Akihiro Tsukada's avatar
      aacdec: add support for dual mono in Japanese DTV · c3c646a8
      Akihiro Tsukada authored
      Japanese DTV uses some non standard extensions in AAC audio.
      One example is 'dual mono', which combines two independent
      audio into one stereo stream, storing them in left and right channels
      respectively.  Historically, dual mono audio has been used for
      multi-lingual audio, one for local/native language, and another for english,
      and usually the "main" (local language) channel should be output without
      any user interactions.
      
      The frames of those dual mono audio are allowed to set
      ADTS channel_config field to 0, and just contain two SCE's *WITHOUT* PCE,
      which is a non standard extension by Japanese DTV standard.
      (ref. ARIB STD-B32 PartII 5.2.3)
      
      This patch adds an AVPacket side data, AV_PKT_DATA_JP_DUALMONO,
      which indicates that the AVPacket is likely to contain an audio frame
      with the above dual mono extension, and has the parameter to specify
      the desired channel selection in that case.
      It also makes aacdec to detect dual mono and output just the desired
      channel when this side data is attached.
      Signed-off-by: 's avatarAkihiro Tsukada <atsukada@users.sourceforge.net>
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      c3c646a8
  25. 08 Jun, 2012 1 commit
  26. 16 Apr, 2012 1 commit
    • Alex Converse's avatar
      aacdec: More robust output configuration. · 9fb7e146
      Alex Converse authored
      Save the old output configuration (if it has been used
      successfully) when trying a new configuration. If the new configuration
      fails to decode, restore the last successful configuration.
      9fb7e146
  27. 09 Feb, 2012 1 commit
  28. 09 Jan, 2012 1 commit
  29. 13 Dec, 2011 1 commit
  30. 02 Dec, 2011 1 commit
    • Justin Ruggles's avatar
      Add avcodec_decode_audio4(). · 0eea2129
      Justin Ruggles authored
      Deprecate avcodec_decode_audio3().
      Implement audio support in avcodec_default_get_buffer().
      Implement the new audio decoder API in all audio decoders.
      0eea2129
  31. 26 Aug, 2011 1 commit
  32. 02 Jul, 2011 1 commit
    • Reinhard Tartler's avatar
      doxygen: Prefer member groups over grouping into modules · 21a19b79
      Reinhard Tartler authored
      Before this, almost all module groups have been used for grouping functions
      and fields in structures semantically. This causes them to not appear
      properly in the file documentation and needlessly clutters up the "Modules"
      index.
      
      Additionally, this commit streamlines some spelling and appearances.
      21a19b79
  33. 15 May, 2011 1 commit
  34. 27 Apr, 2011 2 commits
  35. 26 Apr, 2011 1 commit
  36. 19 Mar, 2011 1 commit
  37. 22 Feb, 2011 2 commits