/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_get_main_data_size.cpp | 121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, in pvmp3_get_main_data_size() local 125 numBytes >>= (20 - info->version_x); in pvmp3_get_main_data_size() 132 pVars->predicted_frame_size = numBytes; in pvmp3_get_main_data_size() 135 numBytes -= 17; in pvmp3_get_main_data_size() 139 numBytes -= 32; in pvmp3_get_main_data_size() 144 numBytes >>= 1; in pvmp3_get_main_data_size() 145 pVars->predicted_frame_size = numBytes; in pvmp3_get_main_data_size() 149 numBytes -= 9; in pvmp3_get_main_data_size() 153 numBytes -= 17; in pvmp3_get_main_data_size() 159 numBytes++; in pvmp3_get_main_data_size() [all …]
|
D | pvmp3_seek_synch.cpp | 179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20, in pvmp3_frame_synch() local 182 numBytes >>= (20 - version); in pvmp3_frame_synch() 186 numBytes >>= 1; in pvmp3_frame_synch() 190 numBytes++; in pvmp3_frame_synch() 193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength) in pvmp3_frame_synch() 196 pExt->CurrentFrameLength = numBytes + 3; in pvmp3_frame_synch() 199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength) in pvmp3_frame_synch() 208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3); in pvmp3_frame_synch()
|
/frameworks/av/media/libstagefright/ |
D | VBRISeeker.cpp | 106 uint32_t numBytes; in CreateFromSource() local 108 case 1: numBytes = buffer[i]; break; in CreateFromSource() 109 case 2: numBytes = U16_AT(buffer + 2 * i); break; in CreateFromSource() 110 case 3: numBytes = U24_AT(buffer + 3 * i); break; in CreateFromSource() 114 numBytes = U32_AT(buffer + 4 * i); break; in CreateFromSource() 118 numBytes *= scale; in CreateFromSource() 120 seeker->mSegments.push(numBytes); in CreateFromSource() 122 ALOGV("entry #%d: %d offset 0x%08lx", i, numBytes, offset); in CreateFromSource() 123 offset += numBytes; in CreateFromSource()
|
D | HTTPBase.cpp | 62 size_t numBytes, int64_t delayUs) { in addBandwidthMeasurement() argument 67 entry.mNumBytes = numBytes; in addBandwidthMeasurement() 69 mTotalTransferBytes += numBytes; in addBandwidthMeasurement()
|
/frameworks/rs/ |
D | rsStream.cpp | 30 void IStream::loadByteArray(void *dest, size_t numBytes) { in loadByteArray() argument 31 memcpy(dest, mData + mPos, numBytes); in loadByteArray() 32 mPos += numBytes; in loadByteArray() 64 void OStream::addByteArray(const void *src, size_t numBytes) { in addByteArray() argument 66 while (mPos + numBytes >= mLength) { in addByteArray() 69 memcpy(mData + mPos, src, numBytes); in addByteArray() 70 mPos += numBytes; in addByteArray()
|
D | rsStream.h | 60 void loadByteArray(void *dest, size_t numBytes); 133 void addByteArray(const void *src, size_t numBytes);
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsStream.cpp | 30 void IStream::loadByteArray(void *dest, size_t numBytes) { in loadByteArray() argument 31 memcpy(dest, mData + mPos, numBytes); in loadByteArray() 32 mPos += numBytes; in loadByteArray() 64 void OStream::addByteArray(const void *src, size_t numBytes) { in addByteArray() argument 66 while (mPos + numBytes >= mLength) { in addByteArray() 69 memcpy(mData + mPos, src, numBytes); in addByteArray() 70 mPos += numBytes; in addByteArray()
|
D | rsStream.h | 60 void loadByteArray(void *dest, size_t numBytes); 133 void addByteArray(const void *src, size_t numBytes);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.h | 40 size_t numBytes; member 78 typedef ssize_t FwdLockConv_ReadFunc_t(int fileDesc, void *pBuffer, size_t numBytes); 90 typedef ssize_t FwdLockConv_WriteFunc_t(int fileDesc, const void *pBuffer, size_t numBytes); 194 size_t numBytes,
|
D | FwdLockConv.c | 576 pOutput->fromConvertData.numBytes = pSession->dataOffset; in FwdLockConv_WriteHeader() 833 if (pOutput->fromConvertData.numBytes == pSession->outputBufferSize) { in FwdLockConv_WriteEncryptedChar() 850 ((unsigned char *)pOutput->fromConvertData.pBuffer)[pOutput->fromConvertData.numBytes++] = ch; in FwdLockConv_WriteEncryptedChar() 1167 size_t numBytes, in FwdLockConv_ConvertData() argument 1177 pOutput->fromConvertData.numBytes = 0; in FwdLockConv_ConvertData() 1180 for (i = 0; i < numBytes; ++i) { in FwdLockConv_ConvertData() 1277 output.fromConvertData.numBytes > 0) { in FwdLockConv_ConvertOpenFile() 1280 output.fromConvertData.numBytes); in FwdLockConv_ConvertOpenFile() 1281 if (numBytesWritten != (ssize_t)output.fromConvertData.numBytes) { in FwdLockConv_ConvertOpenFile()
|
/frameworks/base/media/tests/omxjpegdecoder/ |
D | omx_jpeg_decoder.cpp | 53 int numBytes = numChars * sizeof(char); in getJpegOutput() local 54 size -= numBytes; in getJpegOutput() 55 data += numBytes; in getJpegOutput() 74 int numBytes = numChars * sizeof(char); in storeBitmapToFile() local 75 size -= numBytes; in storeBitmapToFile() 76 data += numBytes; in storeBitmapToFile()
|
/frameworks/base/core/java/android/speech/srec/ |
D | WaveHeader.java | 73 …ic WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) { in WaveHeader() argument 78 mNumBytes = numBytes; in WaveHeader() 170 public WaveHeader setNumBytes(int numBytes) { in setNumBytes() argument 171 mNumBytes = numBytes; in setNumBytes() 184 int numBytes = readInt(in) - 36; in read() local
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccServiceTable.java | 56 int numBytes = mServiceTable.length; in toString() local 58 .append(numBytes * 8).append("]={ "); in toString() 61 for (int i = 0; i < numBytes; i++) { in toString()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 416 if (convSession->output.fromConvertData.numBytes > 0) { 417 convResult->data = new char[convSession->output.fromConvertData.numBytes]; 420 convResult->length = convSession->output.fromConvertData.numBytes; 619 int numBytes) { argument 625 numBytes > -1) { 628 size = FwdLockFile_read(session->fileDesc, buffer, numBytes); 665 ssize_t numBytes, argument 671 ssize_t numBytes, 681 (numBytes > -1) && 688 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | RuimRecords.java | 283 int numBytes; in onRecordLoaded() local 284 for (numBytes = 0; numBytes < spnData.length; numBytes++) { in onRecordLoaded() 285 if ((spnData[numBytes] & 0xFF) == 0xFF) break; in onRecordLoaded() 288 if (numBytes == 0) { in onRecordLoaded() 296 spn = new String(spnData, 0, numBytes, "ISO-8859-1"); in onRecordLoaded() 301 spn = GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes*8)/7); in onRecordLoaded() 304 spn = new String(spnData, 0, numBytes, "utf-16"); in onRecordLoaded()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
D | FwdLockGlue.c | 126 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes) { in FwdLockGlue_GetRandomNumber() argument 132 numBytesRead = read(fileDesc, pBuffer, numBytes); in FwdLockGlue_GetRandomNumber() 135 return numBytesRead >= 0 && (size_t)numBytesRead == numBytes; in FwdLockGlue_GetRandomNumber()
|
D | FwdLockGlue.h | 32 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
D | FwdLockEngine.h | 450 int numBytes); 491 ssize_t numBytes, 497 ssize_t numBytes,
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
D | BackDropperFilter.java | 616 int numBytes = mMaskFormat.getSize(); in allocateFrames() local 617 byte[] initialBgMean = new byte[numBytes]; in allocateFrames() 618 byte[] initialBgVariance = new byte[numBytes]; in allocateFrames() 619 byte[] initialMaskVerify = new byte[numBytes]; in allocateFrames() 620 for (int i = 0; i < numBytes; i++) { in allocateFrames() 629 mBgMean[i].setData(initialBgMean, 0, numBytes); in allocateFrames() 632 mBgVariance[i].setData(initialBgVariance, 0, numBytes); in allocateFrames() 635 mMaskVerify[i].setData(initialMaskVerify, 0, numBytes); in allocateFrames()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LoggingPrintStream.java | 133 int numBytes = Math.min(encodedBytes.remaining(), end - start); in write() local 134 encodedBytes.put(bytes, start, numBytes); in write() 135 start += numBytes; in write()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AMPEG4AudioAssembler.cpp | 237 size_t numBytes = (totalNumBits + 7) / 8; in parseAudioSpecificConfig() local 239 *asc = new ABuffer(numBytes); in parseAudioSpecificConfig() 246 while (numBytes > 0) { in parseAudioSpecificConfig() 248 --numBytes; in parseAudioSpecificConfig()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
D | FwdLockFile.h | 48 ssize_t FwdLockFile_read(int fileDesc, void *pBuffer, size_t numBytes);
|
/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 130 ssize_t numBytes; in isFileDifferent() local 131 while ((numBytes = TEMP_FAILURE_RETRY(read(fd, crcBuffer, sizeof(crcBuffer)))) > 0) { in isFileDifferent() 132 crc = crc32(crc, crcBuffer, numBytes); in isFileDifferent()
|
/frameworks/av/drm/common/ |
D | DrmEngineBase.cpp | 168 int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { in pread() argument 169 return onPread(uniqueId, decryptHandle, buffer, numBytes, offset); in pread()
|
/frameworks/av/drm/libdrmframework/ |
D | DrmManagerClient.cpp | 162 sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { in pread() argument 163 return mDrmManagerClientImpl->pread(mUniqueId, decryptHandle, buffer, numBytes, offset); in pread()
|