]> git.sesse.net Git - ffmpeg/log
ffmpeg
8 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>
8 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.

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 years agoavformat/hlsenc: Fix filename and options
Michael Niedermayer [Wed, 10 Feb 2016 18:02:48 +0000 (19:02 +0100)]
avformat/hlsenc: Fix filename and options

Regression since bc9a5965c815cf7fd998d8ce14a18b8e861dd9ce

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agovc2enc: use project-standard inclusion guards
Rostislav Pehlivanov [Wed, 10 Feb 2016 18:02:35 +0000 (18:02 +0000)]
vc2enc: use project-standard inclusion guards

This was first reported on the mailing list in an earlier revision of this
encoder but was forgotten from the final commit.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoavformat: add vc2 as an allowed rawenc Dirac extension
Rostislav Pehlivanov [Tue, 2 Feb 2016 12:35:30 +0000 (12:35 +0000)]
avformat: add vc2 as an allowed rawenc Dirac extension

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoavcodec: add a native SMPTE VC-2 HQ encoder
Rostislav Pehlivanov [Wed, 10 Feb 2016 16:50:00 +0000 (16:50 +0000)]
avcodec: add a native SMPTE VC-2 HQ encoder

This commit adds a new encoder capable of creating BBC/SMPTE Dirac/VC-2 HQ
profile files.

Dirac is a wavelet based codec created by the BBC a little more than 10
years ago. Since then, wavelets have mostly gone out of style as they
did not provide adequate encoding gains at lower bitrates. Dirac was a
fully featured video codec equipped with perceptual masking, support for
most popular pixel formats, interlacing, overlapped-block motion
compensation, and other features. It found new life after being stripped
of various features and standardized as the VC-2 codec by the SMPTE with
an extra profile, the HQ profile that this encoder supports, added.

The HQ profile was based off of the Low-Delay profile previously
existing in Dirac. The profile forbids DC prediction and arithmetic
coding to focus on high performance and low delay at higher bitrates.
The standard bitrates for this profile vary but generally 1:4
compression is expected (~525 Mbps vs the 2200 Mbps for uncompressed
1080p50). The codec only supports I-frames, hence the high bitrates.

The structure of this encoder is simple: do a DWT transform on the
entire image, split it into multiple slices (specified by the user) and
encode them in parallel. All of the slices are of the same size, making
rate control and threading very trivial. Although only in C, this encoder
is capable of 30 frames per second on an 4 core 8 threads Ivy Bridge.
A lookup table is used to encode most of the coefficients.

No code was used from the GSoC encoder from 2007 except for the 2
transform functions in diracenc_transforms.c. All other code was written
from scratch.

This encoder outperforms any other encoders in quality, usability and in
features. Other existing implementations do not support 4 level
transforms or 64x64 blocks (slices), which greatly increase compression.

As previously said, the codec is meant for broadcasting, hence support
for non-broadcasting image widths, heights, bit depths, aspect ratios,
etc. are limited by the "level". Although this codec supports a few
chroma subsamplings (420, 422, 444), signalling those is generally
outside the specifications of the level used (3) and the reference
decoder will outright refuse to read any image with such a flag
signalled (it only supports 1920x1080 yuv422p10). However, most
implementations will happily read files with alternate dimensions,
framerates and formats signalled.

Therefore, in order to encode files other than 1080p50 yuv422p10le, you
need to provide an "-strict -2" argument to the command line. The FFmpeg
decoder will happily read any files made with non-standard parameters,
dimensions and subsamplings, and so will other implementations. IMO this
should be "-strict -1", but I'll leave that up for discussion.

There are still plenty of stuff to implement, for instance 5 more
wavelet transforms are still in the specs and supported by the decoder.

The encoder can be lossless, given a high enough bitrate.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agooptions_table: update maximum bitrate limit
Rostislav Pehlivanov [Wed, 10 Feb 2016 15:22:59 +0000 (15:22 +0000)]
options_table: update maximum bitrate limit

The type of the option has been changed but the limit was apparently forgotten.
Some video codes can handle bitrates of over ~2.2 Gbps (like VC-2).

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoavformat/segment: Fix header_filename handling
Michael Niedermayer [Wed, 10 Feb 2016 16:59:58 +0000 (17:59 +0100)]
avformat/segment: Fix header_filename handling

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agosws/output: fix ordered dither threshold for mono output
Michael Niedermayer [Wed, 10 Feb 2016 09:01:02 +0000 (10:01 +0100)]
sws/output: fix ordered dither threshold for mono output

This makes sure that white stays white and black black

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '9f61abc8111c7c43f49ca012e957a108b9cc7610'
Derek Buitenhuis [Wed, 10 Feb 2016 14:40:32 +0000 (14:40 +0000)]
Merge commit '9f61abc8111c7c43f49ca012e957a108b9cc7610'

This also deprecates our old duplicated callbacks.

* commit '9f61abc8111c7c43f49ca012e957a108b9cc7610':
  lavf: allow custom IO for all files

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoffmpeg_filter: Factor get_compliance_unofficial_pix_fmts() out
Michael Niedermayer [Wed, 10 Feb 2016 11:57:11 +0000 (12:57 +0100)]
ffmpeg_filter: Factor get_compliance_unofficial_pix_fmts() out

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffmpeg_filter: Add missing pixel formats to strict_std_compliance case for ljpeg
Michael Niedermayer [Wed, 10 Feb 2016 11:28:12 +0000 (12:28 +0100)]
ffmpeg_filter: Add missing pixel formats to strict_std_compliance case for ljpeg

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffmpeg_filter: Add YUV 444 to strict_std_compliance case for mjpeg
Michael Niedermayer [Wed, 10 Feb 2016 11:28:12 +0000 (12:28 +0100)]
ffmpeg_filter: Add YUV 444 to strict_std_compliance case for mjpeg

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/f_metadata: fix few logic errors
Paul B Mahol [Wed, 10 Feb 2016 10:47:52 +0000 (11:47 +0100)]
avfilter/f_metadata: fix few logic errors

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agotests: Add test for proper header guard
Timothy Gu [Fri, 29 Jan 2016 02:33:06 +0000 (18:33 -0800)]
tests: Add test for proper header guard

Reviewed-by: Clément Bœsch <u@pkh.me>
8 years agoavfilter: add metadata filters
Paul B Mahol [Sat, 6 Feb 2016 10:19:45 +0000 (11:19 +0100)]
avfilter: add metadata filters

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/vf_nnedi: Fix memleak
Michael Niedermayer [Tue, 9 Feb 2016 12:02:40 +0000 (13:02 +0100)]
avfilter/vf_nnedi: Fix memleak

Fixes CID1351359

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agonut: Add PAL8 support
Michael Niedermayer [Mon, 8 Feb 2016 11:38:42 +0000 (12:38 +0100)]
nut: Add PAL8 support

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/dirac: Fix memleak of dsh on error
Michael Niedermayer [Tue, 9 Feb 2016 13:46:45 +0000 (14:46 +0100)]
avcodec/dirac: Fix memleak of dsh on error

Fixes CID1351360

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/mov: Extend extracting XMP in mov files using UUID Box
Thierry Foucu [Fri, 5 Feb 2016 23:39:25 +0000 (15:39 -0800)]
lavf/mov: Extend extracting XMP in mov files using UUID Box

The UUID is based on http://www.adobe.com/devnet/xmp.html

The patch is made according to XMP SPECIFICATION PART 3 - STORAGE IN
FILES See Table 8

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoconfigure: Enable GCC vectorization on ≥4.9 on x86
Timothy Gu [Sat, 30 Jan 2016 18:52:44 +0000 (10:52 -0800)]
configure: Enable GCC vectorization on ≥4.9 on x86

4.9 was released precisely nine years after the first GCC version with
autovectorizer (4.0) and six years after the first GCC version with
`-ftree-vectorize` default to enabled on `-O3` (4.3). We've given GCC
enough time to fix those bugs.

FATE passes here on a x86-64 machine with both GCC 4.9.2 and 5.3.1.

Some optimization hotspots benefit greatly from this change, especially
those without handwritten assembly. For instance, the main function in
vf_phase is now 1.6x faster (1.2x overall) on my machine.

8 years agoavfilter/af_agate: fix memleak of out frame
Michael Niedermayer [Mon, 8 Feb 2016 21:17:32 +0000 (22:17 +0100)]
avfilter/af_agate: fix memleak of out frame

Fixes CID1351358

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agovf_blend: Add SSE2 optimization for multiply
Timothy Gu [Mon, 8 Feb 2016 19:04:00 +0000 (19:04 +0000)]
vf_blend: Add SSE2 optimization for multiply

5 times faster than C, 3 times overall.

8 years agoffmpeg_opt: Fix memleaks in "manually set programs" loop
Michael Niedermayer [Mon, 8 Feb 2016 14:23:51 +0000 (15:23 +0100)]
ffmpeg_opt: Fix memleaks in "manually set programs" loop

Fixes CID1351356, CID1351357

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_swaprect: add timeline support
Paul B Mahol [Mon, 8 Feb 2016 14:43:09 +0000 (15:43 +0100)]
avfilter/vf_swaprect: add timeline support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/af_anequalizer: Fix memleak of args
Michael Niedermayer [Sun, 7 Feb 2016 23:39:15 +0000 (00:39 +0100)]
avfilter/af_anequalizer: Fix memleak of args

Fixes CID1351355

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vaf_spectrumsynth: Move "break" up
Michael Niedermayer [Sun, 7 Feb 2016 21:26:13 +0000 (22:26 +0100)]
avfilter/vaf_spectrumsynth: Move "break" up

Fixes CID1351347

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/af_aformat: remove deprecated syntax from options description
Paul B Mahol [Sun, 7 Feb 2016 21:47:39 +0000 (22:47 +0100)]
avfilter/af_aformat: remove deprecated syntax from options description

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agox86/cpu: set avxslow cpuflag on btver2 CPUs
James Almer [Sun, 7 Feb 2016 03:04:59 +0000 (00:04 -0300)]
x86/cpu: set avxslow cpuflag on btver2 CPUs

They are also slow when using 256 bit wide registers

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavfilter/vf_blend: add multiply128 mode
Paul B Mahol [Sun, 7 Feb 2016 18:24:49 +0000 (19:24 +0100)]
avfilter/vf_blend: add multiply128 mode

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agodiractab: Fix header guard name
Timothy Gu [Sun, 7 Feb 2016 17:26:15 +0000 (09:26 -0800)]
diractab: Fix header guard name

8 years agohuffyuvencdsp: Undefine "i" macro after each use
Timothy Gu [Mon, 2 Nov 2015 03:24:55 +0000 (19:24 -0800)]
huffyuvencdsp: Undefine "i" macro after each use

8 years agolibvpxenc: Allow setting tune parameter
Timothy Gu [Thu, 17 Dec 2015 03:53:14 +0000 (19:53 -0800)]
libvpxenc: Allow setting tune parameter

8 years agodiracdec: Pass DWTPlane to dwt init
Timothy Gu [Wed, 3 Feb 2016 01:30:55 +0000 (01:30 +0000)]
diracdec: Pass DWTPlane to dwt init

8 years agodiracdec: Split DWTPlane struct from Plane
Timothy Gu [Wed, 3 Feb 2016 01:18:29 +0000 (01:18 +0000)]
diracdec: Split DWTPlane struct from Plane

8 years agodirac_dwt: Rename init2 to init
Timothy Gu [Wed, 3 Feb 2016 01:02:39 +0000 (01:02 +0000)]
dirac_dwt: Rename init2 to init

The functions are all private.

8 years agodirac_dwt: Don't pass information in context as arguments
Timothy Gu [Wed, 3 Feb 2016 00:53:28 +0000 (00:53 +0000)]
dirac_dwt: Don't pass information in context as arguments

8 years agolavfi/fieldmatch: fix fields copy when plane height is odd
Clément Bœsch [Sun, 7 Feb 2016 14:49:20 +0000 (15:49 +0100)]
lavfi/fieldmatch: fix fields copy when plane height is odd

Fixes Ticket 5187

8 years agoavfilter: add swaprect filter
Paul B Mahol [Mon, 7 Dec 2015 15:45:52 +0000 (16:45 +0100)]
avfilter: add swaprect filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/utils: Add AV_PIX_FMT_GBRAP16?E to avcodec_align_dimensions2()
Michael Niedermayer [Sat, 6 Feb 2016 23:40:25 +0000 (00:40 +0100)]
avcodec/utils: Add AV_PIX_FMT_GBRAP16?E to avcodec_align_dimensions2()

Found-by: kierank
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/mp3enc: Assert that the header we assembled is valid
Michael Niedermayer [Wed, 3 Feb 2016 23:20:51 +0000 (00:20 +0100)]
avformat/mp3enc: Assert that the header we assembled is valid

Silences: CID1351343

The header is calculated by the code above the changed hunk, it is
thus asserted that the header is always correct.

Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter: add streamselect and astreamselect filter
Paul B Mahol [Mon, 18 Jan 2016 10:22:32 +0000 (11:22 +0100)]
avfilter: add streamselect and astreamselect filter

Signed-off-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agobuild: use intermediate lcov coverage file
Andreas Cadhalpun [Tue, 2 Feb 2016 23:24:26 +0000 (00:24 +0100)]
build: use intermediate lcov coverage file

Otherwise the 'lcov -q --remove' run fails with the following error:
lcov: ERROR: cannot write to coverage.info!

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agobuild: fix lcov with src link
Andreas Cadhalpun [Tue, 2 Feb 2016 23:24:21 +0000 (00:24 +0100)]
build: fix lcov with src link

When out-of-tree builds now use a relative path, the '-b' option of lcov
is not needed, so just pass the current directory to it in this case.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agoconfigure: fall back to using full path if src is a directory
Andreas Cadhalpun [Tue, 26 Jan 2016 21:54:01 +0000 (22:54 +0100)]
configure: fall back to using full path if src is a directory

Or when building in-tree.
Also don't try to remove src on distclean in these cases.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agocmdutils: realign for some additional filters with very long name
Paul B Mahol [Fri, 5 Feb 2016 20:18:45 +0000 (21:18 +0100)]
cmdutils: realign for some additional filters with very long name

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agox86/dcadec: add ff_lfe_fir0_float_{sse,sse2,avx,fma3}
James Almer [Fri, 5 Feb 2016 19:45:04 +0000 (16:45 -0300)]
x86/dcadec: add ff_lfe_fir0_float_{sse,sse2,avx,fma3}

Up to ~4 times faster on x86_64, ~8 times on x86_32 if compiling using x87 fp math.

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavcodec/dcadsp: rename lfe_fir_float functions
James Almer [Fri, 5 Feb 2016 14:41:39 +0000 (11:41 -0300)]
avcodec/dcadsp: rename lfe_fir_float functions

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agodirac_dwt: Make x86 files/functions names consistent
Timothy Gu [Wed, 3 Feb 2016 00:21:46 +0000 (00:21 +0000)]
dirac_dwt: Make x86 files/functions names consistent

8 years agodiracdsp: Make x86 files/functions names consistent
Timothy Gu [Tue, 2 Feb 2016 04:50:22 +0000 (20:50 -0800)]
diracdsp: Make x86 files/functions names consistent

8 years agolavc/dirac_dwt: fix building without asm
Michael Bradshaw [Sat, 6 Feb 2016 00:14:19 +0000 (01:14 +0100)]
lavc/dirac_dwt: fix building without asm

clang needs HAVE_MMX to be first in order to avoid an undefined
reference error.

8 years agoavcodec/h264: Fix segfault in 4:2:2 chroma deblock with 32-bit msvc
Henrik Gramner [Fri, 5 Feb 2016 20:01:49 +0000 (21:01 +0100)]
avcodec/h264: Fix segfault in 4:2:2 chroma deblock with 32-bit msvc

Using rNm and x86inc's stack allocation with a negative value at the same
time isn't supported, and caused the original stack pointer to be clobbered
when using a compiler that doesn't support stack alignment.

8 years agolavf/asfenc: add support for setting packet size
Marton Balint [Thu, 4 Feb 2016 00:30:31 +0000 (01:30 +0100)]
lavf/asfenc: add support for setting packet size

This can provide a manual workaround for ticket #4230.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agolavf/asfenc: add support for storing creation time
Marton Balint [Wed, 3 Feb 2016 21:49:35 +0000 (22:49 +0100)]
lavf/asfenc: add support for storing creation time

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agolavf/asfenc: add support for storing languages
Marton Balint [Wed, 3 Feb 2016 02:42:50 +0000 (03:42 +0100)]
lavf/asfenc: add support for storing languages

Checked compatiblity with VLC, Windows Media Player 12 and Windows Media ASF
Viewer 9 series.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agolavf/asfenc: check the number of streams in header
Marton Balint [Wed, 3 Feb 2016 21:53:56 +0000 (22:53 +0100)]
lavf/asfenc: check the number of streams in header

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agolavf/asfenc: add AVClass to context
Marton Balint [Wed, 3 Feb 2016 23:26:58 +0000 (00:26 +0100)]
lavf/asfenc: add AVClass to context

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agoavfilter/split: support any channel count for asplit filter
Paul B Mahol [Fri, 5 Feb 2016 08:11:55 +0000 (09:11 +0100)]
avfilter/split: support any channel count for asplit filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/h264: mmxext 4:2:2 chroma deblock/loop filter
James Darnley [Wed, 13 Jan 2016 14:34:44 +0000 (14:34 +0000)]
avcodec/h264: mmxext 4:2:2 chroma deblock/loop filter

2.6 times faster (366 vs. 142 cycles)

8 years agolavc/rawdec: Use 16-byte line alignment for B1W0 and B0W1 video in nut
Mats Peterson [Fri, 5 Feb 2016 02:02:04 +0000 (03:02 +0100)]
lavc/rawdec: Use 16-byte line alignment for B1W0 and B0W1 video in nut

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/dcadsp: replace intptr_t with ptrdiff_t
James Almer [Fri, 5 Feb 2016 14:17:04 +0000 (11:17 -0300)]
avcodec/dcadsp: replace intptr_t with ptrdiff_t

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agox11grab: fixed next frame capture time calculation
Trevor \\\\ Higgins [Wed, 3 Feb 2016 14:10:01 +0000 (09:10 -0500)]
x11grab: fixed next frame capture time calculation

The next frame time could slip, causing the frame rate to drop until
 frames were dropped. Now will capture at the next correct moment instead.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/mov: dont print frma warning when format is the same
Eran Kornblau [Thu, 4 Feb 2016 13:31:25 +0000 (15:31 +0200)]
avformat/mov: dont print frma warning when format is the same

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/af_apulsator: assert that pathes leaving uninitialized variables do not...
Michael Niedermayer [Thu, 4 Feb 2016 00:49:15 +0000 (01:49 +0100)]
avfilter/af_apulsator: assert that pathes leaving uninitialized variables do not occur

Fixes: CID1341581, CID1341582
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agofate: fix fate-aac-pns-encode failures on non-sse x86_32 targets
James Almer [Thu, 4 Feb 2016 17:35:26 +0000 (14:35 -0300)]
fate: fix fate-aac-pns-encode failures on non-sse x86_32 targets

Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavfilter/vf_stack: free input pads name on uninit
Paul B Mahol [Thu, 4 Feb 2016 17:02:29 +0000 (18:02 +0100)]
avfilter/vf_stack: free input pads name on uninit

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolavf/isom: Add more code points for H264.
Carl Eugen Hoyos [Thu, 4 Feb 2016 16:40:06 +0000 (17:40 +0100)]
lavf/isom: Add more code points for H264.

Defined by the MP4 registration authority.
Fixes ticket #5217.

8 years agoavfilter/af_afftfilt: Set last_expr to the default
Michael Niedermayer [Thu, 4 Feb 2016 13:04:43 +0000 (14:04 +0100)]
avfilter/af_afftfilt: Set last_expr to the default

This fixes a null pointer dereferece
Fixes: CID1351346
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agodca_parser: ensure frame duration matches the actual sample rate
Hendrik Leppkes [Wed, 3 Feb 2016 11:43:44 +0000 (12:43 +0100)]
dca_parser: ensure frame duration matches the actual sample rate

The parser only parses the core, and thus has a duration relative
to the core sample rate only, not the actual stream sample rate.

FATE references changed due to now correct timestamps.

8 years agox86/emms: empty the mmx state unconditionally on supported targets
James Almer [Thu, 4 Feb 2016 04:49:01 +0000 (01:49 -0300)]
x86/emms: empty the mmx state unconditionally on supported targets

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavcodec/libutvideoenc: Add NULL termintor to options
Michael Niedermayer [Thu, 4 Feb 2016 01:17:57 +0000 (02:17 +0100)]
avcodec/libutvideoenc: Add NULL termintor to options

Fixes segfaults

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoswscale/swscale-test: Check av_image_fill_linesizes() for failure
Michael Niedermayer [Wed, 3 Feb 2016 23:40:42 +0000 (00:40 +0100)]
swscale/swscale-test: Check av_image_fill_linesizes() for failure

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavutil/aes_crt: free AVAESCTR struct properly
James Almer [Wed, 3 Feb 2016 22:25:45 +0000 (19:25 -0300)]
avutil/aes_crt: free AVAESCTR struct properly

Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agomjpegenc: Remove duplicate initializer
Derek Buitenhuis [Wed, 3 Feb 2016 22:14:27 +0000 (22:14 +0000)]
mjpegenc: Remove duplicate initializer

This was causing c99conv to crash.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agolibutvideo: Unbreak
Derek Buitenhuis [Wed, 3 Feb 2016 19:27:24 +0000 (19:27 +0000)]
libutvideo: Unbreak

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agodiradec: split tables away to a separate diractab file
Rostislav Pehlivanov [Tue, 2 Feb 2016 14:24:57 +0000 (14:24 +0000)]
diradec: split tables away to a separate diractab file

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agodiracdec: move the MAX_DWT_LEVELS macro to dirac.h
Rostislav Pehlivanov [Tue, 2 Feb 2016 12:35:28 +0000 (12:35 +0000)]
diracdec: move the MAX_DWT_LEVELS macro to dirac.h

Used by the VC-2 encoder.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoMerge commit '68395f8c99393c281a08139d20a7a04398b2fd04'
Derek Buitenhuis [Wed, 3 Feb 2016 17:13:56 +0000 (17:13 +0000)]
Merge commit '68395f8c99393c281a08139d20a7a04398b2fd04'

* commit '68395f8c99393c281a08139d20a7a04398b2fd04':
  qsvenc: fix a typo

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'cc602061ee860b041013397e27a036b85cd87b09'
Derek Buitenhuis [Wed, 3 Feb 2016 17:12:32 +0000 (17:12 +0000)]
Merge commit 'cc602061ee860b041013397e27a036b85cd87b09'

* commit 'cc602061ee860b041013397e27a036b85cd87b09':
  x86inc: Add debug symbols indicating sizes of compiled functions

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '002c47798da0c43a053822c8041144798d49ed84'
Derek Buitenhuis [Wed, 3 Feb 2016 17:07:47 +0000 (17:07 +0000)]
Merge commit '002c47798da0c43a053822c8041144798d49ed84'

This is a NOOP.

* commit '002c47798da0c43a053822c8041144798d49ed84':
  x86inc: Avoid creating unnecessary local labels
  x86inc: Simplify AUTO_REP_RET
  x86inc: Use more consistent indentation
  x86inc: Preserve arguments when allocating stack space
  x86inc: Improve FMA instruction handling
  x86inc: Be more verbose in assertion failures
  x86inc: Make cpuflag() and notcpuflag() return 0 or 1

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'd336bfcf69fee159e9dba5e5e486ddb1aba61aab'
Derek Buitenhuis [Wed, 3 Feb 2016 16:59:06 +0000 (16:59 +0000)]
Merge commit 'd336bfcf69fee159e9dba5e5e486ddb1aba61aab'

* commit 'd336bfcf69fee159e9dba5e5e486ddb1aba61aab':
  pixdesc: fix and extend doxy for av_pix_fmt_get_chroma_sub_sample()

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'c0c4d7a0a556ec66e3068d36a883e84d1efb0690'
Derek Buitenhuis [Wed, 3 Feb 2016 16:57:46 +0000 (16:57 +0000)]
Merge commit 'c0c4d7a0a556ec66e3068d36a883e84d1efb0690'

* commit 'c0c4d7a0a556ec66e3068d36a883e84d1efb0690':
  configure: Correctly add openssl cflags and libs

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>