Vittorio Giovara
cdbaa43604
mpeg12dec: Always close reader on error
...
A reader left open may lead to hangs.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Luca Barbato
99214d42a9
dnxhd: Make the encoder message friendlier
9 years ago
Michael Niedermayer
331a33d74a
nut: Add PAL8 support
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
43a6965569
avcodec/dirac: Fix memleak of dsh on error
...
Fixes CID1351360
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
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>
9 years ago
Timothy Gu
0bcffc7924
diractab: Fix header guard name
9 years ago
Timothy Gu
59ebf32bca
huffyuvencdsp: Undefine "i" macro after each use
9 years ago
Timothy Gu
32fed702b8
libvpxenc: Allow setting tune parameter
9 years ago
Timothy Gu
671761d713
diracdec: Pass DWTPlane to dwt init
9 years ago
Timothy Gu
e04912c0b6
diracdec: Split DWTPlane struct from Plane
9 years ago
Timothy Gu
58ded09bd1
dirac_dwt: Rename init2 to init
...
The functions are all private.
9 years ago
Timothy Gu
6cdde20beb
dirac_dwt: Don't pass information in context as arguments
9 years ago
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>
9 years ago
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>
9 years ago
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>
9 years ago
Timothy Gu
9fd6ea933f
dirac_dwt: Make x86 files/functions names consistent
9 years ago
Timothy Gu
17ab8f7e68
diracdsp: Make x86 files/functions names consistent
9 years ago
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.
9 years ago
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.
9 years ago
James Darnley
7042a55c55
avcodec/h264: mmxext 4:2:2 chroma deblock/loop filter
...
2.6 times faster (366 vs. 142 cycles)
9 years ago
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>
9 years ago
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>
9 years ago
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.
9 years ago
Michael Niedermayer
37db3e8931
avcodec/libutvideoenc: Add NULL termintor to options
...
Fixes segfaults
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Derek Buitenhuis
c4ef6c883b
mjpegenc: Remove duplicate initializer
...
This was causing c99conv to crash.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Derek Buitenhuis
0ea716f70b
libutvideo: Unbreak
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Rostislav Pehlivanov
f021030365
diradec: split tables away to a separate diractab file
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
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>
9 years ago
Michael Niedermayer
edc34c937b
avcodec/utils: Check the return code of av_image_fill_linesizes()
...
Fixes CID1271741
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timothy Gu
0ab25dac2f
cinepakenc: Stop using AVPicture
9 years ago
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>
9 years ago
Hendrik Leppkes
5fc310f7ca
dca: add emms_c after usage of AV_COPY128
...
Similar to AV_ZERO128, AV_COPY128 can use MMX instructions in x86
9 years ago
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>
9 years ago
Timothy Gu
dd57b316c1
diracdsp_mmx: Fix some more indentations
9 years ago
Timothy Gu
f5e2b8de55
diracdsp_mmx: Fix indentation
9 years ago
Timothy Gu
838abfc1d7
x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format
9 years ago
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>
9 years ago
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>
9 years ago
Kieran Kunhya
bdd8e02b72
avcodec/cfhd: Make sure we have an end of header tag before allocating a frame.
...
Fixes tickets #5208 and #5209
9 years ago
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.
9 years ago
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>
9 years ago
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>
9 years ago
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.
9 years ago
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>
9 years ago
Derek Buitenhuis
1ba1fede9d
flacenc: Restore defaults and range for {min, max}_prediction_order
...
This was broken in 243df1351d
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Timothy Gu
180f9a0958
all: Make header guard names consistent
9 years ago
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>
9 years ago
Michael Niedermayer
3c8e95ab5d
avcodec/flacenc: Fix prediction_order parameter
...
Fixes regression
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Derek Buitenhuis
e9eb8b3ba2
flacenc: Restore defaults and range for {min,max}_prediction_order
...
This was broken in 243df1351d
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
foo86
ae5b2c5250
avcodec/dca: add new decoder based on libdcadec
9 years ago