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

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

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

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

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

3 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>
3 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>
3 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>
3 years agocheckasm: v210: Fix array overwrite
Henrik Gramner [Tue, 15 Sep 2015 21:21:28 +0000 (23:21 +0200)]
checkasm: v210: Fix array overwrite

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

3 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>
3 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>
3 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>
3 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>
3 years agoavcodec/libxvid: add missing include
Michael Niedermayer [Wed, 16 Sep 2015 09:37:57 +0000 (11:37 +0200)]
avcodec/libxvid: add missing include

Fix build

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoMerge commit '41bcc3d15204f290400ba02e4e8f87fc07bcc00e'
Hendrik Leppkes [Wed, 16 Sep 2015 09:31:40 +0000 (11:31 +0200)]
Merge commit '41bcc3d15204f290400ba02e4e8f87fc07bcc00e'

* commit '41bcc3d15204f290400ba02e4e8f87fc07bcc00e':
  jpeg2000: Split codeblock decoding from the main tile decoding

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agoMerge commit '6536da7371b4847a2824ed46b98829f127f24dad'
Hendrik Leppkes [Wed, 16 Sep 2015 09:31:11 +0000 (11:31 +0200)]
Merge commit '6536da7371b4847a2824ed46b98829f127f24dad'

* commit '6536da7371b4847a2824ed46b98829f127f24dad':
  doc: Add travis badge

Not merged as ffmpeg does not have travis officially setup.

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agoMerge commit 'e60a6e7545dd6f5b25e3a65de9c6fdcc6e2e9d6b'
Hendrik Leppkes [Wed, 16 Sep 2015 09:27:20 +0000 (11:27 +0200)]
Merge commit 'e60a6e7545dd6f5b25e3a65de9c6fdcc6e2e9d6b'

* commit 'e60a6e7545dd6f5b25e3a65de9c6fdcc6e2e9d6b':
  mpegvideo: Drop mpegvideo.h where not needed

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agoMerge commit '5d14cf199990cd378904a2618b5c72c4b02290f6'
Hendrik Leppkes [Wed, 16 Sep 2015 09:23:40 +0000 (11:23 +0200)]
Merge commit '5d14cf199990cd378904a2618b5c72c4b02290f6'

* commit '5d14cf199990cd378904a2618b5c72c4b02290f6':
  mpegvideo: Make sure mpegutils.h is included where needed

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agoMerge commit '525f58977c93e189fda49a5c4928feaf4d89fac6'
Hendrik Leppkes [Wed, 16 Sep 2015 09:23:20 +0000 (11:23 +0200)]
Merge commit '525f58977c93e189fda49a5c4928feaf4d89fac6'

* commit '525f58977c93e189fda49a5c4928feaf4d89fac6':
  mpegvideo: Move macros to more appropriate headers

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agoMerge commit '285fe5b098c8fbefaed4aacdb839b760a5b7f20d'
Hendrik Leppkes [Wed, 16 Sep 2015 09:20:42 +0000 (11:20 +0200)]
Merge commit '285fe5b098c8fbefaed4aacdb839b760a5b7f20d'

* commit '285fe5b098c8fbefaed4aacdb839b760a5b7f20d':
  avfilter: Support both syntaxes for the scale filter

Not merged, ffmpeg has much more flexible option handling

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agoMerge commit 'c7247eb7fe2b95803983e8f7c4f0e904f050ca7b'
Hendrik Leppkes [Wed, 16 Sep 2015 09:19:36 +0000 (11:19 +0200)]
Merge commit 'c7247eb7fe2b95803983e8f7c4f0e904f050ca7b'

* commit 'c7247eb7fe2b95803983e8f7c4f0e904f050ca7b':
  lavr: Remove unreachable code

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agoMerge commit 'dc54c78c4d56cdf5549f35ccff2fd66e7ffa0af2'
Hendrik Leppkes [Wed, 16 Sep 2015 09:19:17 +0000 (11:19 +0200)]
Merge commit 'dc54c78c4d56cdf5549f35ccff2fd66e7ffa0af2'

* commit 'dc54c78c4d56cdf5549f35ccff2fd66e7ffa0af2':
  buffersrc: Improve initialization log message

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agoMerge commit '2c6014c629346ebfeb25fc715581a8df9175f71f'
Hendrik Leppkes [Wed, 16 Sep 2015 09:18:28 +0000 (11:18 +0200)]
Merge commit '2c6014c629346ebfeb25fc715581a8df9175f71f'

* commit '2c6014c629346ebfeb25fc715581a8df9175f71f':
  fate: Change global error option to private error_rate option

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

* commit 'e17db9ac496420f8824190ff5059a8a3646cbb7e':
  fate: Move mv0 option from global to mpv private

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agoMerge commit '5b142a4d334bfa8ee5ec5f364c26c98ddb425fac'
Hendrik Leppkes [Wed, 16 Sep 2015 09:12:32 +0000 (11:12 +0200)]
Merge commit '5b142a4d334bfa8ee5ec5f364c26c98ddb425fac'

* commit '5b142a4d334bfa8ee5ec5f364c26c98ddb425fac':
  lavc: Keep idct integer option

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

* commit '18adc1fd3bb739a240c59f87ec6837fdfa89d32e':
  avconv_filter: Use full named options

Not merged, as ffmpeg option syntax is quite different.

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agoMerge commit '10de408738d28ab17aa5c1fdccd809b0637c12d5'
Hendrik Leppkes [Wed, 16 Sep 2015 09:06:55 +0000 (11:06 +0200)]
Merge commit '10de408738d28ab17aa5c1fdccd809b0637c12d5'

* commit '10de408738d28ab17aa5c1fdccd809b0637c12d5':
  lavf: Update to the new crypto API

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agortsp: warning when max_delay reached
Eloi BAIL [Tue, 15 Sep 2015 15:38:23 +0000 (11:38 -0400)]
rtsp: warning when max_delay reached

packets are queued due to packet reordering until the queue reach its
maximal size or max delay is reached.
This commit adds a warning trace when max delay is reached.

Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
3 years agortpdec: inform jitter buffer size
Eloi BAIL [Tue, 15 Sep 2015 15:38:22 +0000 (11:38 -0400)]
rtpdec: inform jitter buffer size

This commit print as AV_LOG_VERBOSE the jitter buffer
size. It might be the default value or the value set by application.

Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
3 years agortpdec: add a trace when jitter buffer is full
Eloi BAIL [Tue, 15 Sep 2015 15:38:21 +0000 (11:38 -0400)]
rtpdec: add a trace when jitter buffer is full

This commit adds a warning trace when jitter buffer
is full. It helps to understand leading decoding issues.

Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
3 years agoavformat/flvdec: Check that sizes match and resync if not
Michael Niedermayer [Tue, 15 Sep 2015 23:58:10 +0000 (01:58 +0200)]
avformat/flvdec: Check that sizes match and resync if not

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavformat/rtmpproto: Fix 2nd packet size
Michael Niedermayer [Wed, 16 Sep 2015 01:42:47 +0000 (03:42 +0200)]
avformat/rtmpproto: Fix 2nd packet size

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavformat/flvdec: Change packet loop to return EAGAIN instead of looping until a valid...
Michael Niedermayer [Tue, 15 Sep 2015 23:39:18 +0000 (01:39 +0200)]
avformat/flvdec: Change packet loop to return EAGAIN instead of looping until a valid packet is foud

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoconfigure: make assignment of variable to '=' explicit
Ganesh Ajjanagadde [Sun, 13 Sep 2015 06:26:04 +0000 (02:26 -0400)]
configure: make assignment of variable to '=' explicit

op== is confusing, as it may easily be mistook for an equality check,
while in reality it is doing an assigment to '='.
This patch has the additional benefit of cleaning up 2 warnings from shellcheck.net.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
3 years agolibavformat/riff.c: Add support for RV40 codec in AVI
Thierry Foucu [Tue, 15 Sep 2015 21:11:38 +0000 (14:11 -0700)]
libavformat/riff.c: Add support for RV40 codec in AVI

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agocheckasm: add vp9 intra pred tests.
Ronald S. Bultje [Tue, 15 Sep 2015 20:26:33 +0000 (16:26 -0400)]
checkasm: add vp9 intra pred tests.

3 years agocheckasm: add vp9 MC tests.
Ronald S. Bultje [Tue, 15 Sep 2015 20:41:29 +0000 (16:41 -0400)]
checkasm: add vp9 MC tests.

3 years agoavfilter/vf_stereo3d: simplify blank calculations and check height
Paul B Mahol [Tue, 15 Sep 2015 18:55:47 +0000 (18:55 +0000)]
avfilter/vf_stereo3d: simplify blank calculations and check height

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agolavc/utils: Correctly show bit_rate >INT_MAX.
Carl Eugen Hoyos [Tue, 15 Sep 2015 18:56:23 +0000 (20:56 +0200)]
lavc/utils: Correctly show bit_rate >INT_MAX.

Fixes ticket #2089.

3 years agoavcodec/ffv1enc: Fix error message when the requested version does not support the...
Michael Niedermayer [Tue, 15 Sep 2015 18:27:14 +0000 (20:27 +0200)]
avcodec/ffv1enc: Fix error message when the requested version does not support the requested features

Found-by: "Peter B." <pb@das-werkstatt.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavfilter/vsrc_cellauto: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Fri, 28 Aug 2015 05:31:02 +0000 (01:31 -0400)]
avfilter/vsrc_cellauto: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
3 years agoREADME.md: avoid Github pull requests
Lou Logan [Mon, 14 Sep 2015 21:24:22 +0000 (13:24 -0800)]
README.md: avoid Github pull requests

Signed-off-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
3 years agoavfilter/f_sendcmd: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Wed, 9 Sep 2015 18:30:35 +0000 (14:30 -0400)]
avfilter/f_sendcmd: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
3 years agoavfilter/af_stereowiden: fix 2nd argument for av_calloc
Paul B Mahol [Tue, 15 Sep 2015 16:27:52 +0000 (16:27 +0000)]
avfilter/af_stereowiden: fix 2nd argument for av_calloc

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agolavf: Switch probesize and max_analyze_duration to 64bit.
Carl Eugen Hoyos [Tue, 15 Sep 2015 15:36:38 +0000 (17:36 +0200)]
lavf: Switch probesize and max_analyze_duration to 64bit.

Both are only accessible through AVOptions.

3 years agolavf: Switch bitrate to 64bit unless compatibility with avconv was requested.
Carl Eugen Hoyos [Tue, 15 Sep 2015 15:29:38 +0000 (17:29 +0200)]
lavf: Switch bitrate to 64bit unless compatibility with avconv was requested.

Based on a patch by Steve Swanson, swanysteve at gmail.

Fixes ticket #2089.

3 years agolavc: Switch bitrate to 64bit unless compatibility with avconv was requested.
Michael Niedermayer [Tue, 15 Sep 2015 16:01:32 +0000 (18:01 +0200)]
lavc: Switch bitrate to 64bit unless compatibility with avconv was requested.

3 years agodoc/filters: mention newly added windowing functions
Paul B Mahol [Tue, 15 Sep 2015 15:22:33 +0000 (15:22 +0000)]
doc/filters: mention newly added windowing functions

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavfilter/vf_vidstabdetect: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Mon, 7 Sep 2015 14:10:06 +0000 (10:10 -0400)]
avfilter/vf_vidstabdetect: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
3 years agovp9: switch min_tile_cols location so it shifts up instead of down.
Ronald S. Bultje [Mon, 14 Sep 2015 18:50:47 +0000 (14:50 -0400)]
vp9: switch min_tile_cols location so it shifts up instead of down.

This fixes cases where the shifted number is 64, but we shifted non-
zero numbers away in the shift. The change makes behaviour consistent
with libvpx.

3 years agortpdec: add a trace when jitter buffer is full
Eloi BAIL [Mon, 14 Sep 2015 18:02:16 +0000 (14:02 -0400)]
rtpdec: add a trace when jitter buffer is full

This commit adds an error trace when jitter buffer
is full. It helps to understand leading decoding issues.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agortpdec: inform jitter buffer size
Eloi BAIL [Mon, 14 Sep 2015 18:02:17 +0000 (14:02 -0400)]
rtpdec: inform jitter buffer size

This commit print as AV_LOG_INFO the jitter buffer
size. It might be the default value or the value set by application.

Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavfilter/vf_xbr: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Fri, 28 Aug 2015 05:37:48 +0000 (01:37 -0400)]
avfilter/vf_xbr: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
3 years agoavfilter: add stereowiden filter
Paul B Mahol [Sat, 12 Sep 2015 04:01:18 +0000 (04:01 +0000)]
avfilter: add stereowiden filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavfilter/avf_showfreqs: add lanczos and gauss windowing functions
Paul B Mahol [Tue, 15 Sep 2015 09:13:53 +0000 (09:13 +0000)]
avfilter/avf_showfreqs: add lanczos and gauss windowing functions

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavfilter/avf_showcqt: draw text optionally
Paul B Mahol [Tue, 1 Sep 2015 12:33:08 +0000 (12:33 +0000)]
avfilter/avf_showcqt: draw text optionally

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/dxv: remove code that is never reached
Paul B Mahol [Sat, 12 Sep 2015 13:51:44 +0000 (13:51 +0000)]
avcodec/dxv: remove code that is never reached

The function is automatically called.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agortpdec: Increase the max size of the jitter buffer to 500 packets
Martin Storsjö [Sat, 12 Sep 2015 14:37:09 +0000 (16:37 +0200)]
rtpdec: Increase the max size of the jitter buffer to 500 packets

Since the actual max length of the jitter buffer is restricted by
max_delay, this shouldn't harm the overall latency (assuming that
max_delay is set properly), while allowing packet reordering with
a larger number of packets (which may be required with high bitrate
video).

Signed-off-by: Martin Storsjö <martin@martin.st>
3 years agoavformat/avidec: Change (last)pos to 64bit
Michael Niedermayer [Tue, 15 Sep 2015 02:14:55 +0000 (04:14 +0200)]
avformat/avidec: Change (last)pos to 64bit

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavformat/avidec: Workaround broken initial frame
Michael Niedermayer [Tue, 15 Sep 2015 02:01:27 +0000 (04:01 +0200)]
avformat/avidec: Workaround broken initial frame

Fixes Ticket4851

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agolavu/avstring: switch AV_ESCAPE_FLAGs to shift-based formatting
Rodger Combs [Thu, 10 Sep 2015 16:12:15 +0000 (11:12 -0500)]
lavu/avstring: switch AV_ESCAPE_FLAGs to shift-based formatting

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agolavc: Fix standalone compilation of the avi demuxer.
Carl Eugen Hoyos [Mon, 14 Sep 2015 21:12:28 +0000 (23:12 +0200)]
lavc: Fix standalone compilation of the avi demuxer.

3 years agoavformat/hlsenc: Fix the method command line parameter
Michael Niedermayer [Mon, 14 Sep 2015 19:07:37 +0000 (21:07 +0200)]
avformat/hlsenc: Fix the method command line parameter

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agowmalossless: Warn when decoding 24 bit depth
Vittorio Giovara [Mon, 14 Sep 2015 17:15:44 +0000 (19:15 +0200)]
wmalossless: Warn when decoding 24 bit depth

See ticket #4134

3 years agoaaccoder_mips: Fix indentation
Timothy Gu [Mon, 14 Sep 2015 15:54:08 +0000 (08:54 -0700)]
aaccoder_mips: Fix indentation

3 years agoavformat: fix style after recent commits
Clément Bœsch [Mon, 14 Sep 2015 15:42:12 +0000 (17:42 +0200)]
avformat: fix style after recent commits

3 years agompjpegde: trim header name/value of MIME headers
Alex Agranovsky [Sat, 12 Sep 2015 23:07:53 +0000 (19:07 -0400)]
mpjpegde: trim header name/value of MIME headers

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agompjpeg: probe should require same constraints as packet reader - both proper content...
Alex Agranovsky [Sun, 13 Sep 2015 20:47:54 +0000 (16:47 -0400)]
mpjpeg: probe should require same constraints as packet reader - both proper content-type and content-size must be present

return AVPROBE_SCORE_MAX, rather than random positive number on success

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/mips/aaccoder_mips: Sync with generic aaccoder file.
Nedeljko Babic [Fri, 11 Sep 2015 13:16:16 +0000 (15:16 +0200)]
avcodec/mips/aaccoder_mips: Sync with generic aaccoder file.

Code in aaccoder_mips.c was not synced with changes in aaccoder.c for
some time.

That was cause for some fate-aac tests failing.

This patch fixes the problems.

Optimizations disabled in 933309a are enabled again.

Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agojpeg2000: Factor out prec init
Luca Barbato [Mon, 14 Sep 2015 12:50:19 +0000 (14:50 +0200)]
jpeg2000: Factor out prec init

Makes debugging a little simpler.

3 years agojpeg2000: Factor out band stepsize initialization
Luca Barbato [Fri, 11 Sep 2015 03:26:35 +0000 (05:26 +0200)]
jpeg2000: Factor out band stepsize initialization

3 years agojpeg2000: Factor out band initialization
Luca Barbato [Fri, 11 Sep 2015 03:26:35 +0000 (05:26 +0200)]
jpeg2000: Factor out band initialization

3 years agojpeg2000: Refactor decode_packets
Luca Barbato [Fri, 11 Sep 2015 02:29:49 +0000 (04:29 +0200)]
jpeg2000: Refactor decode_packets

Move the packet-specific parsers in separate functions.

3 years agojpeg2000: Templatize the frame writer
Luca Barbato [Fri, 11 Sep 2015 02:08:17 +0000 (04:08 +0200)]
jpeg2000: Templatize the frame writer

3 years agojpeg2000: Split codeblock decoding from the main tile decoding
Luca Barbato [Fri, 11 Sep 2015 01:42:26 +0000 (03:42 +0200)]
jpeg2000: Split codeblock decoding from the main tile decoding

That loop is completely stand-alone.

3 years agoavcodec/nvenc: merge compute initialQP sections
Agatha Hu [Fri, 11 Sep 2015 11:11:12 +0000 (13:11 +0200)]
avcodec/nvenc: merge compute initialQP sections

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
3 years agoavcodec/nvenc: Optimize nvenc parameters
Agatha Hu [Fri, 11 Sep 2015 09:07:10 +0000 (11:07 +0200)]
avcodec/nvenc: Optimize nvenc parameters

Add 3 more presets: fast, medium, slow.
Improve min/max QP calculation.

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
3 years agoavfilter/avf_showcqt: change fft left-right separation
Muhammad Faiz [Mon, 14 Sep 2015 09:23:58 +0000 (16:23 +0700)]
avfilter/avf_showcqt: change fft left-right separation

This simplifies the code

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agodoc: Add travis badge
Luca Barbato [Mon, 31 Aug 2015 11:42:06 +0000 (13:42 +0200)]
doc: Add travis badge

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
3 years agoavfilter/vsrc_mandelbrot: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Sun, 13 Sep 2015 02:32:44 +0000 (22:32 -0400)]
avfilter/vsrc_mandelbrot: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
3 years agompegvideo: Drop mpegvideo.h where not needed
Vittorio Giovara [Sat, 12 Sep 2015 14:11:05 +0000 (16:11 +0200)]
mpegvideo: Drop mpegvideo.h where not needed

Add necessary headers in .c files.

3 years agompegvideo: Make sure mpegutils.h is included where needed
Vittorio Giovara [Sat, 12 Sep 2015 13:58:48 +0000 (15:58 +0200)]
mpegvideo: Make sure mpegutils.h is included where needed

3 years agompegvideo: Move macros to more appropriate headers
Vittorio Giovara [Sat, 12 Sep 2015 13:58:47 +0000 (15:58 +0200)]
mpegvideo: Move macros to more appropriate headers

MAX_MB_BYTES -> mpegutils.h
FRAME_SKIPPED -> mpegutils.h
INPLACE_OFFSET -> mpegutils.h
ME_MAP_SIZE -> motion_est.h

3 years agoavfilter: Support both syntaxes for the scale filter
Luca Barbato [Thu, 10 Sep 2015 15:05:56 +0000 (17:05 +0200)]
avfilter: Support both syntaxes for the scale filter

3 years agolavr: Remove unreachable code
Vittorio Giovara [Thu, 10 Sep 2015 15:05:55 +0000 (17:05 +0200)]
lavr: Remove unreachable code

Bug-Id: CID 1323180