Home
last modified time | relevance | path

Searched refs:bufferCount (Results 1 – 24 of 24) sorted by relevance

/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.cpp117 Return<EvsResult> EvsCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument
128 if (bufferCount < 1) { in setMaxFramesInFlight()
134 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()
265 bool EvsCamera::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument
266 if (bufferCount < 1) { in setAvailableFrames_Locked()
270 if (bufferCount > MAX_BUFFERS_IN_FLIGHT) { in setAvailableFrames_Locked()
276 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()
278 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()
288 } else if (mFramesAllowed > bufferCount) { in setAvailableFrames_Locked()
290 unsigned framesToRelease = mFramesAllowed - bufferCount; in setAvailableFrames_Locked()
DEvsCamera.h43 Return <EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
61 bool setAvailableFrames_Locked(unsigned bufferCount);
/hardware/intel/img/hwcomposer/merrifield/common/planes/
DDisplayPlane.cpp50 bool DisplayPlane::initialize(uint32_t bufferCount) in initialize() argument
54 if (bufferCount < MIN_DATA_BUFFER_COUNT) { in initialize()
55 WTRACE("buffer count %d is too small", bufferCount); in initialize()
56 bufferCount = MIN_DATA_BUFFER_COUNT; in initialize()
62 mCacheCapacity = bufferCount; in initialize()
63 mDataBuffers.setCapacity(bufferCount); in initialize()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/planes/
DDisplayPlane.cpp56 bool DisplayPlane::initialize(uint32_t bufferCount) in initialize() argument
60 if (bufferCount < MIN_DATA_BUFFER_COUNT) { in initialize()
61 WLOGTRACE("buffer count %d is too small", bufferCount); in initialize()
62 bufferCount = MIN_DATA_BUFFER_COUNT; in initialize()
68 mCacheCapacity = bufferCount; in initialize()
69 mDataBuffers.setCapacity(bufferCount); in initialize()
/hardware/intel/common/omx-components/videocodec/
DOMXVideoDecoderVP9Hybrid.cpp72 uint32_t i, bufferCount; in ProcessorInit() local
80 bufferCount = 12; in ProcessorInit()
87 bufferCount = mMetaDataBuffersNum = def_output->nBufferCountActual; in ProcessorInit()
98 bufferCount = mOMXBufferHeaderTypePtrNum; in ProcessorInit()
100 for (i = 0; i < bufferCount; i++ ) { in ProcessorInit()
148 bufferHeight, bufferCount, gralloc_mode, buff, (uint32_t)mAPMode); in ProcessorInit()
155 uint32_t i, bufferCount; in ProcessorReset() local
164 bufferCount = 12; in ProcessorReset()
171 bufferCount = mMetaDataBuffersNum = def_output->nBufferCountActual; in ProcessorReset()
180 bufferCount = mOMXBufferHeaderTypePtrNum; in ProcessorReset()
[all …]
/hardware/google/av/codec2/vndk/v4l2/
DC2VdaBqBlockPool.cpp217 c2_status_t C2VdaBqBlockPool::requestNewBufferSet(int32_t bufferCount) { in requestNewBufferSet() argument
218 if (bufferCount <= 0) { in requestNewBufferSet()
219 ALOGE("Invalid requested buffer count = %d", bufferCount); in requestNewBufferSet()
238 int32_t status = mProducer->setMaxDequeuedBufferCount(bufferCount); in requestNewBufferSet()
243 mMaxDequeuedBuffers = static_cast<size_t>(bufferCount); in requestNewBufferSet()
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngOverlayPlane.h40 virtual bool initialize(uint32_t bufferCount);
DTngOverlayPlane.cpp97 bool TngOverlayPlane::initialize(uint32_t bufferCount) in initialize() argument
99 if (!OverlayPlaneBase::initialize(bufferCount)) { in initialize()
/hardware/google/av/codec2/vndk/include/v4l2/
DC2VdaBqBlockPool.h71 c2_status_t requestNewBufferSet(int32_t bufferCount);
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnOverlayPlane.h45 virtual bool initialize(uint32_t bufferCount);
DAnnOverlayPlane.cpp636 bool AnnOverlayPlane::initialize(uint32_t bufferCount) in initialize() argument
638 if (!OverlayPlaneBase::initialize(bufferCount)) { in initialize()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnOverlayPlane.h47 virtual bool initialize(uint32_t bufferCount);
DAnnOverlayPlane.cpp723 bool AnnOverlayPlane::initialize(uint32_t bufferCount) in initialize() argument
725 if (!OverlayPlaneBase::initialize(bufferCount)) { in initialize()
/hardware/interfaces/camera/device/1.0/
DICameraDeviceCallback.hal38 * bufferSize * bufferCount bytes.
40 * @param bufferCount The number of contiguous buffers that the descriptor
48 registerMemory(handle descriptor, uint32_t bufferSize, uint32_t bufferCount)
/hardware/intel/img/hwcomposer/merrifield/include/
DDisplayPlane.h114 virtual bool initialize(uint32_t bufferCount);
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DDisplayPlane.h114 virtual bool initialize(uint32_t bufferCount);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DOverlayPlaneBase.h54 virtual bool initialize(uint32_t bufferCount);
DOverlayPlaneBase.cpp52 bool OverlayPlaneBase::initialize(uint32_t bufferCount) in initialize() argument
58 if (bufferCount < OVERLAY_DATA_BUFFER_COUNT) { in initialize()
60 bufferCount, OVERLAY_DATA_BUFFER_COUNT); in initialize()
61 bufferCount = OVERLAY_DATA_BUFFER_COUNT; in initialize()
63 if (!DisplayPlane::initialize(bufferCount)) { in initialize()
67 mTTMBuffers.setCapacity(bufferCount); in initialize()
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DOverlayPlaneBase.h55 virtual bool initialize(uint32_t bufferCount);
DOverlayPlaneBase.cpp56 bool OverlayPlaneBase::initialize(uint32_t bufferCount) in initialize() argument
62 if (bufferCount < OVERLAY_DATA_BUFFER_COUNT) { in initialize()
64 bufferCount, OVERLAY_DATA_BUFFER_COUNT); in initialize()
65 bufferCount = OVERLAY_DATA_BUFFER_COUNT; in initialize()
67 if (!DisplayPlane::initialize(bufferCount)) { in initialize()
71 mTTMBuffers.setCapacity(bufferCount); in initialize()
/hardware/interfaces/automotive/evs/1.0/
DIEvsCamera.hal49 setMaxFramesInFlight(uint32_t bufferCount) generates (EvsResult result);
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp590 uint32_t bufferSize, uint32_t bufferCount) override;
807 uint32_t bufferCount) { in registerMemory() argument
820 descriptor->data[0], bufferSize*bufferCount, 0, 0); in registerMemory()
/hardware/interfaces/graphics/bufferqueue/1.0/
DIGraphicBufferProducer.hal196 * * bufferCount was out of range (see above).
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp2693 int bufferCount = MAX_INFLIGHT_REQUESTS; in configureStreamsPerfLocked() local
2698 bufferCount = m_bIs4KVideo ? in configureStreamsPerfLocked()
2712 bufferCount); in configureStreamsPerfLocked()