ffmpeg.git
4 years agoavutil/opt: add AV_OPT_TYPE_BOOL
Clément Bœsch [Sun, 6 Sep 2015 17:10:53 +0000 (19:10 +0200)]
avutil/opt: add AV_OPT_TYPE_BOOL

4 years agoavfilter/vf_vectorscope: 9 & 10 bit depth support
Paul B Mahol [Tue, 8 Sep 2015 17:09:50 +0000 (17:09 +0000)]
avfilter/vf_vectorscope: 9 & 10 bit depth support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agoavfilter/vf_super2xsai: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Sun, 6 Sep 2015 15:56:39 +0000 (08:56 -0700)]
avfilter/vf_super2xsai: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
4 years agoavfilter/af_ladspa: add special case for 2:2 plugins
Paul B Mahol [Tue, 8 Sep 2015 18:33:02 +0000 (18:33 +0000)]
avfilter/af_ladspa: add special case for 2:2 plugins

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agolavc/options: extend/fix text for threads and slices options
Stefano Sabatini [Tue, 8 Sep 2015 13:54:53 +0000 (15:54 +0200)]
lavc/options: extend/fix text for threads and slices options

4 years agolavc/libopenh264enc: apply minor consistency fixes to options text
Stefano Sabatini [Tue, 8 Sep 2015 13:53:42 +0000 (15:53 +0200)]
lavc/libopenh264enc: apply minor consistency fixes to options text

4 years agodoc/encoders: add libopenh264 entry
Stefano Sabatini [Tue, 8 Sep 2015 13:53:14 +0000 (15:53 +0200)]
doc/encoders: add libopenh264 entry

4 years agodoc/codecs: extend documentation for the threads option
Stefano Sabatini [Tue, 8 Sep 2015 13:52:36 +0000 (15:52 +0200)]
doc/codecs: extend documentation for the threads option

4 years agodoc/codecs: mention GOP in the g option
Stefano Sabatini [Tue, 8 Sep 2015 13:50:32 +0000 (15:50 +0200)]
doc/codecs: mention GOP in the g option

This helps when grepping for "gop".

4 years agoReplace all remaining occurances of step/depth_minus1 and offset_plus1
Hendrik Leppkes [Tue, 8 Sep 2015 15:10:48 +0000 (17:10 +0200)]
Replace all remaining occurances of step/depth_minus1 and offset_plus1

4 years agoMerge commit '2268db2cd052674fde55c7d48b7a5098ce89b4ba'
Hendrik Leppkes [Tue, 8 Sep 2015 13:43:03 +0000 (15:43 +0200)]
Merge commit '2268db2cd052674fde55c7d48b7a5098ce89b4ba'

* commit '2268db2cd052674fde55c7d48b7a5098ce89b4ba':
  lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fields

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '6b3ef7f080293956b2e5212b83135c6b051212e9'
Hendrik Leppkes [Tue, 8 Sep 2015 12:53:34 +0000 (14:53 +0200)]
Merge commit '6b3ef7f080293956b2e5212b83135c6b051212e9'

* commit '6b3ef7f080293956b2e5212b83135c6b051212e9':
  lavu: Remove bit packing from AVComponentDescriptor

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit 'b8b5d8274471129f122858bc74ad09284dae6ab7'
Hendrik Leppkes [Tue, 8 Sep 2015 12:53:13 +0000 (14:53 +0200)]
Merge commit 'b8b5d8274471129f122858bc74ad09284dae6ab7'

* commit 'b8b5d8274471129f122858bc74ad09284dae6ab7':
  lavu: extend size of the AVPixFmtDescriptor.flags field

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '77cf23668991bfd1fb69339f13e1511b4186b7b3'
Hendrik Leppkes [Tue, 8 Sep 2015 12:46:21 +0000 (14:46 +0200)]
Merge commit '77cf23668991bfd1fb69339f13e1511b4186b7b3'

* commit '77cf23668991bfd1fb69339f13e1511b4186b7b3':
  asfdec: alloc enough space for storing name in asf_read_metadata_obj

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '7cad1bf0759ada2a1fc3e80bb232a5377dd4fda4'
Hendrik Leppkes [Tue, 8 Sep 2015 12:46:02 +0000 (14:46 +0200)]
Merge commit '7cad1bf0759ada2a1fc3e80bb232a5377dd4fda4'

* commit '7cad1bf0759ada2a1fc3e80bb232a5377dd4fda4':
  mov: Allow more than one keyframe per trun

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit 'd0f7e4a57fbffa0efb204d4274c3dd56fbfff946'
Hendrik Leppkes [Tue, 8 Sep 2015 12:34:09 +0000 (14:34 +0200)]
Merge commit 'd0f7e4a57fbffa0efb204d4274c3dd56fbfff946'

* commit 'd0f7e4a57fbffa0efb204d4274c3dd56fbfff946':
  dxtory: Unify and rework the decoding routines

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '3cdda78deb19b39dbbf8961ae0aec44dbb19bf6d'
Hendrik Leppkes [Tue, 8 Sep 2015 12:30:00 +0000 (14:30 +0200)]
Merge commit '3cdda78deb19b39dbbf8961ae0aec44dbb19bf6d'

* commit '3cdda78deb19b39dbbf8961ae0aec44dbb19bf6d':
  checkasm: add unit tests for v210enc

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '599fe93a840397f551d94db406d0bad42b46b94b'
Hendrik Leppkes [Tue, 8 Sep 2015 12:28:39 +0000 (14:28 +0200)]
Merge commit '599fe93a840397f551d94db406d0bad42b46b94b'

* commit '599fe93a840397f551d94db406d0bad42b46b94b':
  riff: Add AVj2 fourcc for Avid jpeg2000

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit 'a7e6fbd90e62d3320b1e26d8209fc0f55ee5b0be'
Hendrik Leppkes [Tue, 8 Sep 2015 12:27:05 +0000 (14:27 +0200)]
Merge commit 'a7e6fbd90e62d3320b1e26d8209fc0f55ee5b0be'

* commit 'a7e6fbd90e62d3320b1e26d8209fc0f55ee5b0be':
  dxtory: Factorize the buffer loading

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '6a6bc43f5f79587b8936334cc0b3a6616f4807ac'
Hendrik Leppkes [Tue, 8 Sep 2015 12:23:53 +0000 (14:23 +0200)]
Merge commit '6a6bc43f5f79587b8936334cc0b3a6616f4807ac'

* commit '6a6bc43f5f79587b8936334cc0b3a6616f4807ac':
  dxtory: Factorize slice size checks

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit 'db9fd1e9af83e88bcf2ef40db6a5debf91845c25'
Hendrik Leppkes [Tue, 8 Sep 2015 12:19:17 +0000 (14:19 +0200)]
Merge commit 'db9fd1e9af83e88bcf2ef40db6a5debf91845c25'

* commit 'db9fd1e9af83e88bcf2ef40db6a5debf91845c25':
  fraps: increase vlc nb_bits

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '741d353ab9cb47fe864e60552bf7b9af7aaa735b'
Hendrik Leppkes [Tue, 8 Sep 2015 12:17:59 +0000 (14:17 +0200)]
Merge commit '741d353ab9cb47fe864e60552bf7b9af7aaa735b'

* commit '741d353ab9cb47fe864e60552bf7b9af7aaa735b':
  huffman: allow specifying nb_bits to ff_huff_build_tree()

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '26960aa1cd865e5dc55c67fb2ff9f0629e4d1bda'
Hendrik Leppkes [Tue, 8 Sep 2015 12:17:04 +0000 (14:17 +0200)]
Merge commit '26960aa1cd865e5dc55c67fb2ff9f0629e4d1bda'

* commit '26960aa1cd865e5dc55c67fb2ff9f0629e4d1bda':
  huffman: increase bits constant

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '5a19bce2ff2b61602889392bec747ce81d1e9a1b'
Hendrik Leppkes [Tue, 8 Sep 2015 12:16:36 +0000 (14:16 +0200)]
Merge commit '5a19bce2ff2b61602889392bec747ce81d1e9a1b'

* commit '5a19bce2ff2b61602889392bec747ce81d1e9a1b':
  huffman: use a named identifer for the bits constant

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoavfilter: add extrastereo filter
Paul B Mahol [Sat, 5 Sep 2015 03:55:47 +0000 (03:55 +0000)]
avfilter: add extrastereo filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agolavc/dxv: Support more real-world old version samples.
Carl Eugen Hoyos [Tue, 8 Sep 2015 08:18:16 +0000 (10:18 +0200)]
lavc/dxv: Support more real-world old version samples.

4 years agolavc/dxv: Silence "Multiple ff_thread_finish_setup() calls" warnings.
Carl Eugen Hoyos [Tue, 8 Sep 2015 08:16:34 +0000 (10:16 +0200)]
lavc/dxv: Silence "Multiple ff_thread_finish_setup() calls" warnings.

4 years agoconfigure: Reenable colorized warnings and check for tput's existence
Timothy Gu [Tue, 8 Sep 2015 02:11:16 +0000 (19:11 -0700)]
configure: Reenable colorized warnings and check for tput's existence

Untested.

4 years agoRevert "configure: colorize warning messages"
Michael Niedermayer [Tue, 8 Sep 2015 02:58:47 +0000 (04:58 +0200)]
Revert "configure: colorize warning messages"

This broke win32, MSYS

This reverts commit 3e830b6dc844219673b6a036d8a3bd326ac4f9e2.

4 years agoavcodec: loongson delete invalid simple idct put and add optimization
周晓勇 [Wed, 2 Sep 2015 10:00:24 +0000 (18:00 +0800)]
avcodec: loongson delete invalid simple idct put and add optimization

Change-Id: I23a36c65915f01a1cf20e317c14b8eaaa62958b4
Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn>
Fixes Decoding of http://loongnix.org/ftp/multimedia/testing/nanocore_720p_24fps_mpeg4_ac3_short.avi

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoAdd NOA credits
Michael Niedermayer [Mon, 7 Sep 2015 16:52:38 +0000 (18:52 +0200)]
Add NOA credits

4 years agoavcodec: loongson optimize h264dsp idct and loop filter with mmi
周晓勇 [Wed, 2 Sep 2015 10:02:24 +0000 (18:02 +0800)]
avcodec: loongson optimize h264dsp idct and loop filter with mmi

Change-Id: Ic87fb8f5cd22a502ff9dbbc5a5a8ea97cfc8a1dd
Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavfilter/vf_thumbnail: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Fri, 4 Sep 2015 15:20:53 +0000 (08:20 -0700)]
avfilter/vf_thumbnail: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
4 years agolibavcodec/qsvdec.c: correct flush() handler has been implemented
Ivan Uskov [Thu, 6 Aug 2015 16:10:24 +0000 (12:10 -0400)]
libavcodec/qsvdec.c: correct flush() handler has been implemented

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agolibavcodec/qsvdec.c: correct handling of dynamic frame size changing has been implemented
Ivan Uskov [Tue, 4 Aug 2015 10:40:06 +0000 (06:40 -0400)]
libavcodec/qsvdec.c: correct handling of dynamic frame size changing has been implemented

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavcodec: remove VIMA Makefile entry
James Almer [Mon, 7 Sep 2015 19:24:31 +0000 (16:24 -0300)]
avcodec: remove VIMA Makefile entry

Signed-off-by: James Almer <jamrial@gmail.com>
4 years agoavcodec: remove missing bits from deprecated VIMA decoder
James Almer [Mon, 7 Sep 2015 19:04:23 +0000 (16:04 -0300)]
avcodec: remove missing bits from deprecated VIMA decoder

Signed-off-by: James Almer <jamrial@gmail.com>
4 years agoavformat/http: exponentially delay reconnection to avoid flooding the server
Michael Niedermayer [Sun, 6 Sep 2015 18:03:46 +0000 (20:03 +0200)]
avformat/http: exponentially delay reconnection to avoid flooding the server

Reviewed-by: Zhang Rui <bbcallen@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavformat/http: Add reconnect_at_eof and reconnect_streamed options
Michael Niedermayer [Sun, 6 Sep 2015 17:58:10 +0000 (19:58 +0200)]
avformat/http: Add reconnect_at_eof and reconnect_streamed options

They allow reconnecting endless live streams which fail with eof

Reviewed-by: Zhang Rui <bbcallen@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavcodec: remove fourcc values from AVCodecIDs
James Almer [Mon, 7 Sep 2015 14:49:33 +0000 (11:49 -0300)]
avcodec: remove fourcc values from AVCodecIDs

Based on a patch by wm4.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
4 years agoavcodec: remove duplicate AVCodecIDs
James Almer [Mon, 7 Sep 2015 14:45:34 +0000 (11:45 -0300)]
avcodec: remove duplicate AVCodecIDs

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
4 years agoconfigure: colorize warning messages
Ganesh Ajjanagadde [Fri, 28 Aug 2015 14:39:59 +0000 (10:39 -0400)]
configure: colorize warning messages

This patch introduces color warning messages (yellow).
They are enabled whenever available.
Tested with zsh, bash, and sh (bash under --posix).

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoMerge commit '9ad1e0c12caa440de860bd8f2122beb11d73815c'
Hendrik Leppkes [Mon, 7 Sep 2015 14:19:40 +0000 (16:19 +0200)]
Merge commit '9ad1e0c12caa440de860bd8f2122beb11d73815c'

* commit '9ad1e0c12caa440de860bd8f2122beb11d73815c':
  mux: Make sure that the data is actually written

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit 'e05f7ed5436207f4a55f1978b223c7f8bc82af42'
Hendrik Leppkes [Mon, 7 Sep 2015 14:11:57 +0000 (16:11 +0200)]
Merge commit 'e05f7ed5436207f4a55f1978b223c7f8bc82af42'

* commit 'e05f7ed5436207f4a55f1978b223c7f8bc82af42':
  file: properly forward errors from file_read() and file_write()

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '5a1a9da8a7ae120f2543b8f2fa13dc8baac39f17'
Hendrik Leppkes [Mon, 7 Sep 2015 14:08:42 +0000 (16:08 +0200)]
Merge commit '5a1a9da8a7ae120f2543b8f2fa13dc8baac39f17'

* commit '5a1a9da8a7ae120f2543b8f2fa13dc8baac39f17':
  mpegvideo: Drop a stray error message

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit 'c45fcf30cfab687004ed1cdc06ebaa21f4262a0b'
Hendrik Leppkes [Mon, 7 Sep 2015 14:07:07 +0000 (16:07 +0200)]
Merge commit 'c45fcf30cfab687004ed1cdc06ebaa21f4262a0b'

* commit 'c45fcf30cfab687004ed1cdc06ebaa21f4262a0b':
  DXV decoder

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agovaapi: fix local header include.
Gwenole Beauchesne [Mon, 7 Sep 2015 13:28:00 +0000 (15:28 +0200)]
vaapi: fix local header include.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
4 years agolavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fields
Vittorio Giovara [Thu, 3 Sep 2015 11:44:14 +0000 (13:44 +0200)]
lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fields

The new fields can be accessed directly and are more intelligible.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
4 years agolavu: Remove bit packing from AVComponentDescriptor
Vittorio Giovara [Wed, 2 Sep 2015 16:59:38 +0000 (18:59 +0200)]
lavu: Remove bit packing from AVComponentDescriptor

There is no practical benefit in having this structure elements
bit packed given the size of the structure and its usage.
Change types from uint16_t (packed) to plain int in order to simplify
modifying the structure and accessing its fields.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
4 years agolavu: extend size of the AVPixFmtDescriptor.flags field
wm4 [Wed, 2 Sep 2015 16:59:37 +0000 (18:59 +0200)]
lavu: extend size of the AVPixFmtDescriptor.flags field

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
4 years agoasfdec: alloc enough space for storing name in asf_read_metadata_obj
Alexandra Hájková [Wed, 2 Sep 2015 12:27:42 +0000 (14:27 +0200)]
asfdec: alloc enough space for storing name in asf_read_metadata_obj

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
4 years agomov: Allow more than one keyframe per trun
Martin Storsjö [Wed, 2 Sep 2015 10:05:45 +0000 (13:05 +0300)]
mov: Allow more than one keyframe per trun

The previous restriction was partially designed to fix certain
(broken) samples from bug 215. There should be no restriction on the
number of keyframes per fragment or trun.

The spec suggests that all frames lacking MOV_FRAG_SAMPLE_FLAG_IS_NON_SYNC
are key frames, but we require the flag MOV_FRAG_SAMPLE_FLAG_DEPENDS_YES
to be unset as well. This works for (possibly broken) media that never
sets the NON_SYNC flag and should also be correct for any spec-compliant
file.

For files that never set either of the flags, all samples are marked
as keyframes.

Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agodxtory: Unify and rework the decoding routines
Luca Barbato [Thu, 3 Sep 2015 14:44:27 +0000 (16:44 +0200)]
dxtory: Unify and rework the decoding routines

Do not make many assumption on the dimension of the slices and just
try to decode additional lines if there is enough data left.

Decodes all the samples kindly provided by ultramage.

4 years agodoc/filters:vf_stereo3d: update to recent changes
Paul B Mahol [Sun, 6 Sep 2015 11:53:34 +0000 (11:53 +0000)]
doc/filters:vf_stereo3d: update to recent changes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agoaaccoder: add frequency scaling and quantization correction for PNS
Rostislav Pehlivanov [Mon, 7 Sep 2015 11:39:04 +0000 (12:39 +0100)]
aaccoder: add frequency scaling and quantization correction for PNS

This commit once again improves the PNS implementation by scaling the
thresholds with frequency. The thresholds get looser as the frequency
increases since higher frequencies are basically noise to human ears.

Also, this introduces quantization error correction for PNS. Should
the error be too much, no PNS will be used. The energy_ratio is used
to regulate the actual encoded PNS energy: if the generated PNS
energy is higher than the energy from the psy system, energy_ratio
is used to correct it so that hopefully once requantized and
transmitted the value in the decoder will be closer to what the
encoder has.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoavfilter/vf_stereo3d: stop dumping half of data for interleave rows output
Paul B Mahol [Sun, 6 Sep 2015 09:22:43 +0000 (09:22 +0000)]
avfilter/vf_stereo3d: stop dumping half of data for interleave rows output

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agoavfilter/vf_stereo3d: add interleave columns output format
Paul B Mahol [Sun, 6 Sep 2015 08:50:14 +0000 (08:50 +0000)]
avfilter/vf_stereo3d: add interleave columns output format

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agoavfilter/vf_stereo3d: add HDMI output format
Paul B Mahol [Sat, 5 Sep 2015 03:35:46 +0000 (03:35 +0000)]
avfilter/vf_stereo3d: add HDMI output format

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agoavfilter/vf_stereo3d: support interleaved rows as input format
Paul B Mahol [Sat, 5 Sep 2015 00:05:50 +0000 (00:05 +0000)]
avfilter/vf_stereo3d: support interleaved rows as input format

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agoavfilter/vf_stereo3d: add checkerboard output format
Paul B Mahol [Thu, 3 Sep 2015 11:49:59 +0000 (11:49 +0000)]
avfilter/vf_stereo3d: add checkerboard output format

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agoavformat/async: fix integer conversion warning
Zhang Rui [Mon, 7 Sep 2015 06:54:49 +0000 (14:54 +0800)]
avformat/async: fix integer conversion warning

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoMerge commit '0c7707610f46a28b65eff935500c78c9781f8f4f'
Hendrik Leppkes [Mon, 7 Sep 2015 10:53:00 +0000 (12:53 +0200)]
Merge commit '0c7707610f46a28b65eff935500c78c9781f8f4f'

* commit '0c7707610f46a28b65eff935500c78c9781f8f4f':
  lavc: Add a lzf decompressor

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '4dc9f00365853b1239936d771856cf1881b5c5ce'
Hendrik Leppkes [Mon, 7 Sep 2015 10:31:14 +0000 (12:31 +0200)]
Merge commit '4dc9f00365853b1239936d771856cf1881b5c5ce'

* commit '4dc9f00365853b1239936d771856cf1881b5c5ce':
  build: Skip libvpx.h if libvpx is not enabled

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '1a164e0a83dd7c1b129aeef10cb3caff368ce850'
Hendrik Leppkes [Mon, 7 Sep 2015 10:29:33 +0000 (12:29 +0200)]
Merge commit '1a164e0a83dd7c1b129aeef10cb3caff368ce850'

* commit '1a164e0a83dd7c1b129aeef10cb3caff368ce850':
  tools: Drop a stale header

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '87a11db220dec523e39eb4af715175e150787a72'
Hendrik Leppkes [Mon, 7 Sep 2015 10:29:25 +0000 (12:29 +0200)]
Merge commit '87a11db220dec523e39eb4af715175e150787a72'

* commit '87a11db220dec523e39eb4af715175e150787a72':
  dnxhddata: Double frame_size for cid 1260

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit 'a686e58165ca0f83966431a9166cb6e17bf6095c'
Hendrik Leppkes [Mon, 7 Sep 2015 10:28:25 +0000 (12:28 +0200)]
Merge commit 'a686e58165ca0f83966431a9166cb6e17bf6095c'

* commit 'a686e58165ca0f83966431a9166cb6e17bf6095c':
  des: Add missing include

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '87e5d8d78cf08b54b4a9e7cbaeff89f8c1d91b78'
Hendrik Leppkes [Mon, 7 Sep 2015 10:27:21 +0000 (12:27 +0200)]
Merge commit '87e5d8d78cf08b54b4a9e7cbaeff89f8c1d91b78'

* commit '87e5d8d78cf08b54b4a9e7cbaeff89f8c1d91b78':
  ismindex: Use the correct abs() version

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '9a003fc38833b6b9f08e44d7f1c6539db65840a0'
Hendrik Leppkes [Mon, 7 Sep 2015 10:26:13 +0000 (12:26 +0200)]
Merge commit '9a003fc38833b6b9f08e44d7f1c6539db65840a0'

* commit '9a003fc38833b6b9f08e44d7f1c6539db65840a0':
  lavr: Remove unused label

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit 'b0d94324d21d0c1c4adf1c8c329928afe473b099'
Hendrik Leppkes [Mon, 7 Sep 2015 10:25:13 +0000 (12:25 +0200)]
Merge commit 'b0d94324d21d0c1c4adf1c8c329928afe473b099'

* commit 'b0d94324d21d0c1c4adf1c8c329928afe473b099':
  libfdk-aacdec: Remove unused variable

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoMerge commit '6bcd3e05998b41fb3b2c8dcc79e4662854e5208d'
Hendrik Leppkes [Mon, 7 Sep 2015 10:24:51 +0000 (12:24 +0200)]
Merge commit '6bcd3e05998b41fb3b2c8dcc79e4662854e5208d'

* commit '6bcd3e05998b41fb3b2c8dcc79e4662854e5208d':
  build: Add support for travis CI

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
4 years agoavformat: implement query_codec for the image2 muxer.
tab [Sun, 6 Sep 2015 15:07:20 +0000 (11:07 -0400)]
avformat: implement query_codec for the image2 muxer.

Allows avformat_query_codec to be used to check for valid image2 encoders.
Reuses the existing ff_guess_image2_codec ID table.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavformat/cafenc: Move special casing of PCM codecs into ff_codec_caf_tags
Michael Niedermayer [Sun, 6 Sep 2015 23:20:01 +0000 (01:20 +0200)]
avformat/cafenc: Move special casing of PCM codecs into ff_codec_caf_tags

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoUpdate md5 muxer docs to indicate that it ignores timestamps.
Ronald S. Bultje [Sun, 6 Sep 2015 16:57:33 +0000 (12:57 -0400)]
Update md5 muxer docs to indicate that it ignores timestamps.

4 years agovp9: fix integer overflows in sse2 version of iadst4.
Ronald S. Bultje [Sun, 6 Sep 2015 12:30:37 +0000 (08:30 -0400)]
vp9: fix integer overflows in sse2 version of iadst4.

4 years agomd5: change flags to match framemd5.
Ronald S. Bultje [Sat, 5 Sep 2015 11:11:28 +0000 (07:11 -0400)]
md5: change flags to match framemd5.

This prevents the following warning: "Application provided invalid, non
monotonically increasing dts to muxer in stream 0: 9 >= 9".

4 years agoavformat/http: print error that causes reconnection
Michael Niedermayer [Sun, 6 Sep 2015 17:39:24 +0000 (19:39 +0200)]
avformat/http: print error that causes reconnection

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavformat/http: require seekability only when seeking to position != 0
Michael Niedermayer [Sun, 6 Sep 2015 17:05:52 +0000 (19:05 +0200)]
avformat/http: require seekability only when seeking to position != 0

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoaacenc_is: take absolute coefficient value upon energy calculations
Rostislav Pehlivanov [Sun, 6 Sep 2015 17:36:42 +0000 (18:36 +0100)]
aacenc_is: take absolute coefficient value upon energy calculations

This was an oversight when the IS system was being first implemented.
The ener01 part was largely a result of trial and error and the fact
that the sum of coef0 and coef1 could result in a zero was
overlooked. Once ener01 turns to zero it's used to divide the left
channel energy which doesn't turn out so well as it fills IS[]
with -nan's and inf's which in turn confused the quantize_band_cost.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agofate: adjust AAC encoder tests values
Rostislav Pehlivanov [Sun, 6 Sep 2015 14:20:46 +0000 (15:20 +0100)]
fate: adjust AAC encoder tests values

Since the new commits improve quality.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoaaccoder: rewrite PNS implementation
Rostislav Pehlivanov [Sun, 6 Sep 2015 14:13:18 +0000 (15:13 +0100)]
aaccoder: rewrite PNS implementation

This commit rewrites the PNS implementation and significantly
improves sonic quality.

The previous implementation marked an incredibly big amount
of SFBs to predict when there was no need for this and this
resulted in quite a large amount of artifacts. Also the
quantization was incorrect (av_clip(4+log2f(...))) which
led to 3x the intensity for PNS values leading to even more
artifacts.

This commit rewrites the PNS search function and introduces
a major change: the PNS values are synthesized and are compared
to the current coefficients in addition to passing through
the revised checks to see whether PNS can be used.

This decreases distortions and makes the current PNS implementation
mainly focused on replacing any low-power non-zero bands as well
as adding any zeroed bands back.

The current encoder's performance is enough (especially with
IS) so PNS isn't really required except to fill in the occasional
few bands as well as extend any zeroed high frequency, so this
combination which is already enabled by default works
to get as much quality as it can within the bits allowed.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoaacenc_pred: disable PNS SFBs and disable right predictors with IS
Rostislav Pehlivanov [Sun, 6 Sep 2015 14:10:28 +0000 (15:10 +0100)]
aacenc_pred: disable PNS SFBs and disable right predictors with IS

Since PNS generates coefficients it doesn't make sense to send
the predicted ones as well. Also the specifications explicitly
state to disable right channel IS predictors.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoaacenc_is: ignore PNS band types
Rostislav Pehlivanov [Sun, 6 Sep 2015 14:09:22 +0000 (15:09 +0100)]
aacenc_is: ignore PNS band types

It's better to trust that the coefficients generated will be
closer than the coefficients derived, and the new PNS implementation
makes sure that this happens.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoaaccoder: use roundf() instead of ceilf()
Rostislav Pehlivanov [Sun, 6 Sep 2015 14:07:29 +0000 (15:07 +0100)]
aaccoder: use roundf() instead of ceilf()

The specifications explicitly state to use roundf() which
also rounds half-integer values away from zero.
This does fix a few IS artifacts.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoaacenc: copy PRNG from the decoder
Rostislav Pehlivanov [Sun, 6 Sep 2015 14:06:34 +0000 (15:06 +0100)]
aacenc: copy PRNG from the decoder

Needed for the following PNS commits.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoavcodec/vorbis: remove avpriv vorbis parser cruft
Hendrik Leppkes [Sun, 6 Sep 2015 08:46:34 +0000 (10:46 +0200)]
avcodec/vorbis: remove avpriv vorbis parser cruft

It was replaced by a public API

4 years agoavcodec/flac: remove avpriv parsing API cruft
Hendrik Leppkes [Sun, 6 Sep 2015 08:44:59 +0000 (10:44 +0200)]
avcodec/flac: remove avpriv parsing API cruft

4 years agoavcodec/alac: remove dead code cruft
Hendrik Leppkes [Sun, 6 Sep 2015 08:44:11 +0000 (10:44 +0200)]
avcodec/alac: remove dead code cruft

The output is always planar since two major bumps, remove all code
related to packed output.

4 years agoChangelog: add 2.8
Michael Niedermayer [Sun, 6 Sep 2015 13:59:23 +0000 (15:59 +0200)]
Changelog: add 2.8

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavcodec/htmlsubtitles: handle leading whitespace before tag names
Rodger Combs [Wed, 15 Jul 2015 17:27:04 +0000 (12:27 -0500)]
avcodec/htmlsubtitles: handle leading whitespace before tag names

This fixes cases like `</ font>`.

Signed-off-by: Clément Bœsch <u@pkh.me>
4 years agoavfilter/sine: support expression in the number of output samples
Clément Bœsch [Mon, 10 Aug 2015 19:03:11 +0000 (21:03 +0200)]
avfilter/sine: support expression in the number of output samples

4 years agoavcodec/samidec: small indent fix
Clément Bœsch [Sun, 6 Sep 2015 12:06:44 +0000 (14:06 +0200)]
avcodec/samidec: small indent fix

4 years agoavcodec/htmlsubtitles: drop avcodec dependency
Clément Bœsch [Sun, 6 Sep 2015 11:39:04 +0000 (13:39 +0200)]
avcodec/htmlsubtitles: drop avcodec dependency

4 years agoavcodec/samidec: use ff_htmlmarkup_to_ass()
Yayoi [Sun, 30 Aug 2015 14:24:48 +0000 (07:24 -0700)]
avcodec/samidec: use ff_htmlmarkup_to_ass()

Signed-off-by: Clément Bœsch <u@pkh.me>
4 years agoavformat/samidec: do not include trailing sami footer in the last packet
Yayoi [Sun, 30 Aug 2015 14:24:49 +0000 (07:24 -0700)]
avformat/samidec: do not include trailing sami footer in the last packet

Signed-off-by: Clément Bœsch <u@pkh.me>
4 years agofate/subtitles: add a new test for SAMI demuxer and decoder
Yayoi [Sun, 30 Aug 2015 14:24:50 +0000 (07:24 -0700)]
fate/subtitles: add a new test for SAMI demuxer and decoder

Signed-off-by: Clément Bœsch <u@pkh.me>
4 years agoavcodec/srtdec: factor out HTML parsing code
Yayoi [Sun, 30 Aug 2015 14:24:47 +0000 (07:24 -0700)]
avcodec/srtdec: factor out HTML parsing code

This code will be used in SAMI decoder in a later commit.

Signed-off-by: Clément Bœsch <u@pkh.me>
4 years agodoc/examples/demuxing_decoding: simplify api_mode to refcount
Clément Bœsch [Sun, 6 Sep 2015 10:35:00 +0000 (12:35 +0200)]
doc/examples/demuxing_decoding: simplify api_mode to refcount

This finalizes the quick cleanup of a753e6c9f508fd48a0f34438bcdce87c826779b9.

4 years agoavfilter/af_asyncts: use llabs for int64_t
Ganesh Ajjanagadde [Sun, 6 Sep 2015 03:42:02 +0000 (20:42 -0700)]
avfilter/af_asyncts: use llabs for int64_t

long may not be 64 bit on all platforms; so labs on int64_t is unsafe.
This fixes a warning reported in:
http://fate.ffmpeg.org/log.cgi?time=20150905071512&log=compile&slot=i386-darwin-clang-polly-3.7

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavformat/async: replace strerror with av_err2str
Zhang Rui [Sun, 6 Sep 2015 04:51:54 +0000 (12:51 +0800)]
avformat/async: replace strerror with av_err2str

Fixes CID1322337

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agocheckasm: add unit tests for v210enc
Henrik Gramner [Sat, 5 Sep 2015 23:06:12 +0000 (01:06 +0200)]
checkasm: add unit tests for v210enc

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>