webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Functions | Variables
h264_video_toolbox_nalu.cc File Reference
#include "webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_nalu.h"
#include <CoreFoundation/CoreFoundation.h>
#include <memory>
#include <vector>
#include "webrtc/base/checks.h"
#include "webrtc/base/logging.h"

Namespaces

 webrtc
 

Functions

bool webrtc::H264CMSampleBufferToAnnexBBuffer (CMSampleBufferRef avcc_sample_buffer, bool is_keyframe, rtc::Buffer *annexb_buffer, webrtc::RTPFragmentationHeader **out_header)
 
bool webrtc::H264AnnexBBufferToCMSampleBuffer (const uint8_t *annexb_buffer, size_t annexb_buffer_size, CMVideoFormatDescriptionRef video_format, CMSampleBufferRef *out_sample_buffer)
 
bool webrtc::H264AnnexBBufferHasVideoFormatDescription (const uint8_t *annexb_buffer, size_t annexb_buffer_size)
 
CMVideoFormatDescriptionRef webrtc::CreateVideoFormatDescription (const uint8_t *annexb_buffer, size_t annexb_buffer_size)
 

Variables

const char webrtc::kAnnexBHeaderBytes [4] = {0, 0, 0, 1}
 
const size_t webrtc::kAvccHeaderByteSize = sizeof(uint32_t)