class StreamConfig
Defined at line 43 of file fidling/gen/sdk/fidl/fuchsia.camera2.hal/fuchsia.camera2.hal/cpp/fidl/fuchsia.camera2.hal/cpp/natural_types.h
Represents one stream within a particular configuration.
Public Methods
void StreamConfig (Storage_ storage)
void StreamConfig (::fuchsia_camera2::FrameRate frame_rate, ::fuchsia_sysmem::BufferCollectionConstraints constraints, ::fuchsia_camera2::StreamProperties properties, ::std::vector< ::fuchsia_sysmem::ImageFormat2> image_formats)
void StreamConfig ()
Default constructs a |StreamConfig| only if all of its members are default constructible.
Defined at line 54 of file fidling/gen/sdk/fidl/fuchsia.camera2.hal/fuchsia.camera2.hal/cpp/fidl/fuchsia.camera2.hal/cpp/natural_types.h
void StreamConfig (StreamConfig && )
Defined at line 57 of file fidling/gen/sdk/fidl/fuchsia.camera2.hal/fuchsia.camera2.hal/cpp/fidl/fuchsia.camera2.hal/cpp/natural_types.h
void StreamConfig (const StreamConfig & other)
StreamConfig & operator= (StreamConfig && )
Defined at line 58 of file fidling/gen/sdk/fidl/fuchsia.camera2.hal/fuchsia.camera2.hal/cpp/fidl/fuchsia.camera2.hal/cpp/natural_types.h
StreamConfig & operator= (const StreamConfig & other)
bool operator== (const StreamConfig & other)
bool operator!= (const StreamConfig & other)
const ::fuchsia_camera2::FrameRate & frame_rate ()
::fuchsia_camera2::FrameRate & frame_rate ()
StreamConfig & frame_rate (::fuchsia_camera2::FrameRate value)
Setter for frame_rate.
const ::fuchsia_sysmem::BufferCollectionConstraints & constraints ()
`constraints` should allow for all the image formats listed in image_formats.
::fuchsia_sysmem::BufferCollectionConstraints & constraints ()
`constraints` should allow for all the image formats listed in image_formats.
StreamConfig & constraints (::fuchsia_sysmem::BufferCollectionConstraints value)
`constraints` should allow for all the image formats listed in image_formats.
const ::fuchsia_camera2::StreamProperties & properties ()
Properties of the stream:
::fuchsia_camera2::StreamProperties & properties ()
Properties of the stream:
StreamConfig & properties (::fuchsia_camera2::StreamProperties value)
Properties of the stream:
const ::std::vector< ::fuchsia_sysmem::ImageFormat2> & image_formats ()
We need to specify both the constraints
&
the image formats because
there are fixed set of resolutions supported by the Camera Controller
so a range within the `constraints` won't be sufficient.
Some streams support multiple resolutions for same configuration
We would need to change the resolution runtime, without stopping the
streaming. This provides a list of resolutions a stream would be providing.
At least one format must be provided.
::std::vector< ::fuchsia_sysmem::ImageFormat2> & image_formats ()
We need to specify both the constraints
&
the image formats because
there are fixed set of resolutions supported by the Camera Controller
so a range within the `constraints` won't be sufficient.
Some streams support multiple resolutions for same configuration
We would need to change the resolution runtime, without stopping the
streaming. This provides a list of resolutions a stream would be providing.
At least one format must be provided.
StreamConfig & image_formats (::std::vector< ::fuchsia_sysmem::ImageFormat2> value)
We need to specify both the constraints
&
the image formats because
there are fixed set of resolutions supported by the Camera Controller
so a range within the `constraints` won't be sufficient.
Some streams support multiple resolutions for same configuration
We would need to change the resolution runtime, without stopping the
streaming. This provides a list of resolutions a stream would be providing.
At least one format must be provided.
void StreamConfig (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits