class StreamProperties2
Defined at line 1137 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
Describes the properties of a given stream.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::sysmem::ImageFormat_2 & image_format ()
Describes the native image format used by a stream.
Defined at line 1144 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
bool has_image_format ()
Defined at line 1148 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
::fuchsia::sysmem::ImageFormat_2 * mutable_image_format ()
Describes the native image format used by a stream.
Defined at line 1153 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
void clear_image_format ()
Defined at line 1161 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
const ::fuchsia::camera3::FrameRate & frame_rate ()
Describes the framerate used by a stream.
Defined at line 1170 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
bool has_frame_rate ()
Defined at line 1174 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
::fuchsia::camera3::FrameRate * mutable_frame_rate ()
Describes the framerate used by a stream.
Defined at line 1179 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
void clear_frame_rate ()
Defined at line 1187 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
bool has_supports_crop_region ()
Defined at line 1200 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
bool * mutable_supports_crop_region ()
Indicates whether a stream supports the SetCropRegion method.
Defined at line 1205 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
void clear_supports_crop_region ()
Defined at line 1213 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
bool has_supported_resolutions ()
Defined at line 1229 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
::std::vector< ::fuchsia::math::Size> * mutable_supported_resolutions ()
Describes the precise resolutions supported by a stream, i.e. those for which SetResolution
results in a WatchResolution callback of the same value. If empty, it indicates that the
stream supports arbitrary resolutions. If non-empty, the list contains at least one element
reflecting the native resolution specified by |image_format|.
Defined at line 1237 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
void clear_supported_resolutions ()
Defined at line 1245 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
StreamProperties2 & set_image_format (::fuchsia::sysmem::ImageFormat_2 _value)
StreamProperties2 & set_frame_rate (::fuchsia::camera3::FrameRate _value)
StreamProperties2 & set_supports_crop_region (bool _value)
StreamProperties2 & set_supported_resolutions (::std::vector< ::fuchsia::math::Size> _value)
void StreamProperties2 ()
void StreamProperties2 (StreamProperties2 && other)
const bool & supports_crop_region ()
Indicates whether a stream supports the SetCropRegion method.
Defined at line 1196 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
const ::std::vector< ::fuchsia::math::Size> & supported_resolutions ()
Describes the precise resolutions supported by a stream, i.e. those for which SetResolution
results in a WatchResolution callback of the same value. If empty, it indicates that the
stream supports arbitrary resolutions. If non-empty, the list contains at least one element
reflecting the native resolution specified by |image_format|.
Defined at line 1225 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
void ~StreamProperties2 ()
StreamProperties2 & operator= (StreamProperties2 && other)
::std::unique_ptr<StreamProperties2> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, StreamProperties2 * _value, size_t _offset)
zx_status_t Clone (StreamProperties2 * _result)