mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
h264parser: Improve documentation
Improve some docs around the NALU structure contents
This commit is contained in:
parent
44d16fc00d
commit
34b0eb4953
1 changed files with 16 additions and 8 deletions
|
@ -390,15 +390,23 @@ struct _GstH264NalUnitExtensionMVC
|
||||||
* @type: A #GstH264NalUnitType
|
* @type: A #GstH264NalUnitType
|
||||||
* @idr_pic_flag: calculated idr_pic_flag
|
* @idr_pic_flag: calculated idr_pic_flag
|
||||||
* @size: The size of the NAL unit starting from @offset, thus
|
* @size: The size of the NAL unit starting from @offset, thus
|
||||||
* including the header bytes. e.g. @type (nal_unit_type)
|
* including the header bytes. e.g. @type (nal_unit_type),
|
||||||
* @offset: The offset of the actual start of the NAL unit, thus
|
* but not the start code.
|
||||||
* including the header bytes
|
* @offset: The offset of the first byte of the NAL unit header,
|
||||||
* @sc_offset: The offset of the start code of the NAL unit
|
* just after the start code.
|
||||||
|
* @sc_offset: The offset of the first byte of the start code of
|
||||||
|
* the NAL unit.
|
||||||
* @valid: If the NAL unit is valid, which means it has
|
* @valid: If the NAL unit is valid, which means it has
|
||||||
* already been parsed
|
* already been parsed
|
||||||
* @data: The data from which the NAL unit has been parsed
|
* @data: The data array from which the NAL unit has been parsed,
|
||||||
* @header_bytes: The size of the NALU header in bytes (Since: 1.6)
|
* into which the offset and sc_offset apply.
|
||||||
* @extension_type: the extension type (Since: 1.6)
|
* @header_bytes: The size of the NALU header in bytes. The NALU
|
||||||
|
* header is the 1-byte type code, and for extension / prefix NALs
|
||||||
|
* includes the extension header bytes. @offset + @header_bytes is
|
||||||
|
* therefore the first byte of the actual packet payload.
|
||||||
|
* (Since: 1.6)
|
||||||
|
* @extension_type: the extension type for prefix NAL/MVC/SVC
|
||||||
|
* (Since: 1.6)
|
||||||
*
|
*
|
||||||
* Structure defining the NAL unit headers
|
* Structure defining the NAL unit headers
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue