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

5 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

5 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

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

5 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>
5 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>
5 years agotests/fate: replace all -f md5 by framemd5
Michael Niedermayer [Sat, 5 Sep 2015 22:08:08 +0000 (00:08 +0200)]
tests/fate: replace all -f md5 by framemd5

also limit dcinema-encode to 20 frames to avoid huge reference checksum lists

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agotests/fate-run: Pass bitexact flags to enc_dec_pcm() output
Michael Niedermayer [Sat, 5 Sep 2015 21:32:50 +0000 (23:32 +0200)]
tests/fate-run: Pass bitexact flags to enc_dec_pcm() output

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agofate: increase the fuzz of the AAC encoder aref test
Rostislav Pehlivanov [Sat, 5 Sep 2015 20:47:26 +0000 (21:47 +0100)]
fate: increase the fuzz of the AAC encoder aref test

Almost fine on SunOS without yasm but 5 wasn't enough.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
5 years agoconfigure: Remove reference to no longer existing avcodec_encode_video()
Michael Niedermayer [Sat, 5 Sep 2015 20:25:58 +0000 (22:25 +0200)]
configure: Remove reference to no longer existing avcodec_encode_video()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/vf_unsharp: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Sat, 5 Sep 2015 15:13:30 +0000 (08:13 -0700)]
avfilter/vf_unsharp: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
5 years agoavcodec/x86/w64xmmtest: Fix another build failure
Michael Niedermayer [Sat, 5 Sep 2015 19:49:39 +0000 (21:49 +0200)]
avcodec/x86/w64xmmtest: Fix another build failure

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec: remove old_codec_ids.h from SKIPHEADERS as well
Hendrik Leppkes [Sat, 5 Sep 2015 19:55:59 +0000 (21:55 +0200)]
avcodec: remove old_codec_ids.h from SKIPHEADERS as well

5 years agoavcodec: fix make install after old_codec_ids.h removal
Hendrik Leppkes [Sat, 5 Sep 2015 19:54:27 +0000 (21:54 +0200)]
avcodec: fix make install after old_codec_ids.h removal

5 years agovp9: fix rounding error in idct_8x8_ssse3.
Ronald S. Bultje [Sat, 5 Sep 2015 17:36:56 +0000 (13:36 -0400)]
vp9: fix rounding error in idct_8x8_ssse3.

5 years agovp9: check return value of ff_thread_ref_frame().
Ronald S. Bultje [Sat, 5 Sep 2015 00:10:43 +0000 (20:10 -0400)]
vp9: check return value of ff_thread_ref_frame().

Fixes CID 1322309.

5 years agovp9: fix type of iadst4_1d intermediates.
Ronald S. Bultje [Fri, 4 Sep 2015 21:01:53 +0000 (17:01 -0400)]
vp9: fix type of iadst4_1d intermediates.

Fixes integer overflows for extreme coefficient values in 10/12bpp content.

5 years agovp9: fix integer overflow in 10/12bpp DC-only calculation.
Ronald S. Bultje [Fri, 4 Sep 2015 20:57:07 +0000 (16:57 -0400)]
vp9: fix integer overflow in 10/12bpp DC-only calculation.

5 years agovp9: fix edge copy for 10/12bpp frames.
Ronald S. Bultje [Fri, 4 Sep 2015 19:50:15 +0000 (15:50 -0400)]
vp9: fix edge copy for 10/12bpp frames.

5 years agovp9: do unscaled MC in scaled path if size of this reference matches.
Ronald S. Bultje [Fri, 4 Sep 2015 19:03:30 +0000 (15:03 -0400)]
vp9: do unscaled MC in scaled path if size of this reference matches.

This can happen if we do bidirectional MC, where one reference has the
same size as the current frame, but the other one doesn't.

5 years agovp9: sync segmentation.absolute_vals between threads.
Ronald S. Bultje [Fri, 4 Sep 2015 18:33:19 +0000 (14:33 -0400)]
vp9: sync segmentation.absolute_vals between threads.

5 years agovp9: always sync segmentation.feat between threads.
Ronald S. Bultje [Fri, 4 Sep 2015 17:46:34 +0000 (13:46 -0400)]
vp9: always sync segmentation.feat between threads.

5 years agoavcodec/vdpau: remove incompatible-libav-abi hack from vdpau_render_state struct
wm4 [Sat, 5 Sep 2015 19:45:26 +0000 (16:45 -0300)]
avcodec/vdpau: remove incompatible-libav-abi hack from vdpau_render_state struct

5 years agoMerge commit 'e88103a7f92cf27a2868b50acc8a9912f6088249'
Hendrik Leppkes [Sat, 5 Sep 2015 19:35:46 +0000 (21:35 +0200)]
Merge commit 'e88103a7f92cf27a2868b50acc8a9912f6088249'

* commit 'e88103a7f92cf27a2868b50acc8a9912f6088249':
  Bump major versions of all libraries

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoPostpone removal of API changes from within the last two years
Hendrik Leppkes [Sat, 5 Sep 2015 19:21:20 +0000 (21:21 +0200)]
Postpone removal of API changes from within the last two years

5 years agoavcodec: remove deprecated codec id aliases
Hendrik Leppkes [Sat, 5 Sep 2015 19:13:44 +0000 (21:13 +0200)]
avcodec: remove deprecated codec id aliases

5 years agoavcodec: remove deprecated old video encode API
Hendrik Leppkes [Sat, 5 Sep 2015 19:12:27 +0000 (21:12 +0200)]
avcodec: remove deprecated old video encode API

5 years agoavcodec: remove deprecated old audio encode API
Hendrik Leppkes [Sat, 5 Sep 2015 19:11:44 +0000 (21:11 +0200)]
avcodec: remove deprecated old audio encode API

5 years agoavcodec: remove deprecated old audio decode API
Hendrik Leppkes [Sat, 5 Sep 2015 19:07:25 +0000 (21:07 +0200)]
avcodec: remove deprecated old audio decode API

5 years agoavutil/pixfmt: remove duplicate AVPixelFormat values
James Almer [Sat, 5 Sep 2015 16:36:09 +0000 (13:36 -0300)]
avutil/pixfmt: remove duplicate AVPixelFormat values

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agolavu: Drop FF_API_GET_CHANNEL_LAYOUT_COMPAT cruft
Hendrik Leppkes [Sat, 5 Sep 2015 18:36:19 +0000 (20:36 +0200)]
lavu: Drop FF_API_GET_CHANNEL_LAYOUT_COMPAT cruft

FATE refs changed to accomodate for the new default behavior of the function.
Numbers are now interpreted as a channel layout, instead of a number of channels.

5 years agoavcodec: remove FF_API_DV_FRAME_PROFILE cruft
James Almer [Sat, 5 Sep 2015 17:08:32 +0000 (14:08 -0300)]
avcodec: remove FF_API_DV_FRAME_PROFILE cruft

Signed-off-by: James Almer <jamrial@gmail.com>
5 years agolavfi: remove old graph parser API with different semantics
Hendrik Leppkes [Sat, 5 Sep 2015 16:34:17 +0000 (18:34 +0200)]
lavfi: remove old graph parser API with different semantics

This API hasn't been active since the last bump already.

5 years agoavformat/mp3dec: Make MP3 seek fast
Andy Wu [Tue, 1 Sep 2015 00:08:30 +0000 (17:08 -0700)]
avformat/mp3dec: Make MP3 seek fast

When AVFMT_FLAG_FAST_SEEK is specified, make MP3 seek operation as
fast as possible.

When no "-usetoc" is specified, the default operation is using TOC
if available; otherwise, uses linear interpolation. This is useful
when seeking a large MP3 file with no TOC available. One example is
Podcast, many MP3 files are large, but no CBR/VBR tags. Most of
them are actually CBR. Even in VBR cases, this option sacrifices the
accuracy of playback time in exchange for responsiveness.

5 years agolavu: Drop old deprecated AVOption API
Hendrik Leppkes [Sat, 5 Sep 2015 16:25:31 +0000 (18:25 +0200)]
lavu: Drop old deprecated AVOption API

Deprecated in 2011/10

5 years agodoc/APIchanges: Fill in missing fields and correct one lavu version
Michael Niedermayer [Sat, 5 Sep 2015 15:00:22 +0000 (17:00 +0200)]
doc/APIchanges: Fill in missing fields and correct one lavu version

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agodoc/APIchanges: add 2.8 cut line
Michael Niedermayer [Sat, 5 Sep 2015 14:38:53 +0000 (16:38 +0200)]
doc/APIchanges: add 2.8 cut line

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agodoc/examples/demuxing_decoding: Drop old api mode, because the code fails to build...
Michael Niedermayer [Sat, 5 Sep 2015 16:01:31 +0000 (18:01 +0200)]
doc/examples/demuxing_decoding: Drop old api mode, because the code fails to build otherwise

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/libutvideodec: remove AVFrame->reference usage, otherwise the code does not...
Michael Niedermayer [Sat, 5 Sep 2015 16:04:40 +0000 (18:04 +0200)]
avcodec/libutvideodec: remove AVFrame->reference usage, otherwise the code does not build

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/ac3: sync AC3HeaderInfo struct with the fork
James Almer [Sat, 5 Sep 2015 16:18:46 +0000 (13:18 -0300)]
avcodec/ac3: sync AC3HeaderInfo struct with the fork

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agolavu/hmac: remove deprecated type ids
Hendrik Leppkes [Sat, 5 Sep 2015 16:01:38 +0000 (18:01 +0200)]
lavu/hmac: remove deprecated type ids

5 years agoRemove FF_CONST_AVUTIL55 cruft
Hendrik Leppkes [Sat, 5 Sep 2015 15:56:28 +0000 (17:56 +0200)]
Remove FF_CONST_AVUTIL55 cruft

5 years agoMerge commit '4e649debcf7f71d35c6b38cdb7ee715eba95d64a'
Hendrik Leppkes [Sat, 5 Sep 2015 15:52:10 +0000 (17:52 +0200)]
Merge commit '4e649debcf7f71d35c6b38cdb7ee715eba95d64a'

* commit '4e649debcf7f71d35c6b38cdb7ee715eba95d64a':
  Postpone API-incompatible changes until the next bump

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '3d89373fae281053154772d5e3e4370da09d3880'
Hendrik Leppkes [Sat, 5 Sep 2015 15:46:47 +0000 (17:46 +0200)]
Merge commit '3d89373fae281053154772d5e3e4370da09d3880'

* commit '3d89373fae281053154772d5e3e4370da09d3880':
  lavu: Drop deprecated private lls functions

Previously removed in ffmpeg

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '2f9b652e8c646eabef74a6742f0d7d4c9118fd0e'
Hendrik Leppkes [Sat, 5 Sep 2015 15:44:55 +0000 (17:44 +0200)]
Merge commit '2f9b652e8c646eabef74a6742f0d7d4c9118fd0e'

* commit '2f9b652e8c646eabef74a6742f0d7d4c9118fd0e':
  lavu: Drop deprecated context size variables

These variables had been previously un-deprecated in ffmpeg, not removed.

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agolavu/frame: put frame QP elements under a new version guard
Hendrik Leppkes [Sat, 5 Sep 2015 15:35:31 +0000 (17:35 +0200)]
lavu/frame: put frame QP elements under a new version guard

These fields are still used, removal postponed until a replacement functionality is available.

5 years agoMerge commit '8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79'
Hendrik Leppkes [Sat, 5 Sep 2015 15:31:45 +0000 (17:31 +0200)]
Merge commit '8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79'

* commit '8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79':
  lavu: Drop deprecated duplicated AVFrame/AVCodecContext parameters

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agolavu/cpu: remove old cmov cruft
Hendrik Leppkes [Sat, 5 Sep 2015 15:23:28 +0000 (17:23 +0200)]
lavu/cpu: remove old cmov cruft

5 years agoMerge commit 'bf7114b6caad8cf94696b0299c13b0d26bf291be'
Hendrik Leppkes [Sat, 5 Sep 2015 15:19:50 +0000 (17:19 +0200)]
Merge commit 'bf7114b6caad8cf94696b0299c13b0d26bf291be'

* commit 'bf7114b6caad8cf94696b0299c13b0d26bf291be':
  lavu: Drop deprecated AV_CPU_FLAG_MMX2 symbol

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '2d40968dd3ff17b12f7c80dbfad409b14418e267'
Hendrik Leppkes [Sat, 5 Sep 2015 15:18:05 +0000 (17:18 +0200)]
Merge commit '2d40968dd3ff17b12f7c80dbfad409b14418e267'

* commit '2d40968dd3ff17b12f7c80dbfad409b14418e267':
  lavu: Drop deprecated audioconvert.h header

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'cdfe45ad371b7a8e6135b6c063b6b2a93152cb3a'
Hendrik Leppkes [Sat, 5 Sep 2015 15:17:15 +0000 (17:17 +0200)]
Merge commit 'cdfe45ad371b7a8e6135b6c063b6b2a93152cb3a'

* commit 'cdfe45ad371b7a8e6135b6c063b6b2a93152cb3a':
  lavu: Drop deprecated av_reverse function

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '2f8cbbc962dfc0dc1dd0a90b2cd6c21266380f51'
Hendrik Leppkes [Sat, 5 Sep 2015 15:12:23 +0000 (17:12 +0200)]
Merge commit '2f8cbbc962dfc0dc1dd0a90b2cd6c21266380f51'

* commit '2f8cbbc962dfc0dc1dd0a90b2cd6c21266380f51':
  lavu: Drop deprecated external access to AVPixFmtDescriptor table

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '183db02a51a422568084b113a7571c845ca68622'
Hendrik Leppkes [Sat, 5 Sep 2015 15:10:28 +0000 (17:10 +0200)]
Merge commit '183db02a51a422568084b113a7571c845ca68622'

* commit '183db02a51a422568084b113a7571c845ca68622':
  lavu: Drop deprecated old_pix_fmt.h and related code

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'cad40a3833ad81a352e7657ec6f7d637cea3b798'
Hendrik Leppkes [Sat, 5 Sep 2015 15:05:46 +0000 (17:05 +0200)]
Merge commit 'cad40a3833ad81a352e7657ec6f7d637cea3b798'

* commit 'cad40a3833ad81a352e7657ec6f7d637cea3b798':
  lavc: Drop deprecated deinterlace module

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '069713aa4b137781e270768d803b1f7456daa724'
Hendrik Leppkes [Sat, 5 Sep 2015 15:03:44 +0000 (17:03 +0200)]
Merge commit '069713aa4b137781e270768d803b1f7456daa724'

* commit '069713aa4b137781e270768d803b1f7456daa724':
  lavc: Drop deprecated thread opaque and codec pkt

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '9f90b24877016e7140b9b14e4b1acee663bb6d8a'
Hendrik Leppkes [Sat, 5 Sep 2015 14:59:23 +0000 (16:59 +0200)]
Merge commit '9f90b24877016e7140b9b14e4b1acee663bb6d8a'

* commit '9f90b24877016e7140b9b14e4b1acee663bb6d8a':
  lavc: Drop deprecated get_buffer related functions

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoRemove left-over FF_API_DESTRUCT_PACKET cruft
Hendrik Leppkes [Sat, 5 Sep 2015 14:51:53 +0000 (16:51 +0200)]
Remove left-over FF_API_DESTRUCT_PACKET cruft

5 years agoMerge commit '01bcc2d5c23fa757d163530abb396fd02f1be7c8'
Hendrik Leppkes [Sat, 5 Sep 2015 14:50:09 +0000 (16:50 +0200)]
Merge commit '01bcc2d5c23fa757d163530abb396fd02f1be7c8'

* commit '01bcc2d5c23fa757d163530abb396fd02f1be7c8':
  lavc: Drop deprecated destruct_packet related functions

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

* commit 'dc70c19476e76f1118df73b5d97cc76f0e5f6f6c':
  lavc: Drop deprecated request_channels related functions

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoRemove left-over FF_API_AVFILTERBUFFER cruft
Hendrik Leppkes [Sat, 5 Sep 2015 14:27:19 +0000 (16:27 +0200)]
Remove left-over FF_API_AVFILTERBUFFER cruft

5 years agoMerge commit 'f6974fe651d29ef6eb68d66d73f7b6c011062aa0'
Hendrik Leppkes [Sat, 5 Sep 2015 14:22:03 +0000 (16:22 +0200)]
Merge commit 'f6974fe651d29ef6eb68d66d73f7b6c011062aa0'

* commit 'f6974fe651d29ef6eb68d66d73f7b6c011062aa0':
  lavfi: Drop deprecated AVFilterBuffer* code

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'e65e4cbbda03ca3c9087f069c9867d518415fca1'
Hendrik Leppkes [Sat, 5 Sep 2015 14:11:22 +0000 (16:11 +0200)]
Merge commit 'e65e4cbbda03ca3c9087f069c9867d518415fca1'

* commit 'e65e4cbbda03ca3c9087f069c9867d518415fca1':
  lavfi: Drop deprecated *_count suffixed variables

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '86e5056575f55f070609dd3926605302f7d2280e'
Hendrik Leppkes [Sat, 5 Sep 2015 14:01:24 +0000 (16:01 +0200)]
Merge commit '86e5056575f55f070609dd3926605302f7d2280e'

* commit '86e5056575f55f070609dd3926605302f7d2280e':
  lavfi: Drop deprecated public AVFilterPad struct

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '11b2eed43e91b35b8295ed47115cae2e29bd687d'
Hendrik Leppkes [Sat, 5 Sep 2015 13:59:40 +0000 (15:59 +0200)]
Merge commit '11b2eed43e91b35b8295ed47115cae2e29bd687d'

* commit '11b2eed43e91b35b8295ed47115cae2e29bd687d':
  lavr: Drop deprecated context reinitialization if resampling was not enabled

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '9d58639e270f7612874681e0ca30fa461e2667b7' n2.9-dev
Hendrik Leppkes [Sat, 5 Sep 2015 13:58:52 +0000 (15:58 +0200)]
Merge commit '9d58639e270f7612874681e0ca30fa461e2667b7'

* commit '9d58639e270f7612874681e0ca30fa461e2667b7':
  sws: Drop deprecated SWS_CPU_CAPS defines

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoavfilter/avf_showfreqs: Fix memleak of out frame
Michael Niedermayer [Sat, 5 Sep 2015 13:35:37 +0000 (15:35 +0200)]
avfilter/avf_showfreqs: Fix memleak of out frame

Fixes CID1322344

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/avf_showfreqs: Fix "may be used uninitialized in this function" warning
Michael Niedermayer [Sat, 5 Sep 2015 13:34:35 +0000 (15:34 +0200)]
avfilter/avf_showfreqs: Fix "may be used uninitialized in this function" warning

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/avf_showfreqs: Free fin
Michael Niedermayer [Sat, 5 Sep 2015 13:32:00 +0000 (15:32 +0200)]
avfilter/avf_showfreqs: Free fin

Fixes CID1322345

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/af_amerge: avoid undefined shift (<<64) in outlayout setup
Michael Niedermayer [Thu, 3 Sep 2015 22:33:49 +0000 (00:33 +0200)]
avfilter/af_amerge: avoid undefined shift (<<64) in outlayout setup

Fixes CID1322306

Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/vf_stack: Fix memleak of out frame
Michael Niedermayer [Sat, 5 Sep 2015 12:41:45 +0000 (14:41 +0200)]
avfilter/vf_stack: Fix memleak of out frame

Fixes CID1322347

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavformat/hls: Check for av_opt_set_dict() failure
Michael Niedermayer [Sat, 5 Sep 2015 12:21:47 +0000 (14:21 +0200)]
avformat/hls: Check for av_opt_set_dict() failure

Fixes: CID1320426

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/rawenc: Use AVFrame parameters instead of AVCodecContext
Michael Niedermayer [Sat, 5 Sep 2015 09:56:23 +0000 (11:56 +0200)]
avcodec/rawenc: Use AVFrame parameters instead of AVCodecContext

This allows encoding raw frames with changing dimensions

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/avfilter: Add a few more basic filters to the list which support frame size...
Michael Niedermayer [Sat, 5 Sep 2015 09:43:27 +0000 (11:43 +0200)]
avfilter/avfilter: Add a few more basic filters to the list which support frame size changes

Fixes assertion failures

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agolavf/aiffenc: Clarify an error message.
Carl Eugen Hoyos [Sat, 5 Sep 2015 08:53:55 +0000 (10:53 +0200)]
lavf/aiffenc: Clarify an error message.

Only one audio stream is allowed in aiff.

5 years agofate: adjust AAC encoder TNS test target
Rostislav Pehlivanov [Sat, 5 Sep 2015 08:11:05 +0000 (09:11 +0100)]
fate: adjust AAC encoder TNS test target

The new commits improve the quality.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
5 years agoaacenc_tns: adjust coefficient calculation, add double filter support
Rostislav Pehlivanov [Sat, 5 Sep 2015 08:08:30 +0000 (09:08 +0100)]
aacenc_tns: adjust coefficient calculation, add double filter support

This commit improves the TNS implementation to the point where it's
actually usable and very rarely results in nastyness (in all bitrates
except extremely low bitrates it's increasing the quality and prevents
some distortions from the coder being audiable).

Also adds a double filter support which is only used if the energy
difference between the top and bottom of the SFBs is above the
thresholds defined in the header file. Looking at the bitstream
that fdk_aac generates it sometimes used a double filter despite
the specs stating that a single filter should be enough for almost
all cases and purposes.

Unlike FAAC or fdk_aac we sometimes use a reverse filter in case
the energy difference isn't enought to use a double filter. This
actually works better.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
5 years agolpc: increase error array size of ff_lpc_calc_ref_coefs_f by one
Rostislav Pehlivanov [Sat, 5 Sep 2015 07:51:19 +0000 (08:51 +0100)]
lpc: increase error array size of ff_lpc_calc_ref_coefs_f by one

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
5 years agoaacenc_is: add a flag to use pure coefficients instead
Rostislav Pehlivanov [Sat, 5 Sep 2015 07:32:09 +0000 (08:32 +0100)]
aacenc_is: add a flag to use pure coefficients instead

This commit adds a flag to use the pure coefficients instead
of the processed ones (sce->coeffs). This is needed because
IS will apply the changes to the coefficients immediately
before the adjust_common_prediction function and it doesn't
make sense to measure stereo channel coefficient difference
when one of the channels coefficients are all zero.

Therefore add a flag to use pure coefficients in that case.
TNS is the only thing touching the coefficients before IS
so common window prediction will not take that into account
but the effect of the TNS filter per coefficient can be small
(a few percent) so to some approximation it's fine to just
ignore that.

Also fixed a small error which doesn't alter the results
that much. pow(sqrt(number), 3.0/4.0) == pow(number, 3.0/8.0) !=
pow(number, 3.0/4.0).

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
5 years agoavcodec/jpeg2000dec: Initialize ret to avoid warning and make the code more robust
Michael Niedermayer [Fri, 4 Sep 2015 22:33:59 +0000 (00:33 +0200)]
avcodec/jpeg2000dec: Initialize ret to avoid warning and make the code more robust

"Fixes" CID1322361

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/jpeg2000dec: Assert that step_x/y are valid
Michael Niedermayer [Fri, 4 Sep 2015 22:28:36 +0000 (00:28 +0200)]
avcodec/jpeg2000dec: Assert that step_x/y are valid

Fixes CID1322304, CID1322305

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/hapdec: Check section_size for non negativity in parse_section_header()
Michael Niedermayer [Fri, 4 Sep 2015 22:09:32 +0000 (00:09 +0200)]
avcodec/hapdec: Check section_size for non negativity in parse_section_header()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agolavf/mxfdec: Support more codecs in mxf_picture_essence_container_uls[].
Arnaud Bienner [Fri, 4 Sep 2015 22:11:14 +0000 (00:11 +0200)]
lavf/mxfdec: Support more codecs in mxf_picture_essence_container_uls[].

Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
5 years agolavf/mxf: Support video essence container uls for vc1.
Arnaud Bienner [Fri, 4 Sep 2015 22:02:33 +0000 (00:02 +0200)]
lavf/mxf: Support video essence container uls for vc1.

Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
5 years agolavf/riff: Support fourcc AVd1 for dvvideo.
Arnaud Bienner [Fri, 4 Sep 2015 21:55:32 +0000 (23:55 +0200)]
lavf/riff: Support fourcc AVd1 for dvvideo.

Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
5 years agoswscale: re-enable gamma
Pedro Arthur [Fri, 4 Sep 2015 21:11:21 +0000 (18:11 -0300)]
swscale: re-enable gamma

+added gamma conversion to refactored code

5 years agoswscale: added proper error check for ff_init_filters
Pedro Arthur [Fri, 4 Sep 2015 21:09:20 +0000 (18:09 -0300)]
swscale: added proper error check for ff_init_filters

5 years agolavc/mxfdec: Support more mxf files with codec_ul.
Carl Eugen Hoyos [Fri, 4 Sep 2015 21:50:34 +0000 (23:50 +0200)]
lavc/mxfdec: Support more mxf files with codec_ul.

Fixes decoding for the sample from ticket #4820.

5 years agolavc/j2kenc: Remove experimental flag.
Carl Eugen Hoyos [Fri, 4 Sep 2015 21:48:32 +0000 (23:48 +0200)]
lavc/j2kenc: Remove experimental flag.

The encoder produces valid and - if requested - lossless files.

5 years agoavfilter/vf_vectorscope: change intensity to float
Paul B Mahol [Fri, 4 Sep 2015 18:47:46 +0000 (18:47 +0000)]
avfilter/vf_vectorscope: change intensity to float

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavfilter/vf_waveform: stop abusing s->size for calculating limit
Paul B Mahol [Fri, 4 Sep 2015 17:34:23 +0000 (17:34 +0000)]
avfilter/vf_waveform: stop abusing s->size for calculating limit

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavfilter/vf_waveform: change intensity to float
Paul B Mahol [Fri, 4 Sep 2015 17:14:32 +0000 (17:14 +0000)]
avfilter/vf_waveform: change intensity to float

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavfilter/vf_waveform: reduce number of operations a little
Paul B Mahol [Thu, 3 Sep 2015 14:21:52 +0000 (14:21 +0000)]
avfilter/vf_waveform: reduce number of operations a little

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavfilter/vf_waveform: 9 and 10 bit depth support for lowpass & color filter
Paul B Mahol [Thu, 3 Sep 2015 13:53:05 +0000 (13:53 +0000)]
avfilter/vf_waveform: 9 and 10 bit depth support for lowpass & color filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agovp9_parse: fix parsing of pskip and profile 2/3.
Ronald S. Bultje [Fri, 4 Sep 2015 13:59:17 +0000 (09:59 -0400)]
vp9_parse: fix parsing of pskip and profile 2/3.

The fate results change because we now correctly timestamp the pskip
frames, which means the results are now identical to -vsync 0.