MCPcopy Create free account
hub / github.com/Monibuca/engine / H264NALUType

TypeAlias H264NALUType

codec/h264.go:20–20  ·  view source on GitHub ↗

Start Code + NAL Unit -> NALU Header + NALU Body RTP Packet -> NALU Header + NALU Body NALU Body -> Slice Header + Slice data Slice data -> flags + Macroblock layer1 + Macroblock layer2 + ... Macroblock layer1 -> mb_type + PCM Data Macroblock layer2 -> mb_type + Sub_mb_pred or mb_pred + Residual Dat

Source from the content-addressed store, hash-verified

18// Macroblock layer2 -> mb_type + Sub_mb_pred or mb_pred + Residual Data
19// Residual Data ->
20type H264NALUType byte
21
22func (b H264NALUType) Or(b2 byte) byte {
23 return byte(b) | b2

Callers 3

ParseH264NALUTypeFunction · 0.85
ParseMethod · 0.85
ParseBytesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected