Paul B Mahol
4f33d9d41a
utvideodec: Support ULY4 and ULH4
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-04-15 15:37:18 +02:00
Paul B Mahol
a93faf30d6
utvideodec: Support UQRA and UQRG
2017-04-15 15:37:18 +02:00
Paul B Mahol
c523095564
utvideodec: Support UQY2
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-04-13 14:09:07 +02:00
Luca Barbato
19c5fa9eea
golomb: Simplify get_ur_golomb_jpegls
...
The loop always consumes the bit read and the new bitstream reader
can read 0 bits just fine.
2017-04-13 13:37:10 +02:00
Ganesh Ajjanagadde
1fe858136b
utvideodec: Prevent possible signed overflow
...
Doing slice_end - slice_start is unsafe and can lead to undefined behavior
until slice_end has been properly sanitized.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-04-13 13:37:10 +02:00
Paul B Mahol
95a8a03a19
Add FM Screen Capture Codec decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2017-04-13 12:35:35 +02:00
Alexandra Hájková
89d9869d24
hevc: Add NEON 16x16 IDCT
...
The speedup vs C code is around 6-13x.
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-04-12 22:40:54 +03:00
Anton Khirnov
50a1c66cf6
ac3_parser: add a public function for parsing the data required by the demuxer
...
Make the current semi-public avpriv_ac3_parse_header() private to lavc.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2017-04-12 15:39:00 +02:00
Vittorio Giovara
efddf2c09a
decode: Initialize ret before using it
...
libavcodec/decode.c:608:9: warning: variable 'ret' is
used uninitialized whenever 'if' condition is false
2017-04-10 09:04:41 -04:00
Sean McGovern
6ac0e78183
mpeg4videodec: raise an error if sprite_trajectory.table is NULL
...
CC: libav-stable@libav.org
Bug-Id: 1012
2017-04-05 17:23:39 -04:00
Mark Thompson
3d197514e6
qsvenc: Allow use of hw_device_ctx to make the internal session
2017-04-02 19:06:33 +01:00
Mark Thompson
8848ba0bd6
qsvdec: Allow use of hw_device_ctx to make the internal session
2017-04-02 19:06:33 +01:00
Mark Thompson
4936a48b1e
qsv: Add ability to create a session from a device
2017-04-02 19:06:33 +01:00
Mark Thompson
0fd91e4bfc
vaapi_encode: Add VP9 support
2017-04-02 19:06:33 +01:00
Mark Thompson
34e051d168
vp9: Add bsf to fix reordering in raw streams
...
Takes a raw input stream containing frames with correct timestamps but
possibly out of order and inserts additional show-existing-frame
packets to correct the ordering.
2017-04-02 19:05:43 +01:00
Ronald S. Bultje
0cf949a011
vp9: Add bsf to merge superframes
...
From ffmpeg commit 2e6636aa87
.
2017-04-02 17:54:05 +01:00
Mark Thompson
c2bebfc801
pthread_frame: Propagate sw_pix_fmt across threads
2017-04-02 16:00:03 +01:00
Martin Storsjö
26d9b60373
hevc: Avoid using LOCAL_ALIGNED for 4 byte alignment
...
The data types within the MvField struct themselves imply 4 byte alignment.
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-03-31 22:06:47 +03:00
Anton Khirnov
6a9e331d79
dcadec: remove extra indirection
...
num_core_channels is always equal to s->audio_header.prim_channels,
neither one of those variables ever get changed.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-03-29 22:56:54 +02:00
Martin Storsjö
e788ca05a7
hevcdec: Use LOCAL_ALIGNED_* for declaring local variables with alignment
...
Not all compilers can do alignment larger than the normal stack alignment
for variables on the stack. In these cases, the LOCAL_ALIGNED_* macros
produce the workaround alignment wrapper consisting of a padded array
and a pointer variable.
This fixes the hevc fate tests on RVCT/ARMCC after adding IDCT assembly
that actually assumes/relies on this alignment.
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-03-29 09:08:31 +03:00
Martin Storsjö
fbc6f190a6
arm: Always build the hevcdsp_init_arm.c file
...
The main hevcdsp.c file calls this init function if HAVE_ARM is set,
regardless of whether neon support is available or not.
This fixes builds where neon isn't supported by the build tools at all.
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-03-28 11:36:01 +03:00
Alexandra Hájková
0b9a237b23
hevc: Add NEON 4x4 and 8x8 IDCT
...
Optimized by Martin Storsjö <martin@martin.st>.
The speedup vs C code is around 3.2-4.4x.
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-03-27 22:56:23 +03:00
Vittorio Giovara
0648dec19d
lavc: Drop deprecated stream codec tag
...
Deprecated in 07/2015.
2017-03-23 10:09:17 +01:00
Vittorio Giovara
94eed68ace
lavc: Drop deprecated options moved to private contexts
...
Deprecated in 10/2014 and 07/2015.
2017-03-23 10:09:17 +01:00
Vittorio Giovara
c43a96fe16
lavc: Drop deprecated time_base variable for decoding
...
Deprecated in 10/2015.
2017-03-23 10:09:16 +01:00
Vittorio Giovara
48bb0da050
lavc: Drop deprecated way of setting audio delay on encode
...
Deprecated in 08/2014.
2017-03-23 10:09:16 +01:00
Vittorio Giovara
5182a28b5d
lavc: Drop deprecated global afd field
...
Deprecated in 08/2014.
2017-03-23 10:09:16 +01:00
Vittorio Giovara
4476027d93
lavc: Drop deprecated avctx codec name
...
Deprecated in 04/2014.
2017-03-23 10:09:16 +01:00
Vittorio Giovara
bb45d11282
lavc: Drop deprecated codec flags
...
Deprecated between 04/2014 - 05/2015.
2017-03-23 10:09:16 +01:00
Vittorio Giovara
302554835e
lavc: Drop deprecated unused public members
...
Deprecated in 07/2014.
2017-03-23 10:09:15 +01:00
Vittorio Giovara
b3739599bd
lavc: Drop deprecated emu edge functionality
...
Deprecated in 01/2014.
2017-03-23 10:09:15 +01:00
Vittorio Giovara
06c20d3e32
lavc: Drop deprecated av_fast_malloc() compatibility
...
Deprecated in 10/2013.
2017-03-23 10:09:15 +01:00
Vittorio Giovara
da5ba26b9e
lavc: Drop deprecated macroblock type symbols
...
Deprecated in 10/2013.
2017-03-23 10:09:15 +01:00
Vittorio Giovara
cbebc3251b
lavc: Drop deprecated public symbols
...
qscale types and maximum number of bframes deprecated in 10/2013.
Negative linesizes deprecated in 11/2013.
xvidmmx deprecated in 08/2014.
2017-03-23 10:09:15 +01:00
Vittorio Giovara
72dc7ddd18
lavc: Drop deprecated error rate option
...
Deprecated in 10/2013.
2017-03-23 10:09:14 +01:00
Diego Biurrun
dcc39ee10e
lavc: Remove deprecated XvMC support hacks
...
Deprecated in 11/2013.
2017-03-23 10:09:14 +01:00
Vittorio Giovara
0871e23377
lavc: Drop deprecated architectures symbols
...
Alpha deprecated in 11/2013.
Sh4 and sparc deprecated in 01/2014.
2017-03-23 10:09:14 +01:00
Vittorio Giovara
c06e739291
lavc: Drop deprecated extended aspect ratio symbol
...
Deprecated in 10/2013.
2017-03-23 10:09:14 +01:00
Vittorio Giovara
0c7986df44
lavc: Drop deprecated workaround bugs options
...
Illegal ac_vlc and old msmpeg4 detection deprecated in 10/2013.
2017-03-23 10:09:14 +01:00
Vittorio Giovara
8933ac2079
lavc: Drop deprecated debug mv functionality
...
Deprecated in 10/2013.
2017-03-23 10:09:13 +01:00
Vittorio Giovara
6dca24cd1d
lavc: Drop deprecated way of setting codec dimensions
...
Deprecated in 10/2013.
2017-03-23 10:09:13 +01:00
Vittorio Giovara
1146bb3bab
lavc: Drop deprecated voxware codec entry
...
Deprecated in 08/2013.
2017-03-23 10:09:13 +01:00
Vittorio Giovara
5c1585c4c3
lavc: Drop deprecated VDPAU buffer fields
...
Deprecated in 07/2013.
2017-03-23 10:09:13 +01:00
Vittorio Giovara
7b91704118
lavc: Drop deprecated VDPAU codec capability
...
Deprecated in 07/2013.
2017-03-23 10:09:13 +01:00
Vittorio Giovara
b748c280e5
lavc: Drop deprecated lowres option
...
Deprecated in 04/2013.
2017-03-23 10:09:12 +01:00
Vittorio Giovara
0337adfab5
lavc: Drop deprecated missing sample log function
...
Deprecated in 01/2013.
2017-03-23 10:09:12 +01:00
Vittorio Giovara
bc143ce1ac
lavc: Drop deprecated chroma subsample function
...
Deprecated in 11/2012.
2017-03-23 10:09:12 +01:00
Vittorio Giovara
07a2b15594
Bump major versions of all libraries
...
This disables everything that was deprecated at least 18 months ago.
Readjust the minimum API version as needed, postponing any
API-incompatible changes until the next bump.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2017-03-23 09:56:20 +01:00
Luca Barbato
a46a4f722d
dca: Refactor dca_filter_channels() a little
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-03-21 12:08:52 +01:00
Luca Barbato
e245d4f45c
dca: Validate the channel map
...
Having a mismatch between the number of channels in the stream and those
in the channel map will lead to a segfault or worse.
Bug-Id: 1016
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-03-21 12:08:49 +01:00