Home
last modified time | relevance | path

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

/external/webrtc/sdk/objc/components/video_codec/
Dnalu_rewriter.cc35 rtc::Buffer* annexb_buffer, in H264CMSampleBufferToAnnexBBuffer() argument
62 annexb_buffer->SetSize(0); in H264CMSampleBufferToAnnexBBuffer()
80 annexb_buffer->AppendData(kAnnexBHeaderBytes, sizeof(kAnnexBHeaderBytes)); in H264CMSampleBufferToAnnexBBuffer()
81 annexb_buffer->AppendData(reinterpret_cast<const char*>(param_set), in H264CMSampleBufferToAnnexBBuffer()
133 annexb_buffer->AppendData(kAnnexBHeaderBytes, sizeof(kAnnexBHeaderBytes)); in H264CMSampleBufferToAnnexBBuffer()
134 annexb_buffer->AppendData(data_ptr + nalu_header_size, packet_size); in H264CMSampleBufferToAnnexBBuffer()
158 bool H264AnnexBBufferToCMSampleBuffer(const uint8_t* annexb_buffer, in H264AnnexBBufferToCMSampleBuffer() argument
163 RTC_DCHECK(annexb_buffer); in H264AnnexBBufferToCMSampleBuffer()
168 AnnexBBufferReader reader(annexb_buffer, annexb_buffer_size); in H264AnnexBBufferToCMSampleBuffer()
252 const uint8_t* annexb_buffer, in CreateVideoFormatDescription() argument
[all …]
Dnalu_rewriter.h35 rtc::Buffer* annexb_buffer,
44 bool H264AnnexBBufferToCMSampleBuffer(const uint8_t* annexb_buffer,
54 const uint8_t* annexb_buffer,
60 AnnexBBufferReader(const uint8_t* annexb_buffer, size_t length);
/external/webrtc/sdk/objc/unittests/
Dnalu_rewriter_xctest.mm278 rtc::Buffer annexb_buffer(arraysize(cmsample_data));
285 &annexb_buffer,
290 XCTAssertEqual(arraysize(expected_annex_b_data), annexb_buffer.size());
293 memcmp(expected_annex_b_data, annexb_buffer.data(), arraysize(expected_annex_b_data));
323 rtc::Buffer annexb_buffer(arraysize(cmsample_data));
330 &annexb_buffer,
336 annexb_buffer.size());
338 XCTAssertEqual(0, memcmp(SPS_PPS_BUFFER, annexb_buffer.data(), arraysize(SPS_PPS_BUFFER)));
342 annexb_buffer.data() + arraysize(SPS_PPS_BUFFER),