/hardware/google/camera/common/hal/google_camera_hal/ |
D | internal_stream_manager.cc | 100 const Stream& stream, const HalStream& hal_stream, in GetBufferDescriptor() argument 108 if (stream.id != hal_stream.id) { in GetBufferDescriptor() 110 stream.id, hal_stream.id); in GetBufferDescriptor() 117 buffer_descriptor->format = hal_stream.override_format; in GetBufferDescriptor() 118 buffer_descriptor->producer_flags = hal_stream.producer_usage; in GetBufferDescriptor() 119 buffer_descriptor->consumer_flags = hal_stream.consumer_usage; in GetBufferDescriptor() 120 buffer_descriptor->immediate_num_buffers = hal_stream.max_buffers; in GetBufferDescriptor() 122 hal_stream.max_buffers + additional_num_buffers; in GetBufferDescriptor() 127 status_t InternalStreamManager::AllocateBuffers(const HalStream& hal_stream, in AllocateBuffers() argument 132 return AllocateBuffersLocked(hal_stream, additional_num_buffers, in AllocateBuffers() [all …]
|
D | pending_requests_tracker.cc | 49 for (auto& hal_stream : hal_configured_streams) { in Initialize() local 51 stream_max_buffers_.emplace(hal_stream.id, hal_stream.max_buffers); in Initialize() 54 hal_stream.id); in Initialize() 58 stream_pending_buffers_.emplace(hal_stream.id, /*pending_buffers=*/0); in Initialize() 59 stream_acquired_buffers_.emplace(hal_stream.id, /*pending_buffers=*/0); in Initialize()
|
D | internal_stream_manager.h | 53 status_t AllocateBuffers(const HalStream& hal_stream, 114 status_t GetBufferDescriptor(const Stream& stream, const HalStream& hal_stream, 139 status_t AllocateBuffersLocked(const HalStream& hal_stream,
|
D | rgbird_capture_session.cc | 289 HalStream& hal_stream = hal_configured_streams->at(i); in AllocateInternalBuffers() local 291 if (framework_stream_id_set.find(hal_stream.id) == in AllocateInternalBuffers() 294 if (hal_stream.id == rgb_raw_stream_id_) { in AllocateInternalBuffers() 299 (hal_stream.max_buffers >= kDefaultInternalBufferCount) in AllocateInternalBuffers() 301 : (kDefaultInternalBufferCount - hal_stream.max_buffers); in AllocateInternalBuffers() 303 hal_stream, hal_stream.max_buffers + additional_num_buffers); in AllocateInternalBuffers() 306 __FUNCTION__, hal_stream.id, strerror(-res), res); in AllocateInternalBuffers() 310 additional_num_buffers + hal_stream.max_buffers, hal_stream.id); in AllocateInternalBuffers() 350 for (auto& hal_stream : *hal_configured_streams) { in PurgeHalConfiguredStream() 351 if (framework_stream_id_set.find(hal_stream.id) != in PurgeHalConfiguredStream() [all …]
|
D | hal_utils.cc | 736 void DumpHalStream(const HalStream& hal_stream, std::string title) { in DumpHalStream() argument 741 hal_stream.id, hal_stream.override_format, hal_stream.producer_usage, in DumpHalStream() 742 hal_stream.consumer_usage, hal_stream.max_buffers, in DumpHalStream() 743 hal_stream.override_data_space, hal_stream.is_physical_camera_stream, in DumpHalStream() 744 hal_stream.physical_camera_id); in DumpHalStream()
|
D | dual_ir_capture_session.cc | 259 for (auto& hal_stream : *hal_configured_streams) { in PurgeHalConfiguredStream() 260 if (framework_stream_id_set.find(hal_stream.id) != in PurgeHalConfiguredStream() 262 configured_streams.push_back(hal_stream); in PurgeHalConfiguredStream()
|
D | hal_utils.h | 124 void DumpHalStream(const HalStream& hal_stream, std::string title);
|
D | hdrplus_capture_session.cc | 634 for (auto& hal_stream : *hal_configured_streams) { in PurgeHalConfiguredStream() 635 if (framework_stream_id_set.find(hal_stream.id) != in PurgeHalConfiguredStream() 637 configured_streams.push_back(hal_stream); in PurgeHalConfiguredStream()
|
D | camera_device_session.cc | 1540 const std::vector<HalStream>& hal_stream) { in RegisterStreamsIntoCacheManagerLocked() argument 1547 for (auto& hal_stream : hal_stream) { in RegisterStreamsIntoCacheManagerLocked() local 1548 if (hal_stream.id == stream.id) { in RegisterStreamsIntoCacheManagerLocked() 1549 producer_usage = hal_stream.producer_usage; in RegisterStreamsIntoCacheManagerLocked() 1550 consumer_usage = hal_stream.consumer_usage; in RegisterStreamsIntoCacheManagerLocked() 1551 stream_id = hal_stream.id; in RegisterStreamsIntoCacheManagerLocked()
|
D | camera_device_session.h | 240 const std::vector<HalStream>& hal_stream);
|
/hardware/google/camera/common/hal/tests/ |
D | mock_device_session_hwl.cc | 81 HalStream hal_stream = {}; in ConfigurePipeline() local 82 hal_stream.id = stream.id; in ConfigurePipeline() 83 hal_stream.override_format = stream.format; in ConfigurePipeline() 84 hal_stream.producer_usage = stream.usage; in ConfigurePipeline() 85 hal_stream.consumer_usage = GRALLOC_USAGE_HW_CAMERA_WRITE; in ConfigurePipeline() 86 hal_stream.max_buffers = kDefaultMaxBuffers; in ConfigurePipeline() 87 hal_stream.override_data_space = stream.data_space; in ConfigurePipeline() 88 hal_stream.is_physical_camera_stream = stream.is_physical_camera_stream; in ConfigurePipeline() 89 hal_stream.physical_camera_id = stream.physical_camera_id; in ConfigurePipeline() 91 if (hal_stream.override_format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in ConfigurePipeline() [all …]
|
/hardware/google/camera/common/hal/hidl_service/ |
D | hidl_utils.cc | 815 google_camera_hal::Stream hal_stream; in ConverToHalStreamConfig() local 816 res = ConvertToHalStream(hidl_stream, &hal_stream); in ConverToHalStreamConfig() 823 hal_stream_config->streams.push_back(hal_stream); in ConverToHalStreamConfig() 858 google_camera_hal::Stream hal_stream; in ConverToHalStreamConfig() local 859 res = ConvertToHalStream(hidl_stream, &hal_stream); in ConverToHalStreamConfig() 865 hal_stream_config->streams.push_back(hal_stream); in ConverToHalStreamConfig() 940 google_camera_hal::Stream* hal_stream) { in ConvertToHalStream() argument 941 if (hal_stream == nullptr) { in ConvertToHalStream() 946 *hal_stream = {}; in ConvertToHalStream() 948 hal_stream->id = hidl_stream.v3_2.id; in ConvertToHalStream() [all …]
|
D | hidl_utils.h | 163 google_camera_hal::Stream* hal_stream);
|