Searched refs:bufferCount (Results 1 – 6 of 6) sorted by relevance
87 unsigned bufferCount = 0; in changeFramesInFlight() local91 bufferCount += virtCam->getAllowedBuffers(); in changeFramesInFlight()96 bufferCount += delta; in changeFramesInFlight()99 if (bufferCount < 1) { in changeFramesInFlight()100 bufferCount = 1; in changeFramesInFlight()104 Return<EvsResult> result = mHwCamera->setMaxFramesInFlight(bufferCount); in changeFramesInFlight()110 newRecords.reserve(bufferCount); in changeFramesInFlight()118 if (newRecords.size() > (unsigned)bufferCount) { in changeFramesInFlight()
107 Return<EvsResult> VirtualCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument109 int bufferCountChange = bufferCount - mFramesAllowed; in setMaxFramesInFlight()114 ALOGE("Failed to change buffer count by %d to %d", bufferCountChange, bufferCount); in setMaxFramesInFlight()119 mFramesAllowed = bufferCount; in setMaxFramesInFlight()
61 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
112 Return<EvsResult> EvsV4lCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument123 if (bufferCount < 1) { in setMaxFramesInFlight()129 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()310 bool EvsV4lCamera::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument311 if (bufferCount < 1) { in setAvailableFrames_Locked()315 if (bufferCount > MAX_BUFFERS_IN_FLIGHT) { in setAvailableFrames_Locked()321 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()323 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()333 } else if (mFramesAllowed > bufferCount) { in setAvailableFrames_Locked()335 unsigned framesToRelease = mFramesAllowed - bufferCount; in setAvailableFrames_Locked()
46 Return <EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;62 bool setAvailableFrames_Locked(unsigned bufferCount);
376 int bufferCount = 0; in makeSnippetFromText() local383 for (int i = 0; i < length && bufferCount < MAX_SNIPPET_LENGTH; i++) { in makeSnippetFromText()448 buffer[bufferCount++] = c; in makeSnippetFromText()453 if ((bufferCount > 0) && (last == ' ')) { in makeSnippetFromText()454 bufferCount--; in makeSnippetFromText()456 return new String(buffer, 0, bufferCount); in makeSnippetFromText()