Searched refs:bufferCount (Results 1 – 11 of 11) 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;
117 unsigned bufferCount = 0; in changeFramesInFlight() local121 bufferCount += virtCam->getAllowedBuffers(); in changeFramesInFlight()126 bufferCount += delta; in changeFramesInFlight()129 if (bufferCount < 1) { in changeFramesInFlight()130 bufferCount = 1; in changeFramesInFlight()134 Return<EvsResult> result = mHwCamera->setMaxFramesInFlight(bufferCount); in changeFramesInFlight()140 newRecords.reserve(bufferCount); in changeFramesInFlight()148 if (newRecords.size() > (unsigned)bufferCount) { in changeFramesInFlight()168 auto bufferCount = 0; in changeFramesInFlight() local172 bufferCount += virtCam->getAllowedBuffers(); in changeFramesInFlight()[all …]
253 Return<EvsResult> VirtualCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument255 int bufferCountChange = bufferCount - mFramesAllowed; in setMaxFramesInFlight()270 << " to " << bufferCount; in setMaxFramesInFlight()278 mFramesAllowed = bufferCount; in setMaxFramesInFlight()
82 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
205 Return<EvsResult> EvsEmulatedCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument216 if (bufferCount < 1) { in setMaxFramesInFlight()222 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()566 bool EvsEmulatedCamera::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument567 if (bufferCount < 1) { in setAvailableFrames_Locked()572 if (bufferCount > MAX_BUFFERS_IN_FLIGHT) { in setAvailableFrames_Locked()578 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()580 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()590 } else if (mFramesAllowed > bufferCount) { in setAvailableFrames_Locked()592 unsigned framesToRelease = mFramesAllowed - bufferCount; in setAvailableFrames_Locked()
68 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;117 bool setAvailableFrames_Locked(unsigned bufferCount);
116 Return<EvsResult> EvsV4lCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument127 if (bufferCount < 1) { in setMaxFramesInFlight()133 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()574 bool EvsV4lCamera::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument575 if (bufferCount < 1) { in setAvailableFrames_Locked()579 if (bufferCount > MAX_BUFFERS_IN_FLIGHT) { in setAvailableFrames_Locked()585 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()587 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()597 } else if (mFramesAllowed > bufferCount) { in setAvailableFrames_Locked()599 unsigned framesToRelease = mFramesAllowed - bufferCount; in setAvailableFrames_Locked()
61 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;114 bool setAvailableFrames_Locked(unsigned bufferCount);
33 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override { in setMaxFramesInFlight() argument34 if (bufferCount > 1024) { in setMaxFramesInFlight()