Derek Buitenhuis
bb6b1731eb
Add libx265 encoder
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Michael Niedermayer
c33351f3e7
avcodec/mpegaudio_parser: Delay setting codec_id if it appears wrong
...
Fixes mp1/mp3 in mp4 misdetection
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
5669ae8401
avcodec/mpegaudio_parser: treat codec_id like the other parameters
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
d3068d25ca
avcodec: Add avpriv_mpa_decode_header2()
...
The difference to avpriv_mpa_decode_header() is that it doesnt need or modify the context
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
John Stebbins
52771346dc
lavc: set AVFrame pkt_pts and reordered_opaque in reget_buffer
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Kostya Shishkov
6477449243
g2meet: make JPEG tile decoder operate on 8x8 block mask
...
This is needed for upcoming Go2Meeting (G2M2/G2M3) decoder.
11 years ago
Maxim Poliakovski
d6d7851801
g2meet: factor out seeking to the chunk end
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
11 years ago
Michael Niedermayer
8f92edf6f8
avcodec/ra144: remove redundant AV_ZERO128
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Christophe Gisquet
c3390fd56c
ra144: use scalarproduct_int16
...
The buffer holding the coefficients must be padded with 0 so as to use DSP
functions that may overread. Currently, the SSE2/3 versions is an example,
as they process batches of 16 bytes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
77bb0004bb
rpza: limit the number of blocks to the total remaining blocks in the frame
...
Fixes invalid writes.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
11 years ago
Anton Khirnov
a46dc49744
rpza: move some variables to the blocks where they are used
11 years ago
Anton Khirnov
c7769df178
rpza: use fixed-width int types
11 years ago
Anton Khirnov
e1218ce914
rpza: switch to bytestream2
11 years ago
Luca Barbato
246d3bf0ec
hevc: Conceal zero td
...
It was done only in check_mvset(), while mv_scale() is called also by
dist_scale().
Sample-Id: 00001579-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years ago
Kostya Shishkov
e95018b694
dnxhd: Support DNx444
...
Bug-Id: 99
Bug-Id: videolan/9620
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Ronald S. Bultje
2f6eec65ac
vp8: fix PPC assembly to work if src_stride != dst_stride
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
11 years ago
Janne Grunau
6a8475dc4f
asvenc: free avctx->coded_frame on codec close
11 years ago
Clément Bœsch
c333987876
vp9: fix compilation with !HAVE_FAST_64BIT.
...
Spotted-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
11 years ago
Martin Storsjö
d6eac2f1bc
arm: Remove a stray .fpu directive
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Alexandra Khirnova
28e508a946
dnxhddec: return proper error code
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Ronald S. Bultje
0d4d223353
vp9: invert order in l[] intra prediction array.
...
The directional intra predictors either don't care about order (dc, h,
dc_left, tm), or they prefer inverted order (vr, dr, hd). This allows
more efficient SIMD implementations.
11 years ago
Ronald S. Bultje
37c6eac296
vp9: remove memset in loopfilter level setting loop.
...
Use same function for segmentation map writing also.
11 years ago
Ronald S. Bultje
45245e202e
vp9: coef decoding context-splat speedup.
11 years ago
Ronald S. Bultje
fccd7d81b6
vp9: decode_mode context optimizations.
11 years ago
Ronald S. Bultje
1dc8559e25
vp9: more aligned zeroes.
11 years ago
Ronald S. Bultje
0c30c8ddc1
vp9: faster skip-block coefficient blanking.
11 years ago
Ronald S. Bultje
cdfcd06126
vp9: coef context reading optimization.
11 years ago
Ronald S. Bultje
9aeca1c572
vp9: just disallow temporal or no-update segmentation on size-change.
...
The spec doesn't describe how it should be decoded so this is probably
the safest thing to do. Fixes valgrind errors on fuzzed11.ivf and fixes
valgrind errors on fuzzed10.ivf differently.
11 years ago
mrlika
36a6297953
avcodec/dvbsubdec: DVB subtitles decoder: support of 5 bytes extradata format
...
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Maxim Poliakovski
bc3f03567a
g2meet: rename FRAME_INFO to more appropriate DISPLAY_INFO
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
11 years ago
Maxim Poliakovski
ae95b2f810
g2meet: Validate bpp and bitmasks in the display info
...
That prevents processing of media files with
incompatible or unsupported settings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Maxim Poliakovski
3f826039dd
g2meet: factor out chunk seeking
...
This version requires fewer code and is safer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Maxim Poliakovski
cb2162adba
g2meet: Rename FRAME_INFO to more appropriate DISPLAY_INFO
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Ronald S. Bultje
0c67864a37
vp9: don't allow retaining old segmentation maps after a size change.
...
Fixes valgrind warnings on fuzzed10.ivf.
11 years ago
Tim Walker
c1e7de8f62
mlp_parser: fix request_channel_layout behavior.
...
When request_channel_layout is 0,
all substreams should be decoded.
Thanks to Michael Niedermayer for spotting.
Also fix a mismatch between the parser and
decoder when request_channel_layout is a
subset of Stereo.
11 years ago
Michael Niedermayer
f90a4bfc43
mlpdec: fix request_channel_layout behavior.
...
When request_channel_layout is 0,
all substreams should be decoded.
Signed-off-by: Tim Walker <tdskywalker@gmail.com>
11 years ago
Ronald S. Bultje
7f0f47b3df
vp9: some variable re-arrangements for alignment.
11 years ago
Ronald S. Bultje
af63ea7078
vp9: re-allocate block buffers on uses_2pass change w/o size change.
...
Fixes valgrind errors and crashes in fuzzed9.ivf.
11 years ago
Michael Niedermayer
bd35d58463
avcodec/mlp_parser: fix multichannel
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
1a8050ad61
avcodec/mlpdec: fix mulichannel output
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Kostya Shishkov
cde7df25ef
Mirillis FIC video decoder
...
Does not contain cursor rendering yet.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Tim Walker
c0c45188e5
mlp: improve request_channel_layout behavior.
...
Don't decode further substreams if request_channel_layout
is a subset of the current substream's channel_layout.
Before, we would only discard further substreams if
request_channel_layout matched the substream's
channel_layout extactly, thus decoding additional
channels which the caller would probably end up downmixing.
11 years ago
Janne Grunau
5c1c6e8226
dca: include dcadsp.h in {arm,x86}/dca.h for checkheaders
11 years ago
Vittorio Giovara
b141c7b37e
h264: give numbers to nalus
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
11 years ago
Ronald S. Bultje
c72f587353
vp9/parser: change size type to unsigned.
...
Fixes valgrind errors in fuzzed8.ivf because size >= 0x80000000.
11 years ago
Michael Niedermayer
3b6655ebff
avcodec/hevc: remove FFUMOD() in slice qp_y init
...
This has become redundant
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
1e263133cc
avcodec/hevc: remove unused variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Janne Grunau
0cffd6fff5
x86: use the inline int8x8_fmul_int32 only if inline SSE2 is availbale
...
Fixes compilation with MSVC. Also does not rely on on earlier config.h
include but include it directly.
11 years ago
Carl Eugen Hoyos
4bcc6febcf
Fix compilation with --disable-everything --enable-encoder=flac.
11 years ago
Ronald S. Bultje
bbc3425fa2
vp9: fix mix-up of last-frame/cur-frame in frame size checks.
...
Fixes invalid reads in fuzzed7.ivf.
11 years ago