summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.c
Commit message (Collapse)AuthorAge
* hevc: templatize intra_predAnton Khirnov2014-05-19
|
* hevc: Do not turn 32bit timebases into negative numbersMichael Niedermayer2014-03-09
| | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* hevc: use av_mallocz() for allocating tab_ipmMichael Niedermayer2014-03-09
| | | | | Fixes use of uninitialized memory and out of stack array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* hevc: Always consider VLC NALU type mismatch fatalLuca Barbato2014-02-19
| | | | | | Sample-Id: 00001667-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* hevc: check that the VCL NAL types are the same for all slice segments of a ↵Anton Khirnov2014-02-04
| | | | | | | | | | frame Fixes possible invalid memory access for mismatching skipped/non-skipped slice segments. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Sample-Id: 00001533-google
* hevc: Reject impossible slice segmentLuca Barbato2014-02-01
| | | | | | | | | A dependent slice cannot have address 0. Prevent an out of array bound load in ff_hevc_cabac_init(). Sample-Id: 00001406-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* hevc: Bound check cu_qp_deltaLuca Barbato2014-01-21
| | | | | The T-REC-H.265-2013044 page 91 states it has to be in the range [-(26 + s->sps->qp_bd_offset / 2), (25 + s->sps->qp_bd_offset / 2)].
* hevc: Bound check slice_qpLuca Barbato2014-01-21
| | | | | | | | | The T-REC-H.265-2013044 page 79 states it has to be in the range [-s->sps->qp_bd_offset, 51]. Sample-Id: 00001386-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* hevc: Prevent some integer overflowsLuca Barbato2014-01-21
| | | | | | | | get_ue_golomb_long() returns an unsigned. Sample-Id: 00001541-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* hevc: Fix modulo operationsMichael Niedermayer2014-01-21
| | | | | | | Keep qp fields within the range. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hevc: fix decoding of one PU wide filesGuillaume Martres2014-01-09
| | | | | | | For those the block size may be larger than the source linesize (if the edges are not allocated). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: support luma bit depth != chroma bit depth for PCM coding unitsMickaël Raulet2013-12-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: store profile and level in AVCodecContextGildas Cocherel2013-12-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: add HEVC profiles namesGildas Cocherel2013-12-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: set time_base when possibleGuillaume Martres2013-12-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: store the VPS list as an AVBufferRef, just like the others *PSGildas Cocherel2013-12-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: do not dereference pointer before NULL check in verify_md5()Michael Niedermayer2013-12-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: parse frame packing arrangement SEI messages and save relevant ↵Vittorio Giovara2013-12-09
| | | | stereo3d information
* lavc: Edge emulation with dst/src linesizeRonald S. Bultje2013-11-15
| | | | | | Allow supporting files for which the image stride is smaller than the maximum block size + number of subpel mc taps, e.g. a 64x64 VP9 file or a 16x16 VP8 file with -fflags +emu_edge.
* hevc: Use parsed VUI colorimetry in avcodecJan Ekström2013-11-04
| | | | | | Also limit the parsed VUI values to known valid ones. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Add HEVC decoderGuillaume Martres2013-10-31
Initially written by Guillaume Martres <smarter@ubuntu.com> as a GSoC project. Further contributions by the OpenHEVC project and other developers, namely: Mickaël Raulet <mraulet@insa-rennes.fr> Seppo Tomperi <seppo.tomperi@vtt.fi> Gildas Cocherel <gildas.cocherel@laposte.net> Khaled Jerbi <khaled_jerbi@yahoo.fr> Wassim Hamidouche <wassim.hamidouche@insa-rennes.fr> Vittorio Giovara <vittorio.giovara@gmail.com> Jan Ekström <jeebjp@gmail.com> Anton Khirnov <anton@khirnov.net> Martin Storsjö <martin@martin.st> Luca Barbato <lu_zero@gentoo.org> Yusuke Nakamura <muken.the.vfrmaniac@gmail.com> Reimar Döffinger <Reimar.Doeffinger@gmx.de> Diego Biurrun <diego@biurrun.de> Signed-off-by: Anton Khirnov <anton@khirnov.net>