Searched defs:sectionLength (Results 1 - 2 of 2) sorted by relevance

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

Completed in 731 milliseconds