ffmpeg.git
4 years agoMerge commit '8958c5c64d05453204642b55a7b8b44c93023b17'
Derek Buitenhuis [Tue, 16 Feb 2016 19:53:50 +0000 (19:53 +0000)]
Merge commit '8958c5c64d05453204642b55a7b8b44c93023b17'

This commit is a no-op.

* commit '8958c5c64d05453204642b55a7b8b44c93023b17':
  hevc: Track long and short term RPS size for VDPAU

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '8c399bd5cefd572eceb448981fcb6d4dbca35d27'
Derek Buitenhuis [Tue, 16 Feb 2016 19:52:17 +0000 (19:52 +0000)]
Merge commit '8c399bd5cefd572eceb448981fcb6d4dbca35d27'

This commit is a no-op.

* commit '8c399bd5cefd572eceb448981fcb6d4dbca35d27':
  dxva2_hevc: properly signal the num_delta_pocs from the SPS RPS

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit 'e579d8b29cdb9b42c50a0fde277dfb047c1466ad'
Derek Buitenhuis [Tue, 16 Feb 2016 19:51:02 +0000 (19:51 +0000)]
Merge commit 'e579d8b29cdb9b42c50a0fde277dfb047c1466ad'

* commit 'e579d8b29cdb9b42c50a0fde277dfb047c1466ad':
  lavf: Dump the cpb side data information

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit 'd005ccc630e42daab8ec2afecf972d1551a9401a'
Derek Buitenhuis [Tue, 16 Feb 2016 19:49:51 +0000 (19:49 +0000)]
Merge commit 'd005ccc630e42daab8ec2afecf972d1551a9401a'

This commit is a no-op. Ours should be superior.

* commit 'd005ccc630e42daab8ec2afecf972d1551a9401a':
  nvenc: rename a misnamed function
  nvenc: merge input and output surface structs
  nvenc: factor out the pixel format list

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit 'fb25d99b0a5e21fb8cc184c7a9d3736387778266'
Derek Buitenhuis [Tue, 16 Feb 2016 19:48:39 +0000 (19:48 +0000)]
Merge commit 'fb25d99b0a5e21fb8cc184c7a9d3736387778266'

This commit is a no-op.

* commit 'fb25d99b0a5e21fb8cc184c7a9d3736387778266':
  buffersrc: do not discard the error from ff_filter_frame()

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit 'f7d77b9a5dd42bf0f5dffecf590466b4c4239437'
Derek Buitenhuis [Tue, 16 Feb 2016 19:40:06 +0000 (19:40 +0000)]
Merge commit 'f7d77b9a5dd42bf0f5dffecf590466b4c4239437'

* commit 'f7d77b9a5dd42bf0f5dffecf590466b4c4239437':
  eatqi: Remove MpegEncContext dependency

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '7c25ffe070c286874a8c3513f7504b90e1626b0c'
Derek Buitenhuis [Tue, 16 Feb 2016 19:19:23 +0000 (19:19 +0000)]
Merge commit '7c25ffe070c286874a8c3513f7504b90e1626b0c'

* commit '7c25ffe070c286874a8c3513f7504b90e1626b0c':
  mpeg1: Make intra-block decoding independent of MpegEncContext

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '249827f736db4c94dfcb24a3883aa4c04f9b119b'
Derek Buitenhuis [Tue, 16 Feb 2016 19:05:26 +0000 (19:05 +0000)]
Merge commit '249827f736db4c94dfcb24a3883aa4c04f9b119b'

* commit '249827f736db4c94dfcb24a3883aa4c04f9b119b':
  mpeg12dec: Refactor mpeg1_decode_block_intra()

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit 'cdbaa436042ba59c3b2bd7e9652e9a14136fd604'
Derek Buitenhuis [Tue, 16 Feb 2016 18:57:41 +0000 (18:57 +0000)]
Merge commit 'cdbaa436042ba59c3b2bd7e9652e9a14136fd604'

* commit 'cdbaa436042ba59c3b2bd7e9652e9a14136fd604':
  mpeg12dec: Always close reader on error

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoavfilter/f_streamselect: check if map is available
Paul B Mahol [Tue, 16 Feb 2016 17:14:55 +0000 (18:14 +0100)]
avfilter/f_streamselect: check if map is available

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agoMerge commit '7a00653be6b13131ce1b2cdeca696429f57caaf8'
Derek Buitenhuis [Tue, 16 Feb 2016 18:11:05 +0000 (18:11 +0000)]
Merge commit '7a00653be6b13131ce1b2cdeca696429f57caaf8'

* commit '7a00653be6b13131ce1b2cdeca696429f57caaf8':
  tiny_psnr: Support large files

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agodoc/filters: remove redundant example
Lou Logan [Tue, 16 Feb 2016 17:49:49 +0000 (08:49 -0900)]
doc/filters: remove redundant example

Newer example in blend from f80b475 is faster and simpler.

Signed-off-by: Lou Logan <lou@lrcd.com>
4 years agoMerge commit '99214d42a902c8392d7887c08fdc5dc1fc2475ae'
Derek Buitenhuis [Tue, 16 Feb 2016 17:48:30 +0000 (17:48 +0000)]
Merge commit '99214d42a902c8392d7887c08fdc5dc1fc2475ae'

This commit is a no-op. FFmpeg already has this.

* commit '99214d42a902c8392d7887c08fdc5dc1fc2475ae':
  dnxhd: Make the encoder message friendlier

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '34c9eba982c75196392a3b0b245dd34297c4511d'
Derek Buitenhuis [Tue, 16 Feb 2016 17:44:33 +0000 (17:44 +0000)]
Merge commit '34c9eba982c75196392a3b0b245dd34297c4511d'

* commit '34c9eba982c75196392a3b0b245dd34297c4511d':
  configure: Refactor toolchain flag setting

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit 'dd53af4b37c7790ce26065b36d5655c1af38b295'
Derek Buitenhuis [Tue, 16 Feb 2016 17:40:08 +0000 (17:40 +0000)]
Merge commit 'dd53af4b37c7790ce26065b36d5655c1af38b295'

This commit is a no-op. I don't want to enrange Certain People
who like to --disable-*.

* commit 'dd53af4b37c7790ce26065b36d5655c1af38b295':
  avplay: drop support for building without lavfi

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '5781bfae0cf4271278a8bea176d615cb5c222335'
Derek Buitenhuis [Tue, 16 Feb 2016 17:37:47 +0000 (17:37 +0000)]
Merge commit '5781bfae0cf4271278a8bea176d615cb5c222335'

This commit is a no-op.

* commit '5781bfae0cf4271278a8bea176d615cb5c222335':
  flacenc: Load default prediction_order parameters if none is selected
  asfdec: make sure packet_size is non-zero before seeking
  asfdec: check for too small size in asf_read_unknown
  asfdec: check avio_skip in asf_read_simple_index
  asfdec: break if EOF is reached after asf_read_packet_header

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '389b79842c67b1f5730215a752a5f89cb1b8d9a3'
Derek Buitenhuis [Tue, 16 Feb 2016 17:34:24 +0000 (17:34 +0000)]
Merge commit '389b79842c67b1f5730215a752a5f89cb1b8d9a3'

This commit is a no-op.

* commit '389b79842c67b1f5730215a752a5f89cb1b8d9a3':
  msvc: Fix libx264 linking
  doc: Improve the channelsplit example
  configure: Support MSYS2 mingw-w64 64bit

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit 'e280fe13291e9c712a5f4aa13b5263f3e8afed45'
Derek Buitenhuis [Tue, 16 Feb 2016 17:23:32 +0000 (17:23 +0000)]
Merge commit 'e280fe13291e9c712a5f4aa13b5263f3e8afed45'

* commit 'e280fe13291e9c712a5f4aa13b5263f3e8afed45':
  v210: Use separate sample_factors

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '15ec7aa4170ed05ad1b17000ef1e3940d0a0c5e7'
Derek Buitenhuis [Tue, 16 Feb 2016 17:21:29 +0000 (17:21 +0000)]
Merge commit '15ec7aa4170ed05ad1b17000ef1e3940d0a0c5e7'

This commit is a no-op.

* commit '15ec7aa4170ed05ad1b17000ef1e3940d0a0c5e7':
  v210: Add avx2 version of the 10-bit line encoder
  v210: Add avx2 version of the 8-bit line encoder

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '1ba1fede9dfe03dc48862e5e0530cca7192f5038'
Derek Buitenhuis [Tue, 16 Feb 2016 17:12:00 +0000 (17:12 +0000)]
Merge commit '1ba1fede9dfe03dc48862e5e0530cca7192f5038'

This commit is a no-op.

* commit '1ba1fede9dfe03dc48862e5e0530cca7192f5038':
  flacenc: Restore defaults and range for {min, max}_prediction_order

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '60f0fde3092d18d4d36555962c192af8691a099c'
Derek Buitenhuis [Tue, 16 Feb 2016 17:06:36 +0000 (17:06 +0000)]
Merge commit '60f0fde3092d18d4d36555962c192af8691a099c'

This commit is a no-op.

* commit '60f0fde3092d18d4d36555962c192af8691a099c':
  libx264: Make sure to preserve default option values

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '77a44f577b644a328dcf90cde11d2ecae69eda05'
Derek Buitenhuis [Tue, 16 Feb 2016 17:03:30 +0000 (17:03 +0000)]
Merge commit '77a44f577b644a328dcf90cde11d2ecae69eda05'

This commit is a no-op.

* commit '77a44f577b644a328dcf90cde11d2ecae69eda05':
  configure: add missing avx2 support check
  x86: Add ymm_reg struct

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit 'eafb05fcf37cd19a910ca3b17824384f9006bc0a'
Derek Buitenhuis [Tue, 16 Feb 2016 17:02:03 +0000 (17:02 +0000)]
Merge commit 'eafb05fcf37cd19a910ca3b17824384f9006bc0a'

* commit 'eafb05fcf37cd19a910ca3b17824384f9006bc0a':
  v210: x86: Add the correct guards around the asm code

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '4709f72115e4028a1cb43e916925678bfceef870'
Derek Buitenhuis [Tue, 16 Feb 2016 17:00:37 +0000 (17:00 +0000)]
Merge commit '4709f72115e4028a1cb43e916925678bfceef870'

This commit is a no-op.

* commit '4709f72115e4028a1cb43e916925678bfceef870':
  lavfi: Use AV_CEIL_RSHIFT where needed

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit 'e80307140f736f593ee643affa015333d7c5e27f'
Derek Buitenhuis [Tue, 16 Feb 2016 16:57:32 +0000 (16:57 +0000)]
Merge commit 'e80307140f736f593ee643affa015333d7c5e27f'

* commit 'e80307140f736f593ee643affa015333d7c5e27f':
  yuv4mpegenc: Use AV_CEIL_RSHIFT where needed

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '6695f178a5929eab91d3da7e9023999f1774bd0e'
Derek Buitenhuis [Tue, 16 Feb 2016 16:55:28 +0000 (16:55 +0000)]
Merge commit '6695f178a5929eab91d3da7e9023999f1774bd0e'

* commit '6695f178a5929eab91d3da7e9023999f1774bd0e':
  pixdesc: Use AV_CEIL_RSHIFT in documentation

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '1546a41adae818b340acdd9b5dacd6d0a92b6507'
Derek Buitenhuis [Tue, 16 Feb 2016 16:52:45 +0000 (16:52 +0000)]
Merge commit '1546a41adae818b340acdd9b5dacd6d0a92b6507'

* commit '1546a41adae818b340acdd9b5dacd6d0a92b6507':
  pixdesc: Drop unneeded deprecation warning guards

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '9cac1b4b4f1532fb2aeef54799285360656be5eb'
Derek Buitenhuis [Tue, 16 Feb 2016 16:51:45 +0000 (16:51 +0000)]
Merge commit '9cac1b4b4f1532fb2aeef54799285360656be5eb'

* commit '9cac1b4b4f1532fb2aeef54799285360656be5eb':
  qsvenc: Add private option to replace coder_type

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit 'eef9f06508354d1c7d5624c1c18997e7974288f1'
Derek Buitenhuis [Tue, 16 Feb 2016 16:49:19 +0000 (16:49 +0000)]
Merge commit 'eef9f06508354d1c7d5624c1c18997e7974288f1'

This commit is a no-nop.

* commit 'eef9f06508354d1c7d5624c1c18997e7974288f1':
  avplay: Allow to override the codec
  avplay: Statically allocate the player state
  avplay: Rename cur_stream to player
  avplay: Rename VideoState to PlayerState
  avplay: Allocate the refresh thread next to the decode thread
  avplay: Move the stream setup in the main thread

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoMerge commit '81306fd4bdeb5c17d4db771e4fec684773b5790f'
Derek Buitenhuis [Tue, 16 Feb 2016 16:26:49 +0000 (16:26 +0000)]
Merge commit '81306fd4bdeb5c17d4db771e4fec684773b5790f'

* commit '81306fd4bdeb5c17d4db771e4fec684773b5790f':
  hls: eliminate ffurl_* usage

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agoavfilter: add fieldhint filter
Paul B Mahol [Sun, 14 Feb 2016 18:02:42 +0000 (19:02 +0100)]
avfilter: add fieldhint filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agoswscale/slice: Actually use the buffers' strides
Derek Buitenhuis [Fri, 12 Feb 2016 18:04:34 +0000 (18:04 +0000)]
swscale/slice: Actually use the buffers' strides

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agolavc/rawdec: Retrieve nut palette from packets
Mats Peterson [Tue, 16 Feb 2016 10:44:50 +0000 (11:44 +0100)]
lavc/rawdec: Retrieve nut palette from packets

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agolavfi/elbg: Make the pal8 output opaque.
Carl Eugen Hoyos [Tue, 16 Feb 2016 08:16:32 +0000 (09:16 +0100)]
lavfi/elbg: Make the pal8 output opaque.

4 years agovc2enc: print the average quantization index at the end
Rostislav Pehlivanov [Mon, 15 Feb 2016 23:54:52 +0000 (23:54 +0000)]
vc2enc: print the average quantization index at the end

Similar to how the AAC encoder does it.
0 means the video's been compressed losslessly/almost losslessly
thoughout. Generally, the higher, the worse.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoRELEASE: Update to 3.0.git
Timothy Gu [Mon, 15 Feb 2016 18:20:33 +0000 (10:20 -0800)]
RELEASE: Update to 3.0.git

4 years agoMAINTAINERS: add myself as an OS/2 maintainer
KO Myung-Hun [Mon, 15 Feb 2016 04:16:23 +0000 (13:16 +0900)]
MAINTAINERS: add myself as an OS/2 maintainer

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agovc2enc: fix use of uninitialized variables in the rate control system
Rostislav Pehlivanov [Mon, 15 Feb 2016 12:08:11 +0000 (12:08 +0000)]
vc2enc: fix use of uninitialized variables in the rate control system

Fixes: CID1352550
Fixes: CID1352549

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoffmpeg_dxva2: add a profile check for hevc
Hendrik Leppkes [Sat, 30 Jan 2016 16:11:13 +0000 (17:11 +0100)]
ffmpeg_dxva2: add a profile check for hevc

4 years agoffmpeg_dxva2: support hevc main10 decoding
Hendrik Leppkes [Sat, 30 Jan 2016 16:11:06 +0000 (17:11 +0100)]
ffmpeg_dxva2: support hevc main10 decoding

4 years agohevc: support Main10 decoding through dxva2
Hendrik Leppkes [Sat, 30 Jan 2016 16:10:56 +0000 (17:10 +0100)]
hevc: support Main10 decoding through dxva2

4 years agofate/source-check.sh: Use "git show" instead of git --version to test for git
Michael Niedermayer [Mon, 15 Feb 2016 02:40:32 +0000 (03:40 +0100)]
fate/source-check.sh: Use "git show" instead of git --version to test for git

This fixes fate with non git source trees

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agolavd/gdigrab: mouse dpi awareness
Metaksakis Georgios [Sun, 14 Feb 2016 23:05:17 +0000 (10:05 +1100)]
lavd/gdigrab: mouse dpi awareness

correct mouse location on hidpi screens.
fixes ticket #5008

Signed-off-by: Matt Oliver <protogonoi@gmail.com>
4 years agox86: use the new helper macros where useful
James Almer [Sun, 7 Feb 2016 03:52:06 +0000 (00:52 -0300)]
x86: use the new helper macros where useful

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
4 years agox86: add some more helper macros to check for slow cpuflags
James Almer [Sun, 7 Feb 2016 03:29:43 +0000 (00:29 -0300)]
x86: add some more helper macros to check for slow cpuflags

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
4 years agoChangelog: add entries for the SMPTE VC-2 decoder and encoder n3.1-dev
Rostislav Pehlivanov [Sun, 14 Feb 2016 21:59:50 +0000 (21:59 +0000)]
Changelog: add entries for the SMPTE VC-2 decoder and encoder

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoChangelog/APIChanges Put 3.0 release marker
Michael Niedermayer [Sun, 14 Feb 2016 20:34:08 +0000 (21:34 +0100)]
Changelog/APIChanges Put 3.0 release marker

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavformat/img2enc: remove unused variable
Michael Niedermayer [Sun, 14 Feb 2016 20:30:53 +0000 (21:30 +0100)]
avformat/img2enc: remove unused variable

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavutil/imgutils: remove special case for aligning the palette
Michael Niedermayer [Sun, 14 Feb 2016 14:22:47 +0000 (15:22 +0100)]
avutil/imgutils: remove special case for aligning the palette

This was suggested by wm4 and stefano.
After this patch using align=1 the size used by various functions would not
contain padding, while the palette would be aligned at align>1

This patch makes it required to use align>=4 if the palette is to be accessed
as uint32

As a side-effect It fixes storing pal8 in nut with odd with&height

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agodoc/protocols: document protocol_whitelist
Michael Niedermayer [Thu, 11 Feb 2016 12:11:48 +0000 (13:11 +0100)]
doc/protocols: document protocol_whitelist

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavcodec/h264_cabac: Check decode_cabac_mb_mvd() for failure
Michael Niedermayer [Tue, 26 Jan 2016 01:23:31 +0000 (02:23 +0100)]
avcodec/h264_cabac: Check decode_cabac_mb_mvd() for failure

Fixes harmless integer overflow
Fixes Ticket5150

No speedloss measured, actually its slightly faster, but please benchmark & double check this

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavformat/genh: Mark coef_splitted as av_unused
Michael Niedermayer [Sun, 18 Oct 2015 18:31:27 +0000 (20:31 +0200)]
avformat/genh: Mark coef_splitted as av_unused

This avoid "libavformat/genh.c:43:14: warning: variable coef_splitted set but not used"
Fewer warnings makes it easier to see new and important warnings

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavutil/parseutils: remove 2112 date from fate test
Marton Balint [Sun, 14 Feb 2016 12:33:14 +0000 (13:33 +0100)]
avutil/parseutils: remove 2112 date from fate test

It is not supported on 32bit.

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agox86/vc1dsp: Port vc1_*_hor_16b_shift2 to NASM format
Timothy Gu [Sun, 14 Feb 2016 04:22:48 +0000 (04:22 +0000)]
x86/vc1dsp: Port vc1_*_hor_16b_shift2 to NASM format

Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
4 years agocheckasm/vf_blend: Decrease iteration count
Timothy Gu [Sun, 14 Feb 2016 18:48:24 +0000 (10:48 -0800)]
checkasm/vf_blend: Decrease iteration count

The test is already slow.

4 years agocheckasm: Add vf_blend tests
Timothy Gu [Wed, 10 Feb 2016 09:07:40 +0000 (09:07 +0000)]
checkasm: Add vf_blend tests

4 years agovf_blend: Move C dsp function mapping to separate function
Timothy Gu [Wed, 10 Feb 2016 09:05:30 +0000 (09:05 +0000)]
vf_blend: Move C dsp function mapping to separate function

4 years agolibavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats
Mark Reid [Sun, 14 Feb 2016 05:44:32 +0000 (21:44 -0800)]
libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agocompat/os2threads: split long lines
KO Myung-Hun [Sun, 14 Feb 2016 15:20:35 +0000 (00:20 +0900)]
compat/os2threads: split long lines

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agocompat/os2threads: support the return value of joined thread
KO Myung-Hun [Sun, 14 Feb 2016 15:20:34 +0000 (00:20 +0900)]
compat/os2threads: support the return value of joined thread

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agocompat/os2threads: Improve pthread_cond_xxx() functions
KO Myung-Hun [Sun, 14 Feb 2016 15:20:33 +0000 (00:20 +0900)]
compat/os2threads: Improve pthread_cond_xxx() functions

1. Manipulate waiting count in pthread_cond_wait()
2. Use builtin atomic functions to manipulate waiting count

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavfilter/vf_tinterlace: fix image alignment
Michael Niedermayer [Sun, 14 Feb 2016 14:51:10 +0000 (15:51 +0100)]
avfilter/vf_tinterlace: fix image alignment

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agovf_blend: Use integers for divide mode
Timothy Gu [Sun, 14 Feb 2016 02:15:18 +0000 (02:15 +0000)]
vf_blend: Use integers for divide mode

2.5x faster for 8-bit mode without autovectorization in GCC, 2x
slower with it on x86. However, since the platforms we enable GCC
autovectorization on most probably has support for SSE2
optimization (added in the subsequent commit), this commit should
in general do good.

4 years agolavf/spdifenc: Support MLP encapsulation.
David Monro [Sun, 14 Feb 2016 17:02:22 +0000 (18:02 +0100)]
lavf/spdifenc: Support MLP encapsulation.

Fixes bug 821.

Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
4 years agovf_blend: Reduce number of arguments for kernel function
Timothy Gu [Sun, 14 Feb 2016 02:01:35 +0000 (02:01 +0000)]
vf_blend: Reduce number of arguments for kernel function

4 years agovf_blend: Use memcpy when opacity is 0
Timothy Gu [Sat, 13 Feb 2016 23:42:45 +0000 (23:42 +0000)]
vf_blend: Use memcpy when opacity is 0

For xor mode, 1.8x faster on Haswell.

4 years agovf_blend: Templatize identity function and use a better name
Timothy Gu [Sat, 13 Feb 2016 23:23:17 +0000 (23:23 +0000)]
vf_blend: Templatize identity function and use a better name

4 years agoavcodec: Fix a typo.
Carl Eugen Hoyos [Sun, 14 Feb 2016 15:14:08 +0000 (16:14 +0100)]
avcodec: Fix a typo.

4 years agoMAINTAINERS: Add myself as libutvideo maintainer.
Carl Eugen Hoyos [Sun, 14 Feb 2016 14:51:38 +0000 (15:51 +0100)]
MAINTAINERS: Add myself as libutvideo maintainer.

4 years agoavfilter/f_metadata: remove unused headers
Paul B Mahol [Sun, 14 Feb 2016 14:21:36 +0000 (15:21 +0100)]
avfilter/f_metadata: remove unused headers

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agolavf/mpjpeg: do not include CRLF preceding boundary as part of the returned frame
Alex Agranovsky [Sun, 14 Feb 2016 04:16:45 +0000 (23:16 -0500)]
lavf/mpjpeg: do not include CRLF preceding boundary as part of the returned frame

Signed-off-by: Alex Agranovsky <alex@sighthound.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavcodec: only warn about hwaccel with frame threads
Andreas Cadhalpun [Sat, 23 Jan 2016 09:12:30 +0000 (10:12 +0100)]
avcodec: only warn about hwaccel with frame threads

VLC uses hwaccel with frame threads and it works fine, but returning
an error here made it fail.

This regression was introduced in commit 31741ae.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Warning message text by nevcairiel

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agolavf/mpjpeg: Trim quotes on MIME boundary, if present.
Alex Agranovsky [Fri, 12 Feb 2016 17:59:29 +0000 (12:59 -0500)]
lavf/mpjpeg: Trim quotes on MIME boundary, if present.

Fixes 5023

Signed-off-by: Alex Agranovsky <alex@sighthound.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavformat/utils: remove ff_iso8601_to_unix_time
Marton Balint [Sat, 6 Feb 2016 17:02:11 +0000 (18:02 +0100)]
avformat/utils: remove ff_iso8601_to_unix_time

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavformat/matroskaenc: use ff_parse_creation_time_metadata
Marton Balint [Sat, 6 Feb 2016 17:01:23 +0000 (18:01 +0100)]
avformat/matroskaenc: use ff_parse_creation_time_metadata

Also increase precision to microsecs, and avoid writing creation_time as a
simple tag metadata item.

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavformat/mxfenc: use ff_parse_creation_time_metadata
Marton Balint [Sat, 6 Feb 2016 17:00:53 +0000 (18:00 +0100)]
avformat/mxfenc: use ff_parse_creation_time_metadata

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavformat/movenc: use ff_parse_creation_time_metadata
Marton Balint [Sat, 6 Feb 2016 17:00:45 +0000 (18:00 +0100)]
avformat/movenc: use ff_parse_creation_time_metadata

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavformat/gxfenc: use ff_parse_creation_time_metadata
Marton Balint [Sat, 6 Feb 2016 16:58:48 +0000 (17:58 +0100)]
avformat/gxfenc: use ff_parse_creation_time_metadata

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavformat/ffmenc: use ff_parse_creation_time_metadata
Marton Balint [Sat, 6 Feb 2016 16:58:01 +0000 (17:58 +0100)]
avformat/ffmenc: use ff_parse_creation_time_metadata

FYI this muxer bails out on parse error and not just warn the user.

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavformat/dvenc: use ff_parse_creation_time_metadata
Marton Balint [Sat, 6 Feb 2016 16:57:21 +0000 (17:57 +0100)]
avformat/dvenc: use ff_parse_creation_time_metadata

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavformat/asfenc: use ff_parse_creation_time_metadata
Marton Balint [Sat, 6 Feb 2016 16:56:31 +0000 (17:56 +0100)]
avformat/asfenc: use ff_parse_creation_time_metadata

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavformat/utils: add ff_parse_creation_time_metadata
Marton Balint [Thu, 4 Feb 2016 02:28:19 +0000 (03:28 +0100)]
avformat/utils: add ff_parse_creation_time_metadata

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavutil/parseutils: accept everything in av_parse_time that ff_iso8601_to_unix_time...
Marton Balint [Thu, 4 Feb 2016 01:50:42 +0000 (02:50 +0100)]
avutil/parseutils: accept everything in av_parse_time that ff_iso8601_to_unix_time accepts

Also parse timezone information previously ignored in ff_iso8601_to_unix_time.

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavutil/parseutils: use microsecond precision when parsing "now" in av_parse_time()
Marton Balint [Thu, 4 Feb 2016 01:09:48 +0000 (02:09 +0100)]
avutil/parseutils: use microsecond precision when parsing "now" in av_parse_time()

Use av_gettime() instead of time(0) for querying current time.

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavformat/img2enc: disable atomic file creation by default
Marton Balint [Thu, 11 Feb 2016 01:01:29 +0000 (02:01 +0100)]
avformat/img2enc: disable atomic file creation by default

Currently it is broken when explicitly using the file protocol, it uses an
insecure temporary file name, and in commit b4431c80 disabling the option by
default was already considered. Also it is not very consistent to have such an
option for one particular muxer.

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavformat/img2enc: return error if image rename fails
Marton Balint [Thu, 11 Feb 2016 00:37:37 +0000 (01:37 +0100)]
avformat/img2enc: return error if image rename fails

Signed-off-by: Marton Balint <cus@passwd.hu>
4 years agoavutil: Remove x86_cpu.h
Timothy Gu [Sun, 7 Feb 2016 17:28:44 +0000 (09:28 -0800)]
avutil: Remove x86_cpu.h

It is private (uninstalled) and unused.

4 years agolavc/hevc Parse SEI_TYPE_MASTERING_DISPLAY_INFO and propagate content into the AVMast...
Neil Birkbeck [Thu, 21 Jan 2016 18:56:50 +0000 (10:56 -0800)]
lavc/hevc Parse SEI_TYPE_MASTERING_DISPLAY_INFO and propagate content into the AVMasteringDisplayMetadata side data.

Add support for parsing SEI_TYPE_MASTERING_DISPLAY_INFO and propagate contents into
the AVMasteringDisplayMetadata side data. Primaries are ordered in RGB order and
the values are converted to rationals ([0,1] for CEI 1931 Chroma coords,
and cd/m^2 for luma).

Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agolibavdevice/dshow.c: Correct CoGetMalloc check
FearThe1337 [Sat, 13 Feb 2016 15:55:02 +0000 (16:55 +0100)]
libavdevice/dshow.c: Correct CoGetMalloc check

Current if statement would always be false due to assigning the value of
S_OK which equals 0.

Signed-off-by: FearThe1337 <git@fearthe1337.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavutil/frame: Free destination qp_table_buf in frame_copy_props()
Michael Niedermayer [Sat, 13 Feb 2016 19:57:26 +0000 (20:57 +0100)]
avutil/frame: Free destination qp_table_buf in frame_copy_props()

Fixes memleak
Fixes: Ticket4899

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavutil/imgutils: only align the palette in av_image_copy_to_buffer() if there is...
Michael Niedermayer [Sat, 13 Feb 2016 14:32:58 +0000 (15:32 +0100)]
avutil/imgutils: only align the palette in av_image_copy_to_buffer() if there is enough space

This allows disabling the alignment by using a compact buffer

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agovp9: only call ff_get_format on stream format changes.
Ronald S. Bultje [Mon, 8 Feb 2016 21:29:09 +0000 (16:29 -0500)]
vp9: only call ff_get_format on stream format changes.

In practice, this means we don't call it N times for N-threaded decoding.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agofate/source: Do not use GNU extensions in sed
Timothy Gu [Fri, 12 Feb 2016 06:26:03 +0000 (22:26 -0800)]
fate/source: Do not use GNU extensions in sed

4 years agoavutil/avstring: add a "ALL" entry and the possibility to negate matches to av_match_...
Michael Niedermayer [Thu, 11 Feb 2016 19:49:05 +0000 (20:49 +0100)]
avutil/avstring: add a "ALL" entry and the possibility to negate matches to av_match_name()

This will extend the whitelist features to allow blacklisting individual protocols and to
explicitly force everything to be enabled.

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavutil/imgutils: do not ignore align parameter for pseudo-pal in av_image_get_buffer_...
Michael Niedermayer [Sat, 13 Feb 2016 14:32:57 +0000 (15:32 +0100)]
avutil/imgutils: do not ignore align parameter for pseudo-pal in av_image_get_buffer_size()

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agodoc/APIchanges: fill in more missing things
Michael Niedermayer [Sat, 13 Feb 2016 15:20:59 +0000 (16:20 +0100)]
doc/APIchanges: fill in more missing things

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agodoc/APIchanges: Fill in some missing values
Michael Niedermayer [Sat, 13 Feb 2016 02:01:16 +0000 (03:01 +0100)]
doc/APIchanges: Fill in some missing values

also fix some inconsistencies

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agohevc: Track long and short term RPS size for VDPAU
Philip Langdale [Fri, 12 Feb 2016 18:38:41 +0000 (20:38 +0200)]
hevc: Track long and short term RPS size for VDPAU

Today, we track the short term RPS size for DXVA, but only if the
SliceHeader RPS is being used. Otherwise it's left uninitialized.

NVIDIA's VDPAU implementation requires that the size be accurately
tracked even if an SPS RPS is being used. In this case, it's really
counting the size of the RPS idx information, but you end up with
mangled output if the value is not accurate.

VDPAU also needs the size of the long term RPS.

Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
4 years agodxva2_hevc: properly signal the num_delta_pocs from the SPS RPS
Hendrik Leppkes [Fri, 12 Feb 2016 18:38:40 +0000 (20:38 +0200)]
dxva2_hevc: properly signal the num_delta_pocs from the SPS RPS

ucNumDeltaPocsOfRefRpsIdx needs to contain the flat value from the SPS RPS,
and not the final computed value from the slice header RPS, as this calculation
is done internally by the driver again.

Sample-Id: http://trailers.divx.com/hevc/Sintel_4k_27qp_24fps_1aud_9subs.mkvi
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agolavf: Dump the cpb side data information
Luca Barbato [Sat, 2 Jan 2016 14:34:04 +0000 (15:34 +0100)]
lavf: Dump the cpb side data information