Lines Matching refs:buffer
35 bool AVC::ConvertFrameToAnnexB(int length_size, std::vector<uint8>* buffer) {
39 return ConvertAVCToAnnexBInPlaceForLengthSize4(buffer);
42 temp.swap(*buffer);
43 buffer->reserve(temp.size() + 32);
52 buffer->insert(buffer->end(), kAnnexBStartCode,
54 buffer->insert(buffer->end(), temp.begin() + pos,
64 std::vector<uint8>* buffer) {
65 DCHECK(buffer->empty());
66 buffer->clear();
72 buffer->reserve(total_size);
75 buffer->insert(buffer->end(), kAnnexBStartCode,
77 buffer->insert(buffer->end(), avc_config.sps_list[i].begin(),
82 buffer->insert(buffer->end(), kAnnexBStartCode,
84 buffer->insert(buffer->end(), avc_config.pps_list[i].begin(),