HomeSort by relevance Sort by last modified time
    Searched refs:bufferCount (Results 1 - 25 of 64) sorted by null

1 2 3

  /packages/services/Car/evs/manager/
HalCamera.cpp 87 unsigned bufferCount = 0;
91 bufferCount += virtCam->getAllowedBuffers();
96 bufferCount += delta;
99 if (bufferCount < 1) {
100 bufferCount = 1;
104 Return<EvsResult> result = mHwCamera->setMaxFramesInFlight(bufferCount);
110 newRecords.reserve(bufferCount);
118 if (newRecords.size() > (unsigned)bufferCount) {
VirtualCamera.cpp 107 Return<EvsResult> VirtualCamera::setMaxFramesInFlight(uint32_t bufferCount) {
109 int bufferCountChange = bufferCount - mFramesAllowed;
114 ALOGE("Failed to change buffer count by %d to %d", bufferCountChange, bufferCount);
119 mFramesAllowed = bufferCount;
VirtualCamera.h 61 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
  /frameworks/av/services/camera/libcameraservice/device3/
Camera3BufferManager.cpp 255 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId);
256 if (bufferCount >= streamSet.maxAllowedBufferCount) {
257 ALOGE("%s: bufferCount (%zu) exceeds the max allowed buffer count (%zu) of this stream set",
258 __FUNCTION__, bufferCount, streamSet.maxAllowedBufferCount);
264 if (attachedBufferCount > bufferCount) {
267 bufferCount++;
293 bufferCount++;
298 if (bufferCount + 1 > streamSet.allocatedBufferWaterMark) {
299 streamSet.allocatedBufferWaterMark = bufferCount + 1;
351 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId)
    [all...]
Camera3OutputStream.h 57 size_t bufferCount = 0,
66 totalBufferCount(bufferCount),
  /frameworks/native/libs/gui/
BufferItemConsumer.cpp 37 int bufferCount, bool controlledByApp) :
43 if (bufferCount != DEFAULT_MAX_BUFFERS) {
44 err = mConsumer->setMaxAcquiredBufferCount(bufferCount);
46 "Failed to set max acquired buffer count to %d", bufferCount);
BufferQueueConsumer.cpp 575 status_t BufferQueueConsumer::setMaxBufferCount(int bufferCount) {
578 if (bufferCount < 1 || bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) {
579 BQ_LOGE("setMaxBufferCount: invalid count %d", bufferCount);
590 if (bufferCount < mCore->mMaxAcquiredBufferCount) {
592 "mMaxAcquiredBufferCount (%d)", bufferCount,
598 mCore->mDequeueBufferCannotBlock, bufferCount) -
606 mCore->mMaxBufferCount = bufferCount;
  /hardware/intel/img/hwcomposer/merrifield/ips/tangier/
TngOverlayPlane.h 40 virtual bool initialize(uint32_t bufferCount);
TngOverlayPlane.cpp 97 bool TngOverlayPlane::initialize(uint32_t bufferCount)
99 if (!OverlayPlaneBase::initialize(bufferCount)) {
  /hardware/interfaces/automotive/evs/1.0/
IEvsCamera.hal 49 setMaxFramesInFlight(uint32_t bufferCount) generates (EvsResult result);
  /hardware/interfaces/camera/device/1.0/
ICameraDeviceCallback.hal 38 * bufferSize * bufferCount bytes.
40 * @param bufferCount The number of contiguous buffers that the descriptor
48 registerMemory(handle descriptor, uint32_t bufferSize, uint32_t bufferCount)
  /packages/services/Car/evs/sampleDriver/
EvsV4lCamera.h 46 Return <EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
62 bool setAvailableFrames_Locked(unsigned bufferCount);
EvsV4lCamera.cpp 112 Return<EvsResult> EvsV4lCamera::setMaxFramesInFlight(uint32_t bufferCount) {
123 if (bufferCount < 1) {
129 if (setAvailableFrames_Locked(bufferCount)) {
310 bool EvsV4lCamera::setAvailableFrames_Locked(unsigned bufferCount) {
311 if (bufferCount < 1) {
315 if (bufferCount > MAX_BUFFERS_IN_FLIGHT) {
321 if (mFramesAllowed < bufferCount) {
323 unsigned needed = bufferCount - mFramesAllowed;
333 } else if (mFramesAllowed > bufferCount) {
335 unsigned framesToRelease = mFramesAllowed - bufferCount;
    [all...]
  /hardware/interfaces/automotive/evs/1.0/default/
EvsCamera.cpp 117 Return<EvsResult> EvsCamera::setMaxFramesInFlight(uint32_t bufferCount) {
128 if (bufferCount < 1) {
134 if (setAvailableFrames_Locked(bufferCount)) {
265 bool EvsCamera::setAvailableFrames_Locked(unsigned bufferCount) {
266 if (bufferCount < 1) {
270 if (bufferCount > MAX_BUFFERS_IN_FLIGHT) {
276 if (mFramesAllowed < bufferCount) {
278 unsigned needed = bufferCount - mFramesAllowed;
288 } else if (mFramesAllowed > bufferCount) {
290 unsigned framesToRelease = mFramesAllowed - bufferCount;
    [all...]
EvsCamera.h 43 Return <EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
61 bool setAvailableFrames_Locked(unsigned bufferCount);
  /frameworks/av/media/libstagefright/filters/
GraphicBufferListener.cpp 33 size_t bufferWidth, size_t bufferHeight, size_t bufferCount) {
42 status_t err = mConsumer->setMaxAcquiredBufferCount(bufferCount);
45 bufferCount, err);
GraphicBufferListener.h 32 size_t bufferWidth, size_t bufferHeight, size_t bufferCount);
  /frameworks/native/libs/gui/include/gui/
BufferItemConsumer.h 50 // bufferCount parameter specifies how many buffers can be locked for user
55 uint64_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
74 // the construction-time bufferCount parameter. If INVALID_OPERATION is
  /hardware/intel/img/hwcomposer/merrifield/common/planes/
DisplayPlane.cpp 50 bool DisplayPlane::initialize(uint32_t bufferCount)
54 if (bufferCount < MIN_DATA_BUFFER_COUNT) {
55 WTRACE("buffer count %d is too small", bufferCount);
56 bufferCount = MIN_DATA_BUFFER_COUNT;
62 mCacheCapacity = bufferCount;
63 mDataBuffers.setCapacity(bufferCount);
  /frameworks/av/media/libmedia/
IMediaSource.cpp 120 ALOGV("read status %d, bufferCount %u, sinceStop %u",
144 uint32_t bufferCount = 0;
146 LOG_ALWAYS_FATAL_IF(bufferCount >= maxNumBuffers,
148 bufferCount + 1, maxNumBuffers);
181 ++bufferCount;
185 ALOGV("readMultiple status %d, bufferCount %u, sinceStop %u",
186 ret, bufferCount, mBuffersSinceStop);
344 uint32_t bufferCount = 0;
345 for (; bufferCount < maxNumBuffers; ++bufferCount, ++mBuffersSinceStop)
    [all...]
  /hardware/intel/img/hwcomposer/moorefield_hdmi/common/planes/
DisplayPlane.cpp 56 bool DisplayPlane::initialize(uint32_t bufferCount)
60 if (bufferCount < MIN_DATA_BUFFER_COUNT) {
61 WLOGTRACE("buffer count %d is too small", bufferCount);
62 bufferCount = MIN_DATA_BUFFER_COUNT;
68 mCacheCapacity = bufferCount;
69 mDataBuffers.setCapacity(bufferCount);
  /frameworks/native/libs/nativewindow/include/vndk/
window.h 269 int ANativeWindow_setBufferCount(ANativeWindow* window, size_t bufferCount);
  /hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
AnnOverlayPlane.h 45 virtual bool initialize(uint32_t bufferCount);
  /hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
AnnOverlayPlane.h 47 virtual bool initialize(uint32_t bufferCount);
  /frameworks/av/services/camera/libcameraservice/gui/
RingBufferConsumer.cpp 42 int bufferCount) :
44 mBufferCount(bufferCount),
48 mConsumer->setMaxAcquiredBufferCount(bufferCount);
50 assert(bufferCount > 0);

Completed in 595 milliseconds

1 2 3