]> git.sesse.net Git - ffmpeg/log
ffmpeg
9 years agolavfi/vf_idet: reindent after last commit.
Nicolas George [Wed, 26 Aug 2015 10:21:27 +0000 (12:21 +0200)]
lavfi/vf_idet: reindent after last commit.

9 years agolavfi/vf_idet: remove the loop in request_frame().
Nicolas George [Tue, 25 Aug 2015 18:31:50 +0000 (20:31 +0200)]
lavfi/vf_idet: remove the loop in request_frame().

It is not necessary due to the use of FF_LINK_FLAG_REQUEST_LOOP.

9 years agolavfi/buffersink: loop over ff_request_frame().
Nicolas George [Tue, 25 Aug 2015 22:15:22 +0000 (00:15 +0200)]
lavfi/buffersink: loop over ff_request_frame().

Do not assume that ff_request_frame() returning success
implies a frame has arrived in the FIFO.
Instead, just loop until a frame is in the FIFO.
It does not change anything since the same loop is present
in ff_request_frame(), confirmed by an assertion.

9 years agox86/vp9mc: fix string concatenation of fullpel function names
James Almer [Sat, 19 Sep 2015 23:27:03 +0000 (20:27 -0300)]
x86/vp9mc: fix string concatenation of fullpel function names

Fixes compilation with NASM

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoavcodec/internal: Use do {} while() for ff_tlog()
Michael Niedermayer [Sun, 20 Sep 2015 10:55:10 +0000 (12:55 +0200)]
avcodec/internal: Use do {} while() for ff_tlog()

Avoids problems when used without braces

Found-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agotests/checkasm/vp9dsp: Add () to protect macro arguments
Michael Niedermayer [Sun, 20 Sep 2015 09:37:57 +0000 (11:37 +0200)]
tests/checkasm/vp9dsp: Add () to protect macro arguments

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agocheckasm: add VP9 loopfilter tests.
Ronald S. Bultje [Thu, 17 Sep 2015 15:58:10 +0000 (11:58 -0400)]
checkasm: add VP9 loopfilter tests.

The randomize_buffer() implementation assures that "most of the time",
we'll do a good mix of wide16/wide8/hev/regular/no filters for complete
code coverage. However, this is not mathematically assured because that
would make the code either much more complex, or much less random.

9 years agocheckasm: add jpeg2000dsp rct_int tests
James Almer [Fri, 18 Sep 2015 02:53:37 +0000 (23:53 -0300)]
checkasm: add jpeg2000dsp rct_int tests

Reviewed-by: Henrik Gramner <henrik@gramner.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoavcodec/x86/hpeldsp_rnd_template: silence -Wunused-function on --disable-mmx
Ganesh Ajjanagadde [Sat, 19 Sep 2015 15:38:59 +0000 (11:38 -0400)]
avcodec/x86/hpeldsp_rnd_template: silence -Wunused-function on --disable-mmx

This silences some of the -Wunused-function warnings when compiled with --disable-mmx, e.g
http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx.
Header guards are too brittle and ugly for this case.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavformat/format: silence -Wdiscarded-qualifiers
Ganesh Ajjanagadde [Sat, 19 Sep 2015 21:37:14 +0000 (17:37 -0400)]
avformat/format: silence -Wdiscarded-qualifiers

lpd.buf is non-const and discards the const qualifier of zerobuffer.
This fixes -Wdiscarded-qualifiers observed with a variety of compilers, including GCC 5.2.
Note that this does not change the type of zerobuffer, and merely makes the intent explicit.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoswscale/output: fix undefined left shifts of negative numbers
Ganesh Ajjanagadde [Sat, 19 Sep 2015 17:10:44 +0000 (13:10 -0400)]
swscale/output: fix undefined left shifts of negative numbers

This fixes -Wshift-negative-value reported with clang 3.7+, e.g
http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/mlpdec: fix a undefined left shift of negative number
Ganesh Ajjanagadde [Sat, 19 Sep 2015 05:06:46 +0000 (01:06 -0400)]
avcodec/mlpdec: fix a undefined left shift of negative number

This fixes a -Wshift-negative-value reported with clang 3.7+, e.g
http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agohevc: properly handle no_rasl_output_flag when removing pictures from the DPB
Hendrik Leppkes [Sat, 12 Sep 2015 19:50:24 +0000 (21:50 +0200)]
hevc: properly handle no_rasl_output_flag when removing pictures from the DPB

Fixes ticket #4185.

Reviewed-By: Mickael Raulet <Mickael.Raulet@insa-rennes.fr>
Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoavcodec/motion_est_template: fix undefined left shift of negative number
Ganesh Ajjanagadde [Sat, 19 Sep 2015 17:18:16 +0000 (13:18 -0400)]
avcodec/motion_est_template: fix undefined left shift of negative number

This fixes -Wshift-negative-value reported with clang 3.7+, e.g
http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavresample/resample: remove unused variable
Ganesh Ajjanagadde [Sat, 19 Sep 2015 17:26:35 +0000 (13:26 -0400)]
avresample/resample: remove unused variable

This fixes a -Wunused-variable, see e.g
http://fate.ffmpeg.org/log.cgi?time=20150919162338&log=compile&slot=x86_64-archlinux-gcc-threads.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/x86/mpegvideoenc: silence -Wunused-function on --disable-mmx
Ganesh Ajjanagadde [Sat, 19 Sep 2015 15:00:50 +0000 (11:00 -0400)]
avcodec/x86/mpegvideoenc: silence -Wunused-function on --disable-mmx

This silences -Wunused-function when compiled with --disable-mmx, e.g
http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/x86/hpeldsp_init: silence -Wunused-function on --disable-mmx
Ganesh Ajjanagadde [Sat, 19 Sep 2015 15:39:37 +0000 (11:39 -0400)]
avcodec/x86/hpeldsp_init: silence -Wunused-function on --disable-mmx

This silences some of the -Wunused-function warnings when compiled with --disable-mmx, e.g
http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agodoc/filters: fix typo in eq contrast option
Lou Logan [Sat, 19 Sep 2015 20:29:15 +0000 (12:29 -0800)]
doc/filters: fix typo in eq contrast option

Fixes ticket #4866.

Signed-off-by: Lou Logan <lou@lrcd.com>
9 years agocmdutils: Filter dst/srcw/h
Michael Niedermayer [Sat, 19 Sep 2015 19:23:11 +0000 (21:23 +0200)]
cmdutils: Filter dst/srcw/h

Dimensions / pixel formats for scaling must be set through the -s / pix_fmt options
or the scale / format filters. Otherwise there are mismatches between whet is
in/output to the scaler and for what the scaler is configured

Fixes Ticket4856

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavformat/flvdec: Detect broken sizes (OBS 0.655b), disable resync for affected files
Michael Niedermayer [Sat, 19 Sep 2015 16:22:31 +0000 (18:22 +0200)]
avformat/flvdec: Detect broken sizes (OBS 0.655b), disable resync for affected files

Fixes Ticket4867
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/imgconvert: Support non-planar colorspaces while padding
Przemysław Sobala [Fri, 18 Sep 2015 13:40:58 +0000 (15:40 +0200)]
avcodec/imgconvert: Support non-planar colorspaces while padding

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agox86/vp9dsp: add missing preprocessor guards
James Almer [Sat, 19 Sep 2015 16:33:53 +0000 (13:33 -0300)]
x86/vp9dsp: add missing preprocessor guards

Signed-off-by: James Almer <jamrial@gmail.com>
9 years agolpc: correctly apply windowing to the samples in the float-only lpc
Rostislav Pehlivanov [Sat, 19 Sep 2015 15:25:58 +0000 (16:25 +0100)]
lpc: correctly apply windowing to the samples in the float-only lpc

Also change the window to Hamming (using coefficient which make it
a Hanning).

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years agoavcodec/dcadec: fix a -Wsometimes-unitialized on clang
Ganesh Ajjanagadde [Sat, 19 Sep 2015 05:00:42 +0000 (01:00 -0400)]
avcodec/dcadec: fix a -Wsometimes-unitialized on clang

This fixes a genuine -Wsometimes-unitialized reported on clang, e.g
http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/g723_1: fix a undefined left shift of negative number
Ganesh Ajjanagadde [Sat, 19 Sep 2015 04:57:24 +0000 (00:57 -0400)]
avcodec/g723_1: fix a undefined left shift of negative number

This fixes a -Wshift-negative-value reported with clang 3.7+, e.g
http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/internal: silence -Wempty-body on clang
Ganesh Ajjanagadde [Sat, 19 Sep 2015 04:55:18 +0000 (00:55 -0400)]
avcodec/internal: silence -Wempty-body on clang

This silences a -Wempty-body warning on clang 3.7+, e.g
http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/indeo3data: fix undefined left shift of negative number
Ganesh Ajjanagadde [Sat, 19 Sep 2015 05:43:39 +0000 (02:43 -0300)]
avcodec/indeo3data: fix undefined left shift of negative number

This fixes a whole sea of -Wshift-negative-value reported with clang 3.7+, e.g
http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7.
Any half decent compiler should anyway optimize away the multiplication.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoAAC encoder: fix make checkheaders
Claudio Freire [Fri, 18 Sep 2015 21:38:54 +0000 (18:38 -0300)]
AAC encoder: fix make checkheaders

With the move of some functions into templates
in aaccoder_twoloop.h and aaccoder_trellis.h,
make checkheaders started failing. Add them to
SKIPHEADERS as should be.

9 years agoavdevice/xcbgrab: fix -Wunused-variable
Ganesh Ajjanagadde [Fri, 18 Sep 2015 22:17:42 +0000 (18:17 -0400)]
avdevice/xcbgrab: fix -Wunused-variable

This patch fixes a -Wunused-variable reported in e.g
http://fate.ffmpeg.org/log.cgi?time=20150918194649&log=compile&slot=x86_64-debian-asan-144800.
av_unused is used as opposed to a header guard for readability.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoffserver: remove useless assignment leftover
Reynaldo H. Verdejo Pinochet [Fri, 18 Sep 2015 22:41:55 +0000 (15:41 -0700)]
ffserver: remove useless assignment leftover

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: break early on _parse_acl_row()
Reynaldo H. Verdejo Pinochet [Fri, 18 Sep 2015 22:32:39 +0000 (15:32 -0700)]
ffserver: break early on _parse_acl_row()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: explicitly free() duped filename
Reynaldo H. Verdejo Pinochet [Fri, 18 Sep 2015 22:03:34 +0000 (15:03 -0700)]
ffserver: explicitly free() duped filename

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: start dropping all unneededly harcoded str lengths
Reynaldo H. Verdejo Pinochet [Mon, 14 Sep 2015 21:53:18 +0000 (14:53 -0700)]
ffserver: start dropping all unneededly harcoded str lengths

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agolibswscale/swscale: fix -Wunused-function
Ganesh Ajjanagadde [Fri, 18 Sep 2015 20:35:33 +0000 (16:35 -0400)]
libswscale/swscale: fix -Wunused-function

hyscale, hcscale are only used in old filter code, hence place
header guard to silence -Wunused-function.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoall: do standards compliant absdiff computation
Ganesh Ajjanagadde [Wed, 16 Sep 2015 18:48:16 +0000 (14:48 -0400)]
all: do standards compliant absdiff computation

This resolves implementation defined behavior, and also silences -Wabsolute-value in clang 3.5+.
Moreover, the generated asm is identical to before modulo nop padding.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agox86/vp9mc: add missing preprocessor guards
James Almer [Fri, 18 Sep 2015 18:14:53 +0000 (15:14 -0300)]
x86/vp9mc: add missing preprocessor guards

Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoavfilter/avf_showcqt: use frequency domain windowing
Muhammad Faiz [Wed, 16 Sep 2015 08:24:23 +0000 (15:24 +0700)]
avfilter/avf_showcqt: use frequency domain windowing

faster initialization and less code
slightly different result computationally from previous
coeffclamp option is ignored

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavutil/attributes: add AV_GCC_VERSION_AT_MOST
James Almer [Fri, 18 Sep 2015 04:00:43 +0000 (01:00 -0300)]
avutil/attributes: add AV_GCC_VERSION_AT_MOST

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agox86/vp9: add avx2 subpel MC SIMD for 10/12bpp
James Almer [Fri, 18 Sep 2015 01:49:58 +0000 (22:49 -0300)]
x86/vp9: add avx2 subpel MC SIMD for 10/12bpp

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoavfilter/vf_colorkey: Improve filter description
Timo Rothenpieler [Fri, 18 Sep 2015 12:47:59 +0000 (14:47 +0200)]
avfilter/vf_colorkey: Improve filter description

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years agoChangelog: add forgotten entry
Paul B Mahol [Thu, 17 Sep 2015 21:16:51 +0000 (21:16 +0000)]
Changelog: add forgotten entry

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavcodec/dcaenc: fix lfe fir coefficients
Paul B Mahol [Thu, 17 Sep 2015 21:13:37 +0000 (21:13 +0000)]
avcodec/dcaenc: fix lfe fir coefficients

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavcodec/mpeg12enc: Basic support for encoding non even QPs for -non_linear_quant 1
Michael Niedermayer [Thu, 17 Sep 2015 22:37:28 +0000 (00:37 +0200)]
avcodec/mpeg12enc: Basic support for encoding non even QPs for -non_linear_quant 1

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/mpeg12dec: Move non_linear_qscale to mpegvideodata
Michael Niedermayer [Thu, 17 Sep 2015 22:35:28 +0000 (00:35 +0200)]
avcodec/mpeg12dec: Move non_linear_qscale to mpegvideodata

This will be used in the next commit

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/mpegvideo: Change mpeg2 unquant to work with higher precission qscale
Michael Niedermayer [Thu, 17 Sep 2015 21:47:06 +0000 (23:47 +0200)]
avcodec/mpegvideo: Change mpeg2 unquant to work with higher precission qscale

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/mpegvideo_enc: Add missing entry to non_linear_qscale table
Michael Niedermayer [Thu, 17 Sep 2015 19:37:27 +0000 (21:37 +0200)]
avcodec/mpegvideo_enc: Add missing entry to non_linear_qscale table

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/dcaenc: unbreak >4 channel support
Paul B Mahol [Thu, 17 Sep 2015 19:13:52 +0000 (19:13 +0000)]
avcodec/dcaenc: unbreak >4 channel support

LFE channel is still broken, search for FIXME.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agocheckasm: add flacdsp decorrelate tests
James Almer [Thu, 17 Sep 2015 18:22:25 +0000 (15:22 -0300)]
checkasm: add flacdsp decorrelate tests

Reviewed-by: Henrik Gramner <henrik@gramner.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoavutil/log: fix zero length gnu_printf format string warning
Ganesh Ajjanagadde [Thu, 17 Sep 2015 12:11:39 +0000 (08:11 -0400)]
avutil/log: fix zero length gnu_printf format string warning

This should fix warning reported by fate client:
http://fate.ffmpeg.org/report.cgi?time=20150917113121&slot=x86_32-linux-gnu-gcc-4.5.1-have_6regs.
Untested.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agolavf/utils: remove some left-over cruft from the 32-bit size fields
Hendrik Leppkes [Thu, 17 Sep 2015 14:54:00 +0000 (16:54 +0200)]
lavf/utils: remove some left-over cruft from the 32-bit size fields

9 years agolavc/lavf: remove incompatible abi checks for the new 64bit fields
James Almer [Wed, 16 Sep 2015 04:46:50 +0000 (01:46 -0300)]
lavc/lavf: remove incompatible abi checks for the new 64bit fields

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agodoc/filters: showfreqs: fix typo
Paul B Mahol [Thu, 17 Sep 2015 14:12:33 +0000 (14:12 +0000)]
doc/filters: showfreqs: fix typo

Fixes #4863

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavcodec/mips/aaccoder_mips: Remove duplicate include
Michael Niedermayer [Thu, 17 Sep 2015 11:39:14 +0000 (13:39 +0200)]
avcodec/mips/aaccoder_mips: Remove duplicate include

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agodoc/filters: stereotools: fix mistake
Paul B Mahol [Thu, 17 Sep 2015 13:11:30 +0000 (13:11 +0000)]
doc/filters: stereotools: fix mistake

Reported-by: RiCON
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavfilter/af_sidechaincompress: do not use floats
Paul B Mahol [Thu, 17 Sep 2015 13:05:15 +0000 (13:05 +0000)]
avfilter/af_sidechaincompress: do not use floats

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavfilter/vf_atadenoise: fix file permissions
Paul B Mahol [Thu, 17 Sep 2015 12:41:42 +0000 (12:41 +0000)]
avfilter/vf_atadenoise: fix file permissions

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoMerge commit '7bb1c1bfd22de2200743af04ebd0c7c775f56f7e'
Hendrik Leppkes [Thu, 17 Sep 2015 09:46:34 +0000 (11:46 +0200)]
Merge commit '7bb1c1bfd22de2200743af04ebd0c7c775f56f7e'

* commit '7bb1c1bfd22de2200743af04ebd0c7c775f56f7e':
  avconv_opt: Allow printing private options

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit 'e3d4784eb31b3ea4a97f2d4c698a75fab9bf3d86'
Hendrik Leppkes [Thu, 17 Sep 2015 09:31:40 +0000 (11:31 +0200)]
Merge commit 'e3d4784eb31b3ea4a97f2d4c698a75fab9bf3d86'

* commit 'e3d4784eb31b3ea4a97f2d4c698a75fab9bf3d86':
  d3d11va: WindowsPhone requires a mutex around ID3D11VideoContext

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoavfilter/af_sidechaincompress: use doubles instead of floats
Paul B Mahol [Wed, 16 Sep 2015 12:05:16 +0000 (12:05 +0000)]
avfilter/af_sidechaincompress: use doubles instead of floats

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavfilter: add stereo tools filter
Paul B Mahol [Tue, 15 Sep 2015 14:23:04 +0000 (14:23 +0000)]
avfilter: add stereo tools filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoMerge commit '781a25e9c419dd66063597cc5d70e8919de60561'
Hendrik Leppkes [Thu, 17 Sep 2015 09:28:19 +0000 (11:28 +0200)]
Merge commit '781a25e9c419dd66063597cc5d70e8919de60561'

* commit '781a25e9c419dd66063597cc5d70e8919de60561':
  checkasm: v210: Fix array overwrite

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '4a664224502b42e3b28949d905a8de7769892184'
Hendrik Leppkes [Thu, 17 Sep 2015 09:27:23 +0000 (11:27 +0200)]
Merge commit '4a664224502b42e3b28949d905a8de7769892184'

* commit '4a664224502b42e3b28949d905a8de7769892184':
  pixfmt: Add new SMPTE color primaries and transfer characteristic values

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '777885983533235ccda5145f96317fc8cd0a18ab'
Hendrik Leppkes [Thu, 17 Sep 2015 09:21:07 +0000 (11:21 +0200)]
Merge commit '777885983533235ccda5145f96317fc8cd0a18ab'

* commit '777885983533235ccda5145f96317fc8cd0a18ab':
  dcadec: set channel layout in a separate function

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '971177f751a6e2931232accceab438bce277bde8'
Hendrik Leppkes [Thu, 17 Sep 2015 09:08:22 +0000 (11:08 +0200)]
Merge commit '971177f751a6e2931232accceab438bce277bde8'

* commit '971177f751a6e2931232accceab438bce277bde8':
  dcadec: scan for extensions in a separate function

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '22cc57da64bfd73f2206969486b0aa183ee76479'
Hendrik Leppkes [Thu, 17 Sep 2015 09:01:16 +0000 (11:01 +0200)]
Merge commit '22cc57da64bfd73f2206969486b0aa183ee76479'

* commit '22cc57da64bfd73f2206969486b0aa183ee76479':
  rtpdec: Forward the memory failure

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoavconv_opt: Allow printing private options
Vittorio Giovara [Mon, 14 Sep 2015 11:39:55 +0000 (13:39 +0200)]
avconv_opt: Allow printing private options

Add an allowed parameter to -h and --help avconv option to print private
options from a codec, format, or filter, named with the provided input
value.

In case multiple classes are found (eg. mov demuxer and mov muxer, or
h264 decoder and h264 demuxer) print all options from all classes.
It is possible to select the type of class to print by adding it
before the name (eg. demuxer:mov and muxer:mov, or decoder:h264and
demuxer:h264).

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agod3d11va: WindowsPhone requires a mutex around ID3D11VideoContext
Steve Lhomme [Wed, 16 Sep 2015 11:27:42 +0000 (13:27 +0200)]
d3d11va: WindowsPhone requires a mutex around ID3D11VideoContext

9 years agocheckasm: v210: Fix array overwrite
Henrik Gramner [Wed, 16 Sep 2015 12:03:01 +0000 (14:03 +0200)]
checkasm: v210: Fix array overwrite

9 years agopixfmt: Add new SMPTE color primaries and transfer characteristic values
Kevin Wheatley [Fri, 28 Aug 2015 14:20:22 +0000 (15:20 +0100)]
pixfmt: Add new SMPTE color primaries and transfer characteristic values

Appeared in ITU-T Rec H.265 10/2014.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agoRevert "avformat/format: silence -Wdiscarded-qualifiers"
Timothy Gu [Thu, 17 Sep 2015 02:53:13 +0000 (19:53 -0700)]
Revert "avformat/format: silence -Wdiscarded-qualifiers"

This reverts commit 27cbe4588aeaa3272f16e395bc2a337e1e43e2b6.

See
https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179002.html

Requested-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
9 years agoAAC encoder: refactor to resynchronize MIPS port
Claudio Freire [Tue, 15 Sep 2015 06:59:45 +0000 (03:59 -0300)]
AAC encoder: refactor to resynchronize MIPS port

This patch refactors the AAC coders to reuse code
between the MIPS port and the regular, portable C code.
There were two main functions that had to use
hand-optimized versions of quantization code:
 - search_for_quantizers_twoloop
 - codebook_trellis_rate

Those two were split into their own template header
files so they can be inlined inside both the MIPS port
and the generic code. In each context, they'll link
to their specialized implementations, and thus be
optimized by the compiler.

This approach I believe is better than maintaining
several copies of each function. As past experience has
proven, having to keep those in sync was error prone.
In this way, they will remain in sync by default.

Also, an implementation of the dequantized output
argument for the optimized quantize_and_encode
functions is included in the patch. While the current
implementation of search_for_pred still isn't using
it, future iterations of main prediction probably will.
It should not imply any measurable performance hit while
not being used.

9 years agovp9: add subpel MC SIMD for 10/12bpp.
Ronald S. Bultje [Wed, 16 Sep 2015 20:07:46 +0000 (16:07 -0400)]
vp9: add subpel MC SIMD for 10/12bpp.

9 years agovp9: add fullpel (avg) MC SIMD for 10/12bpp.
Ronald S. Bultje [Wed, 16 Sep 2015 13:12:27 +0000 (09:12 -0400)]
vp9: add fullpel (avg) MC SIMD for 10/12bpp.

9 years agovp9: add fullpel (put) MC SIMD for 10/12bpp.
Ronald S. Bultje [Wed, 16 Sep 2015 13:08:04 +0000 (09:08 -0400)]
vp9: add fullpel (put) MC SIMD for 10/12bpp.

9 years agoavformat/avidec: disable parsing for RV40
Michael Niedermayer [Wed, 16 Sep 2015 21:54:48 +0000 (23:54 +0200)]
avformat/avidec: disable parsing for RV40

Fixes: broken_rv40.avi
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/rv34: Delay failure return for B frames with a missing reference
Michael Niedermayer [Wed, 16 Sep 2015 21:52:51 +0000 (23:52 +0200)]
avcodec/rv34: Delay failure return for B frames with a missing reference

Failing earlier causes the context to be insufficiently initialized which
can break decoding future frames with threads

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoswscale/swscale: silence unused function warning
Ganesh Ajjanagadde [Wed, 16 Sep 2015 21:20:22 +0000 (17:20 -0400)]
swscale/swscale: silence unused function warning

gamma_convert is only used with the old code. Thus, it is
placed under a header guard. This patch silences a -Wunused-function
observed on GCC 5.2.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years agoavformat/mpjpegdec: silence unused variable/function warnings
Ganesh Ajjanagadde [Wed, 16 Sep 2015 21:25:53 +0000 (17:25 -0400)]
avformat/mpjpegdec: silence unused variable/function warnings

Silences a -Wunused-variable and -Wunused-function observed under GCC 5.2.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years agoavformat/format: silence -Wdiscarded-qualifiers
Ganesh Ajjanagadde [Wed, 16 Sep 2015 22:50:54 +0000 (18:50 -0400)]
avformat/format: silence -Wdiscarded-qualifiers

lpd.buf is non-const and discards the const qualifier of zerobuffer.
This fixes -Wdiscarded-qualifiers observed with GCC 5.2.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years agoconfigure: Print large lists in more columns if the screen size allows
Timothy Gu [Mon, 14 Sep 2015 23:34:50 +0000 (16:34 -0700)]
configure: Print large lists in more columns if the screen size allows

Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodcadec: set channel layout in a separate function
Alexandra Hájková [Tue, 15 Sep 2015 12:13:26 +0000 (14:13 +0200)]
dcadec: set channel layout in a separate function

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agodcadec: scan for extensions in a separate function
Alexandra Hájková [Tue, 15 Sep 2015 11:11:32 +0000 (13:11 +0200)]
dcadec: scan for extensions in a separate function

to make dca_decode_frame more readable

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agortpdec: Forward the memory failure
Luca Barbato [Wed, 16 Sep 2015 10:07:00 +0000 (12:07 +0200)]
rtpdec: Forward the memory failure

And avoid a memory leak.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agoaacenc_tns: fix coefficient compression condition
Rostislav Pehlivanov [Wed, 16 Sep 2015 16:48:02 +0000 (17:48 +0100)]
aacenc_tns: fix coefficient compression condition

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years agotests/checkasm/vp9dsp: Use snprintf() for safetey
Michael Niedermayer [Wed, 16 Sep 2015 12:08:42 +0000 (14:08 +0200)]
tests/checkasm/vp9dsp: Use snprintf() for safetey

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoMerge commit '1ec611a10228945d2ec8a9cf6c5531dee6b7ee56'
Hendrik Leppkes [Wed, 16 Sep 2015 12:11:24 +0000 (14:11 +0200)]
Merge commit '1ec611a10228945d2ec8a9cf6c5531dee6b7ee56'

* commit '1ec611a10228945d2ec8a9cf6c5531dee6b7ee56':
  rtsp: warning when max_delay reached

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit 'd555bd69e792e42d94bd909b30d9bfef01db4e25'
Hendrik Leppkes [Wed, 16 Sep 2015 12:11:06 +0000 (14:11 +0200)]
Merge commit 'd555bd69e792e42d94bd909b30d9bfef01db4e25'

* commit 'd555bd69e792e42d94bd909b30d9bfef01db4e25':
  rtpdec: inform jitter buffer size

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit 'ff7f6ea9db2a77d74f7e68a716f53ba1f3f85017'
Hendrik Leppkes [Wed, 16 Sep 2015 12:10:27 +0000 (14:10 +0200)]
Merge commit 'ff7f6ea9db2a77d74f7e68a716f53ba1f3f85017'

* commit 'ff7f6ea9db2a77d74f7e68a716f53ba1f3f85017':
  rtpdec: add a trace when jitter buffer is full

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '3c525b8b4770c1ac5f466a12c5523802bd5d40eb'
Hendrik Leppkes [Wed, 16 Sep 2015 12:07:05 +0000 (14:07 +0200)]
Merge commit '3c525b8b4770c1ac5f466a12c5523802bd5d40eb'

* commit '3c525b8b4770c1ac5f466a12c5523802bd5d40eb':
  rtpdec: Increase the max size of the jitter buffer to 500 packets

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '570fcaf3326aef9313b10863e2f6e6ae664d9dae'
Hendrik Leppkes [Wed, 16 Sep 2015 12:04:46 +0000 (14:04 +0200)]
Merge commit '570fcaf3326aef9313b10863e2f6e6ae664d9dae'

* commit '570fcaf3326aef9313b10863e2f6e6ae664d9dae':
  jpeg2000: Factor out prec init

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agolavf/riff: Support decoding Ambisonic wav files.
Carl Eugen Hoyos [Wed, 16 Sep 2015 12:03:13 +0000 (14:03 +0200)]
lavf/riff: Support decoding Ambisonic wav files.

Reported and tested by Andy Furniss, adf d lists at gmail

9 years agoMerge commit '95a41311ac3a44773cc4dc407408aca35b1f8e26'
Hendrik Leppkes [Wed, 16 Sep 2015 12:01:58 +0000 (14:01 +0200)]
Merge commit '95a41311ac3a44773cc4dc407408aca35b1f8e26'

* commit '95a41311ac3a44773cc4dc407408aca35b1f8e26':
  jpeg2000: Factor out band stepsize initialization

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '7fb93eae43cc89bd7c1c275344e1cdbadab7155b'
Hendrik Leppkes [Wed, 16 Sep 2015 11:58:30 +0000 (13:58 +0200)]
Merge commit '7fb93eae43cc89bd7c1c275344e1cdbadab7155b'

* commit '7fb93eae43cc89bd7c1c275344e1cdbadab7155b':
  jpeg2000: Factor out band initialization

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '1b709f23fb5f505c834d4c855703225795def01d'
Hendrik Leppkes [Wed, 16 Sep 2015 11:57:50 +0000 (13:57 +0200)]
Merge commit '1b709f23fb5f505c834d4c855703225795def01d'

* commit '1b709f23fb5f505c834d4c855703225795def01d':
  jpeg2000: Refactor decode_packets

Not merged, as the ffmpeg code is much more advanced.

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agocheckasm: v210: Fix array overwrite
Henrik Gramner [Tue, 15 Sep 2015 21:21:28 +0000 (23:21 +0200)]
checkasm: v210: Fix array overwrite

9 years agocheckasm: v210: s/Libav/FFmpeg/
Henrik Gramner [Wed, 16 Sep 2015 11:48:43 +0000 (13:48 +0200)]
checkasm: v210: s/Libav/FFmpeg/

9 years agoMerge commit '29b00f880faa404aa1d0d6820310c510c5996479'
Hendrik Leppkes [Wed, 16 Sep 2015 10:00:53 +0000 (12:00 +0200)]
Merge commit '29b00f880faa404aa1d0d6820310c510c5996479'

* commit '29b00f880faa404aa1d0d6820310c510c5996479':
  jpeg2000: Templatize the frame writer

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoavfilter/af_ladspa: process all channels for nb_handles > 1
Paul B Mahol [Wed, 16 Sep 2015 09:27:30 +0000 (09:27 +0000)]
avfilter/af_ladspa: process all channels for nb_handles > 1

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agodoc/filters: ladspa: add two more examples, this time using SWH plugins
Paul B Mahol [Tue, 15 Sep 2015 20:36:00 +0000 (20:36 +0000)]
doc/filters: ladspa: add two more examples, this time using SWH plugins

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavcodec/vaapi_internal: Add missing include
Timo Rothenpieler [Wed, 16 Sep 2015 09:39:41 +0000 (11:39 +0200)]
avcodec/vaapi_internal: Add missing include

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>