Derek Buitenhuis
955544e4d0
libx265: Fix use of uninitialized input picture
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
James Almer
e87974bc00
flac/x86: add ff_flac_lpc_32_xop()
...
Tested on an AMD FX 6300
679081 decicycles in ff_flac_lpc_32_xop, 32768 runs
774425 decicycles in ff_flac_lpc_32_sse4, 32768 runs
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
James Darnley
623f380a18
lavc: fix flac encoder and decoder dependencies
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Janne Grunau
73eca738ac
mpeg12dec: do not add stereo3D side data to a non-existing frame
...
User data is usually coded before slice data. That means the frame
the user data belongs to is not available while parsing the user data.
The stereo3D side data has to use the same indirection over the private
context as pan scan information and A53 captions.
Bug-Id:632
11 years ago
Michael Niedermayer
ccc48b318b
avcodec/arm/int_neon: fix handling sizes % 16 != 0
...
This assumes the array is sufficiently padded with 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
James Almer
429f742a61
tta: split off hybrid filter processing as ttadsp
...
Signed-off-by: James Almer <jamrial@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Janne Grunau
f795a8a8bf
h264: make context_count unsigned
...
Removes the bogus but scary looking warning 'libavcodec/h264.c:4529:49:
warning: array subscript is below array bounds [-Warray-bounds]'.
11 years ago
Derek Buitenhuis
50ea93158d
Add libx265 encoder
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Derek Buitenhuis
bb6b1731eb
Add libx265 encoder
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
John Stebbins
462d5e8e6c
aacdec: set AVFrame sample_rate
...
AVFrame.sample_rate is set in ff_get_buffer, but aacdec calls
ff_get_buffer before the samplerate is known. So it needs to be
set again before returning the frame.
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