Home
last modified time | relevance | path

Searched refs:num_buffers (Results 1 – 20 of 20) sorted by relevance

/hardware/google/camera/common/hal/google_camera_hal/
Dpending_requests_tracker.cc164 int32_t stream_id, uint32_t num_buffers) const { in DoesStreamHaveEnoughBuffersToAcquireLocked()
170 if (stream_acquired_buffers_.at(stream_id) + num_buffers > in DoesStreamHaveEnoughBuffersToAcquireLocked()
236 int32_t stream_id, uint32_t num_buffers) { in WaitAndTrackAcquiredBuffers() argument
248 [this, stream_id, num_buffers] { in WaitAndTrackAcquiredBuffers()
250 num_buffers); in WaitAndTrackAcquiredBuffers()
256 stream_acquired_buffers_[stream_id] += num_buffers; in WaitAndTrackAcquiredBuffers()
262 uint32_t num_buffers) { in TrackBufferAcquisitionFailure() argument
270 stream_acquired_buffers_[stream_id] -= num_buffers; in TrackBufferAcquisitionFailure()
Dpending_requests_tracker.h51 status_t WaitAndTrackAcquiredBuffers(int32_t stream_id, uint32_t num_buffers);
56 void TrackBufferAcquisitionFailure(int32_t stream_id, uint32_t num_buffers);
85 uint32_t num_buffers) const;
Dcamera_device_session.h220 status_t RequestStreamBuffers(int32_t stream_id, uint32_t num_buffers,
234 int32_t stream_id, uint32_t num_buffers,
Dcamera_device_session.cc326 [this](int32_t stream_id, uint32_t num_buffers, in InitializeCallbacks()
329 stream_id, num_buffers, buffers, frame_number); in InitializeCallbacks()
1619 int32_t stream_id, uint32_t num_buffers, std::vector<StreamBuffer>* buffers, in RequestBuffersFromStreamBufferCacheManager() argument
1621 if (num_buffers != 1) { in RequestBuffersFromStreamBufferCacheManager()
1624 __FUNCTION__, num_buffers); in RequestBuffersFromStreamBufferCacheManager()
1668 int32_t stream_id, uint32_t num_buffers, std::vector<StreamBuffer>* buffers, in RequestStreamBuffers() argument
1675 if (num_buffers == 0) { in RequestStreamBuffers()
1687 stream_id, num_buffers); in RequestStreamBuffers()
1698 .num_buffers_requested = num_buffers, in RequestStreamBuffers()
1724 num_buffers); in RequestStreamBuffers()
/hardware/google/camera/common/hal/utils/
Dzsl_buffer_manager.cc67 uint32_t num_buffers = buffer_descriptor.immediate_num_buffers; in AllocateBuffers() local
69 status_t res = AllocateBuffersLocked(num_buffers); in AllocateBuffers()
71 ALOGE("%s: Allocating %d buffers failed.", __FUNCTION__, num_buffers); in AllocateBuffers()
377 std::vector<ZslBuffer>* zsl_buffers, uint32_t num_buffers, in GetMostRecentZslBuffers() argument
401 num_buffers = in GetMostRecentZslBuffers()
402 std::min(static_cast<uint32_t>(filled_zsl_buffers_.size()), num_buffers); in GetMostRecentZslBuffers()
406 for (uint32_t i = 0; i < filled_zsl_buffers_.size() - num_buffers; i++) { in GetMostRecentZslBuffers()
428 for (uint32_t i = 0; i < num_buffers; i++) { in GetMostRecentZslBuffers()
Dgralloc_buffer_allocator.cc152 gralloc_buffer_descriptor->num_buffers = in ConvertHalBufferDescriptor()
182 for (uint32_t i = 0; i < gralloc_buffer_descriptor.num_buffers; i++) { in AllocateBuffers()
Dgralloc_buffer_allocator.h36 uint32_t num_buffers = 0; member
/hardware/interfaces/camera/device/3.5/default/
DCameraDeviceSession.cpp311 uint32_t num_buffers, in returnStreamBuffers() argument
314 hidl_vec<StreamBuffer> hBufs(num_buffers); in returnStreamBuffers()
316 for (size_t i = 0; i < num_buffers; i++) { in returnStreamBuffers()
365 uint32_t num_buffers, in sReturnStreamBuffers() argument
370 d->returnStreamBuffers(num_buffers, buffers); in sReturnStreamBuffers()
/hardware/libhardware/include/hardware/
Dcamera3.h1948 uint32_t num_buffers; member
2881 uint32_t num_buffers,
Dcamera2.h660 int num_buffers,
/hardware/interfaces/camera/device/3.5/default/include/device_v3_5_impl/
DCameraDeviceSession.h66 uint32_t num_buffers,
112 uint32_t num_buffers,
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice.cpp300 int fd, size_t buf_size, uint_t num_buffers) : in CameraHeapMemory() argument
302 mNumBufs(num_buffers) { in CameraHeapMemory()
306 size_t size = ((buf_size * num_buffers + pagesize-1) & ~(pagesize-1)); in CameraHeapMemory()
313 size_t buf_size, uint_t num_buffers) : in CameraHeapMemory() argument
315 mNumBufs(num_buffers) { in CameraHeapMemory()
317 size_t size = ((buf_size * num_buffers + pagesize-1) & ~(pagesize-1)); in CameraHeapMemory()
322 __FUNCTION__, buf_size * num_buffers); in CameraHeapMemory()
DCameraDevice_1_0.h117 CameraHeapMemory(int fd, size_t buf_size, uint_t num_buffers = 1);
119 sp<IAllocator> ashmemAllocator, size_t buf_size, uint_t num_buffers = 1);
/hardware/libhardware/modules/camera/3_4/
Dv4l2_wrapper.h103 int RequestBuffers(uint32_t num_buffers);
/hardware/google/camera/common/hal/tests/
Dinternal_stream_manager_tests.cc198 uint32_t num_buffers = preview_hal_stream.max_buffers + kNumAdditionalBuffers; in TEST() local
199 std::vector<StreamBuffer> buffers(num_buffers); in TEST()
/hardware/libhardware/modules/camera/3_0/
DStream.cpp200 mNumBuffers = buf_set->num_buffers; in registerBuffers()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifilogger.cpp161 u32 *num_buffers, in wifi_get_ring_buffers_status() argument
177 if ((*num_buffers) < NUM_RING_BUFS) { in wifi_get_ring_buffers_status()
179 "Total ring buffer num:%d", __FUNCTION__, *num_buffers, in wifi_get_ring_buffers_status()
181 *num_buffers = 0; in wifi_get_ring_buffers_status()
190 *num_buffers = NUM_RING_BUFS; in wifi_get_ring_buffers_status()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Stream.cpp1565 batchBufDef.user_buf.num_buffers = mBatchSize; in getBatchBufDef()
1602 if (mBufsStaged == mCurrentBatchBufDef->user_buf.num_buffers) { in aggregateBufToBatch()
1667 for (size_t i = mBufsStaged; i < mCurrentBatchBufDef->user_buf.num_buffers; in queueBatchBuf()
DQCamera3HWI.h616 uint32_t num_buffers; member
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.cpp344 bufDef.user_buf.num_buffers = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
349 cont_buf->buf_cnt = bufDef.user_buf.num_buffers; in getUserBufDef()
351 for (int i = 0; i < bufDef.user_buf.num_buffers; i++) { in getUserBufDef()
360 bufDef.user_buf.num_buffers, index, plane_idx); in getUserBufDef()