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.cpp123 size_t mNALLengthSize; member in android::MPEG4Source
3565 mNALLengthSize(0), in MPEG4Source()
3605 mNALLengthSize = 1 + (ptr[4] & 3); in MPEG4Source()
3617 mNALLengthSize = 1 + (ptr[14 + 7] & 3); in MPEG4Source()
4271 switch (mNALLengthSize) { in parseNALSize()
4460 CHECK(mBuffer->range_length() >= mNALLengthSize); in read()
4466 if (mNALLengthSize > SIZE_MAX - nal_size) { in read()
4469 if (mBuffer->range_length() - mNALLengthSize < nal_size) { in read()
4480 clone->set_range(mBuffer->range_offset() + mNALLengthSize, nal_size); in read()
4484 mBuffer->range_offset() + mNALLengthSize + nal_size, in read()
[all …]