summaryrefslogtreecommitdiff
path: root/gst/videoparsers/gsth265parse.h
Commit message (Collapse)AuthorAgeFilesLines
* h265parse: Support for alternate-field interlacingVivia Nikolaidou2021-02-031-0/+1
| | | | | | Also don't set interlacing information on the caps, see #1313 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1996>
* h265parse: Propagate MARKER flagNicolas Dufresne2020-04-151-0/+1
|
* h265parse: Don't wait for next NAL if input is alignedNicolas Dufresne2020-04-151-0/+1
| | | | | | | | | | | | | | | | | | | | Waiting for the next NAL increases the latency. If alignment=nal/au has been negotiated, assumes the the buffer contains a complete NAL and don't expect a second start-code. This way, nal -> nal, au -> au and au -> nal no longer introduce latency. As a side effect, the collect_pad() function was not able to poke at the following NAL. This call is now moved before processing the NAL, so it's looking at the current NAL before it's ingested into the parser state in order to dermin if the end of an AU has been reached. The AUD injection state as been adapted to support this. This change will break pipelines if alignment=nal is used without respecting the alignment. Effectively, the parser will no longer fix the broken aligment which will result in parser error and the termination of the pipeline. Such issue existed in tsdemux element and might exist in any forks of that code. Related to https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1193
* h265parse: In-band sps/pps update if only codec_data differs in src capsSeungha Yang2020-03-101-2/+2
| | | | Apply in-band sps/pps resending implementation to h265parse.
* h265parse: add support for SEI registered user dataAaron Boxer2019-08-261-0/+3
|
* h26{4,5}parse: add support for forward predicted trick modeMathieu Duponchelle2019-07-181-0/+5
| | | | Also stop assigning TRUE to fields with |=
* h265parse: Expose parsed colorimetry when VUI provided itSeungha Yang2019-07-161-0/+1
| | | | ... and also if upstream did not specify the colorimetry.
* h265parse: Parse mastering display info and content light level from SEISeungha Yang2019-05-031-0/+7
| | | | | | | | | | | | | | | | | | | | | | | ... and set to caps if necessary. Note 1) the mastering display info and content light level SEI meessages are persistent in the corresponding codec video sequence (i.e., GOP). So any bitstream containing those SEI messages (and also all pictures are intended to be HDR rendered) should be ensured that each first slice of codec video sequence follows those SEI messages. Note 2) The codec video sequence is a group an [IRAP + NoRaslOutputFlag == 1] and following AUs which are not [IRAP + NoRaslOutputFlag == 1] The NoRaslOutputFlag is equal to 1 for each IDR AU, BLA AU and some CRA AU. For a CRA AU to have NoRaslOutputFlag equal to 1, following condition should required. * When the CRA AU is the first AU in the bitstream in decoding order * or the CRA AU is the first AU that follows an end of sequence NAL in decoding order * or the HandleCraAsBlaFlag equal to 1. Due to the limited context in parse element, in this commint, CRA AU will not considered as having the NoRaslOutputFlag equal to 1. Therefore, in the worst case, mastering-display-info and content-light-level could be cleared one GOP after when stream was chagned from HDR to SDR.
* h265parse: forward time codesMathieu Duponchelle2019-04-011-0/+7
| | | | This transforms time code SEIs into GstVideoTimeCodeMeta
* h265parse: Don't duplicate VPS/SPS/PPS per config-interval if existsSeungha Yang2018-11-301-0/+5
| | | | | | Don't need to manually insert VPS/SPS/PPS since inband data could be useable. Also fixes #824
* h265parse: Add support insert parameter set per IDRSeungha Yang2018-09-101-1/+1
| | | | | | | Apply commits 0c04e00, bf0d952 and a0876aa to h265parse. See also https://bugzilla.gnome.org/show_bug.cgi?id=766803 https://bugzilla.gnome.org/show_bug.cgi?id=754124
* h265parse: Introduce new state tracking variablesSeungha Yang2018-09-101-0/+3
| | | | | | | | | | | | | | Direct applying the commit 7bb6443. This could fix also unexpected nal dropping when nonzero "config-interval" is set. (e.g., gst-launch-1.0 videotestsrc ! x265enc key-int-max=30 ! h265parse config-interval=30 ! avdec_h265 ! videoconvert ! autovideosink) Similar to the h264parse, have_{vps,sps,pps} variables will be used for deciding on when to submit updated caps or not, and rather mean "have new SPS/PPS to be submitted?" See also https://bugzilla.gnome.org/show_bug.cgi?id=732203 https://bugzilla.gnome.org/show_bug.cgi?id=754124
* h265parse: Copy over DISCONT flag from input buffersSeungha Yang2018-09-101-0/+2
| | | | | | Apply the commit 10ffa08 https://bugzilla.gnome.org/show_bug.cgi?id=754124
* h265parse: set the HEADER flag on buffers containing VPS, SPS or PPSJosep Torra2014-11-071-0/+1
|
* h265parse: Post VIDEO_CODEC tagSebastian Dröge2013-12-161-0/+2
|
* videoparsers: add H.265 HEVC video parser elementSreerenj Balachandran2013-11-061-0/+102
https://bugzilla.gnome.org/show_bug.cgi?id=708438