Searched refs:crc (Results 1 - 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_crc.cpp46 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...]
H A Dpvmp3_decode_header.h91 uint32 *crc);
H A Dpvmp3_get_side_info.h92 uint32 *crc);
H A Dpvmp3_crc.h86 uint32 *crc,
92 uint32 *crc);
H A Dpvmp3_get_side_info.cpp40 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 Dpvmp3_decode_header.cpp40 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
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp128 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/wifi-display/source/
H A DTSPacketizer.cpp533 uint32_t crc = htonl(crc32(crcDataStart, ptr - crcDataStart)); local
534 memcpy(ptr, &crc, 4);
634 crc = htonl(crc32(crcDataStart, ptr - crcDataStart));
635 memcpy(ptr, &crc, 4);
827 uint32_t crc = i << 24; local
829 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0);
831 mCrcTable[i] = crc;
836 uint32_t crc local
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp751 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/native/opengl/libs/EGL/
H A Degl_cache.cpp271 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); local
272 *crc = crc32c(buf + headerSize, cacheSize);
333 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); local
334 if (crc32c(buf + headerSize, cacheSize) != *crc) {
/frameworks/base/tools/aapt/
H A DZipFile.cpp366 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...]
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp228 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...]

Completed in 575 milliseconds