/aosp12/hardware/google/camera/common/hal/google_camera_hal/ |
H A D | pending_requests_tracker.cc | 81 return stream_id; in OverrideStreamIdForGroup() 90 int32_t stream_id = OverrideStreamIdForGroup(buffer.stream_id); in TrackRequestBuffersLocked() local 91 if (!IsStreamConfigured(stream_id)) { in TrackRequestBuffersLocked() 108 int32_t stream_id = OverrideStreamIdForGroup(buffer.stream_id); in TrackReturnedResultBuffers() local 117 __FUNCTION__, stream_id); in TrackReturnedResultBuffers() 125 __FUNCTION__, stream_id); in TrackReturnedResultBuffers() 141 int32_t stream_id = OverrideStreamIdForGroup(buffer.stream_id); in TrackReturnedAcquiredBuffers() local 182 int32_t stream_id = OverrideStreamIdForGroup(buffer.stream_id); in DoStreamsHaveEnoughBuffersLocked() local 191 stream_id, stream_max_buffers_.at(stream_id)); in DoStreamsHaveEnoughBuffersLocked() 201 if (!IsStreamConfigured(stream_id)) { in DoesStreamHaveEnoughBuffersToAcquireLocked() [all …]
|
H A D | camera_device_session.cc | 139 int32_t stream_id = stream_buffer.stream_id; in UpdatePendingRequest() local 163 streams.erase(stream_id); in UpdatePendingRequest() 1096 buffer.stream_id = stream_buffer.stream_id; in NotifyBufferError() 1119 stream_buffer.stream_id = stream_id; in NotifyBufferError() 1217 buffer.stream_id); in ValidateRequestLocked() 1437 if (buffer_handle_it->first.stream_id == stream_id) { in FreeBufferHandlesLocked() 1638 int32_t stream_id = -1; in RegisterStreamsIntoCacheManagerLocked() local 1646 if (stream_id == -1) { in RegisterStreamsIntoCacheManagerLocked() 1695 .stream_id = stream_id, in RegisterStreamsIntoCacheManagerLocked() 1795 .stream_id = stream_id, in RequestStreamBuffers() [all …]
|
H A D | depth_process_block.cc | 501 int32_t stream_id = stream_buffer.stream_id; in MapBuffersForDepthGenerator() local 517 auto& stream = depth_io_streams_[stream_id]; in MapBuffersForDepthGenerator() 539 int32_t stream_id = stream_buffer.stream_id; in UnmapBuffersForDepthGenerator() local 546 munmap(addr, stream_buffer_sizes_[stream_id]); in UnmapBuffersForDepthGenerator() 564 incomplete_buffer->stream_id, in RequestDepthStreamBuffer() 627 if (input_buffer.stream_id == kInvalidStreamId) { in MapDepthRequestBuffers() 639 const int32_t stream_id = input_buffer.stream_id; in MapDepthRequestBuffers() local 640 if (stream_id == rgb_internal_yuv_stream_id_) { in MapDepthRequestBuffers() 761 int32_t stream_id = input_buffer.stream_id; in UnmapDepthRequestBuffers() local 762 if (stream_id == kInvalidStreamId) { in UnmapDepthRequestBuffers() [all …]
|
H A D | pending_requests_tracker.h | 52 status_t WaitAndTrackAcquiredBuffers(int32_t stream_id, uint32_t num_buffers); 57 void TrackBufferAcquisitionFailure(int32_t stream_id, uint32_t num_buffers); 90 bool DoesStreamHaveEnoughBuffersToAcquireLocked(int32_t stream_id, 106 bool IsStreamConfigured(int32_t stream_id) const; 110 int32_t OverrideStreamIdForGroup(int32_t stream_id) const;
|
H A D | camera_device_session.h | 139 std::string s = "s" + std::to_string(buffer_cache.stream_id) + "b" + in operator() 189 bool IsBufferImportedLocked(int32_t stream_id, uint32_t buffer_id); 194 void FreeBufferHandlesLocked(const sp<T> buffer_mapper, int32_t stream_id); 210 status_t RequestStreamBuffers(int32_t stream_id, uint32_t num_buffers, 224 int32_t stream_id, uint32_t num_buffers, 244 void NotifyErrorMessage(uint32_t frame_number, int32_t stream_id, 251 void NotifyBufferError(uint32_t frame_number, int32_t stream_id,
|
/aosp12/hardware/google/camera/common/hal/utils/ |
H A D | internal_stream_manager.cc | 111 *stream_id = id; in RegisterNewInternalStream() 182 stream_id); in AllocateBuffersLocked() 358 stream_id); in FreeStream() 395 stream_id); in GetStreamBuffer() 406 buffer->stream_id = stream_id; in GetStreamBuffer() 425 stream_id); in IsPendingBufferEmpty() 452 stream_id); in GetMostRecentStreamBuffer() 477 buffer.stream_id = stream_id; in GetMostRecentStreamBuffer() 509 stream_id); in ReturnZslStreamBuffers() 529 int32_t stream_id = buffer.stream_id; in ReturnStreamBuffer() local [all …]
|
H A D | stream_buffer_cache_manager.cc | 112 reg_info.stream_id); in RegisterStream() 217 reg_info.stream_id); in AddStreamBufferCacheLocked() 317 __FUNCTION__, cache_info_.stream_id); in UpdateCache() 325 __FUNCTION__, cache_info_.stream_id); in UpdateCache() 339 cache_info_.stream_id); in GetBuffer() 484 cache_info_.stream_id, req_status); in Refill() 491 __FUNCTION__, cache_info_.stream_id); in Refill() 498 __FUNCTION__, cache_info_.stream_id); in Refill() 500 cache_info_.stream_id); in Refill() 535 .stream_id = cache_info_.stream_id, in AllocateDummyBufferLocked() [all …]
|
H A D | internal_stream_manager.h | 45 status_t RegisterNewInternalStream(const Stream& stream, int32_t* stream_id); 71 void FreeStream(int32_t stream_id); 74 status_t GetStreamBuffer(int32_t stream_id, StreamBuffer* buffer); 83 status_t ReturnMetadata(int32_t stream_id, uint32_t frame_number, 89 int32_t stream_id, std::vector<StreamBuffer>* input_buffers, 94 status_t ReturnZslStreamBuffers(uint32_t frame_number, int32_t stream_id); 97 bool IsPendingBufferEmpty(int32_t stream_id); 111 status_t IsStreamRegisteredLocked(int32_t stream_id) const; 114 status_t IsStreamAllocatedLocked(int32_t stream_id) const; 123 int32_t GetBufferManagerOwnerIdLocked(int32_t stream_id);
|
H A D | result_dispatcher.cc | 169 uint32_t stream_id = buffer.stream_id; in AddPendingBufferLocked() local 170 if (stream_pending_buffers_map_.find(stream_id) == in AddPendingBufferLocked() 175 if (stream_pending_buffers_map_[stream_id].find(frame_number) != in AddPendingBufferLocked() 176 stream_pending_buffers_map_[stream_id].end()) { in AddPendingBufferLocked() 178 __FUNCTION__, stream_id, frame_number); in AddPendingBufferLocked() 183 stream_pending_buffers_map_[stream_id][frame_number] = pending_buffer; in AddPendingBufferLocked() 366 uint32_t stream_id = buffer.stream_id; in AddBuffer() local 367 auto pending_buffers_it = stream_pending_buffers_map_.find(stream_id); in AddBuffer() 370 stream_id); in AddBuffer() 377 __FUNCTION__, stream_id, frame_number); in AddBuffer() [all …]
|
H A 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); 280 status_t GetStreamBufferCache(int32_t stream_id,
|
/aosp12/hardware/google/camera/common/hal/tests/ |
H A 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() 181 res = cache_manager_->GetStreamBuffer(kDummyCacheRegInfo.stream_id, in TEST_F() 191 res = cache_manager_->GetStreamBuffer(kDummyCacheRegInfo.stream_id, in TEST_F() 212 res = cache_manager_->GetStreamBuffer(kDummyCacheRegInfo.stream_id, in TEST_F() 224 res = cache_manager_->GetStreamBuffer(kDummyCacheRegInfo.stream_id, in TEST_F() 245 res = cache_manager_->GetStreamBuffer(kDummyCacheRegInfo.stream_id, in TEST_F() 273 res = cache_manager_->GetStreamBuffer(kDummyCacheRegInfo.stream_id, in TEST_F() 295 res = cache_manager_->GetStreamBuffer(kDummyCacheRegInfo.stream_id, in TEST_F() [all …]
|
H A 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()
|
H A 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()
|
/aosp12/frameworks/av/media/extractors/mpeg2/ |
H A D | MPEG2PSExtractor.cpp | 44 unsigned stream_id, unsigned stream_type); 306 unsigned stream_id = br.getBits(8); in dequeuePES() local 307 ALOGV("stream_id = 0x%02x", stream_id); in dequeuePES() 311 if (stream_id == 0xbc) { in dequeuePES() 377 } else if (stream_id != 0xbe // padding_stream in dequeuePES() 378 && stream_id != 0xbf // private_stream_2 in dequeuePES() 379 && stream_id != 0xf0 // ECM in dequeuePES() 380 && stream_id != 0xf1 // EMM in dequeuePES() 382 && stream_id != 0xf2 // DSMCC in dequeuePES() 565 stream_id, new Track(this, stream_id, streamType)); in dequeuePES() [all …]
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/ |
H A 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 707 uint32_t stream_id, 752 uint32_t stream_id, [all …]
|
H A 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,
|
/aosp12/hardware/libhardware/include/hardware/ |
H A 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);
|
H A 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);
|
/aosp12/hardware/interfaces/tv/input/1.0/vts/functional/ |
H A 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() 318 EXPECT_EQ(Result::OK, tv_input_->closeStream(device_id, stream_id)); in TEST_P() [all …]
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
H A D | mm_camera.c | 624 payload = stream_id; in mm_camera_get_queued_buf_count() 1037 stream_link.stream_id = stream_id; in mm_camera_link_stream() 1221 payload.stream_id = stream_id; in mm_camera_config_stream() 1596 payload.stream_id = stream_id; in mm_camera_do_stream_action() 1655 payload.stream_id = stream_id; in mm_camera_map_stream_buf() 1753 payload.stream_id = stream_id; in mm_camera_unmap_stream_buf() 2115 shim_cmd_data.stream_id = stream_id; in mm_camera_util_s_ctrl() 2166 shim_cmd_data.stream_id = stream_id; in mm_camera_util_g_ctrl() 2451 payload.stream_id = stream_id; in mm_camera_reg_stream_buf_cb() 2501 payload.stream_id = stream_id; in mm_camera_reg_frame_sync() [all …]
|
H A D | mm_camera_interface.c | 1000 uint32_t ch_id, uint32_t stream_id) in mm_camera_intf_get_queued_buf_count() argument 1054 uint32_t stream_id, in mm_camera_intf_link_stream() argument 1098 ch_id, stream_id, linked_ch_id, id); in mm_camera_intf_link_stream() 1118 uint32_t stream_id = 0, aux_stream_id; in mm_camera_intf_add_stream() local 1146 m_ch_id, stream_id, my_obj); in mm_camera_intf_add_stream() 1152 stream_id = stream_id | aux_stream_id; in mm_camera_intf_add_stream() 1159 return stream_id; in mm_camera_intf_add_stream() 1187 camera_handle, ch_id, stream_id); in mm_camera_intf_del_stream() 1248 camera_handle, ch_id, stream_id); in mm_camera_intf_config_stream() 2997 ch_id, stream_id, sync_attr); in mm_camera_intf_reg_frame_sync() [all …]
|
H A D | mm_camera_muxer.c | 223 &cam_obj->ch[i], stream_id); in mm_muxer_util_get_stream_by_obj() 856 uint32_t stream_id = 0; in mm_camera_muxer_add_stream() local 865 if (stream_id > 0 && src_stream_id > 0) { in mm_camera_muxer_add_stream() 871 frame_sync.a_stream_id = stream_id; in mm_camera_muxer_add_stream() 884 return stream_id; in mm_camera_muxer_add_stream() 902 uint32_t ch_id, uint32_t stream_id, in mm_camera_muxer_delete_stream() argument 1020 uint32_t ch_id, uint32_t stream_id, in mm_camera_muxer_map_stream_buf() argument 1105 uint32_t ch_id, uint32_t stream_id, in mm_camera_muxer_unmap_stream_buf() argument 1301 uint32_t ch_id, uint32_t stream_id, in mm_camera_muxer_get_queued_buf_count() argument 1605 uint32_t ch_id, uint32_t stream_id, in mm_camera_muxer_reg_frame_sync() argument [all …]
|
H A D | mm_camera_channel.c | 93 uint32_t stream_id); 798 stream_id); in mm_channel_reg_stream_buf_cb() 1411 stream_link->stream_id); in mm_channel_link_stream() 1463 if (sync->stream_id != 0) { in mm_channel_reg_frame_sync() 1466 my_obj, sync->stream_id); in mm_channel_reg_frame_sync() 1537 if (payload->stream_id != 0) { in mm_channel_trigger_frame_sync() 1684 LOGD("E stream ID = %d", stream_id); in mm_channel_config_stream() 2602 payload->stream_id); in mm_channel_map_stream_buf() 2818 buf_info->stream_id); in mm_channel_handle_metadata() 2834 buf_info->stream_id); in mm_channel_handle_metadata() [all …]
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
H A D | mm_camera_interface.h | 140 uint32_t stream_id; member 425 uint32_t stream_id; member 629 uint32_t stream_id); 641 uint32_t stream_id, 654 uint32_t stream_id, 677 uint32_t stream_id, 715 uint32_t stream_id, 824 uint32_t stream_id, 836 uint32_t stream_id); 949 uint32_t ch_id, uint32_t stream_id, [all …]
|
/aosp12/hardware/google/camera/common/hal/common/ |
H A D | hal_types.h | 165 int32_t stream_id = -1; member 169 return stream_id == other.stream_id && buffer_id == other.buffer_id; 183 int32_t stream_id = -1; member 353 int32_t stream_id = -1; member 367 int32_t stream_id = -1; member 389 int32_t stream_id = -1; member
|