Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp276 unsigned PES_packet_length = U16_AT(mBuffer->data() + 4); in dequeuePES() local
277 if (PES_packet_length == 0u) { in dequeuePES()
282 size_t n = PES_packet_length + 6; in dequeuePES()
525 if (PES_packet_length < PES_header_data_length + 3) { in dequeuePES()
530 PES_packet_length - 3 - PES_header_data_length; in dequeuePES()
582 if (PES_packet_length == 0u) { in dequeuePES()
585 br.skipBits(PES_packet_length * 8); in dequeuePES()
587 if (PES_packet_length == 0u) { in dequeuePES()
590 br.skipBits(PES_packet_length * 8); in dequeuePES()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp847 size_t PES_packet_length = accessUnit->size() + 8; in writeAccessUnit() local
850 if (PES_packet_length >= 65536) { in writeAccessUnit()
855 PES_packet_length = 0; in writeAccessUnit()
875 *ptr++ = PES_packet_length >> 8; in writeAccessUnit()
876 *ptr++ = PES_packet_length & 0xff; in writeAccessUnit()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp1255 unsigned PES_packet_length = br->getBits(16); in parsePES() local
1256 ALOGV("PES_packet_length = %u", PES_packet_length); in parsePES()
1407 if (PES_packet_length != 0) { in parsePES()
1408 if (PES_packet_length < PES_header_data_length + 3) { in parsePES()
1413 PES_packet_length - 3 - PES_header_data_length; in parsePES()
1424 dataLength, PES_packet_length, pesOffset); in parsePES()
1445 if (PES_packet_length == 0u) { in parsePES()
1448 br->skipBits(PES_packet_length * 8); in parsePES()
1450 if (PES_packet_length == 0u) { in parsePES()
1453 br->skipBits(PES_packet_length * 8); in parsePES()