Searched refs:nalu_ptr (Results 1 – 2 of 2) sorted by relevance
182 const uint8_t* nalu_ptr = packet_buffer + kH264NALHeaderLengthInBytes; in InsertBuffer() local183 while (nalu_ptr < packet_buffer + packet.sizeBytes) { in InsertBuffer()184 size_t length = BufferToUWord16(nalu_ptr); in InsertBuffer()187 nalu_ptr += kLengthFieldLength + length; in InsertBuffer()190 nalu_ptr = packet_buffer + kH264NALHeaderLengthInBytes; in InsertBuffer()192 while (nalu_ptr < packet_buffer + packet.sizeBytes) { in InsertBuffer()193 size_t length = BufferToUWord16(nalu_ptr); in InsertBuffer()194 nalu_ptr += kLengthFieldLength; in InsertBuffer()195 frame_buffer_ptr += Insert(nalu_ptr, length, packet.insertStartCode, in InsertBuffer()197 nalu_ptr += length; in InsertBuffer()
44 bool VerifyStapANaluLengths(const uint8_t* nalu_ptr, size_t length_remaining) { in VerifyStapANaluLengths() argument49 uint16_t nalu_size = nalu_ptr[0] << 8 | nalu_ptr[1]; in VerifyStapANaluLengths()50 nalu_ptr += sizeof(uint16_t); in VerifyStapANaluLengths()54 nalu_ptr += nalu_size; in VerifyStapANaluLengths()