gstreamer/gst-libs/gst/codecparsers
Nicolas Dufresne 90ca8850de h265parse: Ensure parsing ends on start-code + full header
The parser is used all over the place assuming that after calling
gst_h265_parser_identify_nalu(), the start-code found is can also be
identified. In H264 this works, because scan_for_start_code rely on
gst_byte_reader_masked_scan_uint32() that ensures that 1 byte passed the 3
bytes start code is found. But for HEVC, we need two bytes to identify the
following NAL.

This patch will return NO_NAL_END, even if a start code is found in the case
there was not enough bytes. This solution was chosen to maintain backward
compatibility, and reduce complexicity.

Fixes #1287

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1251>
2020-05-07 13:59:33 -04:00
..
codecparsers-prelude.h libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 14:45:56 +01:00
dboolhuff.AUTHORS codecparsers: vp8: add GStreamer native utilities. 2014-04-18 16:32:40 +02:00
dboolhuff.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 14:45:56 +01:00
dboolhuff.h codecparsers: Add another G_GNUC_INTERNAL 2015-12-30 11:54:14 +02:00
dboolhuff.LICENSE codecparsers: vp8: add GStreamer native utilities. 2014-04-18 16:32:40 +02:00
dboolhuff.PATENTS codecparsers: vp8: add GStreamer native utilities. 2014-04-18 16:32:40 +02:00
gstav1parser.c libs: parser: Adds AV1 parser. 2020-05-01 19:55:41 +00:00
gstav1parser.h libs: parser: Adds AV1 parser. 2020-05-01 19:55:41 +00:00
gsth264parser.c h264parser: Removed impossible error case 2020-05-07 12:08:36 -04:00
gsth264parser.h h264parser: Add APIs to allow update SPS/PPS 2020-04-09 19:33:56 +00:00
gsth265parser.c h265parse: Ensure parsing ends on start-code + full header 2020-05-07 13:59:33 -04:00
gsth265parser.h libs: parser: h265: Add SCC extension support. 2020-05-05 17:07:41 +00:00
gstjpeg2000sampling.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 14:45:56 +01:00
gstjpeg2000sampling.h codecparsers: GST_EXPORT -> GST_CODEC_PARSERS_API 2018-03-13 12:34:24 +00:00
gstjpegparser.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 14:45:56 +01:00
gstjpegparser.h codecparsers: GST_EXPORT -> GST_CODEC_PARSERS_API 2018-03-13 12:34:24 +00:00
gstmpeg4parser.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gstmpeg4parser.h libs: codecparser: add missing unstable api warning 2020-03-16 18:07:54 +01:00
gstmpegvideometa.c codecparsers: make debug categories static 2017-08-11 14:34:34 +01:00
gstmpegvideometa.h codecparsers: GST_EXPORT -> GST_CODEC_PARSERS_API 2018-03-13 12:34:24 +00:00
gstmpegvideoparser.c codecparsers: fix debug category initialisation 2019-05-25 15:29:25 +02:00
gstmpegvideoparser.h gstmpegvideoparser: Documentation fixes 2019-07-05 00:17:58 +10:00
gstvc1parser.c vc1parser : fix a miswrite 2019-11-11 02:12:34 +00:00
gstvc1parser.h documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gstvp8parser.c codecparsers: fix debug category initialisation 2019-05-25 15:29:25 +02:00
gstvp8parser.h libs: codecparser: add missing unstable api warning 2020-03-16 18:07:54 +01:00
gstvp8rangedecoder.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 14:45:56 +01:00
gstvp8rangedecoder.h codecparsers: GST_EXPORT -> GST_CODEC_PARSERS_API 2018-03-13 12:34:24 +00:00
gstvp9parser.c vp9parser: Add new API for parsing superframe info 2020-03-02 01:31:38 +09:00
gstvp9parser.h vp9parser: Add new API for parsing superframe info 2020-03-02 01:31:38 +09:00
meson.build libs: parser: Adds AV1 parser. 2020-05-01 19:55:41 +00:00
nalutils.c nalutils: Introduce NAL writer helper methods 2020-03-30 07:59:10 +00:00
nalutils.h nalutils: Introduce NAL writer helper methods 2020-03-30 07:59:10 +00:00
parserutils.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 14:45:56 +01:00
parserutils.h codecparsers: Spread some G_GNUC_INTERNAL in various places 2015-12-30 11:40:59 +02:00
vp8utils.c libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 14:45:56 +01:00
vp8utils.h codecparsers: Spread some G_GNUC_INTERNAL in various places 2015-12-30 11:40:59 +02:00
vp9utils.c codecparsers: vp9: move license blurb into header and remove aux files 2015-12-30 11:04:32 +00:00
vp9utils.h codecparsers: vp9: move license blurb into header and remove aux files 2015-12-30 11:04:32 +00:00