Michael Niedermayer
43a6965569
avcodec/dirac: Fix memleak of dsh on error
...
Fixes CID1351360
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-09 14:59:36 +01:00
Michael Niedermayer
5781bfae0c
flacenc: Load default prediction_order parameters if none is selected
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-02-08 15:00:29 -05:00
Timothy Gu
0bcffc7924
diractab: Fix header guard name
2016-02-07 09:26:15 -08:00
Timothy Gu
59ebf32bca
huffyuvencdsp: Undefine "i" macro after each use
2016-02-07 09:19:17 -08:00
Timothy Gu
32fed702b8
libvpxenc: Allow setting tune parameter
2016-02-07 09:12:46 -08:00
Timothy Gu
671761d713
diracdec: Pass DWTPlane to dwt init
2016-02-07 09:09:13 -08:00
Timothy Gu
e04912c0b6
diracdec: Split DWTPlane struct from Plane
2016-02-07 09:09:13 -08:00
Timothy Gu
58ded09bd1
dirac_dwt: Rename init2 to init
...
The functions are all private.
2016-02-07 09:09:13 -08:00
Timothy Gu
6cdde20beb
dirac_dwt: Don't pass information in context as arguments
2016-02-07 09:09:13 -08:00
Michael Niedermayer
9ee4c89348
avcodec/utils: Add AV_PIX_FMT_GBRAP16?E to avcodec_align_dimensions2()
...
Found-by: kierank
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-07 01:13:36 +01:00
James Almer
8ae7447941
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>
2016-02-06 01:36:55 -03:00
James Almer
3e9b8ffc9b
avcodec/dcadsp: rename lfe_fir_float functions
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-02-06 01:29:10 -03:00
Timothy Gu
9fd6ea933f
dirac_dwt: Make x86 files/functions names consistent
2016-02-05 19:30:23 -08:00
Timothy Gu
17ab8f7e68
diracdsp: Make x86 files/functions names consistent
2016-02-05 19:29:43 -08:00
Michael Bradshaw
1c40bccc09
lavc/dirac_dwt: fix building without asm
...
clang needs HAVE_MMX to be first in order to avoid an undefined
reference error.
2016-02-06 01:14:19 +01:00
Henrik Gramner
aa751573fe
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.
2016-02-05 22:01:38 +01:00
James Darnley
7042a55c55
avcodec/h264: mmxext 4:2:2 chroma deblock/loop filter
...
2.6 times faster (366 vs. 142 cycles)
2016-02-05 17:26:04 +01:00
Mats Peterson
9556446623
lavc/rawdec: Use 16-byte line alignment for B1W0 and B0W1 video in nut
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-05 15:40:49 +01:00
James Almer
16af350ac5
avcodec/dcadsp: replace intptr_t with ptrdiff_t
...
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-02-05 11:17:04 -03:00
Hendrik Leppkes
a969a914f5
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.
2016-02-04 12:16:19 +01:00
Michael Niedermayer
37db3e8931
avcodec/libutvideoenc: Add NULL termintor to options
...
Fixes segfaults
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-04 02:17:57 +01:00
Derek Buitenhuis
c4ef6c883b
mjpegenc: Remove duplicate initializer
...
This was causing c99conv to crash.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-03 22:14:27 +00:00
Derek Buitenhuis
0ea716f70b
libutvideo: Unbreak
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-03 19:27:24 +00:00
Rostislav Pehlivanov
f021030365
diradec: split tables away to a separate diractab file
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-02-03 17:19:33 +00:00
Rostislav Pehlivanov
3bbe7862ec
diracdec: move the MAX_DWT_LEVELS macro to dirac.h
...
Used by the VC-2 encoder.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-02-03 17:19:30 +00:00
Derek Buitenhuis
730d2aabac
Merge commit '0e9c4fe254073b209970df3e3cb84531bc388e99'
...
* commit '0e9c4fe254073b209970df3e3cb84531bc388e99':
lavc: Move pre_me to codec private options
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-03 16:54:20 +00:00
Derek Buitenhuis
43c0298208
Merge commit '5b6f42da98c26a8aee8d2c2edfcbd0633ad1c607'
...
* commit '5b6f42da98c26a8aee8d2c2edfcbd0633ad1c607':
lavc: Move me_penalty_compensation to codec private options
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-03 16:53:13 +00:00
Derek Buitenhuis
f3af379b5c
Merge commit '2862b63783b5556f7f3fb2d097629bc6879f833a'
...
* commit '2862b63783b5556f7f3fb2d097629bc6879f833a':
lavc: Move prediction_method to codec private options
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-03 16:49:19 +00:00
Michael Niedermayer
edc34c937b
avcodec/utils: Check the return code of av_image_fill_linesizes()
...
Fixes CID1271741
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-03 15:58:32 +01:00
Timothy Gu
0ab25dac2f
cinepakenc: Stop using AVPicture
2016-02-02 18:06:13 -08:00
Andreas Cadhalpun
916da13d6d
cfhd: fix off-by-one error in level check
...
This fixes out-of-bounds writes causing segmentation faults.
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Reviewed-by: Kieran Kunhya <kierank@obe.tv>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-02-03 01:19:45 +01:00
Hendrik Leppkes
5fc310f7ca
dca: add emms_c after usage of AV_COPY128
...
Similar to AV_ZERO128, AV_COPY128 can use MMX instructions in x86
2016-02-02 23:27:30 +01:00
Hendrik Leppkes
0b1972d409
dca: add emms_c after AV_ZERO128 macros
...
AV_ZERO64/128 can use MMX on x86.
Reviewed-By: James Almer <jamrial@gmail.com>
2016-02-02 20:06:13 +01:00
Timothy Gu
dd57b316c1
diracdsp_mmx: Fix some more indentations
2016-02-01 20:47:56 -08:00
Timothy Gu
f5e2b8de55
diracdsp_mmx: Fix indentation
2016-02-01 20:41:33 -08:00
Timothy Gu
838abfc1d7
x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format
2016-02-01 17:01:11 -08:00
Derek Buitenhuis
792a5cefbe
mpeg12dec: Export GOP timecodes as side data
...
The codec context field was rightly deprecated, and the data
may change per-frame.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-01 18:19:24 +00:00
James Almer
77b5b95247
avcodec/dca_core: rename get_vlc function
...
Fixes compilation with TRACE enabled
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-02-01 12:11:37 -03:00
Kieran Kunhya
bdd8e02b72
avcodec/cfhd: Make sure we have an end of header tag before allocating a frame.
...
Fixes tickets #5208 and #5209
2016-02-01 14:20:20 +01:00
Luca Barbato
e280fe1329
v210: Use separate sample_factors
...
The 10bit and the 8bit functions can now be implemented to process
a different amount of samples.
And while at it simplify a little the code.
2016-02-01 13:40:07 +01:00
James Darnley
15ec7aa417
v210: Add avx2 version of the 10-bit line encoder
...
Around 25% faster than the ssse3 version.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-01 13:40:07 +01:00
James Darnley
d29237e557
v210: Add avx2 version of the 8-bit line encoder
...
Around 35% faster than the avx version.
Signed-off-by: Henrik Gramner <henrik@gramner.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-01 13:40:07 +01:00
Hendrik Leppkes
f85cc3bf12
hevc: set profile based on the profile compatibility flags if needed
...
This fixes retrieving a valid profile for many of the FATE conformance samples,
allowing them to be properly decoded by the HWAccel after adding a profile check.
2016-02-01 10:34:23 +01:00
Stephen Hutchinson
70742e599b
libx265: Enable 12-bit encoding
...
The configure detection is bumped to X265_BUILD >= 68,
since API version 68 corresponds with the x265 1.8
release tarball. The warnings inside x265 about
12-bit being experimental were removed prior to API
version 72 a short time later. At this time of
writing, X265_BUILD is at version 80.
12-bit support in the HEVC standard was approved in
October 2014 as part of HEVC Version 2 and published
in January 2015:
http://www.itu.int/ITU-T/recommendations/rec.aspx?rec=12296
http://www.itu.int/rec/T-REC-H.265-201410-S
https://hevc.hhi.fraunhofer.de/rext
Reveiwed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-01 01:36:44 +01:00
Derek Buitenhuis
1ba1fede9d
flacenc: Restore defaults and range for {min, max}_prediction_order
...
This was broken in 243df1351d2d928caa084a5704ed783f0b83f072.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-01 00:57:43 +01:00
Timothy Gu
180f9a0958
all: Make header guard names consistent
2016-01-31 15:44:11 -08:00
Vittorio Giovara
60f0fde309
libx264: Make sure to preserve default option values
...
The private options chromaoffset, sc_threshold, and noise_reduction
were set to 0 rather than -1, and were always initializing values
in libx264 rather than letting the library use its default.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-02-01 00:35:37 +01:00
Michael Niedermayer
3c8e95ab5d
avcodec/flacenc: Fix prediction_order parameter
...
Fixes regression
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-31 20:05:41 +01:00
Derek Buitenhuis
e9eb8b3ba2
flacenc: Restore defaults and range for {min,max}_prediction_order
...
This was broken in 243df1351d2d928caa084a5704ed783f0b83f072.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-31 18:25:29 +00:00
foo86
ae5b2c5250
avcodec/dca: add new decoder based on libdcadec
2016-01-31 17:09:38 +01:00