/hardware/google/camera/common/hal/google_camera_hal/ |
D | pending_requests_tracker.cc | 65 bool PendingRequestsTracker::IsStreamConfigured(int32_t stream_id) const { in IsStreamConfigured() 66 return stream_max_buffers_.find(stream_id) != stream_max_buffers_.end(); in IsStreamConfigured() 74 int32_t stream_id = buffer.stream_id; in TrackRequestBuffersLocked() local 75 if (!IsStreamConfigured(stream_id)) { in TrackRequestBuffersLocked() 76 ALOGW("%s: stream %d was not configured.", __FUNCTION__, stream_id); in TrackRequestBuffersLocked() 81 stream_pending_buffers_[stream_id]++; in TrackRequestBuffersLocked() 92 int32_t stream_id = buffer.stream_id; in TrackReturnedResultBuffers() local 93 if (!IsStreamConfigured(stream_id)) { in TrackReturnedResultBuffers() 94 ALOGW("%s: stream %d was not configured.", __FUNCTION__, stream_id); in TrackReturnedResultBuffers() 99 if (stream_pending_buffers_[stream_id] == 0) { in TrackReturnedResultBuffers() [all …]
|
D | internal_stream_manager.cc | 48 status_t InternalStreamManager::IsStreamRegisteredLocked(int32_t stream_id) const { in IsStreamRegisteredLocked() 49 return registered_streams_.find(stream_id) != registered_streams_.end(); in IsStreamRegisteredLocked() 52 status_t InternalStreamManager::IsStreamAllocatedLocked(int32_t stream_id) const { in IsStreamAllocatedLocked() 55 return shared_stream_owner_ids_.find(stream_id) != in IsStreamAllocatedLocked() 57 buffer_managers_.find(stream_id) != buffer_managers_.end(); in IsStreamAllocatedLocked() 60 int32_t InternalStreamManager::GetBufferManagerOwnerIdLocked(int32_t stream_id) { in GetBufferManagerOwnerIdLocked() argument 61 int32_t owner_stream_id = stream_id; in GetBufferManagerOwnerIdLocked() 62 auto owner_id_it = shared_stream_owner_ids_.find(stream_id); in GetBufferManagerOwnerIdLocked() 75 int32_t* stream_id) { in RegisterNewInternalStream() argument 78 if (stream_id == nullptr) { in RegisterNewInternalStream() [all …]
|
D | internal_stream_manager.h | 44 status_t RegisterNewInternalStream(const Stream& stream, int32_t* stream_id); 70 void FreeStream(int32_t stream_id); 73 status_t GetStreamBuffer(int32_t stream_id, StreamBuffer* buffer); 82 status_t ReturnMetadata(int32_t stream_id, uint32_t frame_number, 87 int32_t stream_id, std::vector<StreamBuffer>* input_buffers, 92 status_t ReturnZslStreamBuffers(uint32_t frame_number, int32_t stream_id); 95 bool IsPendingBufferEmpty(int32_t stream_id); 108 status_t IsStreamRegisteredLocked(int32_t stream_id) const; 111 status_t IsStreamAllocatedLocked(int32_t stream_id) const; 120 int32_t GetBufferManagerOwnerIdLocked(int32_t stream_id);
|
D | camera_device_session.cc | 135 int32_t stream_id = stream_buffer.stream_id; in UpdatePendingRequest() local 136 if (streams.find(stream_id) == streams.end()) { in UpdatePendingRequest() 140 __FUNCTION__, stream_id, frame_number); in UpdatePendingRequest() 144 streams.erase(stream_id); in UpdatePendingRequest() 190 stream_buffer.stream_id, result->frame_number); in ProcessCaptureResult() 326 [this](int32_t stream_id, uint32_t num_buffers, in InitializeCallbacks() 329 stream_id, num_buffers, buffers, frame_number); in InitializeCallbacks() 756 BufferCache buffer_cache = {buffer.stream_id, buffer.buffer_id}; in UpdateBufferHandlesLocked() 760 __FUNCTION__, buffer.stream_id, buffer.buffer_id); in UpdateBufferHandlesLocked() 855 BufferCache buffer_cache = {buffer.stream_id, buffer.buffer_id}; in ImportBufferHandleLocked() [all …]
|
D | depth_process_block.cc | 344 if (stream_buffer.stream_id == depth_stream_.id) { in ProcessDepthResult() 492 int32_t stream_id = stream_buffer.stream_id; in MapBuffersForDepthGenerator() local 493 if (stream_buffer_sizes_.find(stream_id) == stream_buffer_sizes_.end() || in MapBuffersForDepthGenerator() 494 depth_io_streams_.find(stream_id) == depth_io_streams_.end()) { in MapBuffersForDepthGenerator() 495 ALOGE("%s: Stream buffer stream id:%d not found.", __FUNCTION__, stream_id); in MapBuffersForDepthGenerator() 500 mmap(NULL, stream_buffer_sizes_[stream_id], (PROT_READ | PROT_WRITE), in MapBuffersForDepthGenerator() 508 auto& stream = depth_io_streams_[stream_id]; in MapBuffersForDepthGenerator() 530 int32_t stream_id = stream_buffer.stream_id; in UnmapBuffersForDepthGenerator() local 531 if (stream_buffer_sizes_.find(stream_id) == stream_buffer_sizes_.end() || in UnmapBuffersForDepthGenerator() 532 depth_io_streams_.find(stream_id) == depth_io_streams_.end()) { in UnmapBuffersForDepthGenerator() [all …]
|
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); 84 bool DoesStreamHaveEnoughBuffersToAcquireLocked(int32_t stream_id, 100 bool IsStreamConfigured(int32_t stream_id) const;
|
D | camera_device_session.h | 151 std::string s = "s" + std::to_string(buffer_cache.stream_id) + "b" + in operator() 199 bool IsBufferImportedLocked(int32_t stream_id, uint32_t buffer_id); 204 void FreeBufferHandlesLocked(const sp<T> buffer_mapper, int32_t stream_id); 220 status_t RequestStreamBuffers(int32_t stream_id, uint32_t num_buffers, 234 int32_t stream_id, uint32_t num_buffers, 254 void NotifyErrorMessage(uint32_t frame_number, int32_t stream_id, 261 void NotifyBufferError(uint32_t frame_number, int32_t stream_id,
|
D | rgbird_depth_result_processor.cc | 102 if (buffer.stream_id == kInvalidStreamId) { in ProcessResult() 111 __FUNCTION__, buffer.buffer, buffer.stream_id, buffer.buffer_id); in ProcessResult() 116 __FUNCTION__, buffer.buffer, buffer.stream_id, buffer.buffer_id); in ProcessResult()
|
/hardware/google/camera/common/hal/utils/ |
D | stream_buffer_cache_manager.cc | 94 if (stream_buffer_caches_.find(reg_info.stream_id) != in RegisterStream() 97 reg_info.stream_id); in RegisterStream() 110 int32_t stream_id, StreamBufferRequestResult* res) { in GetStreamBuffer() argument 114 status_t result = GetStreamBufferCache(stream_id, &stream_buffer_cache); in GetStreamBuffer() 122 ALOGE("%s: Get buffer for stream %d failed.", __FUNCTION__, stream_id); in GetStreamBuffer() 147 status_t StreamBufferCacheManager::NotifyProviderReadiness(int32_t stream_id) { in NotifyProviderReadiness() argument 149 status_t res = GetStreamBufferCache(stream_id, &stream_buffer_cache); in NotifyProviderReadiness() 166 for (auto& [stream_id, stream_buffer_cache] : stream_buffer_caches_) { in NotifyFlushingAll() 182 status_t StreamBufferCacheManager::IsStreamActive(int32_t stream_id, in IsStreamActive() argument 185 status_t res = GetStreamBufferCache(stream_id, &stream_buffer_cache); in IsStreamActive() [all …]
|
D | stream_buffer_cache_manager.h | 63 int32_t stream_id = -1; member 120 status_t NotifyProviderReadiness(int32_t stream_id); 130 status_t GetStreamBuffer(int32_t stream_id, StreamBufferRequestResult* res); 143 status_t IsStreamActive(int32_t stream_id, bool* is_active); 283 status_t GetStreamBufferCache(int32_t stream_id,
|
D | result_dispatcher.cc | 158 uint32_t stream_id = buffer.stream_id; in AddPendingBufferLocked() local 159 if (stream_pending_buffers_map_.find(stream_id) == in AddPendingBufferLocked() 161 stream_pending_buffers_map_[stream_id] = std::map<uint32_t, PendingBuffer>(); in AddPendingBufferLocked() 164 if (stream_pending_buffers_map_[stream_id].find(frame_number) != in AddPendingBufferLocked() 165 stream_pending_buffers_map_[stream_id].end()) { in AddPendingBufferLocked() 167 __FUNCTION__, stream_id, frame_number); in AddPendingBufferLocked() 172 stream_pending_buffers_map_[stream_id][frame_number] = pending_buffer; in AddPendingBufferLocked() 343 uint32_t stream_id = buffer.stream_id; in AddBuffer() local 344 auto pending_buffers_it = stream_pending_buffers_map_.find(stream_id); in AddBuffer() 347 stream_id); in AddBuffer() [all …]
|
/hardware/google/camera/common/hal/tests/ |
D | stream_buffer_cache_manager_tests.cc | 81 .stream_id = 1, 145 another_reg_info.stream_id = kDummyCacheRegInfo.stream_id + 1; in TEST_F() 155 cache_manager_->NotifyProviderReadiness(kDummyCacheRegInfo.stream_id); in TEST_F() 163 res = cache_manager_->NotifyProviderReadiness(kDummyCacheRegInfo.stream_id); in TEST_F() 171 status_t res = cache_manager_->GetStreamBuffer(kDummyCacheRegInfo.stream_id, in TEST_F() 181 res = cache_manager_->GetStreamBuffer(kDummyCacheRegInfo.stream_id, in TEST_F() 186 res = cache_manager_->NotifyProviderReadiness(kDummyCacheRegInfo.stream_id); in TEST_F() 191 res = cache_manager_->GetStreamBuffer(kDummyCacheRegInfo.stream_id, in TEST_F() 203 res = cache_manager_->NotifyProviderReadiness(kDummyCacheRegInfo.stream_id); in TEST_F() 212 res = cache_manager_->GetStreamBuffer(kDummyCacheRegInfo.stream_id, in TEST_F() [all …]
|
D | test_utils.cc | 32 uint32_t stream_id = 0) { in GetDummyPreviewStream() argument 36 stream->id = stream_id; in GetDummyPreviewStream() 69 int32_t stream_id = 0; in GetPhysicalPreviewStreamConfiguration() local 74 stream_id++); in GetPhysicalPreviewStreamConfiguration()
|
D | result_dispatcher_tests.cc | 118 auto buffers_it = stream_received_buffers_map_.find(buffer.stream_id); in ProcessReceivedBuffer() 120 stream_received_buffers_map_.emplace(buffer.stream_id, in ProcessReceivedBuffer() 122 buffers_it = stream_received_buffers_map_.find(buffer.stream_id); in ProcessReceivedBuffer() 172 bool IsOutputBufferReceivedLocked(uint32_t frame_number, int32_t stream_id) { in IsOutputBufferReceivedLocked() argument 173 auto buffers_it = stream_received_buffers_map_.find(stream_id); in IsOutputBufferReceivedLocked() 187 status_t WaitForOuptutBuffer(uint32_t frame_number, int32_t stream_id) { in WaitForOuptutBuffer() argument 191 [&] { return IsOutputBufferReceivedLocked(frame_number, stream_id); }); in WaitForOuptutBuffer() 369 .stream_id = kStreamId, in TEST_F()
|
/hardware/libhardware/include/hardware/ |
D | tv_input.h | 195 int stream_id; member 257 int stream_id; member 285 int stream_id; member 363 int stream_id); 386 int stream_id, buffer_handle_t buffer, uint32_t seq); 398 int stream_id, uint32_t seq);
|
D | camera2.h | 640 uint32_t *stream_id, 659 uint32_t stream_id, 669 uint32_t stream_id); 714 uint32_t *stream_id, 758 uint32_t *stream_id); 767 uint32_t stream_id);
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 100 uint32_t stream_id; member 401 uint32_t stream_id; member 406 uint32_t stream_id; member 411 uint32_t stream_id; member 416 uint32_t stream_id; member 571 uint32_t stream_id; member 655 uint32_t stream_id; member 663 uint32_t stream_id; member 674 int stream_id, int32_t fd, uint32_t id, int32_t *value); 678 int stream_id, int32_t fd, uint32_t id, int32_t *value); [all …]
|
D | mm_camera_muxer.h | 101 uint32_t ch_id, uint32_t stream_id, 104 uint32_t ch_id, uint32_t stream_id, uint32_t linked_ch_id, 107 uint32_t ch_id, uint32_t stream_id, mm_camera_stream_config_t *config, 110 uint32_t ch_id, uint32_t stream_id, 117 uint32_t ch_id, uint32_t stream_id, 133 uint32_t ch_id, uint32_t stream_id, 153 uint32_t ch_id, uint32_t stream_id, mm_camera_buf_notify_t buf_cb, 156 uint32_t ch_id, uint32_t stream_id,
|
/hardware/interfaces/tv/input/1.0/vts/functional/ |
D | VtsHalTvInputV1_0TargetTest.cpp | 216 int32_t stream_id = config[i].streamId; in TEST_P() local 217 tv_input_->openStream(device_id, stream_id, in TEST_P() 222 result = tv_input_->closeStream(device_id, stream_id); in TEST_P() 247 int32_t stream_id = 0; in TEST_P() local 248 tv_input_->openStream(id, stream_id, in TEST_P() 253 result = tv_input_->closeStream(id, stream_id); in TEST_P() 306 int32_t stream_id = stream_config_.valueAt(indices[0])[0].streamId; in TEST_P() local 309 tv_input_->openStream(device_id, stream_id, in TEST_P() 313 tv_input_->openStream(device_id, stream_id, in TEST_P() 332 int32_t stream_id = stream_config_.valueAt(indices[0])[0].streamId; in TEST_P() local [all …]
|
/hardware/qcom/msm8994/original-kernel-headers/media/ |
D | msmb_generic_buf_mgr.h | 20 uint32_t stream_id; member 32 uint32_t stream_id; member 62 uint32_t stream_id; member
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 590 uint32_t stream_id, in mm_camera_cancel_buf() argument 599 rc = mm_channel_cancel_buf(ch_obj,stream_id,buf_idx); in mm_camera_cancel_buf() 618 uint32_t ch_id, uint32_t stream_id) in mm_camera_get_queued_buf_count() argument 624 payload = stream_id; in mm_camera_get_queued_buf_count() 666 shim_cmd_data.stream_id = 0; in mm_camera_query_capability() 1021 uint32_t stream_id, in mm_camera_link_stream() argument 1037 stream_link.stream_id = stream_id; in mm_camera_link_stream() 1100 uint32_t stream_id) in mm_camera_del_stream() argument 1112 (void *)&stream_id, in mm_camera_del_stream() 1208 uint32_t stream_id, in mm_camera_config_stream() argument [all …]
|
D | mm_camera_interface.c | 916 strid = get_main_camera_handle(buf->stream_id); in mm_camera_intf_qbuf() 917 aux_strid = get_aux_camera_handle(buf->stream_id); in mm_camera_intf_qbuf() 965 static int32_t mm_camera_intf_cancel_buf(uint32_t camera_handle, uint32_t ch_id, uint32_t stream_id, in mm_camera_intf_cancel_buf() argument 977 rc = mm_camera_cancel_buf(my_obj, ch_id, stream_id, buf_idx); in mm_camera_intf_cancel_buf() 1000 uint32_t ch_id, uint32_t stream_id) in mm_camera_intf_get_queued_buf_count() argument 1004 uint32_t strid = get_main_camera_handle(stream_id); in mm_camera_intf_get_queued_buf_count() 1005 uint32_t aux_strid = get_aux_camera_handle(stream_id); in mm_camera_intf_get_queued_buf_count() 1054 uint32_t stream_id, in mm_camera_intf_link_stream() argument 1059 uint32_t strid = get_main_camera_handle(stream_id); in mm_camera_intf_link_stream() 1060 uint32_t aux_strid = get_aux_camera_handle(stream_id); in mm_camera_intf_link_stream() [all …]
|
/hardware/google/camera/common/hal/common/ |
D | hal_types.h | 161 int32_t stream_id = -1; member 165 return stream_id == other.stream_id && buffer_id == other.buffer_id; 179 int32_t stream_id = -1; member 341 int32_t stream_id = -1; member 355 int32_t stream_id = -1; member 368 int32_t stream_id = -1; member
|
/hardware/qcom/msm8994/kernel-headers/media/ |
D | msmb_generic_buf_mgr.h | 37 uint32_t stream_id; member 51 uint32_t stream_id; member
|
/hardware/qcom/msm8998/original-kernel-headers/media/ |
D | msmb_generic_buf_mgr.h | 20 uint32_t stream_id; member 31 uint32_t stream_id; member
|