Home
last modified time | relevance | path

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

/frameworks/av/camera/
DCameraMetadata.cpp790 size_t sectionLength = 0; in getTagFromName() local
805 if (section == NULL || sectionLength < strLength) { in getTagFromName()
808 sectionLength = strLength; in getTagFromName()
825 const char *nameTagName = name + sectionLength + 1; // x.y.z -> z in getTagFromName()
826 if (sectionLength + 1 >= nameLength) { in getTagFromName()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp2470 unsigned sectionLength = U16_AT(mBuffer->data() + 1) & 0xfff; in isComplete() local
2471 return mBuffer->size() >= sectionLength + 3; in isComplete()
2497 unsigned sectionLength = U16_AT(data + 1) & 0xfff; in isCRCOkay() local
2498 ALOGV("sectionLength %u, skip %u", sectionLength, mSkipBytes); in isCRCOkay()
2501 if(sectionLength < mSkipBytes) { in isCRCOkay()
2508 sectionLength -= mSkipBytes; in isCRCOkay()
2511 for(unsigned i = 0; i < sectionLength + 4 /* crc */; i++) { in isCRCOkay()