Home
last modified time | relevance | path

Searched refs:descriptor_length (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp447 unsigned descriptor_length = br->getBits(8); in findCADescriptor() local
448 ALOGV(" len = %u", descriptor_length); in findCADescriptor()
451 if (descriptor_length > infoLength) { in findCADescriptor()
454 if (descriptor_tag == DESCRIPTOR_CA && descriptor_length >= 4) { in findCADescriptor()
460 br->data(), br->data() + descriptor_length - 4); in findCADescriptor()
463 infoLength -= descriptor_length; in findCADescriptor()
464 br->skipBits(descriptor_length * 8); in findCADescriptor()
552 unsigned descriptor_length = br->getBits(8); in parseProgramMap() local
553 ALOGV(" len = %u", descriptor_length); in parseProgramMap()
556 if (descriptor_length > ES_info_length) { in parseProgramMap()
[all …]
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp334 unsigned descriptor_length = br.getBits(8); in dequeuePES() local
337 descriptor_tag, descriptor_length); in dequeuePES()
339 if (offset + 2 + descriptor_length > program_stream_info_length) { in dequeuePES()
343 br.skipBits(8 * descriptor_length); in dequeuePES()
345 offset += 2 + descriptor_length; in dequeuePES()