/frameworks/av/media/libstagefright/timedtext/ |
H A D | TextDescriptions.cpp | 110 uint16_t count = U16_AT(tmpData); local 114 for (int i = 0; i < count; i++) { 150 uint16_t count = U16_AT(tmpData + 4); local 151 parcel->writeInt32(count); 156 for (int i = 0; i < count; i++) { 349 uint16_t count = U16_AT(tmpData); local 350 parcel->writeInt32(count); 353 for (int i = 0; i < count; i++) {
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmFrameThread.cpp | 324 int32_t count = 0; local 356 ++count;
|
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.cpp | 102 uint32_t count; local 103 if (!getUInt32(count)) 106 for (uint32_t i = 0; i < count; i++) { 118 uint32_t count; local 119 if (!getUInt32(count)) 122 for (uint32_t i = 0; i < count; i++) { 134 uint32_t count; local 135 if (!getUInt32(count)) 138 for (uint32_t i = 0; i < count; i++) { 150 uint32_t count; local 166 uint32_t count; local 182 uint32_t count; local 198 uint32_t count; local 214 uint32_t count; local [all...] |
H A D | MtpDevice.cpp | 211 int count = mDeviceInfo->mDeviceProperties->size(); local 212 for (int i = 0; i < count; i++) { 236 int count = mDeviceInfo->mDeviceProperties->size(); local 237 for (int i = 0; i < count; i++) { 250 int count = mDeviceInfo->mPlaybackFormats->size(); local 251 for (int i = 0; i < count; i++) { 478 int count = read(srcFD, buffer, sizeof(buffer)); local 479 if (count > 0) { 480 int written = mData.write(mRequestOut, buffer, count); 482 remaining -= count; [all...] |
H A D | MtpProperty.cpp | 288 void MtpProperty::setFormEnum(const int* values, int count) { argument 291 mEnumValues = new MtpPropertyValue[count]; 292 mEnumLength = count; 294 for (int i = 0; i < count; i++) {
|
H A D | MtpServer.cpp | 232 int count = mObjectEditList.size(); local 233 for (int i = 0; i < count; i++) { 288 int count = mObjectEditList.size(); local 289 for (int i = 0; i < count; i++) { 297 int count = mObjectEditList.size(); local 298 for (int i = 0; i < count; i++) { 522 int count = mStorages.size(); local 523 mData.putUInt32(count); 524 for (int i = 0; i < count; i++) 599 int count local [all...] |
H A D | MtpStringBuffer.cpp | 59 // count the characters 60 int count = 0; local 64 while ((ch = *src++) != 0 && count < MTP_STRING_MAX_CHARACTER_NUMBER) { 95 count++; 100 mCharCount = count; 104 int count = 0; local 108 while ((ch = *src++) != 0 && count < MTP_STRING_MAX_CHARACTER_NUMBER) { 119 count++; 122 mCharCount = count; 127 uint8_t count; local 155 int count = mCharCount; local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 258 for (size_t count = mUnregisteredWriters.size(); count > 0; count--) { 326 result.append(" session pid count\n"); 490 for (size_t count = mUnregisteredWriters.size(); count > 0; count--) { 707 // FIXME currently returns the normal mixer's frame count to avoid confusing legacy callers; 2649 // Check whether the destination thread has a channel count of FCC_2, which is 2655 " destination thread %p channel count( 2897 size_t count = TEE_SINK_READ; local [all...] |
H A D | AudioResamplerFirProcess.h | 180 size_t count, 196 for (size_t i = 0; i < count; ++i) { 197 TC c = TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP); 205 c = TFUNC::interpolaten(coefsN[count], coefsN[0], lerpP); 220 for (size_t i = 0; i < count; ++i) { 221 mac(l, r, TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP), sP); 224 mac(l, r, TFUNC::interpolaten(coefsN[count], coefsN[0], lerpP), sN); 232 for (size_t i = 0; i < count; ++i) { 233 mac(l, TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP), sP); 236 mac(l, TFUNC::interpolaten(coefsN[count], coefs 179 ProcessBase(TO* const out, size_t count, const TC* coefsP, const TC* coefsN, const TI* sP, const TI* sN, TINTERP lerpP, const TO* const volumeLR) argument 247 ProcessL(TO* const out, int count, const TC* coefsP, const TC* coefsN, const TI* sP, const TI* sN, const TO* const volumeLR) argument 260 Process(TO* const out, int count, const TC* coefsP, const TC* coefsN, const TC* coefsP1 __unused, const TC* coefsN1 __unused, const TI* sP, const TI* sN, TINTERP lerpP, const TO* const volumeLR) argument [all...] |
H A D | AudioResamplerFirProcessNeon.h | 54 int count, 83 "subs %[count], %[count], #8 \n"// (1) update loop counter 92 [count] "+r" (count), 106 int count, 140 "subs %[count], %[count], #8 \n"// (1) update loop counter 149 [count] "+r" (count), 53 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 105 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 163 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 233 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 309 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 370 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 450 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 535 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 639 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 689 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 742 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 810 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 881 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 935 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 997 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 1069 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument [all...] |
H A D | AudioResamplerSinc.cpp | 669 size_t count = offset; local 674 for (size_t i=0 ; i<count ; i++) { 705 for (; count > 0; count -= 4) { 775 for (; count > 0; count -= 4) {
|
H A D | FastMixer.cpp | 43 #define FCC_2 2 // fixed channel count assumption 409 //bool didFullWrite = false; // dumpsys could display a count of partial writes 443 // FIXME count # of writes blocked excessively, CPU usage, etc. for dump 626 uint32_t count = n / kTailDenominator; local 628 for (uint32_t i = 0; i < count; ++i) {
|
H A D | StateQueue.cpp | 117 unsigned count = 0; local 130 if (count == 1) { 133 ++count; 138 if (count > 1) { 161 unsigned count = 0; local 170 if (count == 1) { 173 ++count; 178 if (count > 1) {
|
H A D | Threads.cpp | 587 dprintf(fd, " HAL frame count: %zu\n", mFrameCount); 1319 dprintf(fd, " Normal frame count: %zu\n", mNormalFrameCount); 1324 dprintf(fd, " Suspend count: %d\n", mSuspended); 1377 // use case 1: shared buffer with any frame count 1381 // use case 2: callback handler and frame count is default or at least as large as HAL 1403 // if frameCount not specified, then it defaults to fast mixer (HAL) frame count 1424 // to be at least 2 x the normal mixer frame count and cover audio hardware latency. 1617 // set retry count for buffer fill 1888 // track, but we sometimes have to do this to satisfy the maximum frame count 2071 size_t count local 2120 const size_t count = mBytesRemaining / mFrameSize; local 2684 size_t count = tracksToRemove.size(); local 3178 size_t count = mActiveTracks.size(); local 4006 size_t count = mActiveTracks.size(); local 4495 size_t count = mActiveTracks.size(); local [all...] |
/frameworks/av/services/audioflinger/tests/ |
H A D | resampler_tests.cpp | 153 unsigned count = (end - start + stride - 1) / stride; local 154 return accum / count;
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyEffects.cpp | 102 // EffectVector is existing and we just need to increase ref count 157 uint32_t *count) 169 *count = 0; 176 if (i < *count) { 180 if (effects.size() > *count) { 183 *count = effects.size(); 190 uint32_t *count) 202 *count = 0; 209 if (i < *count) { 213 if (effects.size() > *count) { 155 queryDefaultInputEffects(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument 188 queryDefaultOutputSessionEffects(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument [all...] |
H A D | AudioPolicyInterfaceImpl.cpp | 513 uint32_t *count) 516 *count = 0; 525 *count = 0; 528 return audioPolicyEffects->queryDefaultInputEffects(audioSession, descriptors, count); 511 queryDefaultPreProcessing(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
|
H A D | AudioPolicyInterfaceImplLegacy.cpp | 491 uint32_t *count) 494 *count = 0; 503 *count = 0; 506 return audioPolicyEffects->queryDefaultInputEffects(audioSession, descriptors, count); 489 queryDefaultPreProcessing(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
|
H A D | AudioPolicyManager.cpp | 1263 // increment usage count for this stream on the requested output: 1264 // NOTE that the usage count is the same for duplicated output and hardware output which is 1363 // decrement usage count of this stream on the output 1438 ALOGW("releaseOutput() invalid open count %d for output %d", 1755 ALOGW("releaseInput() invalid open ref count %d", inputDesc->mOpenRefCount); 2107 // activity count per session. Same in startInput(). 4006 // count for their stream type must be adjusted accordingly on 5330 uint32_t count = 0; local 5334 count++; 5337 return count; [all...] |
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 787 // since it exceeds the max stream count on some devices. 1703 status_t Camera2Client::commandSetVideoBufferCountL(size_t count) { argument 1705 ALOGE("%s: Camera %d: Error setting video buffer count after " 1710 return mStreamingProcessor->setRecordingBufferCount(count);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 136 if (!availableFpsRanges.count) return NO_INIT; 225 for (size_t i=0; i < availableFpsRanges.count; i += 2) { 239 for (size_t i=0; i < availableFpsRanges.count; i += 2) { 297 if (!availableJpegThumbnailSizes.count) return NO_INIT; 307 availableJpegThumbnailSizes.count); 318 for (size_t i=0; i < availableJpegThumbnailSizes.count; i += 2) { 352 if (!availableWhiteBalanceModes.count) { 358 for (size_t i=0; i < availableWhiteBalanceModes.count; i++) { 416 if (!availableEffects.count) { 422 for (size_t i=0; i < availableEffects.count; 2746 getMaxSizeForRatio( float ratio, const int32_t* sizeArray, size_t count) argument [all...] |
H A D | StreamingProcessor.cpp | 241 status_t StreamingProcessor::setRecordingBufferCount(size_t count) { argument 244 if (count > BufferQueue::NUM_BUFFER_SLOTS) { 246 __FUNCTION__, mId, count, BufferQueue::NUM_BUFFER_SLOTS); 252 ALOGV("%s: Camera %d: New recording buffer count from encoder: %zu", 253 __FUNCTION__, mId, count); 256 if (mRecordingHeapCount != count) { 261 ALOGE("%s: Camera %d: Setting recording buffer count when " 272 mRecordingHeapCount = count; 273 mRecordingHeapFree = count;
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 619 static int __set_buffer_count(struct preview_stream_ops* w, int count) argument 622 return native_window_set_buffer_count(a, count); 670 int *count) 673 return a->query(a, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, count); 668 __get_min_undequeued_buffer_count( const struct preview_stream_ops *w, int *count) argument
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.cpp | 193 if (partialResultsCount.count > 0) { 200 if (partialResultsQuirk.count > 0 && partialResultsQuirk.data.u8[0] == 1) { 310 if (availableStreamConfigs.count == 0 || 311 availableStreamConfigs.count % STREAM_CONFIGURATION_SIZE != 0) { 316 for (size_t i=0; i < availableStreamConfigs.count; i+= STREAM_CONFIGURATION_SIZE) { 331 if (availableJpegSizes.count == 0 || availableJpegSizes.count % 2 != 0) { 336 for (size_t i = 0; i < availableJpegSizes.count; i += 2) { 359 if (jpegBufMaxSize.count == 0) { 505 if (it->find(ANDROID_REQUEST_ID).count 2420 queueTrigger( RequestTrigger trigger[], size_t count) argument 2970 size_t count = mTriggerMap.size(); local [all...] |
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 479 int fps, width, height, count, pause; local 490 else if (sscanf(l, " %c %d %d %s #%6s", &pathType, &count, &pause, path, color) >= 4) { 491 // ALOGD("> type=%c, count=%d, pause=%d, path=%s, color=%s", pathType, count, pause, path, color); 494 part.count = count; 589 for (int r=0 ; !part.count || r<part.count ; r++) { 612 if (part.count != 1) { 657 if(exitPending() && !part.count) [all...] |