Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_h264.cc32 static const size_t kNalHeaderSize = 1; variable
35 static const size_t kStapAHeaderSize = kNalHeaderSize + kLengthFieldSize;
70 const uint8_t* nalu_start = payload_data + kNalHeaderSize; in ParseSingleNalu()
71 size_t nalu_length = payload_data_length - kNalHeaderSize; in ParseSingleNalu()
128 *offset = kNalHeaderSize; in ParseFuaNalu()
191 fragment_length -= kNalHeaderSize; in PacketizeFuA()
192 size_t offset = fragment_offset + kNalHeaderSize; in PacketizeFuA()
204 offset - kNalHeaderSize == fragment_offset, in PacketizeFuA()
245 fragment_headers_length += kNalHeaderSize + kLengthFieldSize; in PacketizeStapA()
287 int index = kNalHeaderSize; in NextAggregatePacket()
[all …]
Drtp_format_h264_unittest.cc35 static const size_t kNalHeaderSize = 1; variable
78 for (size_t i = 0; i < frame_size - kNalHeaderSize; ++i) { in TestFua()
79 frame[i + kNalHeaderSize] = i; in TestFua()
92 size_t offset = kNalHeaderSize; in TestFua()
107 size_t expected_nalu_offset = kNalHeaderSize; // STAP-A header. in GetExpectedNaluOffset()
209 kMaxPayloadSize - 3 * kLengthFieldLength - kNalHeaderSize; in TEST()
224 kNalHeaderSize + kFrameSize - kPayloadOffset; in TEST()
234 kNalHeaderSize + 3 * kLengthFieldLength + kFrameSize; in TEST()
259 kNalHeaderSize + kFrameSize - kPayloadOffset; in TEST()
268 size_t expected_packet_size = kNalHeaderSize; in TEST()
[all …]