Home
last modified time | relevance | path

Searched refs:NALU_TYPE_BITMASK (Results 1 – 2 of 2) sorted by relevance

/webrtc/media/src/io/h264_writer/
H A Dmod.rs13 const NALU_TYPE_BITMASK: u32 = 0x1F; constant
20 let nalu_type = (word >> 24) & NALU_TYPE_BITMASK; in is_key_frame()
21 (nalu_type == NALU_TTYPE_STAP_A && (word & NALU_TYPE_BITMASK) == NALU_TTYPE_SPS) in is_key_frame()
/webrtc/rtp/src/codecs/h264/
H A Dmod.rs30 pub const NALU_TYPE_BITMASK: u8 = 0x1F; constant
60 let nalu_type = nalu[0] & NALU_TYPE_BITMASK; in emit()
220 let nalu_type = b0 & NALU_TYPE_BITMASK; in depacketize()
273 let fragmented_nalu_type = b1 & NALU_TYPE_BITMASK; in depacketize()
300 if payload[0] & NALU_TYPE_BITMASK == FUA_NALU_TYPE in is_partition_head()
301 || payload[0] & NALU_TYPE_BITMASK == FUB_NALU_TYPE in is_partition_head()