Home
last modified time | relevance | path

Searched refs:descriptor_length (Results 1 – 4 of 4) 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()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp2276 legacy.descriptor_length = aidl.audioDescriptor.size(); in aidl2legacy_ExtraAudioDescriptor_audio_extra_audio_descriptor()
2290 if (legacy.descriptor_length > EXTRA_AUDIO_DESCRIPTOR_SIZE) { in legacy2aidl_audio_extra_audio_descriptor_ExtraAudioDescriptor()
2293 aidl.audioDescriptor.resize(legacy.descriptor_length); in legacy2aidl_audio_extra_audio_descriptor_ExtraAudioDescriptor()
2294 std::copy(legacy.descriptor, legacy.descriptor + legacy.descriptor_length, in legacy2aidl_audio_extra_audio_descriptor_ExtraAudioDescriptor()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1372 if (extraAudioDescriptor.descriptor_length == 0) { in convertAudioPortFromNative()
1389 extraAudioDescriptor.descriptor_length)); in convertAudioPortFromNative()
1390 env->SetByteArrayRegion(jDescriptor.get(), 0, extraAudioDescriptor.descriptor_length, in convertAudioPortFromNative()