Searched refs:length_size (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/media/formats/mp4/ |
D | avc.cc | 44 bool AVC::ConvertFrameToAnnexB(int length_size, std::vector<uint8>* buffer) { in ConvertFrameToAnnexB() argument 45 RCHECK(length_size == 1 || length_size == 2 || length_size == 4); in ConvertFrameToAnnexB() 47 if (length_size == 4) in ConvertFrameToAnnexB() 55 while (pos + length_size < temp.size()) { in ConvertFrameToAnnexB() 57 if (length_size == 2) nal_size = (nal_size << 8) + temp[pos+1]; in ConvertFrameToAnnexB() 58 pos += length_size; in ConvertFrameToAnnexB()
|
D | avc_unittest.cc | 171 void WriteLength(int length_size, int length, std::vector<uint8>* buf) { in WriteLength() argument 175 for (int i = 1; i < length_size; i++) in WriteLength() 180 void MakeInputForLength(int length_size, std::vector<uint8>* buf) { in MakeInputForLength() argument 183 WriteLength(length_size, sizeof(kNALU1), buf); in MakeInputForLength() 186 WriteLength(length_size, sizeof(kNALU2), buf); in MakeInputForLength()
|
D | avc.h | 23 static bool ConvertFrameToAnnexB(int length_size, std::vector<uint8>* buffer);
|
D | mp4_stream_parser.cc | 368 RCHECK(AVC::ConvertFrameToAnnexB(avc_config.length_size, frame_buf)); in PrepareAVCBuffer() 370 const int nalu_size_diff = 4 - avc_config.length_size; in PrepareAVCBuffer()
|
D | box_definitions.cc | 360 length_size(0) {} in AVCDecoderConfigurationRecord() 383 length_size = (length_size_minus_one & 0x3) + 1; in ParseInternal() 385 RCHECK(length_size != 3); // Only values of 1, 2, and 4 are valid. in ParseInternal()
|
D | box_definitions.h | 168 uint8 length_size; member
|
/external/chromium_org/media/filters/ |
D | h264_to_annex_b_bitstream_converter.cc | 52 nal_unit_length_field_width_ = avc_config->length_size; in ParseConfiguration() 149 nal_unit_length_field_width_ = avc_config.length_size; in ConvertAVCDecoderConfigToByteStream()
|