Searched refs:section_length (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp373 unsigned section_length = br->getBits(12); local
374 ALOGV(" section_length = %u", section_length);
399 size_t infoBytesRemaining = section_length - 9 - program_info_length - 4;
1254 unsigned section_length = br->getBits(12); local
1255 ALOGV(" section_length = %u", section_length);
1264 size_t numProgramBytes = (section_length - 5 /* header */ - 4 /* crc */);
1729 // Return true if section_syntax_indicator says no section follows the field section_length.
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp708 // section_length = 0x00d
760 // section_length = 0x???
796 size_t section_length = 5 * mSources.size() + 4 + 9; local
797 buffer->data()[6] |= section_length >> 8;
798 buffer->data()[7] = section_length & 0xff;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp661 // section_length = 0x00d
724 // section_length = 0x???
758 *ptr++ = 0x00; // section_length to be filled in below.
810 size_t section_length = ptr - (crcDataStart + 3) + 4 /* CRC */; local
812 crcDataStart[1] = 0xb0 | (section_length >> 8);
813 crcDataStart[2] = section_length & 0xff;

Completed in 603 milliseconds