ffmpeg.git
7 years agoindeo: clear allocated band buffers
Kostya Shishkov [Sat, 19 May 2012 11:39:15 +0000 (13:39 +0200)]
indeo: clear allocated band buffers

7 years agoindeo: track tile macroblock size
Kostya Shishkov [Sat, 19 May 2012 11:08:51 +0000 (13:08 +0200)]
indeo: track tile macroblock size

7 years agoindeo: check custom Huffman tables for errors
Kostya Shishkov [Sat, 19 May 2012 10:39:49 +0000 (12:39 +0200)]
indeo: check custom Huffman tables for errors

7 years agofactor out common decoding code for Indeo 4 and Indeo 5
Kostya Shishkov [Sat, 19 May 2012 10:23:23 +0000 (12:23 +0200)]
factor out common decoding code for Indeo 4 and Indeo 5

7 years agomp3: fix start band index for block type 2 in 8kHz audio
Kostya Shishkov [Wed, 16 May 2012 16:39:40 +0000 (18:39 +0200)]
mp3: fix start band index for block type 2 in 8kHz audio

In hybrid frames long window part ends at 36 samples for most of the cases
but at 72 for 8kHz case. For some reason decoder assumed it's 48 or even 36
samples, which caused wrong bitstream decoding for such blocks.

l3_25207.mpg from conformance suite demonstrates it the best.

7 years agolavf: change some (de)muxer names to lowercase
Mans Rullgard [Sat, 19 May 2012 16:13:17 +0000 (17:13 +0100)]
lavf: change some (de)muxer names to lowercase

This is consistent with other format names.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agolavf: make output format matching case insensitive
Mans Rullgard [Sat, 19 May 2012 17:44:16 +0000 (18:44 +0100)]
lavf: make output format matching case insensitive

This is consistent with how input formats are matched.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: fix dependencies on SAMPLES being set
Mans Rullgard [Sat, 19 May 2012 12:19:19 +0000 (13:19 +0100)]
fate: fix dependencies on SAMPLES being set

This allows fate to run without errors with or without SAMPLES
being set.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: remove unnecessary libavfilter dependency
Mans Rullgard [Fri, 18 May 2012 16:08:13 +0000 (17:08 +0100)]
fate: remove unnecessary libavfilter dependency

avconv now requires libavfilter so this dependency is redundant.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoavconv: reindent
Anton Khirnov [Fri, 18 May 2012 10:18:49 +0000 (12:18 +0200)]
avconv: reindent

7 years agoavconv: replace -vsync cfr code with the fps filter.
Anton Khirnov [Wed, 9 May 2012 14:25:02 +0000 (16:25 +0200)]
avconv: replace -vsync cfr code with the fps filter.

Invented timestamps for the h264 tests return to something resembling
sanity.

In the idroq-video-encode test when converting 25 fps -> 30 fps the
fifth frame gets duplicated instead of the sixth.

7 years agomov: enable parsing for VC-1.
Anton Khirnov [Thu, 17 May 2012 18:45:51 +0000 (20:45 +0200)]
mov: enable parsing for VC-1.

This makes lavf discard broken timestamps for non-B frames in
samples/isom/vc1-wmapro.ism.

7 years agolavfi: Add fps filter.
Anton Khirnov [Wed, 9 May 2012 12:08:21 +0000 (14:08 +0200)]
lavfi: Add fps filter.

Partially based on a patch by Robert Nagy <ronag89@gmail.com>

7 years agolavfi: initialize pts to AV_NOPTS_VALUE when creating new buffer refs.
Anton Khirnov [Wed, 16 May 2012 12:57:59 +0000 (14:57 +0200)]
lavfi: initialize pts to AV_NOPTS_VALUE when creating new buffer refs.

7 years agoavconv: add support for audio in complex filtergraphs.
Anton Khirnov [Thu, 17 May 2012 11:22:17 +0000 (13:22 +0200)]
avconv: add support for audio in complex filtergraphs.

7 years agodoc: Replace some @file tags by more suitable markup.
Diego Biurrun [Wed, 16 May 2012 17:24:39 +0000 (19:24 +0200)]
doc: Replace some @file tags by more suitable markup.

7 years agofate: Set FUZZ factor of vorbis-13 test to 2.
Diego Biurrun [Tue, 15 May 2012 13:00:15 +0000 (15:00 +0200)]
fate: Set FUZZ factor of vorbis-13 test to 2.

This is necessary to account for different rounding done in the 3DNow!
Assembly optimizations.

7 years agofate: Set FUZZ factor of (e)ac3-encode test to 3.
Diego Biurrun [Tue, 15 May 2012 08:57:51 +0000 (10:57 +0200)]
fate: Set FUZZ factor of (e)ac3-encode test to 3.

This is necessary to account for different rounding done in the 3DNow!
Assembly optimizations.

7 years agofate: remove unused code from regressions-funcs.sh
Mans Rullgard [Fri, 18 May 2012 10:43:07 +0000 (11:43 +0100)]
fate: remove unused code from regressions-funcs.sh

The only uses of the do_avconv_nomd5() function were removed in
85cf49f.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agortmp: Don't assume path points to a string of nonzero length
Martin Storsjö [Wed, 16 May 2012 08:45:47 +0000 (11:45 +0300)]
rtmp: Don't assume path points to a string of nonzero length

If using the new -rtmp_app and -rtmp_playpath parameters,
one can in many cases set the main url to just rtmp://server/.
If the trailing slash is omitted, path is a string of zero length,
and using path+1 will end up reading uninitialized data.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoavconv: fix behavior with -ss as an output option.
Anton Khirnov [Thu, 17 May 2012 10:42:03 +0000 (12:42 +0200)]
avconv: fix behavior with -ss as an output option.

Don't return from poll_filters() immediately, there may be other frames
and/or other streams to handle.

Fixes a memleak.

7 years agopcmenc: set correct bitrate value
Mans Rullgard [Tue, 15 May 2012 23:01:34 +0000 (00:01 +0100)]
pcmenc: set correct bitrate value

This fixes a bogus bitrate value in the header of WAV files with
alaw/ulaw audio.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoavprobe: don't print format entry name when only one was requested
Anton Khirnov [Mon, 7 May 2012 20:01:15 +0000 (22:01 +0200)]
avprobe: don't print format entry name when only one was requested

This is easier to parse with automated tools.

7 years agofate: Work around non-standard wc implementations at more places
Martin Storsjö [Wed, 16 May 2012 09:42:43 +0000 (12:42 +0300)]
fate: Work around non-standard wc implementations at more places

This applies the same fix as in ed7409fe9d for lavf-regressions.sh.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agofate: work around non-standard wc implementations
Mans Rullgard [Tue, 15 May 2012 21:02:42 +0000 (22:02 +0100)]
fate: work around non-standard wc implementations

On some systems, the wc command prints spaces before the first
number causing mismatches with the test references.  Using the
output of wc as arguments to echo removes any extra whitespace.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agox86: rv40: Mark rv40_weight functions as MMX2; they use MMX2 instructions.
Michael Kostylev [Thu, 10 May 2012 21:44:04 +0000 (23:44 +0200)]
x86: rv40: Mark rv40_weight functions as MMX2; they use MMX2 instructions.

7 years agoac3dsp: simplify x86 versions of ac3_max_msb_abs_int16
Justin Ruggles [Mon, 14 May 2012 19:56:39 +0000 (15:56 -0400)]
ac3dsp: simplify x86 versions of ac3_max_msb_abs_int16

Simplifies the code by using cpuflags and a new macro.
Also fixes the invalid use of the MMX2 pshufw operation in the MMX-only
function.

7 years agofate: use standard diff options
Mans Rullgard [Mon, 14 May 2012 21:31:08 +0000 (22:31 +0100)]
fate: use standard diff options

diff -w is not a standard option.  This fixes the reference files
to match what the tests actually output and switches to using the
standard diff -b which is sufficient to handle different line ending
styles.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agotta: Fix comment about channel number; TTA supports >2 channels.
Aneesh Dogra [Tue, 15 May 2012 16:32:02 +0000 (22:02 +0530)]
tta: Fix comment about channel number; TTA supports >2 channels.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoavfilter: Move ff_get_ref_perms_string() to where it is used.
Diego Biurrun [Tue, 15 May 2012 13:56:04 +0000 (15:56 +0200)]
avfilter: Move ff_get_ref_perms_string() to where it is used.

This fixes a compilation failure with -DDEBUG.

7 years agobuild: Add 'check' target to run all compile and test targets.
Diego Biurrun [Sun, 26 Jun 2011 11:52:40 +0000 (13:52 +0200)]
build: Add 'check' target to run all compile and test targets.

7 years agoindeo3: validate new frame size before resetting decoder
Kostya Shishkov [Mon, 14 May 2012 17:46:54 +0000 (19:46 +0200)]
indeo3: validate new frame size before resetting decoder

7 years agoindeo3: when freeing buffers, set pointers referencing them to NULL as well
Kostya Shishkov [Mon, 14 May 2012 17:45:41 +0000 (19:45 +0200)]
indeo3: when freeing buffers, set pointers referencing them to NULL as well

7 years agoindeo3: initialise pixel planes on allocation
Kostya Shishkov [Mon, 14 May 2012 17:33:03 +0000 (19:33 +0200)]
indeo3: initialise pixel planes on allocation

This prevents decoder from reading garbage from it in case of errors later.

7 years agoindeo3: ensure that decoded cell data is in 7-bit range as presumed by decoder
Kostya Shishkov [Mon, 14 May 2012 17:30:54 +0000 (19:30 +0200)]
indeo3: ensure that decoded cell data is in 7-bit range as presumed by decoder

7 years agofate: rename psx-str-v3-mdec to mdec-v3
Mans Rullgard [Mon, 14 May 2012 15:44:15 +0000 (16:44 +0100)]
fate: rename psx-str-v3-mdec to mdec-v3

This name better reflects that it is v3 of mdec that is tested.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: convert psx-str to a demuxer test
Mans Rullgard [Tue, 15 May 2012 11:09:56 +0000 (12:09 +0100)]
fate: convert psx-str to a demuxer test

While these codecs are covered elsewhere, the container is different
from the other psx-str file.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agolavf: add mdec to is_intra_only() list
Mans Rullgard [Tue, 15 May 2012 10:51:12 +0000 (11:51 +0100)]
lavf: add mdec to is_intra_only() list

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: use diff -b in oneline comparison
Mans Rullgard [Tue, 15 May 2012 10:52:28 +0000 (11:52 +0100)]
fate: use diff -b in oneline comparison

This is simpler and should take care of any problems with mixed
line ending styles.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoAdd missing version bumps and APIchanges/Changelog entries.
Anton Khirnov [Mon, 14 May 2012 20:02:14 +0000 (22:02 +0200)]
Add missing version bumps and APIchanges/Changelog entries.

7 years agolavfi: move buffer management function to a separate file.
Anton Khirnov [Thu, 10 May 2012 05:58:11 +0000 (07:58 +0200)]
lavfi: move buffer management function to a separate file.

7 years agolavfi: move formats-related functions from default.c to formats.c
Anton Khirnov [Thu, 10 May 2012 05:41:16 +0000 (07:41 +0200)]
lavfi: move formats-related functions from default.c to formats.c

It's more convenient to have them all in one file.

7 years agolavfi: move video-related functions to a separate file.
Anton Khirnov [Thu, 10 May 2012 05:36:10 +0000 (07:36 +0200)]
lavfi: move video-related functions to a separate file.

This is easier to follow than having them randomly scattered in
avfilter.c and defaults.c.

7 years agofate: make smjpeg a demux test
Mans Rullgard [Fri, 11 May 2012 14:15:35 +0000 (15:15 +0100)]
fate: make smjpeg a demux test

These codecs are covered elsewhere so make this a pure demux test.
Also rename it accordingly.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: separate sierra-vmd audio and video tests
Mans Rullgard [Fri, 11 May 2012 14:31:36 +0000 (15:31 +0100)]
fate: separate sierra-vmd audio and video tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: separate smacker audio and video tests
Mans Rullgard [Fri, 11 May 2012 14:22:55 +0000 (15:22 +0100)]
fate: separate smacker audio and video tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agolibmp3lame: set supported channel layouts.
Anton Khirnov [Mon, 7 May 2012 19:40:20 +0000 (21:40 +0200)]
libmp3lame: set supported channel layouts.

7 years agoavconv: automatically insert asyncts when -async is used.
Anton Khirnov [Wed, 9 May 2012 04:39:37 +0000 (06:39 +0200)]
avconv: automatically insert asyncts when -async is used.

Deprecate -async.

7 years agoavconv: add support for audio filters.
Anton Khirnov [Sat, 5 May 2012 16:22:46 +0000 (18:22 +0200)]
avconv: add support for audio filters.

The FATE changes are all off-by-one due to different rounding being used
(lrintf vs av_rescale_q).

7 years agolavfi: add asyncts filter.
Anton Khirnov [Tue, 8 May 2012 14:33:50 +0000 (16:33 +0200)]
lavfi: add asyncts filter.

7 years agolavfi: add aformat filter
Anton Khirnov [Sun, 6 May 2012 07:00:53 +0000 (09:00 +0200)]
lavfi: add aformat filter

Based on a patch by Mina Nagy Zaki <mnzaki@gmail.com>

7 years agolavfi: add an audio buffer sink.
Anton Khirnov [Fri, 4 May 2012 17:22:38 +0000 (19:22 +0200)]
lavfi: add an audio buffer sink.

7 years agolavfi: add an audio buffer source.
Anton Khirnov [Fri, 4 May 2012 16:57:04 +0000 (18:57 +0200)]
lavfi: add an audio buffer source.

7 years agobuffersrc: add av_buffersrc_write_frame().
Anton Khirnov [Sat, 31 Dec 2011 15:40:43 +0000 (16:40 +0100)]
buffersrc: add av_buffersrc_write_frame().

It's the same as av_vsrc_buffer_add_frame(), except it doesn't take pts
or pixel_aspect parameters. Those are read from AVFrame.

Deprecate av_vsrc_buffer_add_frame().

7 years agobuffersrc: fix invalid read in uninit if the fifo hasn't been allocated
Anton Khirnov [Sun, 6 May 2012 05:14:01 +0000 (07:14 +0200)]
buffersrc: fix invalid read in uninit if the fifo hasn't been allocated

7 years agolavfi: rename vsrc_buffer.c to buffersrc.c
Anton Khirnov [Fri, 4 May 2012 13:38:56 +0000 (15:38 +0200)]
lavfi: rename vsrc_buffer.c to buffersrc.c

Most of the code will be shared for both audio and video version.

7 years agoavfiltergraph: reindent
Anton Khirnov [Mon, 7 May 2012 18:21:20 +0000 (20:21 +0200)]
avfiltergraph: reindent

7 years agolavfi: add channel layout/sample rate negotiation.
Anton Khirnov [Sun, 6 May 2012 05:00:22 +0000 (07:00 +0200)]
lavfi: add channel layout/sample rate negotiation.

7 years agolavfi: add types and functions for channel layout/samplerate negotiation
Anton Khirnov [Sun, 6 May 2012 04:59:06 +0000 (06:59 +0200)]
lavfi: add types and functions for channel layout/samplerate negotiation

7 years agoyadif: Flush filter on eof.
Robert Nagy [Mon, 14 May 2012 12:25:25 +0000 (14:25 +0200)]
yadif: Flush filter on eof.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoyadif: Improve pts accuracy.
Robert Nagy [Sat, 12 May 2012 17:40:41 +0000 (19:40 +0200)]
yadif: Improve pts accuracy.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agomtv: do not byteswap raw video in demuxer
Mans Rullgard [Mon, 14 May 2012 15:47:59 +0000 (16:47 +0100)]
mtv: do not byteswap raw video in demuxer

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoavprobe: free options at the end of main()
Janne Grunau [Mon, 14 May 2012 10:39:41 +0000 (12:39 +0200)]
avprobe: free options at the end of main()

7 years agoavprobe: close opened codecs after use
Janne Grunau [Mon, 14 May 2012 10:23:10 +0000 (12:23 +0200)]
avprobe: close opened codecs after use

Fixes "memleak" on closing avprobe to make valgrind happy.

7 years agovcr1: Add vcr1_ prefixes to all static functions with generic names.
Diego Biurrun [Mon, 14 May 2012 10:36:45 +0000 (12:36 +0200)]
vcr1: Add vcr1_ prefixes to all static functions with generic names.

7 years agovcr1: Fix return type of common_init to match the function pointer signature.
Diego Biurrun [Mon, 14 May 2012 10:33:04 +0000 (12:33 +0200)]
vcr1: Fix return type of common_init to match the function pointer signature.

libavcodec/vcr1.c:182: warning: initialization from incompatible pointer type

7 years agovcr1enc: Replace obsolete get_bit_count by put_bits_count/flush_put_bits.
Diego Biurrun [Fri, 13 Apr 2012 06:52:08 +0000 (08:52 +0200)]
vcr1enc: Replace obsolete get_bit_count by put_bits_count/flush_put_bits.

7 years agomotion-test: remove disabled code
Diego Biurrun [Sun, 17 Jul 2011 11:30:24 +0000 (13:30 +0200)]
motion-test: remove disabled code

7 years agogxfenc: remove disabled half-implemented MJPEG tag
Diego Biurrun [Fri, 29 Jul 2011 10:02:20 +0000 (12:02 +0200)]
gxfenc: remove disabled half-implemented MJPEG tag

7 years agox86: use more standard construct for setting ASM functions in FFT code
Vitor Sessak [Sat, 12 May 2012 06:59:00 +0000 (08:59 +0200)]
x86: use more standard construct for setting ASM functions in FFT code

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agofate: westwood-aud: disable decoding
Mans Rullgard [Sat, 12 May 2012 12:17:38 +0000 (13:17 +0100)]
fate: westwood-aud: disable decoding

The codec (adpcm-ima-ws) is tested elsewhere.  Using framecrc output
provides more information than a single md5 if something goes wrong.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: caf: disable decoding
Mans Rullgard [Sat, 12 May 2012 11:39:59 +0000 (12:39 +0100)]
fate: caf: disable decoding

This is intended as a demuxer test and the file contains pcm_s16be
audio which is tested elsewhere.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: film-cvid: drop pcm audio and rename test
Mans Rullgard [Fri, 11 May 2012 19:59:58 +0000 (20:59 +0100)]
fate: film-cvid: drop pcm audio and rename test

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: d-cinema-demux: drop unnecessary flags
Mans Rullgard [Fri, 11 May 2012 17:30:44 +0000 (18:30 +0100)]
fate: d-cinema-demux: drop unnecessary flags

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: split off dpcm-interplay from interplay-mve tests
Mans Rullgard [Fri, 11 May 2012 15:48:17 +0000 (16:48 +0100)]
fate: split off dpcm-interplay from interplay-mve tests

These two files use the same audio codec so only one test for
this is needed.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: rename funcom-iss to adpcm-ima-iss
Mans Rullgard [Fri, 11 May 2012 16:43:54 +0000 (17:43 +0100)]
fate: rename funcom-iss to adpcm-ima-iss

This matches the name of the codec.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: rename cryo-apc to adpcm-ima-apc
Mans Rullgard [Fri, 11 May 2012 16:38:41 +0000 (17:38 +0100)]
fate: rename cryo-apc to adpcm-ima-apc

This matches the name of the tested codec.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: rename adpcm-psx-str-v3 to adpcm-xa
Mans Rullgard [Fri, 11 May 2012 15:25:34 +0000 (16:25 +0100)]
fate: rename adpcm-psx-str-v3 to adpcm-xa

This matches the name of the codec tested.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: split off adpcm-ms-mono test from dxa-feeble
Mans Rullgard [Fri, 11 May 2012 16:08:29 +0000 (17:08 +0100)]
fate: split off adpcm-ms-mono test from dxa-feeble

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: split off adpcm-ima-ws test from vqa-cc
Mans Rullgard [Fri, 11 May 2012 14:36:57 +0000 (15:36 +0100)]
fate: split off adpcm-ima-ws test from vqa-cc

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: add adpcm-ima-smjpeg test
Mans Rullgard [Fri, 11 May 2012 14:16:43 +0000 (15:16 +0100)]
fate: add adpcm-ima-smjpeg test

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: split off adpcm-ima-amv from amv test
Mans Rullgard [Fri, 11 May 2012 12:33:35 +0000 (13:33 +0100)]
fate: split off adpcm-ima-amv from amv test

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: separate bmv audio and video tests
Mans Rullgard [Fri, 11 May 2012 13:58:31 +0000 (14:58 +0100)]
fate: separate bmv audio and video tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: separate delphine-cin audio and video tests
Mans Rullgard [Fri, 11 May 2012 03:11:43 +0000 (04:11 +0100)]
fate: separate delphine-cin audio and video tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: truemotion1: disable audio
Mans Rullgard [Fri, 11 May 2012 16:16:58 +0000 (17:16 +0100)]
fate: truemotion1: disable audio

These tests include adpcm-ima-dk3 audio which is tested elsewhere.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: qtrle: disable audio in all tests
Mans Rullgard [Fri, 11 May 2012 15:30:00 +0000 (16:30 +0100)]
fate: qtrle: disable audio in all tests

These files contain mace6 audio which is tested elsewhere.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: pcm-planar: disable video
Mans Rullgard [Fri, 11 May 2012 12:49:13 +0000 (13:49 +0100)]
fate: pcm-planar: disable video

This file has eamad video which is tested elsewhere.
Also rename the test to reflect this change.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: mtv: disable video decoding
Mans Rullgard [Fri, 11 May 2012 14:47:37 +0000 (15:47 +0100)]
fate: mtv: disable video decoding

This test contains raw rgb565le video.  Converting to rgb24 serves
no useful purpose here.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agodoc: misc improvements for the Windows section
Diego Biurrun [Thu, 10 May 2012 12:18:10 +0000 (14:18 +0200)]
doc: misc improvements for the Windows section

Fix some orthography, wording and grammar issues; update the SDL section
with more current instructions; simplify lib.exe example command line;
drop outdated comments about libnut.

7 years agodoc: fix link to fate.libav.org
Diego Elio Pettenò [Sat, 12 May 2012 23:22:06 +0000 (16:22 -0700)]
doc: fix link to fate.libav.org

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
7 years agolavfi: autoinsert resample filter when necessary.
Anton Khirnov [Fri, 4 May 2012 13:35:12 +0000 (15:35 +0200)]
lavfi: autoinsert resample filter when necessary.

7 years agolavfi: add lavr-based audio resampling filter.
Anton Khirnov [Fri, 4 May 2012 13:09:17 +0000 (15:09 +0200)]
lavfi: add lavr-based audio resampling filter.

7 years agox86: vc1: drop MMX loop filter implementation, which uses MMX2 instructions.
Michael Kostylev [Fri, 11 May 2012 10:26:44 +0000 (12:26 +0200)]
x86: vc1: drop MMX loop filter implementation, which uses MMX2 instructions.

7 years agofate: employ better names and add a convenient shorthand for vp6 tests
Diego Biurrun [Wed, 9 May 2012 02:02:01 +0000 (04:02 +0200)]
fate: employ better names and add a convenient shorthand for vp6 tests

7 years agoarm/neon: dsputil: use correct size specifiers on vld1/vst1
Mans Rullgard [Thu, 10 May 2012 16:40:30 +0000 (17:40 +0100)]
arm/neon: dsputil: use correct size specifiers on vld1/vst1

Change the size specifiers to match the actual element sizes
of the data.  This makes no practical difference with strict
alignment checking disabled (the default) other than somewhat
documenting the code.  With strict alignment checking on, it
avoids trapping the unaligned loads.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoarm: dsputil: prettify some conditional instructions in put_pixels macros
Mans Rullgard [Thu, 10 May 2012 15:24:33 +0000 (16:24 +0100)]
arm: dsputil: prettify some conditional instructions in put_pixels macros

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agovqavideo: change x/y loop counters to the usual pattern
Mans Rullgard [Mon, 23 Apr 2012 11:51:28 +0000 (12:51 +0100)]
vqavideo: change x/y loop counters to the usual pattern

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoavconv: use lrint() for rounding double timestamps
Mans Rullgard [Thu, 10 May 2012 11:19:10 +0000 (12:19 +0100)]
avconv: use lrint() for rounding double timestamps

Converting the double to float for lrintf() loses precision when
the value is not exactly representable as a single-precision float.
Apart from being inaccurate, this causes discrepancies in some
configurations due to differences in rounding.

Note that the changed timestamp in the vc1-ism test is a bogus,
made-up value.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agorv40dsp x86: MMX/MMX2/3DNow/SSE2/SSSE3 implementations of MC
Christophe Gisquet [Thu, 19 Apr 2012 20:36:17 +0000 (22:36 +0200)]
rv40dsp x86: MMX/MMX2/3DNow/SSE2/SSSE3 implementations of MC

Code mostly inspired by vp8's MC, however:
- its MMX2 horizontal filter is worse because it can't take advantage of
  the coefficient redundancy
- that same coefficient redundancy allows better code for non-SSSE3 versions

Benchmark (rounded to tens of unit):
        V8x8  H8x8  2D8x8  V16x16  H16x16  2D16x16
C       445    358   985    1785    1559    3280
MMX*    219    271   478     714     929    1443
SSE2    131    158   294     425     515     892
SSSE3   120    122   248     387     390     763

End result is overall around a 15% speedup for SSSE3 version (on 6 sequences);
all loop filter functions now take around 55% of decoding time, while luma MC
dsp functions are around 6%, chroma ones are 1.3% and biweight around 2.3%.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoape: Use unsigned integer maths
Christophe Gisquet [Tue, 28 Feb 2012 16:42:12 +0000 (17:42 +0100)]
ape: Use unsigned integer maths

This involves a division that should be a shift.

Signed-off-by: Diego Biurrun <diego@biurrun.de>