/hardware/google/camera/common/hal/google_camera_hal/ |
D | pending_requests_tracker.cc | 164 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()
|
D | pending_requests_tracker.h | 51 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;
|
D | camera_device_session.h | 220 status_t RequestStreamBuffers(int32_t stream_id, uint32_t num_buffers, 234 int32_t stream_id, uint32_t num_buffers,
|
D | camera_device_session.cc | 326 [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/ |
D | zsl_buffer_manager.cc | 67 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()
|
D | gralloc_buffer_allocator.cc | 152 gralloc_buffer_descriptor->num_buffers = in ConvertHalBufferDescriptor() 182 for (uint32_t i = 0; i < gralloc_buffer_descriptor.num_buffers; i++) { in AllocateBuffers()
|
D | gralloc_buffer_allocator.h | 36 uint32_t num_buffers = 0; member
|
/hardware/interfaces/camera/device/3.5/default/ |
D | CameraDeviceSession.cpp | 311 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/ |
D | camera3.h | 1948 uint32_t num_buffers; member 2881 uint32_t num_buffers,
|
D | camera2.h | 660 int num_buffers,
|
/hardware/interfaces/camera/device/3.5/default/include/device_v3_5_impl/ |
D | CameraDeviceSession.h | 66 uint32_t num_buffers, 112 uint32_t num_buffers,
|
/hardware/interfaces/camera/device/1.0/default/ |
D | CameraDevice.cpp | 300 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()
|
D | CameraDevice_1_0.h | 117 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/ |
D | v4l2_wrapper.h | 103 int RequestBuffers(uint32_t num_buffers);
|
/hardware/google/camera/common/hal/tests/ |
D | internal_stream_manager_tests.cc | 198 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/ |
D | Stream.cpp | 200 mNumBuffers = buf_set->num_buffers; in registerBuffers()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | wifilogger.cpp | 161 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/ |
D | QCamera3Stream.cpp | 1565 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()
|
D | QCamera3HWI.h | 616 uint32_t num_buffers; member
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.cpp | 344 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()
|