/frameworks/base/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/base/media/libstagefright/ |
D | VBRISeeker.cpp | 100 uint32_t numBytes; in CreateFromSource() local 102 case 1: numBytes = buffer[i]; break; in CreateFromSource() 103 case 2: numBytes = U16_AT(buffer + 2 * i); break; in CreateFromSource() 104 case 3: numBytes = U24_AT(buffer + 3 * i); break; in CreateFromSource() 108 numBytes = U32_AT(buffer + 4 * i); break; in CreateFromSource() 112 numBytes *= scale; in CreateFromSource() 114 seeker->mSegments.push(numBytes); in CreateFromSource() 116 LOGV("entry #%d: %d offset 0x%08lx", i, numBytes, offset); in CreateFromSource() 117 offset += numBytes; in CreateFromSource()
|
D | HTTPBase.cpp | 59 size_t numBytes, int64_t delayUs) { in addBandwidthMeasurement() argument 64 entry.mNumBytes = numBytes; in addBandwidthMeasurement() 66 mTotalTransferBytes += numBytes; in addBandwidthMeasurement()
|
/frameworks/base/libs/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/base/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/base/telephony/java/com/android/internal/telephony/cdma/ |
D | CdmaLteUiccRecords.java | 118 int numBytes; in onRecordLoaded() local 119 for (numBytes = 0; numBytes < spnData.length; numBytes++) { in onRecordLoaded() 120 if ((spnData[numBytes] & 0xFF) == 0xFF) break; in onRecordLoaded() 123 if (numBytes == 0) { in onRecordLoaded() 131 spn = new String(spnData, 0, numBytes, "ISO-8859-1"); in onRecordLoaded() 136 spn = GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes*8)/7); in onRecordLoaded() 139 spn = new String(spnData, 0, numBytes, "utf-16"); in onRecordLoaded()
|
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 379 if (convSession->output.fromConvertData.numBytes > 0) { 380 convResult->data = new char[convSession->output.fromConvertData.numBytes]; 383 convResult->length = convSession->output.fromConvertData.numBytes; 582 int numBytes) { argument 588 numBytes > -1) { 591 size = FwdLockFile_read(session->fileDesc, buffer, numBytes); 628 ssize_t numBytes, argument 634 ssize_t numBytes, 644 (numBytes > -1) && 651 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes);
|
/frameworks/base/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/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
D | FwdLockEngine.h | 449 int numBytes); 490 ssize_t numBytes, 496 ssize_t numBytes,
|
/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/base/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
D | FwdLockFile.h | 58 ssize_t FwdLockFile_read(int fileDesc, void *pBuffer, size_t numBytes);
|
/frameworks/base/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/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/base/drm/common/ |
D | DrmEngineBase.cpp | 153 int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { in pread() argument 154 return onPread(uniqueId, decryptHandle, buffer, numBytes, offset); in pread()
|
/frameworks/base/drm/libdrmframework/ |
D | DrmManagerClient.cpp | 151 sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { in pread() argument 152 return mDrmManagerClientImpl->pread(mUniqueId, decryptHandle, buffer, numBytes, offset); in pread()
|
D | DrmManagerClientImpl.cpp | 317 void* buffer, ssize_t numBytes, off64_t offset) { in pread() argument 319 if ((NULL != decryptHandle.get()) && (NULL != buffer) && (0 < numBytes)) { in pread() 321 uniqueId, decryptHandle.get(), buffer, numBytes, offset); in pread()
|
/frameworks/base/drm/libdrmframework/plugins/common/include/ |
D | DrmEngineBase.h | 99 void* buffer, ssize_t numBytes, off64_t offset); 459 void* buffer, ssize_t numBytes, off64_t offset) = 0;
|
/frameworks/base/media/libstagefright/include/ |
D | HTTPBase.h | 60 void addBandwidthMeasurement(size_t numBytes, int64_t delayUs);
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
D | DecTestBench.c | 709 static u32 numBytes = 0; in H264SwDecMalloc() local 710 numBytes += size; in H264SwDecMalloc() 711 DEBUG(("Allocated %d bytes, total %d\n", size, numBytes)); in H264SwDecMalloc()
|