Vittorio Giovara
1f6e5dd4d4
mlp: Rename the channel layout variable
...
Purely cosmetic change, will make code more readable once the new
channel layout takes over.
2017-04-26 11:14:57 -04:00
Alexandra Hájková
3d69dd65c6
hevc: Add support for bitdepth 10 for IDCT DC
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-04-25 22:48:45 +03:00
Seppo Tomperi
358adef030
hevc: Add NEON IDCT DC functions for bitdepth 8
...
Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-04-25 22:48:45 +03:00
Diego Biurrun
d0ce0634e0
clearvideo: Convert to the new bitstream reader
2017-04-25 15:39:12 +02:00
Kostya Shishkov
189157c3fc
Add ClearVideo decoder
...
Only I-frames are decoded for now.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2017-04-25 15:39:10 +02:00
Paul B Mahol
b812db66af
utvideodec: Fix gradient prediction when stride does not match width
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-04-25 00:38:07 +02:00
Paul B Mahol
7c25523cc8
utvideodec: Fix decoding odd sizes with interlaced video with some formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-04-25 00:38:07 +02:00
Anton Khirnov
3889dfde9c
dca: Move the downmix request check outside the loop
2017-04-25 00:38:07 +02:00
Sean McGovern
2e1ab6a67d
vc1dec: raise an error if sprite picture data is missing
...
Bug-Id: 1013
CC: libav-stable@libav.org
2017-04-24 18:28:55 -04:00
Aaron Levinson
8fd8f91e47
qsvenc: Make sure the interlaced encoding works
...
And reduce the vertical alignment constraint when possible to reduce the
memory usage.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-04-23 16:15:05 +02:00
Aaron Levinson
b22094d749
qsvenc: Use MFXVideoENCODE_Query() to update the parameters
...
Fill out the default/unset parameters with ones actually in use.
Matches the current MediaSDK example code.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-04-23 16:15:05 +02:00
Luca Barbato
f2c469b73f
mjpeg: Report non-3 component rgb lossless as not supported
...
Bug-Id: 1043
CC: libav-stable@libav.org
2017-04-20 15:39:18 +00:00
Luca Barbato
5352802da8
dca: Account for lfe when checking for the channel count
...
Bug-Id: 1037
CC: libav-stable@libav.org
2017-04-19 17:55:42 -04:00
Paul B Mahol
378460fef1
utvideodec: Support for gradient prediction
...
Introduced with utvideo 18.
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
9227bd8ac2
utvideodec: Reuse the huffyuv add_left
...
~10% faster when simd is available.
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
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