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

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

3 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

3 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

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

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

3 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

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

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

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

3 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

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

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

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

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

3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 years agoavcodec/h264_slice: remove duplicate unconditional picture_structure setting code
Michael Niedermayer [Fri, 12 Feb 2016 01:18:24 +0000 (02:18 +0100)]
avcodec/h264_slice: remove duplicate unconditional picture_structure setting code

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/cfhd: Fix errors with valid files.
Kieran Kunhya [Fri, 12 Feb 2016 00:26:33 +0000 (00:26 +0000)]
avcodec/cfhd: Fix errors with valid files.

3 years agoavcodec/cfhd: Check the number of tag/value pairs
Michael Niedermayer [Thu, 11 Feb 2016 21:12:36 +0000 (22:12 +0100)]
avcodec/cfhd: Check the number of tag/value pairs

Fixes potentially long loop
Fixes: CID1351382/11

Reviewed-by: Kieran Kunhya <kieran@kunhya.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavfilter/avf_ahistogram: assert that variables are initialized by switch()
Michael Niedermayer [Thu, 11 Feb 2016 23:37:11 +0000 (00:37 +0100)]
avfilter/avf_ahistogram: assert that variables are initialized by switch()

Silences: CID1351397

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavfilter/avf_showfreqs: assert that variables are initialized by switch()
Michael Niedermayer [Thu, 11 Feb 2016 23:37:11 +0000 (00:37 +0100)]
avfilter/avf_showfreqs: assert that variables are initialized by switch()

Silences: CID1351396

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavfilter/vf_zoompan: Remove dead store
Michael Niedermayer [Thu, 11 Feb 2016 23:07:29 +0000 (00:07 +0100)]
avfilter/vf_zoompan: Remove dead store

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavfilter/avf_avectorscope: assert that variables are initialized by switch()
Michael Niedermayer [Thu, 11 Feb 2016 22:08:48 +0000 (23:08 +0100)]
avfilter/avf_avectorscope: assert that variables are initialized by switch()

Silences: CID1351390
Silences: CID1351391

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavfilter/vaf_spectrumsynth: assert that variables are initialized by switch()
Michael Niedermayer [Thu, 11 Feb 2016 22:04:07 +0000 (23:04 +0100)]
avfilter/vaf_spectrumsynth: assert that variables are initialized by switch()

Silences: CID1351387
Silences: CID1351388
Silences: CID1351389

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agodoc/filters: fix metadata example
Paul B Mahol [Thu, 11 Feb 2016 15:30:04 +0000 (16:30 +0100)]
doc/filters: fix metadata example

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavfilter/f_metadata: rename "string" into "same_str"
Tobias Rapp [Thu, 11 Feb 2016 14:39:57 +0000 (15:39 +0100)]
avfilter/f_metadata: rename "string" into "same_str"

Rename function option value "string" into "same_str". Remove obsolete
"length" option.

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
3 years agoavfilter/f_metadata: whitespace clean-up
Tobias Rapp [Thu, 11 Feb 2016 12:35:22 +0000 (13:35 +0100)]
avfilter/f_metadata: whitespace clean-up

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
3 years agoavfilter/f_metadata: add starts_with string function
Tobias Rapp [Thu, 11 Feb 2016 12:35:20 +0000 (13:35 +0100)]
avfilter/f_metadata: add starts_with string function

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
3 years agoavfilter/f_metadata: add support for file output
Tobias Rapp [Thu, 11 Feb 2016 12:35:21 +0000 (13:35 +0100)]
avfilter/f_metadata: add support for file output

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
3 years agoavfilter/f_metadata: avoid float rounding problems
Tobias Rapp [Thu, 11 Feb 2016 12:35:19 +0000 (13:35 +0100)]
avfilter/f_metadata: avoid float rounding problems

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
3 years agoavfilter/vf_nnedi: Simplify away some trivial mem*()
Michael Niedermayer [Thu, 11 Feb 2016 00:16:52 +0000 (01:16 +0100)]
avfilter/vf_nnedi: Simplify away some trivial mem*()

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agofate: Update fate-sub2video for 5486d7fa91f7233e6d9aa9ba8de7fe9287402637
Michael Niedermayer [Thu, 11 Feb 2016 00:48:35 +0000 (01:48 +0100)]
fate: Update fate-sub2video for 5486d7fa91f7233e6d9aa9ba8de7fe9287402637

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoMAINTAINERS: add my name to the parts I'm maintaining
Rostislav Pehlivanov [Thu, 11 Feb 2016 00:00:12 +0000 (00:00 +0000)]
MAINTAINERS: add my name to the parts I'm maintaining

Not updated since the AAC Encoder.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
3 years agox86/vf_blend: Add SSE2 optimization for screen
Timothy Gu [Tue, 9 Feb 2016 02:20:56 +0000 (02:20 +0000)]
x86/vf_blend: Add SSE2 optimization for screen

10x faster than C.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
3 years agox86/vf_blend: Move multiplying to a macro
Timothy Gu [Tue, 9 Feb 2016 01:59:46 +0000 (01:59 +0000)]
x86/vf_blend: Move multiplying to a macro

Reviewed-by: Paul B Mahol <onemda@gmail.com>
3 years agoavfilter/dualinput: use pts provided by framesync
Paul B Mahol [Tue, 9 Feb 2016 17:32:54 +0000 (18:32 +0100)]
avfilter/dualinput: use pts provided by framesync

This fixes stalled output pts when main stream ends.

Signed-off-by: Paul B Mahol <onemda@gmail.com>