Searched refs:bufferCount (Results 1 – 10 of 10) 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()
112 Return<EvsResult> VirtualCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument114 int bufferCountChange = bufferCount - mFramesAllowed; in setMaxFramesInFlight()119 ALOGE("Failed to change buffer count by %d to %d", bufferCountChange, bufferCount); in setMaxFramesInFlight()124 mFramesAllowed = bufferCount; in setMaxFramesInFlight()
61 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
129 unsigned bufferCount = 0; in changeFramesInFlight() local133 bufferCount += virtCam->getAllowedBuffers(); in changeFramesInFlight()138 bufferCount += delta; in changeFramesInFlight()141 if (bufferCount < 1) { in changeFramesInFlight()142 bufferCount = 1; in changeFramesInFlight()146 Return<EvsResult> result = mHwCamera->setMaxFramesInFlight(bufferCount); in changeFramesInFlight()152 newRecords.reserve(bufferCount); in changeFramesInFlight()160 if (newRecords.size() > (unsigned)bufferCount) { in changeFramesInFlight()180 auto bufferCount = 0; in changeFramesInFlight() local184 bufferCount += virtCam->getAllowedBuffers(); in changeFramesInFlight()[all …]
245 Return<EvsResult> VirtualCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument247 int bufferCountChange = bufferCount - mFramesAllowed; in setMaxFramesInFlight()262 << " to " << bufferCount; in setMaxFramesInFlight()270 mFramesAllowed = bufferCount; in setMaxFramesInFlight()
79 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()570 bool EvsV4lCamera::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument571 if (bufferCount < 1) { in setAvailableFrames_Locked()575 if (bufferCount > MAX_BUFFERS_IN_FLIGHT) { in setAvailableFrames_Locked()581 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()583 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()593 } else if (mFramesAllowed > bufferCount) { in setAvailableFrames_Locked()595 unsigned framesToRelease = mFramesAllowed - bufferCount; in setAvailableFrames_Locked()
61 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;110 bool setAvailableFrames_Locked(unsigned bufferCount);
39 Return<EvsResult> MockEvsCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument42 (void)bufferCount; in setMaxFramesInFlight()
52 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;