Home
last modified time | relevance | path

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

/frameworks/av/camera/
DCameraMetadata.cpp718 size_t sectionLength = 0; in getTagFromName() local
733 if (section == NULL || sectionLength < strLength) { in getTagFromName()
736 sectionLength = strLength; in getTagFromName()
753 const char *nameTagName = name + sectionLength + 1; // x.y.z -> z in getTagFromName()
754 if (sectionLength + 1 >= nameLength) { in getTagFromName()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp2260 unsigned sectionLength = U16_AT(mBuffer->data() + 1) & 0xfff; in isComplete() local
2261 return mBuffer->size() >= sectionLength + 3; in isComplete()
2287 unsigned sectionLength = U16_AT(data + 1) & 0xfff; in isCRCOkay() local
2288 ALOGV("sectionLength %u, skip %u", sectionLength, mSkipBytes); in isCRCOkay()
2291 if(sectionLength < mSkipBytes) { in isCRCOkay()
2298 sectionLength -= mSkipBytes; in isCRCOkay()
2301 for(unsigned i = 0; i < sectionLength + 4 /* crc */; i++) { in isCRCOkay()