Luca Barbato
a7e6fbd90e
dxtory: Factorize the buffer loading
...
And the checks nearby it.
2015-09-04 01:42:55 +02:00
Luca Barbato
6a6bc43f5f
dxtory: Factorize slice size checks
...
They are always the same.
2015-09-04 01:42:55 +02:00
Michael Niedermayer
db9fd1e9af
fraps: increase vlc nb_bits
...
Sample-Id: fraps_bug_huff.avi
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-09-03 13:55:38 +02:00
Michael Niedermayer
741d353ab9
huffman: allow specifying nb_bits to ff_huff_build_tree()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-09-03 13:55:38 +02:00
Michael Niedermayer
26960aa1cd
huffman: increase bits constant
...
Bug-ID: ffmpeg ticket 2593
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-09-03 13:55:38 +02:00
Michael Niedermayer
5a19bce2ff
huffman: use a named identifer for the bits constant
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-09-03 13:55:38 +02:00
Luca Barbato
5a1a9da8a7
mpegvideo: Drop a stray error message
...
The condition is not a failure.
2015-09-03 13:39:34 +02:00
Vittorio Giovara
c45fcf30cf
DXV decoder
...
Support all DXDI and DXD3 normal quality videos.
2015-09-02 22:22:02 +02:00
Luca Barbato
0c7707610f
lavc: Add a lzf decompressor
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-09-02 21:56:22 +02:00
Luca Barbato
4dc9f00365
build: Skip libvpx.h if libvpx is not enabled
2015-08-31 21:37:18 +02:00
Michael Niedermayer
87a11db220
dnxhddata: Double frame_size for cid 1260
...
Despite '417792' being reported in the binary decoder, the buffer at
encoding time needs to be bigger to avoid running out of space due to
interlace handling.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-08-31 17:14:08 +02:00
Vittorio Giovara
b0d94324d2
libfdk-aacdec: Remove unused variable
2015-08-31 15:24:30 +02:00
Vittorio Giovara
e88103a7f9
Bump major versions of all libraries
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-08-28 16:04:28 +02:00
Vittorio Giovara
4e649debcf
Postpone API-incompatible changes until the next bump
2015-08-28 16:04:28 +02:00
Vittorio Giovara
8f12ef9860
lavu: Drop deprecated duplicated AVFrame/AVCodecContext parameters
...
Deprecated in 10/2012.
2015-08-28 16:04:27 +02:00
Vittorio Giovara
cad40a3833
lavc: Drop deprecated deinterlace module
...
Deprecated in 03/2013.
2015-08-28 16:04:19 +02:00
Vittorio Giovara
069713aa4b
lavc: Drop deprecated thread opaque and codec pkt
...
These fields were never part of the public API.
2015-08-28 16:01:17 +02:00
Vittorio Giovara
9f90b24877
lavc: Drop deprecated get_buffer related functions
...
Deprecated in 11/2012.
2015-08-28 16:01:16 +02:00
Vittorio Giovara
01bcc2d5c2
lavc: Drop deprecated destruct_packet related functions
...
Deprecated in 10/2012.
2015-08-28 16:01:16 +02:00
Vittorio Giovara
dc70c19476
lavc: Drop deprecated request_channels related functions
...
Deprecated in 04/2011.
2015-08-28 16:01:16 +02:00
Luca Barbato
413d4e54a9
nvenc: Properly free the fifos
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-08-25 19:47:43 +02:00
Vittorio Giovara
d68705c975
dnxhddata: Add tables for missing DNx100 profiles
...
1440x1080@8 progressive (1259) and interlaced (1260).
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-08-24 13:20:10 +02:00
Vittorio Giovara
a4615572b5
dnxhddata: Merge a few duplicated RUN tables
2015-08-24 13:20:04 +02:00
Vittorio Giovara
efbfb1ad11
dnxhddata: Group together RUN-related tables
...
This helps in finding duplicates.
2015-08-24 13:19:58 +02:00
Vittorio Giovara
403ea4ac72
dnxhddata: Merge a few duplicated DC tables
2015-08-24 13:19:43 +02:00
Vittorio Giovara
5e129ed655
dnxhddata: Group together DC-related tables
...
This helps in finding duplicates.
2015-08-24 13:19:36 +02:00
Vittorio Giovara
d3ae4c6594
dnxhddata: List the reused tables in a comment
2015-08-24 13:19:28 +02:00
Vittorio Giovara
fdd021884d
dnxhddata: Keep a single CID in the table names
...
Use a comment to list the reused tables, since it's more flexible than a
table name to keep information like this. The list will expand in later
commits.
2015-08-24 13:19:06 +02:00
Luca Barbato
d5eab59a53
aac: Make sure to set err on the failure path
...
Bug-Id: CID 1308153
2015-08-23 21:44:38 +02:00
Luca Barbato
167ea1fbf1
xavs: Do not try to set the bitrate tolerance without a bitrate
...
Avoid a division by zero.
Bug-Id: CID 1257655
2015-08-23 21:44:38 +02:00
Luca Barbato
61d8fa2a1a
h264: Fix faulty call to avpriv_request_sample
...
Broken in f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068
2015-08-22 01:42:19 +02:00
John Högberg
f9ab4fe1f7
h264: Discard currently unsupported registered sei
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-08-21 12:03:36 +02:00
Luca Barbato
47b447aaff
imgutils: Fix a typo in avcodec_get_pix_fmt_loss
...
If the candidate does not have alpha and the source does have alpha
report the loss of alpha.
CC: libav-stable@libav.org
2015-08-21 12:03:36 +02:00
Anton Khirnov
d8ebb6157d
hevcdsp: fix a function name
...
put_weighted_pred_avg should be put_unweighted_pred_avg, there is no
weighting there.
2015-08-21 08:46:05 +02:00
Anton Khirnov
a1926a29fb
hevc: avoid invalid shifts of negative values
2015-08-21 08:45:37 +02:00
Federico Tomassetti
7bf9647264
vp7: bound checking in vp7_decode_frame_header
...
CC: libav-stable@libav.org
2015-08-16 19:02:16 +02:00
Martin Storsjö
f34b152eb7
libfdk-aacdec: Clean up properly if the init fails
...
Previously most of the error paths leaked.
Also add FF_CODEC_CAP_INIT_THREADSAFE while adding caps_internal;
this decoder wrapper doesn't have any static data that is initialized.
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-08-16 00:18:00 +03:00
Martin Storsjö
1b90433f79
libfdk-aacdec: Always decode into an intermediate buffer
...
For ADTS streams, the output format (number of channels, frame size)
can change at any point (with the latest version of fdk-aac, the decoder
seems to change format after a handful of frames, not outputting the
right format immediately, for cases that worked fine with the earlier
version of the lib).
Previously, the decoder decoded straight into the output frame once the
number of channels and frame size was known. This obviously does not
work if the number of channels or frame size changes.
The alternative would be to allocate the AVFrame with the maximum number
of channels and frame size, and change them afterward decoding into it,
but that may cause confusion to users e.g. of the get_buffer callback.
This solution should be more robust.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-08-16 00:17:49 +03:00
Martin Storsjö
87de6ddb7b
libfdk-aacdec: Bump the max number of channels to 8
...
In the latest version of fdk-aac, the decoder can output up to 8
channels; take this into account when preallocating buffers that
need to fit the output from any packet.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-08-16 00:17:46 +03:00
Henrik Gramner
ab43beefab
x86inc: Drop SECTION_TEXT macro
...
The .text section is already 16-byte aligned by default on all supported
platforms so `SECTION_TEXT` isn't any different from `SECTION .text`.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-08-11 11:12:01 +02:00
Henrik Gramner
9f1245eb96
x86inc: Support arbitrary stack alignments
...
Change ALLOC_STACK to always align the stack before allocating stack space for
consistency. Previously alignment would occur either before or after allocating
stack space depending on whether manual alignment was required or not.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-08-11 11:04:11 +02:00
Henrik Gramner
4a53c758d2
x86: dcadsp: Avoid SSE2 instructions in SSE functions
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-08-11 09:22:46 +02:00
Paolo Bizzarri
1542ec9638
cosmetics: Drop spurious spaces from if clauses
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-08-08 01:26:38 +02:00
Luca Barbato
0f562f5b83
h264: Do not print an error when the buffer has to be refilled
...
Partially amends 9469370fb32679352e66826daf77bdd2e6f067b5
2015-08-06 11:55:48 +02:00
Jake Sebastian-Jones
9469370fb3
h264: Use AVERROR return codes instead of -1
...
And report why it fails.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-08-05 11:40:30 +02:00
Luca Barbato
4fee11ab05
png: Be more informative regarding signature errors
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-08-02 14:31:09 +02:00
Anton Khirnov
14e5580246
opusdec: properly handle mismatching configurations in multichannel streams
...
The substreams can have different resampling delays, so an additional
level of buffering is needed to synchronize them.
Bug-Id: 876
2015-08-02 08:43:51 +02:00
Henrik Gramner
ebaf571aca
x86: dct: Disable dct32_float_sse on x86-64
...
There is an SSE2 implementation so the SSE version is never used. The "SSE"
version also happens to contain SSE2 instructions on x86-64.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-08-02 08:41:45 +02:00
Luca Barbato
979cb55103
hevc: Split the sei parsing in 3 functions
2015-08-01 15:45:50 +02:00
Luca Barbato
043f46f574
hevc: Use switch instead of if-nests in decode_nal_sei_message
...
Makes simpler to add support for more SEI types.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-08-01 15:34:45 +02:00