class StreamImpl
Defined at line 30 of file ../../src/camera/bin/device/stream_impl.h
Represents a specific stream in a camera device's configuration. Serves multiple clients of the
camera3.Stream protocol.
Public Methods
void StreamImpl (async_dispatcher_t * dispatcher, MetricsReporter::StreamRecord & record, const fuchsia::camera3::StreamProperties2 & properties, const fuchsia::camera2::hal::StreamConfig & legacy_config, fidl::InterfaceRequest<fuchsia::camera3::Stream> request, StreamRequestedCallback on_stream_requested, BuffersRequestedCallback on_buffers_requested, fit::closure on_no_clients, std::optional<std::string> description, std::unique_ptr<MetricsReporter::FailureTestRecord> streaming_failure_record_)
Defined at line 23 of file ../../src/camera/bin/device/stream_impl.cc
void ~StreamImpl ()
Defined at line 56 of file ../../src/camera/bin/usb_device/stream_impl.h
void CloseAllClients (zx_status_t status)
Close all client connections with given status as epitaph.
Defined at line 107 of file ../../src/camera/bin/usb_device/stream_impl.cc
void StreamImpl (async_dispatcher_t * dispatcher, const fuchsia::camera3::StreamProperties2 & properties, fidl::InterfaceRequest<fuchsia::camera3::Stream> request, StreamRequestedCallback on_stream_requested, AllocatorBindSharedCollectionCallback allocator_bind_shared_collection, RegisterDeallocationEvent register_deallocation_event, NoClientsCallback on_no_clients, std::optional<std::string> description)
Defined at line 88 of file ../../src/camera/bin/usb_device/stream_impl.cc
void SetMuteState (MuteState mute_state)
Defined at line 61 of file ../../src/camera/bin/device/stream_impl.cc
fpromise::scope & Scope ()
Defined at line 73 of file ../../src/camera/bin/device/stream_impl.cc
promise<void> StopStreaming ()
Ask UVC driver to stop streaming.
Defined at line 535 of file ../../src/camera/bin/usb_device/stream_impl.cc
Friends
class Client