Home
last modified time | relevance | path

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

/external/webrtc/sdk/objc/components/video_codec/
Dnalu_rewriter.cc29 const char kAnnexBHeaderBytes[4] = {0, 0, 0, 1}; variable
80 annexb_buffer->AppendData(kAnnexBHeaderBytes, sizeof(kAnnexBHeaderBytes)); in H264CMSampleBufferToAnnexBBuffer()
84 frag_offsets.push_back(nalu_offset + sizeof(kAnnexBHeaderBytes)); in H264CMSampleBufferToAnnexBBuffer()
86 nalu_offset += sizeof(kAnnexBHeaderBytes) + param_set_size; in H264CMSampleBufferToAnnexBBuffer()
133 annexb_buffer->AppendData(kAnnexBHeaderBytes, sizeof(kAnnexBHeaderBytes)); in H264CMSampleBufferToAnnexBBuffer()
136 frag_offsets.push_back(nalu_offset + sizeof(kAnnexBHeaderBytes)); in H264CMSampleBufferToAnnexBBuffer()
138 nalu_offset += sizeof(kAnnexBHeaderBytes) + packet_size; in H264CMSampleBufferToAnnexBBuffer()
140 size_t bytes_written = packet_size + sizeof(kAnnexBHeaderBytes); in H264CMSampleBufferToAnnexBBuffer()