Home
last modified time | relevance | path

Searched refs:PES_packet_length (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2PSExtractor.cpp268 unsigned PES_packet_length = U16_AT(mBuffer->data() + 4); in dequeuePES() local
269 if (PES_packet_length == 0u) { in dequeuePES()
274 size_t n = PES_packet_length + 6; in dequeuePES()
517 if (PES_packet_length < PES_header_data_length + 3) { in dequeuePES()
522 PES_packet_length - 3 - PES_header_data_length; in dequeuePES()
574 if (PES_packet_length == 0u) { in dequeuePES()
577 br.skipBits(PES_packet_length * 8); in dequeuePES()
579 if (PES_packet_length == 0u) { in dequeuePES()
582 br.skipBits(PES_packet_length * 8); in dequeuePES()
DATSParser.cpp837 unsigned PES_packet_length = br->getBits(16); in parsePES() local
838 ALOGV("PES_packet_length = %u", PES_packet_length); in parsePES()
986 if (PES_packet_length != 0) { in parsePES()
987 if (PES_packet_length < PES_header_data_length + 3) { in parsePES()
992 PES_packet_length - 3 - PES_header_data_length; in parsePES()
1019 if (PES_packet_length == 0u) { in parsePES()
1022 br->skipBits(PES_packet_length * 8); in parsePES()
1024 if (PES_packet_length == 0u) { in parsePES()
1027 br->skipBits(PES_packet_length * 8); in parsePES()
/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp541 size_t PES_packet_length = accessUnit->size() + 8 + numStuffingBytes; in packetize() local
543 PES_packet_length += PES_private_data_len + 1; in packetize()
875 if (PES_packet_length >= 65536) { in packetize()
880 PES_packet_length = 0; in packetize()
921 *ptr++ = PES_packet_length >> 8; in packetize()
922 *ptr++ = PES_packet_length & 0xff; in packetize()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp876 size_t PES_packet_length = accessUnit->size() + 8; in writeAccessUnit() local
879 if (PES_packet_length >= 65536) { in writeAccessUnit()
884 PES_packet_length = 0; in writeAccessUnit()
904 *ptr++ = PES_packet_length >> 8; in writeAccessUnit()
905 *ptr++ = PES_packet_length & 0xff; in writeAccessUnit()