Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp807 size_t sectionLength = 0; in CameraMetadata_getTagFromKey() local
824 if (section == NULL || sectionLength < strLength) { in CameraMetadata_getTagFromKey()
827 sectionLength = strLength; in CameraMetadata_getTagFromKey()
848 const char *keyTagName = key + sectionLength + 1; // x.y.z -> z in CameraMetadata_getTagFromKey()
849 if (sectionLength + 1 >= keyLength) { in CameraMetadata_getTagFromKey()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp1707 unsigned sectionLength = U16_AT(mBuffer->data() + 1) & 0xfff; in isComplete() local
1708 return mBuffer->size() >= sectionLength + 3; in isComplete()
1734 unsigned sectionLength = U16_AT(data + 1) & 0xfff; in isCRCOkay() local
1735 ALOGV("sectionLength %u, skip %u", sectionLength, mSkipBytes); in isCRCOkay()
1738 if(sectionLength < mSkipBytes) { in isCRCOkay()
1745 sectionLength -= mSkipBytes; in isCRCOkay()
1748 for(unsigned i = 0; i < sectionLength + 4 /* crc */; i++) { in isCRCOkay()