Michael Niedermayer
9e70475551
avcodec/jpeg2000dec: Assert that step_x/y are valid
...
Fixes CID1322304, CID1322305
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
205c31b301
avcodec/hapdec: Check section_size for non negativity in parse_section_header()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Carl Eugen Hoyos
f253c34175
lavc/j2kenc: Remove experimental flag.
...
The encoder produces valid and - if requested - lossless files.
10 years ago
Ronald S. Bultje
9ee2ddd773
vp9_parse: fix parsing of pskip and profile 2/3.
...
The fate results change because we now correctly timestamp the pskip
frames, which means the results are now identical to -vsync 0.
10 years ago
Ronald S. Bultje
10142f994a
libvpxdec: explicitly signal RGB.
10 years ago
Ronald S. Bultje
4ecb8b4191
vp9: don't erase values for {lf,ref,skip,q}_enabled if segmentation=0.
...
Instead, use segmentation.enabled before accessing each of these values.
10 years ago
Ronald S. Bultje
8b45e87f64
vp9: fix segmentation map retention across keyframe boundaries.
10 years ago
Ronald S. Bultje
7cc7d13fe3
vp9: fix RGB chroma subsampling.
10 years ago
Ronald S. Bultje
ecd9f57edc
vp9: read reserved bit in RGB header.
10 years ago
Ronald S. Bultje
48f641a18b
vp9: clip intermediates in dequant calculations.
...
This makes values consistent with libvpx.
10 years ago
Ronald S. Bultje
eaff36c973
vp9: fix segmentation map retention if segmentation is turned off.
10 years ago
Ronald S. Bultje
8d25a11dc7
vp9: use resetctx in the same way as libvpx.
10 years ago
Ronald S. Bultje
cc9d3a3e36
vp9: fix indentation.
10 years ago
Ronald S. Bultje
caf6512ac4
vp9: deal with the case where update_map=0 but we're key/intraonly.
10 years ago
Ronald S. Bultje
339550e7c8
vp9: reset segmentation information on context reset.
10 years ago
Michael Niedermayer
fb04666995
avcodec/g2meet: Also clear tile dimensions on header_fail
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
71ec8e1ed6
avcodec/g2meet: Fix potential overflow in tile dimensions check
...
Fixes CID1322351
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
c447ab0e74
avcodec/eatgq: Check init_get_bits8() for failure
...
Fixes CID1322315
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
66a7bc0010
avcodec/adpcm: Check init_get_bits8() for failure
...
Fixes CID1322317
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
325ee610ba
avcodec/libfdk-aacdec: Remove unused variable
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
bd6610c3b3
avcodec/hevc_parser: Check init_get_bits8() for failure
...
Fixes: CID1322322
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
194dd15558
avcodec/ira288: Check init_get_bits8() for failure
...
Fixes: CID1322321
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
21d8c6612f
avcodec/smacker: Check init_get_bits8() for failure
...
Fixes: CID1322314
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
6ae1a32d8a
avcodec/sonic: Check init_get_bits8() for failure
...
Fixes: CID1322310
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Luca Barbato
a7e6fbd90e
dxtory: Factorize the buffer loading
...
And the checks nearby it.
10 years ago
Luca Barbato
6a6bc43f5f
dxtory: Factorize slice size checks
...
They are always the same.
10 years ago
Michael Niedermayer
a51d4246d8
avcodec/svq1dec: Check init_get_bits8() for failure
...
Fixes: CID1322313
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
f1593e4ca5
avcodec/tta: Check init_get_bits8() for failure
...
Fixes: CID1322319
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
cbd3cd8eb2
avcodec/vp3: Check init_get_bits8() for failure
...
Fixes CID1322316
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
e5aa6f7021
avcodec/gsmdec_template: avoid undefined negative left shifts
...
Fixes: unknown_unknown_338_824_cov_1045285351_sample-gsm-8000.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Claudio Freire
5131ba5657
AAC: MIPS: Add missing codebooks in quantize funcs
...
Add entries on the quantize function tables for the missing
codebooks (which all behave like ZERO)
10 years ago
Michael Niedermayer
db9fd1e9af
fraps: increase vlc nb_bits
...
Sample-Id: fraps_bug_huff.avi
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Michael Niedermayer
741d353ab9
huffman: allow specifying nb_bits to ff_huff_build_tree()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Michael Niedermayer
26960aa1cd
huffman: increase bits constant
...
Bug-ID: ffmpeg ticket 2593
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Michael Niedermayer
5a19bce2ff
huffman: use a named identifer for the bits constant
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Luca Barbato
5a1a9da8a7
mpegvideo: Drop a stray error message
...
The condition is not a failure.
10 years ago
Paul B Mahol
9136e65c40
avcodec/fraps: use init_get_bits8()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
81f7a2579b
avcodec/vorbisdec: use init_get_bits8()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Vittorio Giovara
c45fcf30cf
DXV decoder
...
Support all DXDI and DXD3 normal quality videos.
10 years ago
Luca Barbato
0c7707610f
lavc: Add a lzf decompressor
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Michael Niedermayer
863522431f
avcodec/mpeg12dec: Fix integer overflow
...
Fixes: signal_sigabrt_7ffff6ac8cc9_686_cov_1897408623_microsoft_new_way_to_shove_mpeg2_in_asf.dvr_ms
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
d9b56895b5
avcodec/mpegvideo: change bit_rate to 64bit
...
32bit is not sufficient for all cases
Fixes: signal_sigabrt_7ffff6ac8cc9_686_cov_1897408623_microsoft_new_way_to_shove_mpeg2_in_asf.dvr_ms
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
5b6a50e150
avcodec/mpegvideo_parser: Fix integer overflow
...
Fixes: signal_sigabrt_7ffff6ac8cc9_686_cov_1897408623_microsoft_new_way_to_shove_mpeg2_in_asf.dvr_ms
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
cf818be4f2
avcodec/truemotion1: Fix undefined behavior (left shift of negative value)
...
Fixes: asan_heap-oob_26f6853_862_cov_585961513_sonic3dblast_intro-partial.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
周晓勇
95010d49a2
avcodec: loongson optimize mpeg2 dct unquantize intra and denoise dct
...
Change-Id: I2f391ae912a079fb32f0703841dca86358aac72a
Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
933309a6ca
avcodec/mips/aaccoder_mips: disable optimizatios which break fate-aac-pns-encode
...
These should be re enabled once the issue is fixed
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Rostislav Pehlivanov
20dc527139
aacenc: reorder coding tools
...
This commit reorders the coding tools such that they're doing what
the decoder does in reverse order. The very first thing the decoder
does is to decode M/S stereo if that's signalled, then prediction,
IS, and finally TNS and PNS in another function.
adjust_frame_information()'s application of IS and M/S was taken
out into two separate functions since prediction doesn't expect
to get the raw coefficients but rathe the coefficients at that
part of the encoding process.
The results show a much better PSNR when any combination of
Intensity Stereo, Mid/Side stereo and Prediction is used, which
is a sign of an increased encoder efficiency as well as the fact
that the decoder gets what it expects.
Otherwise, with only IS, PNS or prediction there are neither
regressions nor improvements except in the case of IS, which
now by itself (or with PNS) is less prone to artifacts. Enabling
M/S (using stereo_mode) as well will also reduce stereo artifacts
induced by IS, so in the very near future M/S may be enabled
by default.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
10 years ago
Rainer Hochecker
62bd8deef9
avcodec/hevc_parser: fix split function of parser
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
b7baebb754
avcodec/ffv1dec: Print CRCs at picture debug level
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
eac161451d
avcodec/ffv1dec: Check that there is enough space for the CRC in the global header
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago