Searched refs:kNalHeaderSize (Results 1 – 3 of 3) sorted by relevance
34 constexpr size_t kNalHeaderSize = 1; variable37 constexpr size_t kStapAHeaderSize = kNalHeaderSize + kLengthFieldSize;83 const uint8_t* nalu_start = payload_data + kNalHeaderSize; in ProcessStapAOrSingleNalu()84 const size_t nalu_length = rtp_payload.size() - kNalHeaderSize; in ProcessStapAOrSingleNalu()167 nalu_length + kNalHeaderSize - end_offset); in ProcessStapAOrSingleNalu()254 PpsParser::ParsePpsIdFromSlice(rtp_payload.cdata() + 2 * kNalHeaderSize, in ParseFuaNalu()255 rtp_payload.size() - 2 * kNalHeaderSize); in ParseFuaNalu()266 rtp_payload.Slice(kNalHeaderSize, rtp_payload.size() - kNalHeaderSize); in ParseFuaNalu()
36 static const size_t kNalHeaderSize = 1; variable137 size_t payload_left = fragment.size() - kNalHeaderSize; in PacketizeFuA()138 int offset = kNalHeaderSize; in PacketizeFuA()198 fragment_headers_length += kNalHeaderSize + kLengthFieldSize; in PacketizeStapA()264 RTC_CHECK_GE(payload_capacity, kNalHeaderSize); in NextAggregatePacket()271 size_t index = kNalHeaderSize; in NextAggregatePacket()
50 static const size_t kNalHeaderSize = 1; variable232 kNalHeaderSize + 3 * kLengthFieldLength + 2 + 2 + 0x123); in TEST()235 payload = payload.subview(kNalHeaderSize); in TEST()348 const size_t kFuaNaluSize = kNalHeaderSize + 2 * kFuaPayloadSize; in TEST()365 ElementsAreArray(nalus[0].data() + kNalHeaderSize, kFuaPayloadSize)); in TEST()371 ElementsAreArray(nalus[0].data() + kNalHeaderSize + kFuaPayloadSize, in TEST()376 auto payload = packets[2].payload().subview(kNalHeaderSize); in TEST()411 rtc::Buffer nalu[] = {GenerateNalUnit(kNalHeaderSize + frame_payload_size)}; in TestFua()