Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-09lavc/hevc: store VPS/SPS/PPS dataMatthieu Bouron
2016-05-07hevc: fix size condition in ptl parsingHendrik Leppkes
When only one sublayer is present, no information is coded. Only when at least two are present, all 8 sublayers are written. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-03-13lavc/hevc_ps: Fix default display window offsets for yuv422 and yuv444.Carl Eugen Hoyos
2016-03-13lavc/hevc_ps: Support GBR decoding.Carl Eugen Hoyos
2016-03-09lavc/hevc_ps: Fix offset for yuv422 and yuv444.Carl Eugen Hoyos
Fixes ticket #4980. Analyzed-by: kurosu and Hendrik Reviewed-by: Ronald
2016-02-01hevc: set profile based on the profile compatibility flags if neededHendrik Leppkes
This fixes retrieving a valid profile for many of the FATE conformance samples, allowing them to be properly decoded by the HWAccel after adding a profile check.
2015-11-05avcodec/hevc_ps: Check chroma_format_idcMichael Niedermayer
Fixes out of array access Fixes: 24d05e8b84676799c735c9e27d97895e/asan_heap-oob_1b70f6a_2955_7c3652a7f370f9f3ef40642bc2c99bb2.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-03dxva2_hevc: properly signal the num_delta_pocs from the SPS RPSHendrik Leppkes
ucNumDeltaPocsOfRefRpsIdx needs to contain the flat value from the SPS RPS, and not the final computed value from the slice header RPS, as this calculation is done internally by the driver again. Sample-Id: http://trailers.divx.com/hevc/Sintel_4k_27qp_24fps_1aud_9subs.mkvi
2015-07-27Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615'Michael Niedermayer
* commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615': lavc: AV-prefix all codec flags Conflicts: doc/examples/muxing.c ffmpeg.c ffmpeg_opt.c ffplay.c libavcodec/aacdec.c libavcodec/aacenc.c libavcodec/ac3dec.c libavcodec/ac3enc_float.c libavcodec/atrac1.c libavcodec/atrac3.c libavcodec/atrac3plusdec.c libavcodec/dcadec.c libavcodec/ffv1enc.c libavcodec/h264.c libavcodec/h264_loopfilter.c libavcodec/h264_mb.c libavcodec/imc.c libavcodec/libmp3lame.c libavcodec/libtheoraenc.c libavcodec/libtwolame.c libavcodec/libvpxenc.c libavcodec/libxavs.c libavcodec/libxvid.c libavcodec/mpeg12dec.c libavcodec/mpeg12enc.c libavcodec/mpegaudiodec_template.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/mpegvideo_motion.c libavcodec/nellymoserdec.c libavcodec/nellymoserenc.c libavcodec/nvenc.c libavcodec/on2avc.c libavcodec/options_table.h libavcodec/opus_celt.c libavcodec/pngenc.c libavcodec/ra288.c libavcodec/ratecontrol.c libavcodec/twinvq.c libavcodec/vc1_block.c libavcodec/vc1_loopfilter.c libavcodec/vc1_mc.c libavcodec/vc1dec.c libavcodec/vorbisdec.c libavcodec/vp3.c libavcodec/wma.c libavcodec/wmaprodec.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/me_cmp_init.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-27lavc: AV-prefix all codec flagsVittorio Giovara
Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-18avcodec/hevc_ps: Also print depth in failure path of map_pixel_format()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-15hevc: Split the struct setup from the pps parsingLuca Barbato
2015-07-15Merge commit 'c88c5eef53ff1619724ba47b722da64ec0593dab'Michael Niedermayer
* commit 'c88c5eef53ff1619724ba47b722da64ec0593dab': hevc: Split the struct setup from the pps parsing Conflicts: libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-14Merge commit '32c8d89c036b0e75ece74aea638df587099def0b'Michael Niedermayer
* commit '32c8d89c036b0e75ece74aea638df587099def0b': hevc: Print the non-supported chroma_format_idc Conflicts: libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-14Merge commit '8e373fe048812a25b238ea60a7052b8c07639a42'Michael Niedermayer
* commit '8e373fe048812a25b238ea60a7052b8c07639a42': hevc: Factor out the pixel format mapping from the sps parser Conflicts: libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-13hevc: Print the non-supported chroma_format_idcLuca Barbato
And drop the spurious newline. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-13hevc: Factor out the pixel format mapping from the sps parserLuca Barbato
The function will grow larger as more formats are supported. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-13hevc_ps: make sure failing to decode an SPS always returns an errorAnton Khirnov
Some of the goto err clauses do not set the error code. It seems better to fall back on INVALIDDATA instead of adding it everywhere explicitly.
2015-07-12Merge commit 'b11acd57326db6c2cc1475dd0bea2a06fbc85aa2'Michael Niedermayer
* commit 'b11acd57326db6c2cc1475dd0bea2a06fbc85aa2': hevc: remove HEVCContext usage from hevc_ps Conflicts: libavcodec/hevc.c libavcodec/hevc_cabac.c libavcodec/hevc_filter.c libavcodec/hevc_mvs.c libavcodec/hevc_ps.c libavcodec/hevc_refs.c libavcodec/hevcpred_template.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-12hevc: remove HEVCContext usage from hevc_psAnton Khirnov
Factor out the parameter sets into a separate struct and use it instead. This will allow us to reuse this code in the parser.
2015-07-09avcodec/hevc_ps: Remove gotos from ff_hevc_parse_sps()Michael Niedermayer
They are currently unnecessary Found-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-07-09avcodec/hevc_ps: Do not return success on failures in ff_hevc_parse_sps()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-07-09Merge commit 'fd124d8357b1becfde3ac8d5e3320127cf97a5b7'Michael Niedermayer
* commit 'fd124d8357b1becfde3ac8d5e3320127cf97a5b7': hevc_ps: split the code for parsing the SPS and exporting it into the context Conflicts: libavcodec/hevc.c libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-07-09hevc_ps: split the code for parsing the SPS and exporting it into the contextAnton Khirnov
This will be useful in the later commits, where we want to parse an SPS without having a whole decoding context.
2015-06-18avcodec/hevc_ps: Only discard overread VPS if a previous is availableMichael Niedermayer
Fixes Ticket4621 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-13avcodec/hevc_ps: Move log2_ctb_size checks up to prevent undefined shift ↵Michael Niedermayer
operations Fixes CID1292293 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-13avcodec/hevc_ps: Explicitly check num_tile_* for negative valuesMichael Niedermayer
This fixes nothing but maybe helps coverity which does not see that this is failing later Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-13avcodec/hevc_ps: Check vps_num_hrd_parametersMichael Niedermayer
Fix CID1239052 part2 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-13avcodec/hevc_ps: More completely check vps_num_layer_setsMichael Niedermayer
Fixes CID1239052 part1 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-28avcodec/hevc: Remove current_spsMichael Niedermayer
The variable should not be needed anymore Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-22avcodec: use av_mod_uintp2() where usefulJames Almer
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
2015-04-03Merge commit 'df528b11ac607de13a7c438f2a51f2119f71a03c'Michael Niedermayer
* commit 'df528b11ac607de13a7c438f2a51f2119f71a03c': hevc: make sure no dangling pointers remain around on VPS/SPS change Conflicts: libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-03Merge commit 'ce0bc09ee2580d49fec90a6eb0de2ba1b580c854'Michael Niedermayer
* commit 'ce0bc09ee2580d49fec90a6eb0de2ba1b580c854': hevc: do not change the VPS if its contents are the same Conflicts: libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-03hevc: make sure no dangling pointers remain around on VPS/SPS changeAnton Khirnov
2015-04-03hevc: do not change the VPS if its contents are the sameAnton Khirnov
This is the same as is done for SPS.
2015-03-21avcodec/hevc_ps: Check cropping parameters more correctlyMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-21hevc: zero the correct variables on invalid crop parametersAnton Khirnov
It's the output_window that is applied to the output frame, not pic_conf_win
2015-02-26avcodec/hevc_ps: Check that log2_ctb_size is not smaller than the bounds of ↵Michael Niedermayer
all profiles Fixes: unaligned memory access Fixes: signal_sigsegv_3344165_576_cov_3406448105_DBLK_A_MAIN10_VIXS_2.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Suggested-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-25avcodec/hevc_ps: Sanity checks for some log2_* valuesMichael Niedermayer
log2 values which imply numeric overflow are not supported Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-02avcodec/hevc: adding support for monochrome sequences in hevcMickaël Raulet
cherry picked from commit 8e50557707d2ec11ccad657470b2e140f314348e Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-12-18avcodec/hevc_ps: Check diff_cu_qp_delta_depthMichael Niedermayer
Fixes undefined behavior Fixes: asan_static-oob_17aa046_582_cov_1577759978_DBLK_G_VIXS_1.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-12-06avcodec/hevc_ps: Add context to av_log() callMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-28avcodec/hevc_ps: Check num_long_term_ref_pics_spsMichael Niedermayer
Fixes out of array access Fixes: signal_sigsegv_35bd0f0_1182_cov_791726764_STRUCT_B_Samsung_4.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-27avcodec/hevc_ps: More complete window resetMichael Niedermayer
Fixes out of array read Fixes: signal_sigsegv_35bcf26_471_cov_2806540268_CAINIT_A_SHARP_4.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-27avcodec/hevc_ps: Check return code from pps_range_extensions()Michael Niedermayer
Fixes out of array read Fixes: asan_heap-oob_177e222_885_cov_1532528832_MERGE_D_TI_3.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-27avcodec/hevc_ps: Check default display window bitstream and skip if invalidMichael Niedermayer
Fixes Ticket4035 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-06avcodec/hevc_ps: Always initialize backup in decode_vui()Michael Niedermayer
Fixes CID1237283 Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-23avcodec/hevc_ps: fix 1 vs. 0 typoMichael Niedermayer
Found-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-22hevc_ps: check overflow and test alternate syntaxChristophe Gisquet
Some streams were found to have what appeared to be truncated SPS. Their syntax seem to be valid at least until the end of the VUI, so try that syntax if the parsing would overflow the SPS in the conforming syntax. Fixes ticket #3872. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-20avcodec/hevc_ps: do cleanup in case of unsupported bit depthMichael Niedermayer
Fixes memleak Fixes CID1231989 Reviewed-by: Timothy Gu <timothygu99@gmail.com> Reviewed-by: Mickaël Raulet <mraulet@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>