HomeSort by relevance Sort by last modified time
    Searched refs:length_size (Results 1 - 7 of 7) sorted by null

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

Completed in 57 milliseconds