/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_decode_header.cpp | 40 uint32 *crc 44 uint32 *crc initialized crc computation 117 uint32 *crc) 172 *crc = 0xffff; /* CRC start value */ 173 calculate_crc((temp << 16) >> 16, 16, crc); 115 pvmp3_decode_header(tmp3Bits *inputStream, mp3Header *info, uint32 *crc) argument
|
H A D | pvmp3_get_side_info.cpp | 40 uint32 *crc initialized crc value (if enabled) 117 uint32 *crc) 128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection); 134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection); 142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection); 153 si->ch[ch].gran[gr].part2_3_length = getbits_crc(inputStream, 12, crc, info->error_protection); 154 tmp = getbits_crc(inputStream, 22, crc, info->error_protection); 163 tmp = getbits_crc(inputStream, 22, crc, info->error_protection); 195 tmp = getbits_crc(inputStream, 22, crc, inf 114 pvmp3_get_side_info(tmp3Bits *inputStream, mp3SideInfo *si, mp3Header *info, uint32 *crc) argument [all...] |
H A D | pvmp3_crc.cpp | 46 uint32 *crc, memory location holding calculated crc value 47 uint32 crc_enabled flag to enable/disable crc checking 56 uint32 length, number of element upon the crc will be calculated 57 uint32 *crc, memory location holding calculated crc value 125 uint32 *crc, 132 calculate_crc(bits, neededBits, crc); 143 uint32 *crc) 150 carry = *crc 123 getbits_crc(tmp3Bits *inputStream, int32 neededBits, uint32 *crc, uint32 crc_enabled) argument 141 calculate_crc(uint32 data, uint32 length, uint32 *crc) argument [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_cache.cpp | 268 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); local 269 *crc = crc32c(buf + headerSize, cacheSize); 330 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); local 331 if (crc32c(buf + headerSize, cacheSize) != *crc) {
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 128 long crc = crc32(0L, Z_NULL, 0); local 132 crc = crc32(crc, crcBuffer, numBytes); 136 ALOGV("%s: crc = %lx, zipCrc = %lx\n", filePath, crc, zipCrc); 138 if (crc != zipCrc) { 173 long crc; local 176 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, &when, &crc)) { 204 if (!isFileDifferent(localFileName, uncompLen, modTime, crc, &st)) {
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG2TSWriter.cpp | 751 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); local 752 memcpy(&buffer->data()[17], &crc, sizeof(crc)); 827 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); local 828 memcpy(&buffer->data()[17+mSources.size()*5], &crc, sizeof(crc)); 1000 uint32_t crc = i << 24; local 1002 crc = (crc << 1) ^ ((crc 1013 uint32_t crc = 0xFFFFFFFF; local [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | TSPacketizer.cpp | 700 uint32_t crc = htonl(crc32(crcDataStart, ptr - crcDataStart)); local 701 memcpy(ptr, &crc, 4); 815 crc = htonl(crc32(crcDataStart, ptr - crcDataStart)); 816 memcpy(ptr, &crc, 4); 1018 uint32_t crc = i << 24; local 1020 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0); 1022 mCrcTable[i] = crc; 1027 uint32_t crc local [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 228 int crc = crc32(0L, Z_NULL, 0); local 319 int crc = crc32(0L, Z_NULL, 0); local 324 crc = crc32(crc, (Bytef*)buf, amt); 328 return crc; 745 int crc; local 774 // Write the file and compute the crc 775 crc = crc32(0L, Z_NULL, 0); 789 crc = crc32(crc, (Byte [all...] |
/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 366 unsigned long crc; local 417 result = compressFpToFp(mZipFp, inputFp, data, size, &crc); 446 result = copyFpToFp(mZipFp, inputFp, &crc); 448 result = copyDataToFp(mZipFp, data, size, &crc); 469 &compressedLen, &crc); 498 pEntry->setDataInfo(uncompressedLen, endPosn - startPosn, crc, 752 unsigned long crc; local 791 crc = crc32(0L, Z_NULL, 0); 821 crc = crc32(crc, inBu [all...] |