Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DDRMExtractor.cpp58 size_t mNALLengthSize; member in android::DRMSource
75 mNALLengthSize(0), in DRMSource()
97 mNALLengthSize = 1 + (ptr[4] & 3); in DRMSource()
165 CHECK(srcOffset + mNALLengthSize <= len); in read()
169 switch (mNALLengthSize) { in read()
187 srcOffset += mNALLengthSize; in read()
DMPEG4Extractor.cpp117 size_t mNALLengthSize; member in android::MPEG4Source
3466 mNALLengthSize(0), in MPEG4Source()
3506 mNALLengthSize = 1 + (ptr[4] & 3); in MPEG4Source()
3518 mNALLengthSize = 1 + (ptr[14 + 7] & 3); in MPEG4Source()
4165 switch (mNALLengthSize) { in parseNALSize()
4349 CHECK(mBuffer->range_length() >= mNALLengthSize); in read()
4355 if (mNALLengthSize > SIZE_MAX - nal_size) { in read()
4358 if (mBuffer->range_length() - mNALLengthSize < nal_size) { in read()
4369 clone->set_range(mBuffer->range_offset() + mNALLengthSize, nal_size); in read()
4373 mBuffer->range_offset() + mNALLengthSize + nal_size, in read()
[all …]