Home
last modified time | relevance | path

Searched refs:nalu_ptr (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/video_coding/
Dh264_sps_pps_tracker.cc131 const uint8_t* nalu_ptr = bitstream.data() + 1; in CopyAndFixBitstream() local
132 while (nalu_ptr < bitstream.data() + bitstream.size() - 1) { in CopyAndFixBitstream()
137 uint16_t segment_length = nalu_ptr[0] << 8 | nalu_ptr[1]; in CopyAndFixBitstream()
138 nalu_ptr += 2; in CopyAndFixBitstream()
141 nalu_ptr += segment_length; in CopyAndFixBitstream()
183 const uint8_t* nalu_ptr = bitstream.data() + 1; in CopyAndFixBitstream() local
184 while (nalu_ptr < bitstream.data() + bitstream.size() - 1) { in CopyAndFixBitstream()
188 uint16_t segment_length = nalu_ptr[0] << 8 | nalu_ptr[1]; in CopyAndFixBitstream()
189 nalu_ptr += 2; in CopyAndFixBitstream()
191 size_t copy_end = nalu_ptr - bitstream.data() + segment_length; in CopyAndFixBitstream()
[all …]
Dsession_info.cc213 const uint8_t* nalu_ptr = packet_buffer + kH264NALHeaderLengthInBytes; in InsertBuffer() local
214 while (nalu_ptr < packet_buffer + packet.sizeBytes) { in InsertBuffer()
215 size_t length = BufferToUWord16(nalu_ptr); in InsertBuffer()
218 nalu_ptr += kLengthFieldLength + length; in InsertBuffer()
221 nalu_ptr = packet_buffer + kH264NALHeaderLengthInBytes; in InsertBuffer()
223 while (nalu_ptr < packet_buffer + packet.sizeBytes) { in InsertBuffer()
224 size_t length = BufferToUWord16(nalu_ptr); in InsertBuffer()
225 nalu_ptr += kLengthFieldLength; in InsertBuffer()
226 frame_buffer_ptr += Insert(nalu_ptr, length, packet.insertStartCode, in InsertBuffer()
228 nalu_ptr += length; in InsertBuffer()
/external/webrtc/common_video/h264/
Dsps_vui_rewriter.cc229 const uint8_t* nalu_ptr = buffer.data() + nalu_offsets[i]; in ParseOutgoingBitstreamAndRewriteSps() local
235 (nalu_ptr - prev_nalu_ptr) - prev_nalu_length; in ParseOutgoingBitstreamAndRewriteSps()
240 if (H264::ParseNaluType(nalu_ptr[0]) == H264::NaluType::kSps) { in ParseOutgoingBitstreamAndRewriteSps()
257 output_nalu.AppendData(nalu_ptr[0]); in ParseOutgoingBitstreamAndRewriteSps()
260 nalu_ptr + H264::kNaluTypeSize, nalu_length - H264::kNaluTypeSize, in ParseOutgoingBitstreamAndRewriteSps()
273 output_buffer->AppendData(nalu_ptr, nalu_length); in ParseOutgoingBitstreamAndRewriteSps()
276 prev_nalu_ptr = nalu_ptr; in ParseOutgoingBitstreamAndRewriteSps()
/external/webrtc/modules/rtp_rtcp/source/
Dvideo_rtp_depacketizer_h264.cc46 bool ParseStapAStartOffsets(const uint8_t* nalu_ptr, in ParseStapAStartOffsets() argument
54 uint16_t nalu_size = ByteReader<uint16_t>::ReadBigEndian(nalu_ptr); in ParseStapAStartOffsets()
55 nalu_ptr += sizeof(uint16_t); in ParseStapAStartOffsets()
59 nalu_ptr += nalu_size; in ParseStapAStartOffsets()