class StreamStorage
Defined at line 15 of file ../../src/camera/bin/virtual_camera/stream_storage.h
Used to store and retrieve information about streams and their data sources.
Public Methods
void SetStreamConfigAtIndex (size_t index, fuchsia::camera2::hal::StreamConfig stream_config)
Adds a stream config at |index|. If this is called with the same |index|
multiple times, older values will be overwritten.
Defined at line 9 of file ../../src/camera/bin/virtual_camera/stream_storage.cc
fuchsia::camera2::hal::Config GetConfig ()
Takes all the values added with |SetStreamConfigAtIndex| and returns them
as part of a |fuchsia::camera2::hal::Config| value. They will be ordered by
their |index| value as used in |SetStreamConfigAtIndex|. Any gaps between
indices will be removed. For example, calling SetStreamConfigAtIndex(0,
config) and then SetStreamConfigAtIndex(2, config_two) will cause this to
return a vector of two configs.
Defined at line 18 of file ../../src/camera/bin/virtual_camera/stream_storage.cc