class BufferCollectionConstraints
Defined at line 4470 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/hlcpp/fuchsia/sysmem/cpp/fidl.h
Constraints on BufferCollection parameters. These constraints can be
specified per-participant. The sysmem service implements aggregation of
constraints from multiple participants.
This type is deprecated for new code, but is still used by some camera code.
Public Members
BufferUsage usage
uint32_t min_buffer_count_for_camping
uint32_t min_buffer_count_for_dedicated_slack
uint32_t min_buffer_count
uint32_t max_buffer_count
bool has_buffer_memory_constraints
BufferMemoryConstraints buffer_memory_constraints
uint32_t image_format_constraints_count
array image_format_constraints
Public Methods
::std::unique_ptr<BufferCollectionConstraints> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,BufferCollectionConstraints *value,size_t_offset)
zx_status_t Clone (BufferCollectionConstraints * result)