Struct rtp::codecs::h265::H265NALUHeader[][src]

pub struct H265NALUHeader(pub u16);
Expand description

H265NALUHeader is a H265 NAL Unit Header https://datatracker.ietf.org/doc/html/rfc7798#section-1.1.4 +—————+—————+ |0|1|2|3|4|5|6|7|0|1|2|3|4|5|6|7| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |F| Type | layer_id | tid | +———––+—————–+

Tuple Fields

0: u16

Implementations

f is the forbidden bit, should always be 0.

nalu_type of NAL Unit.

is_type_vcl_unit returns whether or not the NAL Unit type is a VCL NAL unit.

layer_id should always be 0 in non-3D HEVC context.

tid is the temporal identifier of the NAL unit +1.

is_aggregation_packet returns whether or not the packet is an Aggregation packet.

is_fragmentation_unit returns whether or not the packet is a Fragmentation Unit packet.

is_paci_packet returns whether or not the packet is a PACI packet.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.