1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
Go to file
Alessandro Ghedini 8542f9c4f1 replaygain: correctly parse peak values
According to the ReplayGain spec, the peak amplitude may overflow and may result
in peak amplitude values greater than 1.0 with psychoacoustically coded audio,
such as MP3. Fully compliant decoders must allow peak overflows.

Additionally, having peak values in the 0<->UINT32_MAX scale makes it more
difficult for applications to actually use the peak values (e.g. when
implementing clipping prevention) since values have to be rescaled down.

This patch corrects the peak parsing by removing the rescaling of the decoded
values between 0 and UINT32_MAX and the 1.0 upper limit.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-04-04 17:40:19 +02:00
compat Work around broken floating point limits on some systems. 2014-03-10 10:27:17 +01:00
doc replaygain: correctly parse peak values 2014-04-04 17:40:19 +02:00
libavcodec arm: asm decode_block_coeffs_internal is vp8 specific 2014-04-04 10:39:29 +02:00
libavdevice avutil: Move library version related macros to version.h 2013-12-26 19:05:22 +01:00
libavfilter vf_settb: rename to settb 2014-04-02 12:14:10 +02:00
libavformat replaygain: correctly parse peak values 2014-04-04 17:40:19 +02:00
libavresample Add missing headers to make template files compile (more) standalone 2014-03-26 04:31:27 -07:00
libavutil replaygain: correctly parse peak values 2014-04-04 17:40:19 +02:00
libswscale swscale: add endianness conversion for AV_PIX_FMT_BGRA64|RGBA64 2014-04-02 11:39:26 +02:00
presets presets: spelling error in libvpx 1080p50_60 2011-10-22 00:28:56 +02:00
tests fate: add a VP7 test 2014-04-04 04:00:11 +02:00
tools qt-faststart: Add a note about the -movflags +faststart feature 2014-03-01 00:25:17 +02:00
.gitignore libavfilter: example audio filtering program 2014-02-25 13:22:10 +01:00
arch.mak Remove all SPARC architecture optimizations 2014-03-13 05:50:28 -07:00
avconv_filter.c Add missing #includes for *INT64_MAX and *INT64_C 2013-11-23 21:55:52 +01:00
avconv_opt.c avconv_opt: fix avio_open2() return code check 2014-03-30 14:55:08 +02:00
avconv_vdpau.c avconv: add support for VDPAU decoding 2013-11-23 11:55:53 +01:00
avconv.c avconv: More descriptive message about framedrop 2014-03-25 12:26:24 +01:00
avconv.h avconv: print verbose per-stream transcoding statistics 2014-03-24 06:20:38 +01:00
avplay.c avplay: add support for seeking to chapter marks 2014-02-10 11:23:01 +01:00
avprobe.c cmdutils: wrap exit explicitly 2013-07-07 21:43:23 +02:00
avserver.c avserver: do not use a static string as a default for a string option 2013-08-04 18:47:22 +02:00
Changelog On2 VP7 decoder 2014-04-04 04:00:11 +02:00
cmdutils_common_opts.h avplay: Accept cpuflags option 2013-10-22 10:49:31 +02:00
cmdutils.c avconv: Match stream id 2014-03-13 11:59:34 +01:00
cmdutils.h cmdutils: Mark exit_program as av_noreturn 2014-03-28 00:40:43 +01:00
common.mak Move all example programs to doc/examples 2014-02-16 21:37:21 +01:00
configure On2 VP7 decoder 2014-04-04 04:00:11 +02:00
COPYING.GPLv2 Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1. 2009-06-05 09:51:31 +00:00
COPYING.GPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
COPYING.LGPLv2.1 cosmetics: Delete empty lines at end of file. 2012-02-09 12:26:45 +01:00
COPYING.LGPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
CREDITS partially rename FFmpeg to Libav 2011-03-16 21:54:39 +01:00
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +02:00
library.mak Move all example programs to doc/examples 2014-02-16 21:37:21 +01:00
LICENSE Add libx265 encoder 2014-02-12 13:13:17 +00:00
Makefile Remove all SPARC architecture optimizations 2014-03-13 05:50:28 -07:00
README cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
RELEASE Prepare for 11_alpha1 Release 2014-03-13 08:24:11 -04:00
version.sh Drop git- prefix from version labels 2011-06-19 19:41:23 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.