class FrameInfo2
Defined at line 767 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
Metadata concerning a given frame.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
FrameInfo2 & set_buffer_index (uint32_t _value)
FrameInfo2 & set_frame_counter (uint64_t _value)
FrameInfo2 & set_timestamp (int64_t _value)
FrameInfo2 & set_capture_timestamp (int64_t _value)
FrameInfo2 & set_release_fence (::zx::eventpair _value)
void FrameInfo2 ()
void FrameInfo2 (FrameInfo2 && other)
void ~FrameInfo2 ()
FrameInfo2 & operator= (FrameInfo2 && other)
::std::unique_ptr<FrameInfo2> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, FrameInfo2 * _value, size_t _offset)
zx_status_t Clone (FrameInfo2 * _result)
const uint32_t & buffer_index ()
Identifies the buffer used for this frame as an index into the most recently negotiated
buffer collection.
Defined at line 775 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
bool has_buffer_index ()
Defined at line 779 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
uint32_t * mutable_buffer_index ()
Identifies the buffer used for this frame as an index into the most recently negotiated
buffer collection.
Defined at line 785 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
void clear_buffer_index ()
Defined at line 793 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
const uint64_t & frame_counter ()
A monotonically increasing counter indicating the number of frames written to this stream's
most recently negotiated buffer collection. Clients can use this to detect dropped frames
or generate nominal timestamps using the associated stream's framerate.
Defined at line 804 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
bool has_frame_counter ()
Defined at line 808 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
uint64_t * mutable_frame_counter ()
A monotonically increasing counter indicating the number of frames written to this stream's
most recently negotiated buffer collection. Clients can use this to detect dropped frames
or generate nominal timestamps using the associated stream's framerate.
Defined at line 815 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
void clear_frame_counter ()
Defined at line 823 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
const int64_t & timestamp ()
The value of the system monotonic clock, measured at the time the hardware completed
populating the buffer.
Defined at line 833 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
bool has_timestamp ()
Defined at line 837 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
int64_t * mutable_timestamp ()
The value of the system monotonic clock, measured at the time the hardware completed
populating the buffer.
Defined at line 843 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
void clear_timestamp ()
Defined at line 851 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
const int64_t & capture_timestamp ()
The value of the system monotonic clock, measured at the time the hardware completed
populating the original buffer used to derive the contents of this buffer.
Defined at line 861 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
bool has_capture_timestamp ()
Defined at line 865 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
int64_t * mutable_capture_timestamp ()
The value of the system monotonic clock, measured at the time the hardware completed
populating the original buffer used to derive the contents of this buffer.
Defined at line 871 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
void clear_capture_timestamp ()
Defined at line 879 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
const ::zx::eventpair & release_fence ()
The client must close this when it has completed reading from the buffer.
Defined at line 888 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
bool has_release_fence ()
Defined at line 892 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
::zx::eventpair * mutable_release_fence ()
The client must close this when it has completed reading from the buffer.
Defined at line 897 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h
void clear_release_fence ()
Defined at line 905 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/hlcpp/fuchsia/camera3/cpp/fidl.h