summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_parser.c
Commit message (Collapse)AuthorAgeFilesLines
* lavc: use get_bitsz to simplify the codeAndreas Cadhalpun2016-01-031-1/+1
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avcodec/hevc_parser: Check init_get_bits8() for failureMichael Niedermayer2015-09-041-1/+5
| | | | | | Fixes: CID1322322 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hevc_parser: fix split function of parserRainer Hochecker2015-09-021-7/+18
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hevc_parser: Treat extradata parsing differently, as it should not ↵Michael Niedermayer2015-07-191-2/+16
| | | | | | | | contain an AU Fixes ticket4718 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hevc_parser: Fix memleaks in parser mixMichael Niedermayer2015-07-131-1/+11
| | | | | Found-by: jamrial Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hevc_parser: use the old parser only when hevc decoder is availableJames Almer2015-07-131-5/+5
| | | | | | | If it's not, then the new dependence-free parser will be used instead Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/hevc_parser: Reenable the old parser under ADVANCED_PARSER defineMichael Niedermayer2015-07-131-174/+197
| | | | | | | Feel free to use either, they both work but the old one provides more information but needs the hevc decoder Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '650060dfb665552442ec11b456660e3e9a9d9016'Michael Niedermayer2015-07-131-217/+290
|\ | | | | | | | | | | | | | | | | | | | | * commit '650060dfb665552442ec11b456660e3e9a9d9016': hevc_parser: parse and export some stream parameters Conflicts: configure libavcodec/hevc_parser.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc_parser: parse and export some stream parametersAnton Khirnov2015-07-121-5/+123
| | | | | | | | | | Particularly those that will be needed by the QSV decoder. More can be added later as necessary.
* | avcodec/hevc: Simplify skipped_bytes_pos code furtherMichael Niedermayer2015-07-131-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'd82e1adc2019135a2fc45372e0ed0b5ef107cdd0'Michael Niedermayer2015-07-121-10/+12
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * commit 'd82e1adc2019135a2fc45372e0ed0b5ef107cdd0': hevc: move splitting the packet into NALUs into a separate function Conflicts: libavcodec/hevc.c libavcodec/hevc.h libavcodec/hevc_parse.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'b11acd57326db6c2cc1475dd0bea2a06fbc85aa2'Michael Niedermayer2015-07-121-25/+27
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * Add HEVC decoderGuillaume Martres2013-10-311-0/+125
| | | | | | | | | | | | | | | | | | | | | | 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>
* hevc: check slice address lengthAndreas Cadhalpun2015-07-101-1/+1
| | | | | | | It is used as get_bits argument and reading 0 bits isn't supported. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avcodec/hevc: Remove current_spsMichael Niedermayer2015-04-281-1/+0
| | | | | | The variable should not be needed anymore Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/hevc_parser: use avpriv_find_start_code in hevc_split()zhaoxiu.zeng2015-03-091-13/+13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/hevc_parser: check for av_mallocz() failurePaul B Mahol2015-02-101-0/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/hevc_ps: do not loose all reference to pointers still in useMichael Niedermayer2014-07-121-0/+3
| | | | | | | Fixes leaving a pointer to unreferenced memory Fixes Ticket 3115 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* hevc: fix key_frame as an IRAPMickaël Raulet2014-05-171-1/+1
| | | | | | it was always 1 before with ISOBMFF(cherry picked from commit fb1402b1ec78d80acd6ced76bf78d65560965c4c) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* HEVC : valgrind fix : vps_listgcocherel2013-11-261-2/+2
| | | | | | cherry picked from commit 211c39ade87bc079eabc862a6b684544dc88a786 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavcodec/hevc: reduce whitespace differences to ↵Michael Niedermayer2013-11-021-1/+1
| | | | | | 064698d381e1e7790f21b0199a8930ea04e2e942 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavcodec/hevc: reduce bracket differences to ↵Michael Niedermayer2013-11-021-4/+3
| | | | | | 064698d381e1e7790f21b0199a8930ea04e2e942 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/hevc: more whitespaces to reduce difference to ↵Michael Niedermayer2013-11-021-1/+1
| | | | | | 064698d381e1e7790f21b0199a8930ea04e2e942 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/hevc: Adjust white-spaces to reduce difference to ↵Michael Niedermayer2013-11-021-6/+7
| | | | | | 064698d381e1e7790f21b0199a8930ea04e2e942 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* hevc: add partial support for interlaced(cherry picked from commit ↵Mickaël Raulet2013-10-311-0/+2
| | | | | | 44b592ae6d323445c076ef3ec966ebf9daa8bccf) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* hevc_parser: Set pict_type, key_frame and output_picture_number.Yusuke Nakamura2013-10-271-5/+225
| | | | | Conflicts: libavcodec/hevc.c
* lavc: add a HEVC decoder.Guillaume Martres2013-10-151-0/+125
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> Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>