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.cpp269 unsigned PES_packet_length = U16_AT(mBuffer->data() + 4); in dequeuePES() local
270 if (PES_packet_length == 0u) { in dequeuePES()
275 size_t n = PES_packet_length + 6; in dequeuePES()
518 if (PES_packet_length < PES_header_data_length + 3) { in dequeuePES()
523 PES_packet_length - 3 - PES_header_data_length; in dequeuePES()
575 if (PES_packet_length == 0u) { in dequeuePES()
578 br.skipBits(PES_packet_length * 8); in dequeuePES()
580 if (PES_packet_length == 0u) { in dequeuePES()
583 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.cpp1083 unsigned PES_packet_length = br->getBits(16); in parsePES() local
1084 ALOGV("PES_packet_length = %u", PES_packet_length); in parsePES()
1235 if (PES_packet_length != 0) { in parsePES()
1236 if (PES_packet_length < PES_header_data_length + 3) { in parsePES()
1241 PES_packet_length - 3 - PES_header_data_length; in parsePES()
1252 dataLength, PES_packet_length, pesOffset); in parsePES()
1273 if (PES_packet_length == 0u) { in parsePES()
1276 br->skipBits(PES_packet_length * 8); in parsePES()
1278 if (PES_packet_length == 0u) { in parsePES()
1281 br->skipBits(PES_packet_length * 8); in parsePES()