ffmpeg.git
7 years agoMerge commit '63e58c55c17d7f8b5eec9c082fe0f8edc305a24e'
Michael Niedermayer [Wed, 10 Apr 2013 15:49:13 +0000 (17:49 +0200)]
Merge commit '63e58c55c17d7f8b5eec9c082fe0f8edc305a24e'

* commit '63e58c55c17d7f8b5eec9c082fe0f8edc305a24e':
  vf_delogo: switch to an AVOptions-based system.

Conflicts:
libavfilter/vf_delogo.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit '460e7b4f6d473d9f03ed45501221f9cb209b28fd'
Michael Niedermayer [Wed, 10 Apr 2013 15:13:29 +0000 (17:13 +0200)]
Merge commit '460e7b4f6d473d9f03ed45501221f9cb209b28fd'

* commit '460e7b4f6d473d9f03ed45501221f9cb209b28fd':
  vf_cropdetect: switch to an AVOptions-based system.

Conflicts:
doc/filters.texi
libavfilter/vf_cropdetect.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit 'fba0156af77b11ec99edf4ee8f511b7aaa6b1891'
Michael Niedermayer [Wed, 10 Apr 2013 14:56:33 +0000 (16:56 +0200)]
Merge commit 'fba0156af77b11ec99edf4ee8f511b7aaa6b1891'

* commit 'fba0156af77b11ec99edf4ee8f511b7aaa6b1891':
  vf_crop: switch to an AVOptions-based system.

Conflicts:
doc/filters.texi
libavfilter/vf_crop.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit '51def31dbe5b6e857536de8fa428f263d64f3ae5'
Michael Niedermayer [Wed, 10 Apr 2013 14:28:23 +0000 (16:28 +0200)]
Merge commit '51def31dbe5b6e857536de8fa428f263d64f3ae5'

* commit '51def31dbe5b6e857536de8fa428f263d64f3ae5':
  vf_boxblur: switch to an AVOptions-based system.

Conflicts:
doc/filters.texi
libavfilter/vf_boxblur.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavfilter/blackframe: add "thres" back as alternative
Michael Niedermayer [Wed, 10 Apr 2013 13:48:02 +0000 (15:48 +0200)]
avfilter/blackframe: add "thres" back as alternative

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavfilter: support alternative keys in the alternative shorthand system
Michael Niedermayer [Wed, 10 Apr 2013 13:47:18 +0000 (15:47 +0200)]
avfilter: support alternative keys in the alternative shorthand system

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit '62dcdb028cc84845fd263bb09304c4c6500bda7a'
Michael Niedermayer [Wed, 10 Apr 2013 13:27:40 +0000 (15:27 +0200)]
Merge commit '62dcdb028cc84845fd263bb09304c4c6500bda7a'

* commit '62dcdb028cc84845fd263bb09304c4c6500bda7a':
  vf_blackframe: switch to an AVOptions-based system.
  vf_aspect: switch to an AVOptions-based system.

Conflicts:
doc/filters.texi
libavfilter/vf_aspect.c
libavfilter/vf_blackframe.c

In the aspect filter most changes are merged but not the final
switch to the libav API because that is too restrictive and has
difficulty handling the syntax.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit 'e67a87eac814c7805d18c983c43033a8a1bd62af'
Michael Niedermayer [Wed, 10 Apr 2013 11:52:53 +0000 (13:52 +0200)]
Merge commit 'e67a87eac814c7805d18c983c43033a8a1bd62af'

* commit 'e67a87eac814c7805d18c983c43033a8a1bd62af':
  vf_(no)format: switch to an AVOptions-based system.
  af_aformat: switch to an AVOptions-based system.

Conflicts:
doc/filters.texi
libavfilter/af_aformat.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit 'd28cb849899abd98bf2dd72f5a3dd56d441aeb27'
Michael Niedermayer [Wed, 10 Apr 2013 11:43:19 +0000 (13:43 +0200)]
Merge commit 'd28cb849899abd98bf2dd72f5a3dd56d441aeb27'

* commit 'd28cb849899abd98bf2dd72f5a3dd56d441aeb27':
  buffersrc: switch to an AVOptions-based system.

Conflicts:
doc/filters.texi
libavfilter/buffersrc.c

Commit not merged, merge left to maintainer.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit '4fa1f52e33b70029e2b621852f3af7c1ef9aecff'
Michael Niedermayer [Wed, 10 Apr 2013 11:27:33 +0000 (13:27 +0200)]
Merge commit '4fa1f52e33b70029e2b621852f3af7c1ef9aecff'

* commit '4fa1f52e33b70029e2b621852f3af7c1ef9aecff':
  af_resample: switch to an AVOptions-based system.

Conflicts:
libavfilter/avfilter.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavfi/overlay: add process_command callback
Stefano Sabatini [Tue, 19 Feb 2013 23:15:36 +0000 (00:15 +0100)]
lavfi/overlay: add process_command callback

7 years agolavfi/overlay: add enable expression
Stefano Sabatini [Mon, 8 Apr 2013 10:22:48 +0000 (12:22 +0200)]
lavfi/overlay: add enable expression

This expression is useful to enable/disable overlaying on the fly.

Note that this can't be easily done relying on the filtergraph structure,
since this implies caching issues or a null frame overlaying in the best
case, which is better avoided for performance and convenience reasons.

7 years agolavfi/overlay: add dynamic expression evaluation support
Stefano Sabatini [Tue, 19 Feb 2013 19:10:02 +0000 (20:10 +0100)]
lavfi/overlay: add dynamic expression evaluation support

Add support for dynamic x, y expressions evaluation.

Also add support for an evaluation mode which allows to disable per-frame
evaluation, so that there is no speedloss in case the expression does not
depend on frame variables.

7 years agolavu/eval: rename "new_eval_expr()" to "make_eval_expr()"
Stefano Sabatini [Tue, 5 Mar 2013 12:46:57 +0000 (13:46 +0100)]
lavu/eval: rename "new_eval_expr()" to "make_eval_expr()"

The new name is more semantically and stilistically consistent.

7 years agoMerge commit 'b439c992c23f3e0f3832fffd2a34a664b236c525'
Michael Niedermayer [Wed, 10 Apr 2013 10:41:06 +0000 (12:41 +0200)]
Merge commit 'b439c992c23f3e0f3832fffd2a34a664b236c525'

* commit 'b439c992c23f3e0f3832fffd2a34a664b236c525':
  lavfi: switch to an AVOptions-based system.
  dfa: implement missing TDLT coding method

Conflicts:
libavcodec/dfa.c
libavfilter/avfilter.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavf: add libquvi demuxer.
Clément Bœsch [Thu, 4 Apr 2013 06:22:32 +0000 (08:22 +0200)]
lavf: add libquvi demuxer.

7 years agoReplace all occurrences of PRI in sscanf() calls with SCN
James Almer [Wed, 10 Apr 2013 07:52:08 +0000 (04:52 -0300)]
Replace all occurrences of PRI in sscanf() calls with SCN

Signed-off-by: James Almer <jamrial@gmail.com>
7 years agox86: sbrdsp: implement SSE2 qmf_pre_shuffle
Christophe Gisquet [Tue, 9 Apr 2013 22:54:25 +0000 (22:54 +0000)]
x86: sbrdsp: implement SSE2 qmf_pre_shuffle

From 253 to 51 cycles on Arrandale and Win64.
44 cycles on SandyBridge.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavfi/separatefields: adjust tb to avoid rounding errors.
Clément Bœsch [Wed, 10 Apr 2013 00:38:07 +0000 (02:38 +0200)]
lavfi/separatefields: adjust tb to avoid rounding errors.

Since the PTS need double accuracy, the timebase denominator is doubled
as well, and this new time base is used for the timestamp unit.

7 years agoavformat/avisynth: Cosmetics
d s [Tue, 9 Apr 2013 22:38:27 +0000 (15:38 -0700)]
avformat/avisynth: Cosmetics

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavformat/avisynth: Fix off-by-one error in avisynth demuxer.
d s [Tue, 9 Apr 2013 22:36:58 +0000 (15:36 -0700)]
avformat/avisynth: Fix off-by-one error in avisynth demuxer.

Fixes ticket #2412.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoseparatefields filter
Paul B Mahol [Tue, 9 Apr 2013 15:35:23 +0000 (15:35 +0000)]
separatefields filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agoMerge remote-tracking branch 'cigaes/master'
Michael Niedermayer [Tue, 9 Apr 2013 23:49:08 +0000 (01:49 +0200)]
Merge remote-tracking branch 'cigaes/master'

* cigaes/master:
  ffmpeg: use a rational for -aspect option.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: print frame decoding error statistic
Michael Niedermayer [Tue, 9 Apr 2013 23:47:03 +0000 (01:47 +0200)]
ffmpeg: print frame decoding error statistic

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: dont exit 0 if fewer than 1/3 of the input could be decoded.
Michael Niedermayer [Tue, 9 Apr 2013 23:10:06 +0000 (01:10 +0200)]
ffmpeg: dont exit 0 if fewer than 1/3 of the input could be decoded.

Fixes Ticket2405

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264: wait for missing slices only on frames
Michael Niedermayer [Tue, 9 Apr 2013 21:11:06 +0000 (23:11 +0200)]
h264: wait for missing slices only on frames

The EC code does not support fields currently thus it makes no
sense to wait for these cases (which also the check doesnt handle
correctly)

Fixes Ticket 2454

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavc/ass: use bprint API in ff_ass_add_rect().
Clément Bœsch [Tue, 9 Apr 2013 19:43:44 +0000 (21:43 +0200)]
lavc/ass: use bprint API in ff_ass_add_rect().

7 years agoffmpeg: use a rational for -aspect option.
Nicolas George [Tue, 9 Apr 2013 09:43:08 +0000 (11:43 +0200)]
ffmpeg: use a rational for -aspect option.

7 years agovf_delogo: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_delogo: switch to an AVOptions-based system.

7 years agovf_cropdetect: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_cropdetect: switch to an AVOptions-based system.

7 years agovf_crop: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_crop: switch to an AVOptions-based system.

7 years agovf_boxblur: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_boxblur: switch to an AVOptions-based system.

7 years agovf_blackframe: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_blackframe: switch to an AVOptions-based system.

7 years agovf_aspect: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_aspect: switch to an AVOptions-based system.

7 years agovf_(no)format: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_(no)format: switch to an AVOptions-based system.

7 years agoaf_aformat: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
af_aformat: switch to an AVOptions-based system.

7 years agobuffersrc: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
buffersrc: switch to an AVOptions-based system.

7 years agoaf_resample: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
af_resample: switch to an AVOptions-based system.

7 years agolavfi: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
lavfi: switch to an AVOptions-based system.

7 years agodfa: implement missing TDLT coding method
Kostya Shishkov [Mon, 8 Apr 2013 18:06:42 +0000 (20:06 +0200)]
dfa: implement missing TDLT coding method

7 years agomsmpeg4: ignore negative DC overflow
Michael Niedermayer [Tue, 9 Apr 2013 14:27:49 +0000 (16:27 +0200)]
msmpeg4: ignore negative DC overflow

Fixes second half of Ticket2414

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomsmpeg4: fix asm code in ff_msmpeg4_pred_dc()
Michael Niedermayer [Tue, 9 Apr 2013 14:25:12 +0000 (16:25 +0200)]
msmpeg4: fix asm code in ff_msmpeg4_pred_dc()

Fixes first half of Ticket2414

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 9 Apr 2013 09:36:35 +0000 (11:36 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  srtp: Include rtpdec.h for RTP_MAX_PACKET_LENGTH
  rtpdec: Increase max rtp packet size to 8192
  lavf: Use RTP_MAX_PACKET_LENGTH instead of 1500
  h264pred: Add a few missing const declarations for ff_cropTbl derived pointers

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosrtp: Include rtpdec.h for RTP_MAX_PACKET_LENGTH
Martin Storsjö [Tue, 9 Apr 2013 08:56:55 +0000 (11:56 +0300)]
srtp: Include rtpdec.h for RTP_MAX_PACKET_LENGTH

This was missed from 350ad50b - this fixes building the fate-srtp
test.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortpdec: Increase max rtp packet size to 8192
Andrew Van Til [Thu, 4 Apr 2013 23:46:50 +0000 (01:46 +0200)]
rtpdec: Increase max rtp packet size to 8192

This fixes connecting to "Ceton InfiniTV4 PCIe & USB".

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agolavf: Use RTP_MAX_PACKET_LENGTH instead of 1500
Andrew Van Til [Thu, 4 Apr 2013 23:45:52 +0000 (01:45 +0200)]
lavf: Use RTP_MAX_PACKET_LENGTH instead of 1500

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Tue, 9 Apr 2013 02:49:56 +0000 (04:49 +0200)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: simplify video pts calculation
  ffplay: fix indentation
  ffplay: handle audio buffersink output properly with buffering filters
  ffplay: set time_base of audio filter buffer src

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavfilter/vf_noise: fix build without mmx*inline
Michael Niedermayer [Tue, 9 Apr 2013 02:43:19 +0000 (04:43 +0200)]
avfilter/vf_noise: fix build without mmx*inline

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavfi: remove noise libmpcodecs wrapper
Paul B Mahol [Fri, 5 Apr 2013 23:44:54 +0000 (23:44 +0000)]
lavfi: remove noise libmpcodecs wrapper

Native filter have reached similar performance.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agolavfi/noise: copy inline asm from mp=noise
Paul B Mahol [Mon, 8 Apr 2013 01:40:31 +0000 (01:40 +0000)]
lavfi/noise: copy inline asm from mp=noise

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agoffplay: simplify video pts calculation
Marton Balint [Mon, 1 Apr 2013 13:04:14 +0000 (15:04 +0200)]
ffplay: simplify video pts calculation

Also use frame->pts instead of a standalone variable

Signed-off-by: Marton Balint <cus@passwd.hu>
7 years agoffplay: fix indentation
Marton Balint [Mon, 1 Apr 2013 19:10:25 +0000 (21:10 +0200)]
ffplay: fix indentation

Signed-off-by: Marton Balint <cus@passwd.hu>
7 years agoffplay: handle audio buffersink output properly with buffering filters
Marton Balint [Mon, 1 Apr 2013 18:26:22 +0000 (20:26 +0200)]
ffplay: handle audio buffersink output properly with buffering filters

Fixes cases when the audio filter generates less or more frames than the input.

Signed-off-by: Marton Balint <cus@passwd.hu>
7 years agoffplay: set time_base of audio filter buffer src
Marton Balint [Sun, 31 Mar 2013 21:53:15 +0000 (23:53 +0200)]
ffplay: set time_base of audio filter buffer src

Fixes ticket #2408.

Signed-off-by: Marton Balint <cus@passwd.hu>
7 years agolavfi: always check return value of ff_get_{audio,video}_buffer()
Paul B Mahol [Mon, 8 Apr 2013 18:48:16 +0000 (18:48 +0000)]
lavfi: always check return value of ff_get_{audio,video}_buffer()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agolavfi/mandelbrot: reindent after 51bcd5cd.
Clément Bœsch [Mon, 8 Apr 2013 18:40:54 +0000 (20:40 +0200)]
lavfi/mandelbrot: reindent after 51bcd5cd.

7 years agoh264pred: Add a few missing const declarations for ff_cropTbl derived pointers
Martin Storsjö [Mon, 8 Apr 2013 14:34:38 +0000 (17:34 +0300)]
h264pred: Add a few missing const declarations for ff_cropTbl derived pointers

The pointers that get assigned ff_cropTbl were made const in
9e0f14f1, but other variables that transitively are assigned
based on these variables were missed.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agolavfi/mandelbrot: fix speedloss with default config after morphing introduction.
Clément Bœsch [Mon, 8 Apr 2013 08:19:11 +0000 (10:19 +0200)]
lavfi/mandelbrot: fix speedloss with default config after morphing introduction.

Morphing was introduced in 0d6e5a171 and forced cos/sin computations
with some mult all the time. This commit makes sure these are computed
only when morphing is enabled.

7 years agolavf/wavdec: skip padding byte
Matthieu Bouron [Mon, 8 Apr 2013 16:27:11 +0000 (18:27 +0200)]
lavf/wavdec: skip padding byte

WAV chunks must be even aligned. This patch skip the extra padding byte
if chunk size is odd.

Fixes ticket #2417.

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agortsp: add option to set the socket timeout of the lower protocol.
Michael Niedermayer [Sun, 7 Apr 2013 01:39:56 +0000 (03:39 +0200)]
rtsp: add option to set the socket timeout of the lower protocol.

Fixes Ticket2294

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavio.h: fix indention
Michael Niedermayer [Mon, 8 Apr 2013 12:08:58 +0000 (14:08 +0200)]
avio.h: fix indention

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavfi/il: use standard option parsing
Paul B Mahol [Mon, 8 Apr 2013 11:57:13 +0000 (11:57 +0000)]
lavfi/il: use standard option parsing

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agoMerge remote-tracking branch 'mbouron/master'
Michael Niedermayer [Mon, 8 Apr 2013 11:57:29 +0000 (13:57 +0200)]
Merge remote-tracking branch 'mbouron/master'

* mbouron/master:
  lavf/mxfdec: handle identification metadata

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoflvenc: dont call avio_flush() unconditional
Michael Niedermayer [Mon, 8 Apr 2013 11:31:53 +0000 (13:31 +0200)]
flvenc: dont call avio_flush() unconditional

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomux: also call avio_flush() when flushing the muxer
Michael Niedermayer [Mon, 8 Apr 2013 11:31:12 +0000 (13:31 +0200)]
mux: also call avio_flush() when flushing the muxer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavformat: add writeout_count statistic
Michael Niedermayer [Mon, 8 Apr 2013 11:21:34 +0000 (13:21 +0200)]
avformat: add writeout_count statistic

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 8 Apr 2013 10:54:18 +0000 (12:54 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtables

Conflicts:
libavcodec/mathtables.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit '9e0f14f16cfc9456a691655fda7d01090bffe47e'
Michael Niedermayer [Mon, 8 Apr 2013 10:47:49 +0000 (12:47 +0200)]
Merge commit '9e0f14f16cfc9456a691655fda7d01090bffe47e'

* commit '9e0f14f16cfc9456a691655fda7d01090bffe47e':
  lavc: Make pointers to ff_cropTbl const
  vp3: Embed idct_permutation array directly in VP3DecoderContext

Conflicts:
libavcodec/bit_depth_template.c
libavcodec/vp3.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit '610b18e2e3d8ef5eca3e78f33a0625689b8d2bb9'
Michael Niedermayer [Mon, 8 Apr 2013 10:40:26 +0000 (12:40 +0200)]
Merge commit '610b18e2e3d8ef5eca3e78f33a0625689b8d2bb9'

* commit '610b18e2e3d8ef5eca3e78f33a0625689b8d2bb9':
  x86: qpel: Move fullpel and l2 functions to a separate file
  bfin: Make vp3 functions static

Conflicts:
libavcodec/bfin/vp3_bfin.c
libavcodec/x86/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit 'aa8d89536d35af0a0c8d8bac2b452ffe7b82cae5'
Michael Niedermayer [Mon, 8 Apr 2013 10:18:29 +0000 (12:18 +0200)]
Merge commit 'aa8d89536d35af0a0c8d8bac2b452ffe7b82cae5'

* commit 'aa8d89536d35af0a0c8d8bac2b452ffe7b82cae5':
  bfin: Don't use the vp3 idct functions if bitexact behaviour is expected

Conflicts:
libavcodec/bfin/vp3_bfin.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtables
Ronald S. Bultje [Sun, 3 Mar 2013 23:47:11 +0000 (15:47 -0800)]
lavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtables

These are widely used throughout libavcodec, nothing dsputil-specific.

Change ff_cropTbl to a statically initialized table, to avoid
initializing it with a function call.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agolavc: Make pointers to ff_cropTbl const
Martin Storsjö [Wed, 3 Apr 2013 12:28:45 +0000 (15:28 +0300)]
lavc: Make pointers to ff_cropTbl const

There's no point in these pointers not being const.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agox86: qpel: Move fullpel and l2 functions to a separate file
Ronald S. Bultje [Sat, 9 Mar 2013 04:40:16 +0000 (20:40 -0800)]
x86: qpel: Move fullpel and l2 functions to a separate file

This way, they can be shared between mpeg4qpel and h264qpel without
requiring either one to be compiled unconditionally.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agovp3: Embed idct_permutation array directly in VP3DecoderContext
Ronald S. Bultje [Sat, 9 Mar 2013 17:08:36 +0000 (09:08 -0800)]
vp3: Embed idct_permutation array directly in VP3DecoderContext

This makes the vp3 decoder less dependent on dsputil, and will aid
in making it (eventually) dsputil-independent.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agobfin: Make vp3 functions static
Martin Storsjö [Wed, 3 Apr 2013 11:26:14 +0000 (04:26 -0700)]
bfin: Make vp3 functions static

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agobfin: Don't use the vp3 idct functions if bitexact behaviour is expected
Martin Storsjö [Wed, 3 Apr 2013 10:56:33 +0000 (03:56 -0700)]
bfin: Don't use the vp3 idct functions if bitexact behaviour is expected

In the non-bitexact mode, vp3 currently decodes to the same
frame crcs as before 28f9ab702 (and the output visually looks
correct).

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agolavf/mxfdec: handle identification metadata
Matthieu Bouron [Fri, 29 Mar 2013 13:09:31 +0000 (14:09 +0100)]
lavf/mxfdec: handle identification metadata

7 years agolavfi/histogram: use standard options parsing
Paul B Mahol [Mon, 8 Apr 2013 09:04:02 +0000 (09:04 +0000)]
lavfi/histogram: use standard options parsing

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agolavfi/blend,noise: remove unedeed av_opt_free() call
Paul B Mahol [Mon, 8 Apr 2013 08:53:34 +0000 (08:53 +0000)]
lavfi/blend,noise: remove unedeed av_opt_free() call

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agox86: sbrdsp: implement SSE qmf_deint_bfly
Christophe Gisquet [Sun, 7 Apr 2013 20:20:33 +0000 (20:20 +0000)]
x86: sbrdsp: implement SSE qmf_deint_bfly

From 312 to 89/68 (sse/sse2) cycles on Arrandale and Win64.
Sandybridge: 68/47 cycles.

Having a loop counter is a 7 cycle gain.
Unrolling is another 7 cycle gain.
Working in reverse scan is another 6 cycles.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodfa: implement tdlt chunk decoding
Paul B Mahol [Sat, 6 Apr 2013 13:26:02 +0000 (13:26 +0000)]
dfa: implement tdlt chunk decoding

Sample & pseudo code provided by Vladimir "VAG" Gneushev.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agoffmpeg: Print a warning when -frames is affecting non video frames
Michael Niedermayer [Sun, 7 Apr 2013 20:13:58 +0000 (22:13 +0200)]
ffmpeg: Print a warning when -frames is affecting non video frames

Fixes Ticket2395

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodpxdec: Fix decoding of RGBA10
Michael Niedermayer [Sun, 7 Apr 2013 19:24:06 +0000 (21:24 +0200)]
dpxdec: Fix decoding of RGBA10

Fixes Ticket2392

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavc: fix recoded subtitles end.
Nicolas George [Sun, 7 Apr 2013 07:48:57 +0000 (09:48 +0200)]
lavc: fix recoded subtitles end.

Text subtitles packets are not 0-terminated (and if they are,
it is handled by the recoding process since 0 is a valid
Unicode code point). The terminating 0 would overwrite the
last payload octet.

OTOH, packets must be 0-padded.

Fix a problem reported in trac ticket #2431.

7 years agoasfenc: convert asserts to av_assert
Michael Niedermayer [Sun, 7 Apr 2013 01:46:50 +0000 (03:46 +0200)]
asfenc: convert asserts to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavf/http: use a more compatible default user agent.
Clément Bœsch [Thu, 4 Apr 2013 10:18:02 +0000 (12:18 +0200)]
lavf/http: use a more compatible default user agent.

Fixes Ticket 2265.

7 years agovf_noise: Fix av_lfg_get() maximum value
Michael Niedermayer [Sat, 6 Apr 2013 17:58:30 +0000 (19:58 +0200)]
vf_noise: Fix av_lfg_get() maximum value

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovf_noise: remove low quality mode
Michael Niedermayer [Sat, 6 Apr 2013 16:44:56 +0000 (18:44 +0200)]
vf_noise: remove low quality mode

It produces vissible correlation between lines

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavfilter/vf_mp: fix x86 cpu caps
Michael Niedermayer [Sat, 6 Apr 2013 16:19:54 +0000 (18:19 +0200)]
avfilter/vf_mp: fix x86 cpu caps

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosbrdsp: unroll and use integer operations
Christophe Gisquet [Sat, 6 Apr 2013 10:52:13 +0000 (10:52 +0000)]
sbrdsp: unroll and use integer operations

This patch can be controversial, by assuming floats are IEEE-754 and
particular behaviour of the FPU will get in the way.
Timing on Arrandale and Win32 (thus, x87 FPU is used in the reference).

sbr_qmf_pre_shuffle_c: 115 to 76
sbr_neg_odd_64_c: 84 to 55
sbr_qmf_post_shuffle_c: 112 to 83

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosbrdsp: unroll sbr_autocorrelate_c
Christophe Gisquet [Sat, 6 Apr 2013 10:52:12 +0000 (10:52 +0000)]
sbrdsp: unroll sbr_autocorrelate_c

1410 cycles to 1148 on Arrandale/Win64.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agocoverage: filter /usr/include out
Michael Niedermayer [Sat, 6 Apr 2013 11:47:17 +0000 (13:47 +0200)]
coverage: filter /usr/include out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 6 Apr 2013 11:29:14 +0000 (13:29 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  x86: sbrdsp: Implement SSE neg_odd_64

Conflicts:
libavcodec/x86/sbrdsp.asm

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit 'a862c7d3368241e72a465ab944afa38ea62a6640'
Michael Niedermayer [Sat, 6 Apr 2013 11:23:38 +0000 (13:23 +0200)]
Merge commit 'a862c7d3368241e72a465ab944afa38ea62a6640'

* commit 'a862c7d3368241e72a465ab944afa38ea62a6640':
  Integrate lcov/gcov into Libav

Conflicts:
Makefile
common.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agofate: add coverage for background disposal in gif decoder
Paul B Mahol [Mon, 25 Feb 2013 08:53:12 +0000 (08:53 +0000)]
fate: add coverage for background disposal in gif decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agodoc/filters: fix main/over mismatch in movie examples
Stefano Sabatini [Fri, 5 Apr 2013 10:59:59 +0000 (12:59 +0200)]
doc/filters: fix main/over mismatch in movie examples

Found-By: littlebat <dashing.meng@gmail.com>
7 years agox86: sbrdsp: Implement SSE neg_odd_64
Christophe Gisquet [Fri, 21 Dec 2012 17:11:06 +0000 (18:11 +0100)]
x86: sbrdsp: Implement SSE neg_odd_64

Timing on Arrandale:
        C   SSE
Win32:  57   44
Win64:  47   38
Unrolling and not storing mask both save some cycles.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 5 Apr 2013 20:09:10 +0000 (22:09 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  h261: Move mvmap table to the only place it is used

Conflicts:
libavcodec/h261data.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit '0404ec619d43f27b87c424aa1a572a6699fe6a31'
Michael Niedermayer [Fri, 5 Apr 2013 20:00:38 +0000 (22:00 +0200)]
Merge commit '0404ec619d43f27b87c424aa1a572a6699fe6a31'

* commit '0404ec619d43f27b87c424aa1a572a6699fe6a31':
  h261: cosmetics: Move functions to avoid forward declarations

Conflicts:
libavcodec/h261dec.c
libavcodec/h261enc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit 'b78f81c8033904e2e75add0c9a603df6df514a30'
Michael Niedermayer [Fri, 5 Apr 2013 19:53:57 +0000 (21:53 +0200)]
Merge commit 'b78f81c8033904e2e75add0c9a603df6df514a30'

* commit 'b78f81c8033904e2e75add0c9a603df6df514a30':
  h261: K&R formatting and prettyprinting cosmetics

Conflicts:
libavcodec/h261_parser.c
libavcodec/h261data.h
libavcodec/h261dec.c
libavcodec/h261enc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>