ffmpeg.git
6 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.

6 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>
6 years agolavf: add libquvi demuxer.
Clément Bœsch [Thu, 4 Apr 2013 06:22:32 +0000 (08:22 +0200)]
lavf: add libquvi demuxer.

6 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>
6 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>
6 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.

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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().

6 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.

6 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.

6 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

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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.

6 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>
6 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.

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 years agolavf/mxfdec: handle identification metadata
Matthieu Bouron [Fri, 29 Mar 2013 13:09:31 +0000 (14:09 +0100)]
lavf/mxfdec: handle identification metadata

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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.

6 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>
6 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.

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 years agoMerge commit '66ac3dbf1e60c27d0f1d779a424c0b33b7ca3780'
Michael Niedermayer [Fri, 5 Apr 2013 19:31:08 +0000 (21:31 +0200)]
Merge commit '66ac3dbf1e60c27d0f1d779a424c0b33b7ca3780'

* commit '66ac3dbf1e60c27d0f1d779a424c0b33b7ca3780':
  h261: Move function declarations to h261.h

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

* commit 'ed16c2dbf47cdd7c48825b4da6e7036698e5dde1':
  h261: Remove H.261 loop filter from dsputil

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

* commit 'ae35d91d44c5e676af3d146bf8d05b241c467675':
  h261: Move ff_h261_rl_table_store declaration to header file

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofix bug of finding CPU device
highgod0401 [Fri, 5 Apr 2013 04:22:07 +0000 (12:22 +0800)]
fix bug of finding CPU device

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoIntegrate lcov/gcov into Libav
Reinhard Tartler [Sat, 23 Mar 2013 07:17:24 +0000 (08:17 +0100)]
Integrate lcov/gcov into Libav

The gcov/lcov are a common toolchain for visualizing code coverage with
the GNU/Toolchain. The documentation and implementation of this
integration was heavily inspired from the blog entry by Mike Melanson:
http://multimedia.cx/eggs/using-lcov-with-ffmpeg/

6 years agoimg2dec: make use of AV_OPT_TYPE_IMAGE_SIZE
Paul B Mahol [Fri, 5 Apr 2013 15:07:52 +0000 (15:07 +0000)]
img2dec: make use of AV_OPT_TYPE_IMAGE_SIZE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoimg2dec: make use of AV_OPT_TYPE_VIDEO_RATE
Paul B Mahol [Fri, 5 Apr 2013 15:02:35 +0000 (15:02 +0000)]
img2dec: make use of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agorawvideodec: make use of AV_OPT_TYPE_IMAGE_SIZE
Paul B Mahol [Fri, 5 Apr 2013 15:00:16 +0000 (15:00 +0000)]
rawvideodec: make use of AV_OPT_TYPE_IMAGE_SIZE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agorawvideodec: make use of AV_OPT_TYPE_VIDEO_RATE
Paul B Mahol [Fri, 5 Apr 2013 14:56:19 +0000 (14:56 +0000)]
rawvideodec: make use of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agorawdec: make use of AV_OPT_TYPE_VIDEO_RATE
Paul B Mahol [Fri, 5 Apr 2013 14:52:52 +0000 (14:52 +0000)]
rawdec: make use of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agobintext: make use of AV_OPT_TYPE_IMAGE_SIZE
Paul B Mahol [Fri, 5 Apr 2013 14:46:28 +0000 (14:46 +0000)]
bintext: make use of AV_OPT_TYPE_IMAGE_SIZE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agobintext: make use of AV_OPT_TYPE_VIDEO_RATE
Paul B Mahol [Fri, 5 Apr 2013 14:39:42 +0000 (14:39 +0000)]
bintext: make use of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agox86: sbrdsp: implement SSE neg_odd_64
Christophe Gisquet [Thu, 4 Apr 2013 19:45:52 +0000 (19:45 +0000)]
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: Michael Niedermayer <michaelni@gmx.at>
6 years agox264asm: fix cmp* number of arguments
Christophe Gisquet [Thu, 4 Apr 2013 19:45:48 +0000 (19:45 +0000)]
x264asm: fix cmp* number of arguments

cmp{p,s}{s,d} instructions do take an imm8 operand.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agotty: make use of AV_OPT_TYPE_IMAGE_SIZE
Paul B Mahol [Fri, 5 Apr 2013 14:30:56 +0000 (14:30 +0000)]
tty: make use of AV_OPT_TYPE_IMAGE_SIZE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agotty: make use of AV_OPT_TYPE_VIDEO_RATE
Paul B Mahol [Fri, 5 Apr 2013 14:24:40 +0000 (14:24 +0000)]
tty: make use of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 5 Apr 2013 10:52:23 +0000 (12:52 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  libopenjpeg: Add support for XYZ colorspace, found in DCINEMA frames

Conflicts:
libavcodec/libopenjpegdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodoc/filters: clarify example explanation
Stefano Sabatini [Fri, 5 Apr 2013 10:44:22 +0000 (12:44 +0200)]
doc/filters: clarify example explanation

6 years agodoc/filters: fix old broken syntax of color source in overlay example
Stefano Sabatini [Fri, 5 Apr 2013 10:42:21 +0000 (12:42 +0200)]
doc/filters: fix old broken syntax of color source in overlay example

Found-By: littlebat <dashing.meng@gmail.com>
6 years agoMerge commit '8c65264595d5a82c56ae5043320e4b875a414229'
Michael Niedermayer [Fri, 5 Apr 2013 10:26:39 +0000 (12:26 +0200)]
Merge commit '8c65264595d5a82c56ae5043320e4b875a414229'

* commit '8c65264595d5a82c56ae5043320e4b875a414229':
  pixdesc/pixfmt: Add XYZ colorspace for XYZ 12-bit values
  img2: Add j2k file extension for JPEG 2000

Conflicts:
libavutil/pixfmt.h
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoh261: Move mvmap table to the only place it is used
Diego Biurrun [Thu, 4 Apr 2013 12:34:38 +0000 (14:34 +0200)]
h261: Move mvmap table to the only place it is used

6 years agoh261: cosmetics: Move functions to avoid forward declarations
Diego Biurrun [Thu, 4 Apr 2013 12:33:55 +0000 (14:33 +0200)]
h261: cosmetics: Move functions to avoid forward declarations

6 years agoh261: K&R formatting and prettyprinting cosmetics
Diego Biurrun [Thu, 4 Apr 2013 12:31:58 +0000 (14:31 +0200)]
h261: K&R formatting and prettyprinting cosmetics