ffmpeg.git
5 years agoSilicon Graphics Movie demuxer
Peter Ross [Mon, 17 Dec 2012 09:37:54 +0000 (20:37 +1100)]
Silicon Graphics Movie demuxer

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agoSilicon Graphics Motion Video Compressor 1 & 2 decoder
Peter Ross [Mon, 17 Dec 2012 09:37:54 +0000 (20:37 +1100)]
Silicon Graphics Motion Video Compressor 1 & 2 decoder

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agoSilicon Graphics RLE 8-bit video decoder
Peter Ross [Mon, 17 Dec 2012 09:37:54 +0000 (20:37 +1100)]
Silicon Graphics RLE 8-bit video decoder

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agoh264: codec reinit: remove statements without effect
Janne Grunau [Fri, 18 Apr 2014 12:07:52 +0000 (12:07 +0000)]
h264: codec reinit: remove statements without effect

avctx->coded_{height,width} will always equal h->{height,width} since
init_dimensions() does that explicitly, Size changes are detected by
changes in mb_{height,width} earlier and propagated through the
needs_reinit variable.

5 years agoutils: add yvyu422 to avcodec_align_dimensions2
Vittorio Giovara [Tue, 15 Apr 2014 13:47:30 +0000 (15:47 +0200)]
utils: add yvyu422 to avcodec_align_dimensions2

5 years agofiltfmts: remove unused lavf include
Vittorio Giovara [Sat, 19 Apr 2014 01:02:26 +0000 (03:02 +0200)]
filtfmts: remove unused lavf include

5 years agolavfi: name anonymous structs
Vittorio Giovara [Fri, 11 Apr 2014 09:54:15 +0000 (11:54 +0200)]
lavfi: name anonymous structs

5 years agoconfigure: Handle armcc 5.0
Martin Storsjö [Fri, 18 Apr 2014 20:40:59 +0000 (23:40 +0300)]
configure: Handle armcc 5.0

The first line of the "armcc --vsn" output in one version is
"Product: ARM Compiler 5.04".

Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agomp3dec: decode more data from Info header
Alessandro Ghedini [Sun, 13 Apr 2014 12:23:57 +0000 (14:23 +0200)]
mp3dec: decode more data from Info header

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agocrc: add ANSI CRC16 LE
Alessandro Ghedini [Mon, 14 Apr 2014 08:18:53 +0000 (10:18 +0200)]
crc: add ANSI CRC16 LE

This adds the reversed byte-order version of the ANSI CRC16.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agomp3dec: move XING/Info and VBRI parsing into their own functions
Alessandro Ghedini [Sat, 12 Apr 2014 16:25:41 +0000 (18:25 +0200)]
mp3dec: move XING/Info and VBRI parsing into their own functions

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoreplaygain: allow exporting already decoded replaygain values
Alessandro Ghedini [Sat, 12 Apr 2014 16:25:40 +0000 (18:25 +0200)]
replaygain: allow exporting already decoded replaygain values

This adds a function to export raw replaygain values (i.e. in the (u)int32_t
form). It first checks whether AV_PKT_DATA_REPLAYGAIN side data is present, in
which case it does nothing.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoresample: remove an unneeded context variable
Anton Khirnov [Sat, 22 Feb 2014 19:27:44 +0000 (20:27 +0100)]
resample: remove an unneeded context variable

5 years agodrawtext: Add fontconfig support
Luca Barbato [Sat, 12 Apr 2014 14:02:50 +0000 (16:02 +0200)]
drawtext: Add fontconfig support

Introduce the `font` option and make it optional to pass a fontfile.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agovp78: Align the intra4x4_pred_mode_top array within VP8Macroblock
Martin Storsjö [Mon, 14 Apr 2014 17:43:04 +0000 (20:43 +0300)]
vp78: Align the intra4x4_pred_mode_top array within VP8Macroblock

This array is written using AV_WN32A, assuming alignment.

This hopefully fixes the failing vp7 fate test on sparc.

Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agodcadec: Delete redundant init_get_bits call
Niels Möller [Mon, 14 Apr 2014 08:26:57 +0000 (10:26 +0200)]
dcadec: Delete redundant init_get_bits call

No initialization is needed in dca_decode_frame, because the next
thing it does is calling dca_parse_frame_header, which takes care of
the needed initialization.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agortmpproto: Handle RTMP chunk size packets before the connect packet
Stephan Soller [Sat, 12 Apr 2014 23:06:22 +0000 (01:06 +0200)]
rtmpproto: Handle RTMP chunk size packets before the connect packet

In all other cases where ff_rtmp_packet_read is used, the packet returned
is passed to rtmp_parse_result more or less immediately. In this single
case, the content of the packet was required to be a connect packet.

Some clients, e.g. Open Broadcaster Software, send a chunk size packet
before the connect packet. If the first packet is a chunk size packet,
handle it and read another one, requiring this to be a connect packet
instead.

Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agortmpproto: Make sure to pass on the error code if read_connect failed
Martin Storsjö [Sun, 13 Apr 2014 10:44:03 +0000 (13:44 +0300)]
rtmpproto: Make sure to pass on the error code if read_connect failed

Previously, if read_connect failed, the ret variable was unmodified
and had the value 0, indicating success, which then was returned from
the rtmp_open function, even though it actually failed.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agox86/synth_filter: remove the fma3 version ifdefs
James Almer [Sat, 5 Apr 2014 17:00:53 +0000 (14:00 -0300)]
x86/synth_filter: remove the fma3 version ifdefs

This fixes compilation failures with --disable-fma3

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoaf_volume: implement replaygain clipping prevention
Alessandro Ghedini [Sun, 6 Apr 2014 14:25:08 +0000 (16:25 +0200)]
af_volume: implement replaygain clipping prevention

This adds a new "replaygain_noclip" option to the filter, and, if enabled,
limits the gain applied for tracks where clipping would occur.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agolavr: allocate the resampling buffer with a positive size
Anton Khirnov [Thu, 20 Mar 2014 19:40:24 +0000 (20:40 +0100)]
lavr: allocate the resampling buffer with a positive size

This fixes cases where very few input samples (fewer than needed for one
output sample) are passed to lavr at the beginning.
CC:libav-stable@libav.org

5 years agoFATE: add tests for more resampling modes
Anton Khirnov [Tue, 4 Mar 2014 11:03:19 +0000 (12:03 +0100)]
FATE: add tests for more resampling modes

5 years agoresample: implement flushing
Anton Khirnov [Tue, 4 Mar 2014 21:38:47 +0000 (22:38 +0100)]
resample: implement flushing

5 years agodcadec: Use correct channel count in stereo downmix check
Tim Walker [Sat, 12 Apr 2014 20:11:53 +0000 (22:11 +0200)]
dcadec: Use correct channel count in stereo downmix check

s->prim_channels is greater than num_core_channels
when an XCh extension is present in the bitstream.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agodcadec: Do not decode the XCh extension when downmixing to stereo
Tim Walker [Sat, 12 Apr 2014 20:11:52 +0000 (22:11 +0200)]
dcadec: Do not decode the XCh extension when downmixing to stereo

This is neither necessary nor currently supported.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agotiffdec: support predictor type 2 with RGB48 pixel format
Jean First [Sun, 25 Sep 2011 14:00:04 +0000 (16:00 +0200)]
tiffdec: support predictor type 2 with RGB48 pixel format

5 years agotiffdec: remove an unneeded variable
Justin Ruggles [Mon, 30 Sep 2013 05:00:20 +0000 (01:00 -0400)]
tiffdec: remove an unneeded variable

5 years agotiff: use a better name and enum values for PhotometricInterpretation
Justin Ruggles [Mon, 30 Sep 2013 04:39:51 +0000 (00:39 -0400)]
tiff: use a better name and enum values for PhotometricInterpretation

Also add additional known values and log as missing features.

5 years agotiffdec: use a single strip if RowsPerStrip is 0
Justin Ruggles [Mon, 30 Sep 2013 04:11:12 +0000 (00:11 -0400)]
tiffdec: use a single strip if RowsPerStrip is 0

The spec does not specify that 0 is an error condition, and there
are samples which use 0 when the whole image is in one strip.

5 years agotiffdec: use bytestream2 to simplify overread/overwrite protection
Justin Ruggles [Sun, 29 Sep 2013 23:47:55 +0000 (19:47 -0400)]
tiffdec: use bytestream2 to simplify overread/overwrite protection

Based on a patch by Paul B Mahol <onemda@gmail.com>

CC:libav-stable@libav.org

5 years agobytestream: add bytestream2_copy_buffer() functions
Justin Ruggles [Sun, 29 Sep 2013 23:45:57 +0000 (19:45 -0400)]
bytestream: add bytestream2_copy_buffer() functions

This is basically an overread/overwrite-safe memcpy between a
GetByteContext and a PutByteContext.

CC:libav-stable@libav.org

5 years agobytestream: add functions for accessing size of buffer
Paul B Mahol [Wed, 21 Mar 2012 00:10:18 +0000 (00:10 +0000)]
bytestream: add functions for accessing size of buffer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
CC:libav-stable@libav.org

5 years agotiffdec: use correct data type for palette entries and set alpha to 0xFF
Justin Ruggles [Sat, 28 Sep 2013 16:20:19 +0000 (12:20 -0400)]
tiffdec: use correct data type for palette entries and set alpha to 0xFF

5 years agotiffdec: rename variables for consistency and fix variable shadowing
Jean First [Fri, 23 Sep 2011 06:22:31 +0000 (08:22 +0200)]
tiffdec: rename variables for consistency and fix variable shadowing

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
5 years agoswscale: Set alpha to opaque for internal palettes.
Justin Ruggles [Sat, 5 Apr 2014 18:14:30 +0000 (14:14 -0400)]
swscale: Set alpha to opaque for internal palettes.

Fixes conversion of pal8 to rgb formats with alpha.

Updated references for 2 FATE tests which previously encoded fully
transparent images.

Based on a patch by Baptiste Coudurier <baptiste.coudurier@gmail.com>

5 years agoswscale: fix some undefined signed left shifts
Justin Ruggles [Sat, 5 Apr 2014 18:46:22 +0000 (14:46 -0400)]
swscale: fix some undefined signed left shifts

Based on a patch by Michael Niedermayer <michaelni@gmx.at>

5 years agoswscale: fix an implementation-defined unsigned-to-signed conversion
Justin Ruggles [Sat, 5 Apr 2014 18:05:19 +0000 (14:05 -0400)]
swscale: fix an implementation-defined unsigned-to-signed conversion

5 years agodoc: Libavfilter English cleanup
Katerina Barone-Adesi [Sun, 6 Apr 2014 10:32:49 +0000 (12:32 +0200)]
doc: Libavfilter English cleanup

This aims to standardize the English used in the libavfilter
documentation, describing the same thing in the same way more often,
and significantly reduce the amount of outright errors, including
run-on sentences and sentence fragments.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agomp3enc: Properly write bitrate value in XING header
Michael Niedermayer [Wed, 9 Apr 2014 16:22:53 +0000 (18:22 +0200)]
mp3enc: Properly write bitrate value in XING header

Instead of using a fixed bitrate_idx, calculate a matching bitrate for
the XING header.

Using a fixed bitrate_idx causes tools such as file(1) and mediainfo(1)
to report wrong bitrate and bitrate mode when using CBR.

Bug-Id: https://bugs.debian.org/736088

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agoresample: split linear into its own function
Anton Khirnov [Tue, 4 Mar 2014 16:12:33 +0000 (17:12 +0100)]
resample: split linear into its own function

5 years agoresample: add initial padding explicitly
Anton Khirnov [Tue, 4 Mar 2014 15:56:01 +0000 (16:56 +0100)]
resample: add initial padding explicitly

This simplifies the code, since we do not have to deal with a possibly
negative source index anymore.

5 years agoresample: drop useless abs()
Anton Khirnov [Tue, 4 Mar 2014 11:27:17 +0000 (12:27 +0100)]
resample: drop useless abs()

negative sample_index is handled in the block above.

5 years agoresample: reindent
Anton Khirnov [Mon, 3 Mar 2014 21:28:07 +0000 (22:28 +0100)]
resample: reindent

5 years agoresample: split the nearest neighbour path into a separate function pointer
Anton Khirnov [Mon, 3 Mar 2014 21:26:57 +0000 (22:26 +0100)]
resample: split the nearest neighbour path into a separate function pointer

5 years agoresample: fix avresample_get_delay() return value
Anton Khirnov [Tue, 4 Mar 2014 20:18:27 +0000 (21:18 +0100)]
resample: fix avresample_get_delay() return value

The correct "next" input sample is not the first sample of the
resampling buffer, but the center sample of the filter_length-sized
block at the beginning.

CC:libav-stable@libav.org

5 years agoDNxHD: convert inline asm to yasm
Timothy Gu [Fri, 28 Mar 2014 01:37:51 +0000 (02:37 +0100)]
DNxHD: convert inline asm to yasm

5 years agoDNxHD: make get_pixel_8x4_sym accept ptrdiff_t as stride
Timothy Gu [Fri, 28 Mar 2014 01:32:09 +0000 (02:32 +0100)]
DNxHD: make get_pixel_8x4_sym accept ptrdiff_t as stride

5 years agoDNxHD: K&R formatting cosmetics
Vittorio Giovara [Fri, 28 Mar 2014 01:02:48 +0000 (02:02 +0100)]
DNxHD: K&R formatting cosmetics

5 years agomp2: Do not force a samplerate
Luca Barbato [Thu, 10 Apr 2014 22:09:34 +0000 (00:09 +0200)]
mp2: Do not force a samplerate

The default should be not to resample.

5 years agolibx265: Only set the SAR if it is valid
Derek Buitenhuis [Thu, 10 Apr 2014 12:27:41 +0000 (13:27 +0100)]
libx265: Only set the SAR if it is valid

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
5 years agolibx265: Use 16-bit SAR
Derek Buitenhuis [Thu, 10 Apr 2014 12:17:48 +0000 (13:17 +0100)]
libx265: Use 16-bit SAR

The spec says it is 16 bits.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
5 years agolibx265: Use x265_param_parse to set the SAR
Derek Buitenhuis [Tue, 8 Apr 2014 17:44:53 +0000 (18:44 +0100)]
libx265: Use x265_param_parse to set the SAR

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
5 years agomov: read hydrogenaudio replaygain information
Anton Khirnov [Tue, 1 Apr 2014 21:22:21 +0000 (23:22 +0200)]
mov: read hydrogenaudio replaygain information

5 years agolibavfilter: Add asettb filter for setting timebase for audio
Nicolas George [Thu, 3 Apr 2014 13:42:22 +0000 (15:42 +0200)]
libavfilter: Add asettb filter for setting timebase for audio

Ported asettb (including the sr option for audio sample rate) from FFmpeg,
and copied/modified the existing settb documentation for asettb.

Signed-off-by: Katerina Barone-Adesi <katerinab+libav@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agompegvideo: operate with pointers to AVFrames instead of whole structs
wm4 [Mon, 31 Mar 2014 17:46:29 +0000 (17:46 +0000)]
mpegvideo: operate with pointers to AVFrames instead of whole structs

The most interesting parts are initialization in ff_MPV_common_init() and
uninitialization in ff_MPV_common_end().

ff_mpeg_unref_picture and ff_thread_release_buffer have additional NULL
checks for Picture.f, because these functions can be called on
uninitialized or partially initialized Pictures.

NULL pointer checks are added to ff_thread_release_buffer() stub function.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agofate: correctly set sample rate for mp2 tests
Vittorio Giovara [Wed, 9 Apr 2014 00:02:29 +0000 (02:02 +0200)]
fate: correctly set sample rate for mp2 tests

5 years agodoc: Completely document the x264 options
Luca Barbato [Mon, 7 Apr 2014 01:49:41 +0000 (01:49 +0000)]
doc: Completely document the x264 options

And fix an option mismatch.

5 years agodoc: Use a 3 columns multitable
Luca Barbato [Mon, 7 Apr 2014 01:49:40 +0000 (01:49 +0000)]
doc: Use a 3 columns multitable

Make the html output much nicer.

5 years agodoc: Change the multitable rendering in texi2pod
Luca Barbato [Mon, 7 Apr 2014 01:49:39 +0000 (01:49 +0000)]
doc: Change the multitable rendering in texi2pod

Makes it working better for our documentation purposes.

5 years agofate: update tests for YVYU422 pixel format
Vittorio Giovara [Mon, 7 Apr 2014 21:45:55 +0000 (23:45 +0200)]
fate: update tests for YVYU422 pixel format

5 years agorawvideo: Support decoding YVYU422 FourCC
Vittorio Giovara [Sun, 9 Mar 2014 12:26:19 +0000 (12:26 +0000)]
rawvideo: Support decoding YVYU422 FourCC

5 years agoswscale: support converting YVYU422 pixel format
Vittorio Giovara [Mon, 7 Apr 2014 15:19:53 +0000 (17:19 +0200)]
swscale: support converting YVYU422 pixel format

5 years agolavu: Add packed YVYU422 pixel format
Vittorio Giovara [Sun, 9 Mar 2014 12:26:18 +0000 (12:26 +0000)]
lavu: Add packed YVYU422 pixel format

5 years agomp2: match twolame default options
Vittorio Giovara [Mon, 7 Apr 2014 14:25:23 +0000 (16:25 +0200)]
mp2: match twolame default options

5 years agolibtwolame MP2 encoding support
Paul B Mahol [Wed, 1 Aug 2012 16:33:34 +0000 (16:33 +0000)]
libtwolame MP2 encoding support

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agolibxvid: fix missing end of line character
Vittorio Giovara [Mon, 7 Apr 2014 12:56:25 +0000 (14:56 +0200)]
libxvid: fix missing end of line character

Error introduced in 5ce7ca68b86856ee8e9d6530dffdadc4eca4f8d1.

5 years agoxtea: Add Doxy @file and group
Timothy Gu [Sat, 2 Nov 2013 22:03:30 +0000 (15:03 -0700)]
xtea: Add Doxy @file and group

5 years agoadler32: Fix doxy group definition
Timothy Gu [Fri, 14 Jun 2013 08:42:55 +0000 (05:42 -0300)]
adler32: Fix doxy group definition

Based on a patch by James Almer <jamrial@gmail.com>.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agoh264: Refactor decode_nal_units
Luca Barbato [Sat, 5 Apr 2014 00:41:12 +0000 (00:41 +0000)]
h264: Refactor decode_nal_units

5 years agolibxvid: Add SSIM displaying through a libxvidcore plugin
Timothy Gu [Wed, 31 Jul 2013 02:40:45 +0000 (19:40 -0700)]
libxvid: Add SSIM displaying through a libxvidcore plugin

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agolibxvid: add working lumimasking and variance AQ
Timothy Gu [Wed, 31 Jul 2013 02:39:06 +0000 (19:39 -0700)]
libxvid: add working lumimasking and variance AQ

The old implementation is unusable due to changes in the Xvid API.
Further fixes by Michael Niedermayer <michaelni@gmx.at>.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agoaarch64: implement videodsp.prefetch
Janne Grunau [Sat, 5 Apr 2014 09:47:18 +0000 (11:47 +0200)]
aarch64: implement videodsp.prefetch

8% faster h264 decoding on Apple A7.

5 years agoaarch64: add armv8 CPU flag
Janne Grunau [Sat, 5 Apr 2014 11:46:51 +0000 (13:46 +0200)]
aarch64: add armv8 CPU flag

5 years agofate: add tests for SANM and VIMA
Paul B Mahol [Thu, 21 Jun 2012 14:08:41 +0000 (14:08 +0000)]
fate: add tests for SANM and VIMA

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agoLucasArts SMUSH demuxer
Paul B Mahol [Tue, 11 Mar 2014 15:24:55 +0000 (16:24 +0100)]
LucasArts SMUSH demuxer

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agoLucasArts SMUSH VIMA audio decoder
Paul B Mahol [Mon, 19 Mar 2012 02:52:08 +0000 (02:52 +0000)]
LucasArts SMUSH VIMA audio decoder

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agoLucasArts SMUSH SANM video decoder
Paul B Mahol [Mon, 19 Mar 2012 02:54:19 +0000 (02:54 +0000)]
LucasArts SMUSH SANM video decoder

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agodsputil: Move DV-specific ff_zigzag248_direct table to dvdata
Diego Biurrun [Wed, 26 Mar 2014 11:41:29 +0000 (04:41 -0700)]
dsputil: Move DV-specific ff_zigzag248_direct table to dvdata

5 years agox86: dsputil: Move ff_apply_window_int16_* bits to ac3dsp, where they belong
Diego Biurrun [Wed, 26 Mar 2014 11:41:28 +0000 (04:41 -0700)]
x86: dsputil: Move ff_apply_window_int16_* bits to ac3dsp, where they belong

5 years agox86: h264_qpel: Simplify an #if conditional
Diego Biurrun [Wed, 26 Mar 2014 11:41:26 +0000 (04:41 -0700)]
x86: h264_qpel: Simplify an #if conditional

The extra conditions are covered by previous #ifs and conditional compilation.

5 years agox86: Drop some unnecessary YASM ifdefs
Diego Biurrun [Wed, 26 Mar 2014 11:41:25 +0000 (04:41 -0700)]
x86: Drop some unnecessary YASM ifdefs

Dead code elimination is enough to avoid undefined references in these cases.

5 years agoppc: Drop a bunch of unnecessary dsputil_altivec.h #includes
Diego Biurrun [Wed, 26 Mar 2014 11:41:24 +0000 (04:41 -0700)]
ppc: Drop a bunch of unnecessary dsputil_altivec.h #includes

5 years agox86: dsputil: Eliminate some unnecessary dsputil_x86.h #includes
Diego Biurrun [Wed, 26 Mar 2014 11:41:23 +0000 (04:41 -0700)]
x86: dsputil: Eliminate some unnecessary dsputil_x86.h #includes

5 years agoRemove a number of unnecessary dsputil.h #includes
Diego Biurrun [Wed, 26 Mar 2014 11:41:22 +0000 (04:41 -0700)]
Remove a number of unnecessary dsputil.h #includes

5 years agoaf_ashowinfo: print a more descriptive name for AV_MATRIX_ENCODING_DOLBY
Anton Khirnov [Thu, 3 Apr 2014 12:22:48 +0000 (14:22 +0200)]
af_ashowinfo: print a more descriptive name for AV_MATRIX_ENCODING_DOLBY

5 years agoaf_volume: implement replaygain pre-amplification
Alessandro Ghedini [Fri, 4 Apr 2014 16:42:09 +0000 (18:42 +0200)]
af_volume: implement replaygain pre-amplification

This adds a new "replaygain_preamp" option to the filter, and simply adds its
value to the replaygain gain value.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agox86/synth_filter: add synth_filter_fma3
James Almer [Thu, 20 Mar 2014 18:37:56 +0000 (15:37 -0300)]
x86/synth_filter: add synth_filter_fma3

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agox86/synth_filter: add synth_filter_avx
James Almer [Thu, 20 Mar 2014 18:37:55 +0000 (15:37 -0300)]
x86/synth_filter: add synth_filter_avx

Sandy Bridge Win64:
180 cycles in ff_synth_filter_inner_sse2
150 cycles in ff_synth_filter_inner_avx

Also switch some instructions to a three operand format to avoid
assembly errors with Yasm 1.1.0 or older.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agox86/synth_filter: add synth_filter_sse
James Almer [Thu, 20 Mar 2014 18:37:54 +0000 (15:37 -0300)]
x86/synth_filter: add synth_filter_sse

Build only on x86_32 targets.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoreplaygain: remove unused variable
Michael Niedermayer [Fri, 4 Apr 2014 09:50:49 +0000 (11:50 +0200)]
replaygain: remove unused variable

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agooggparsevorbis: export replaygain tags from Vorbis comments
Alessandro Ghedini [Fri, 4 Apr 2014 09:50:46 +0000 (11:50 +0200)]
oggparsevorbis: export replaygain tags from Vorbis comments

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoflacdec: export replaygain tags from Vorbis comments
Alessandro Ghedini [Fri, 4 Apr 2014 09:50:45 +0000 (11:50 +0200)]
flacdec: export replaygain tags from Vorbis comments

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoreplaygain: correctly parse peak values
Alessandro Ghedini [Fri, 4 Apr 2014 09:50:44 +0000 (11:50 +0200)]
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>
5 years agoreplaygain: fix gain sign decoding
Alessandro Ghedini [Fri, 4 Apr 2014 09:50:43 +0000 (11:50 +0200)]
replaygain: fix gain sign decoding

The gain sign was incorrectly decoded: since the FFSIGN() macro treats 0 as
negative, gain values starting with "0." were always decoded as negative.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
5 years agoarm: asm decode_block_coeffs_internal is vp8 specific
Janne Grunau [Fri, 4 Apr 2014 08:11:06 +0000 (10:11 +0200)]
arm: asm decode_block_coeffs_internal is vp8 specific

Unbreaks compilation on arm due to conflicting types for
'ff_decode_block_coeffs_armv6'.

5 years agofate: add a VP7 test
Vittorio Giovara [Sun, 9 Mar 2014 07:59:40 +0000 (08:59 +0100)]
fate: add a VP7 test

5 years agoOn2 VP7 decoder
Peter Ross [Tue, 1 Apr 2014 12:21:51 +0000 (14:21 +0200)]
On2 VP7 decoder

Further performance improvements and security fixes by
Vittorio Giovara, Luca Barbato and Diego Biurrun.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
5 years agoriff: Add an additional AAC TwoCC
Carl Eugen Hoyos [Thu, 3 Apr 2014 14:32:59 +0000 (16:32 +0200)]
riff: Add an additional AAC TwoCC

Mentioned on http://msdn.microsoft.com/en-us/library/dd341376%28prot.20%29.aspx

5 years agoriff: support 0xa100 TwoCC for G723_1
Piotr Bandurski [Thu, 3 Apr 2014 14:30:51 +0000 (16:30 +0200)]
riff: support 0xa100 TwoCC for G723_1

Sample-Id: 4790b7f1c44f98e35f3b806468fa615f5930a5b3.wav

5 years agoriff: add 0x594a TwoCC for Xan DPCM
Piotr Bandurski [Thu, 3 Apr 2014 14:29:32 +0000 (16:29 +0200)]
riff: add 0x594a TwoCC for Xan DPCM

Sample-Id: crusader-no-regret.avi