ffmpeg.git
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 agoaacenc: temporarily disable Mid/Side coding with multichannel files
Rostislav Pehlivanov [Sat, 13 Feb 2016 12:23:22 +0000 (12:23 +0000)]
aacenc: temporarily disable Mid/Side coding with multichannel files

Results in dropping out in channels, usually on EIGHT_SHORT windows.
Will be reenabled once the cause has been investigated and a fix has
been made.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoavcodec/h264: Fix memleak of a53_caption
Michael Niedermayer [Sat, 13 Feb 2016 01:06:22 +0000 (02:06 +0100)]
avcodec/h264: Fix memleak of a53_caption

Fixes Ticket5111

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavcodec/rawdec: Print stride and packet size at debug level
Mats Peterson [Fri, 12 Feb 2016 10:24:30 +0000 (11:24 +0100)]
avcodec/rawdec: Print stride and packet size at debug level

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavcodec/rawdec: Fix nut pal8 test
Mats Peterson [Fri, 12 Feb 2016 23:34:02 +0000 (00:34 +0100)]
avcodec/rawdec: Fix nut pal8 test

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavcodec/rawdec: Initialize default mono palette only for bits_per_coded_sample == 1
Mats Peterson [Fri, 12 Feb 2016 10:24:30 +0000 (11:24 +0100)]
avcodec/rawdec: Initialize default mono palette only for bits_per_coded_sample == 1

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agodoc/filters: add one more blend example
Paul B Mahol [Fri, 12 Feb 2016 21:19:20 +0000 (22:19 +0100)]
doc/filters: add one more blend example

This is faster than geq example below.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agodoc/filters: add geq diagonal split screen example
Lou Logan [Fri, 12 Feb 2016 00:44:40 +0000 (15:44 -0900)]
doc/filters: add geq diagonal split screen example

Also remove similar but confusing and less useful example.

Based on geq expression by Patrick Race <raceink at gmail>.

Signed-off-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoaacenc: make a better estimate for the audio bitrate if not provided
Rostislav Pehlivanov [Fri, 12 Feb 2016 18:34:18 +0000 (18:34 +0000)]
aacenc: make a better estimate for the audio bitrate if not provided

Takes into account whether there's pairing and if there's an LFE channel.
An SCE has more bits than CPE/2 since IS and M/S save quite a lot of bits
when channels are paired. And most of the SCEs we have are in surround
layouts which map it to the center channel, which usually carries all of
the dialogue and compression artifacts there are easily audiable.

Also refactors the init function a little bit and labels some parts of it.

Fixes bug #5233

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agodoc/encoders: fix typos in the vc2 encoder documentation
Rostislav Pehlivanov [Fri, 12 Feb 2016 18:38:20 +0000 (18:38 +0000)]
doc/encoders: fix typos in the vc2 encoder documentation

Thanks to RiCON for pointing these out.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoMAINTAINERS: Remove myself as libutvideo maintainer
Derek Buitenhuis [Fri, 12 Feb 2016 17:57:34 +0000 (17:57 +0000)]
MAINTAINERS: Remove myself as libutvideo maintainer

I don't want to touch it, ever again.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years agodoc/encoders: add documentation for the VC-2 encoder
Rostislav Pehlivanov [Fri, 12 Feb 2016 16:49:24 +0000 (16:49 +0000)]
doc/encoders: add documentation for the VC-2 encoder

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
4 years agoavfilter/avf_showspectrum: improve pts handling
Paul B Mahol [Fri, 12 Feb 2016 16:14:30 +0000 (17:14 +0100)]
avfilter/avf_showspectrum: improve pts handling

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agoavfilter/af_anequalizer: Avoid loss of precision when calculating nyquist frequency
Michael Niedermayer [Thu, 11 Feb 2016 23:55:49 +0000 (00:55 +0100)]
avfilter/af_anequalizer: Avoid loss of precision when calculating nyquist frequency

Fixes: CID1351398
Fixes: CID1351400

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavfilter/vf_zoompan: Initialize ret
Michael Niedermayer [Thu, 11 Feb 2016 23:33:12 +0000 (00:33 +0100)]
avfilter/vf_zoompan: Initialize ret

Silences: CID1351394

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavfilter/vf_zoompan: Fix use of uninitialized variables
Michael Niedermayer [Thu, 11 Feb 2016 23:33:11 +0000 (00:33 +0100)]
avfilter/vf_zoompan: Fix use of uninitialized variables

Fixes: CID1351392
Fixes: CID1351393
Fixes: CID1351395

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavcodec/vc2enc_dwt: add missing header
James Almer [Fri, 12 Feb 2016 05:06:05 +0000 (02:06 -0300)]
avcodec/vc2enc_dwt: add missing header

Fixes make checkheaders

Signed-off-by: James Almer <jamrial@gmail.com>
4 years agoavcodec/h264_slice: Fix dequant table init with field pictures
Michael Niedermayer [Fri, 12 Feb 2016 02:43:17 +0000 (03:43 +0100)]
avcodec/h264_slice: Fix dequant table init with field pictures

Fixes regression of Ticket4389

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years agoavcodec/h264_slice: assert relation between current_slice ans slice_ctx
Michael Niedermayer [Fri, 12 Feb 2016 02:40:19 +0000 (03:40 +0100)]
avcodec/h264_slice: assert relation between current_slice ans slice_ctx

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>