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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 years agodoc/filters: clarify example explanation
Stefano Sabatini [Fri, 5 Apr 2013 10:44:22 +0000 (12:44 +0200)]
doc/filters: clarify example explanation

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

7 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

7 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

7 years agoh261: Move function declarations to h261.h
Diego Biurrun [Wed, 3 Apr 2013 18:16:08 +0000 (20:16 +0200)]
h261: Move function declarations to h261.h

7 years agoh261: Remove H.261 loop filter from dsputil
Diego Biurrun [Wed, 3 Apr 2013 18:09:58 +0000 (20:09 +0200)]
h261: Remove H.261 loop filter from dsputil

There is no arch-optimized version of the H.261 loop filter and there
likely will never be, so the dsputil overhead does not give any benefit.

7 years agoh261: Move ff_h261_rl_table_store declaration to header file
Diego Biurrun [Wed, 3 Apr 2013 16:52:30 +0000 (18:52 +0200)]
h261: Move ff_h261_rl_table_store declaration to header file

7 years agocmdutils: remove error message from opt_default() in case of missing option
Stefano Sabatini [Thu, 4 Apr 2013 20:20:08 +0000 (22:20 +0200)]
cmdutils: remove error message from opt_default() in case of missing option

A similar error message is generated by the calling function, avoid
duplication and spurious error message occurring with negated boolean
options introduced in 8bb5680, which can be reproduced for example with
the command:
ffmpeg -f lavfi -i testsrc=d=0.1 -nostdin -f null -

7 years agodoc: enable compilation of -all tool pages
Stefano Sabatini [Tue, 19 Mar 2013 19:54:26 +0000 (20:54 +0100)]
doc: enable compilation of -all tool pages

In particular, add documentation configuration system, through the
doc/config.texi file.

Fix trac issue #2374.

7 years agodoc: move ffmpeg-scaler.texi content to separated file
Stefano Sabatini [Tue, 19 Mar 2013 19:04:57 +0000 (20:04 +0100)]
doc: move ffmpeg-scaler.texi content to separated file

This should simplify inclusion in monolithic tool manuals.

7 years agodoc: move ffmpeg-resampler.texi content to separated file
Stefano Sabatini [Tue, 19 Mar 2013 19:03:57 +0000 (20:03 +0100)]
doc: move ffmpeg-resampler.texi content to separated file

This should simplify inclusion in monolithic tool manuals.

7 years agodoc: move ffmpeg-devices.texi content to separated file
Stefano Sabatini [Tue, 19 Mar 2013 19:02:16 +0000 (20:02 +0100)]
doc: move ffmpeg-devices.texi content to separated file

This should simplify inclusion in monolithic tool manuals.

7 years agodoc: move ffmpeg-formats.texi content to separated file
Stefano Sabatini [Sat, 30 Mar 2013 16:02:53 +0000 (17:02 +0100)]
doc: move ffmpeg-formats.texi content to separated file

This should simplify inclusion in monolithic tool manuals.

7 years agodoc: move ffmpeg-codecs.texi content to separated file
Stefano Sabatini [Fri, 5 Apr 2013 08:05:26 +0000 (10:05 +0200)]
doc: move ffmpeg-codecs.texi content to separated file

This should simplify inclusion in monolithic tool manuals.

7 years agolavfi/blend: use standard options parsing
Paul B Mahol [Fri, 5 Apr 2013 00:12:22 +0000 (00:12 +0000)]
lavfi/blend: use standard options parsing

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agolavfi/noise: use standard options parsing
Paul B Mahol [Fri, 5 Apr 2013 00:06:29 +0000 (00:06 +0000)]
lavfi/noise: use standard options parsing

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agolavfi/afade: use standard options parsing
Paul B Mahol [Fri, 5 Apr 2013 00:01:28 +0000 (00:01 +0000)]
lavfi/afade: use standard options parsing

Signed-off-by: Paul B Mahol <onemda@gmail.com>
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

Fixes Ticket2314
Fixes connecting to "Ceton InfiniTV4 PCIe & USB"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agortsp/rtp_read_header: Use RTP_MAX_PACKET_LENGTH instead of 1500
Andrew Van Til [Thu, 4 Apr 2013 23:45:52 +0000 (01:45 +0200)]
rtsp/rtp_read_header: Use RTP_MAX_PACKET_LENGTH instead of 1500

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodoc/filters: fix erroneously truncated comment on a scale example
Stefano Sabatini [Thu, 4 Apr 2013 22:30:54 +0000 (00:30 +0200)]
doc/filters: fix erroneously truncated comment on a scale example

7 years agodoc/filters: put separated geq variables in separate lines
Stefano Sabatini [Thu, 4 Apr 2013 22:29:28 +0000 (00:29 +0200)]
doc/filters: put separated geq variables in separate lines

Make clear that they are not aliases for the same variable.

7 years agoxbmenc: remove unused code
Paul B Mahol [Sat, 30 Mar 2013 02:54:30 +0000 (02:54 +0000)]
xbmenc: remove unused code

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agoxwdenc: remove unused code
Paul B Mahol [Sat, 30 Mar 2013 02:31:55 +0000 (02:31 +0000)]
xwdenc: remove unused code

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agobmpenc: get rid of BMPContext as it is unused
Paul B Mahol [Sat, 30 Mar 2013 02:19:36 +0000 (02:19 +0000)]
bmpenc: get rid of BMPContext as it is unused

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agolavfi/smptebars: fix invalid writes
Paul B Mahol [Thu, 4 Apr 2013 14:29:14 +0000 (14:29 +0000)]
lavfi/smptebars: fix invalid writes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agodoc: document -v repeat
Michael Niedermayer [Sun, 31 Mar 2013 21:14:56 +0000 (23:14 +0200)]
doc: document -v repeat

Thanks-to: Derek Buitenhuis
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'cigaes/master'
Michael Niedermayer [Thu, 4 Apr 2013 19:19:41 +0000 (21:19 +0200)]
Merge remote-tracking branch 'cigaes/master'

* cigaes/master:
  lavc: use packet duration for subtitles if necessary.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibopenjpeg: Add support for XYZ colorspace, found in DCINEMA frames
Nicolas Bertrand [Tue, 26 Mar 2013 22:21:15 +0000 (23:21 +0100)]
libopenjpeg: Add support for XYZ colorspace, found in DCINEMA frames

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agopixdesc/pixfmt: Add XYZ colorspace for XYZ 12-bit values
Nicolas Bertrand [Tue, 26 Mar 2013 22:21:13 +0000 (23:21 +0100)]
pixdesc/pixfmt: Add XYZ colorspace for XYZ 12-bit values

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoimg2: Add j2k file extension for JPEG 2000
Nicolas Bertrand [Tue, 26 Mar 2013 22:21:12 +0000 (23:21 +0100)]
img2: Add j2k file extension for JPEG 2000

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoavutil/opencl: replace assert by check and error message in av_opencl_init()
highgod0401 [Thu, 4 Apr 2013 12:20:47 +0000 (20:20 +0800)]
avutil/opencl: replace assert by check and error message in av_opencl_init()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavutil/opencl: check strtol for failure
highgod0401 [Thu, 4 Apr 2013 12:11:51 +0000 (20:11 +0800)]
avutil/opencl: check strtol for failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavutil/opencl: add check for the program number to create kernel
highgod0401 [Thu, 4 Apr 2013 12:09:17 +0000 (20:09 +0800)]
avutil/opencl: add check for the program number to create kernel

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavfi/blend: add N variable
Paul B Mahol [Thu, 4 Apr 2013 15:29:01 +0000 (15:29 +0000)]
lavfi/blend: add N variable

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agolavfi/smptebars: fix output for subsampled yuv
Paul B Mahol [Thu, 4 Apr 2013 12:55:41 +0000 (12:55 +0000)]
lavfi/smptebars: fix output for subsampled yuv

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agomatroskadec: Check EBML lace sizes.
Michael Niedermayer [Thu, 4 Apr 2013 13:39:23 +0000 (15:39 +0200)]
matroskadec: Check EBML lace sizes.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomatroskadec: Check for overflows in xiph lace decoding
Michael Niedermayer [Thu, 4 Apr 2013 13:17:57 +0000 (15:17 +0200)]
matroskadec: Check for overflows in xiph lace decoding

This also detects errors earlier

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