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.cpp333 unsigned descriptor_length = br.getBits(8); in dequeuePES() local
336 descriptor_tag, descriptor_length); in dequeuePES()
338 if (offset + 2 + descriptor_length > program_stream_info_length) { in dequeuePES()
342 br.skipBits(8 * descriptor_length); in dequeuePES()
344 offset += 2 + descriptor_length; in dequeuePES()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp3268 legacy.descriptor_length = aidl.audioDescriptor.size(); in aidl2legacy_ExtraAudioDescriptor_audio_extra_audio_descriptor()
3282 if (legacy.descriptor_length > EXTRA_AUDIO_DESCRIPTOR_SIZE) { in legacy2aidl_audio_extra_audio_descriptor_ExtraAudioDescriptor()
3285 aidl.audioDescriptor.resize(legacy.descriptor_length); in legacy2aidl_audio_extra_audio_descriptor_ExtraAudioDescriptor()
3286 std::copy(legacy.descriptor, legacy.descriptor + legacy.descriptor_length, in legacy2aidl_audio_extra_audio_descriptor_ExtraAudioDescriptor()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1437 if (extraAudioDescriptor.descriptor_length == 0) { in convertAudioPortFromNative()
1454 extraAudioDescriptor.descriptor_length)); in convertAudioPortFromNative()
1455 env->SetByteArrayRegion(jDescriptor.get(), 0, extraAudioDescriptor.descriptor_length, in convertAudioPortFromNative()