template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 160 of file fidling/gen/sdk/fidl/fuchsia.ui.compression.internal/fuchsia.ui.compression.internal/cpp/fidl/fuchsia.ui.compression.internal/cpp/wire_types.h
Public Methods
::fuchsia_ui_compression_internal::wire::ImageCompressorEncodePngRequest Build ()
Build and return the table. The builder should not be used after this.
bool has_raw_vmo ()
void clear_raw_vmo ()
Clears the raw_vmo field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::zx::vmo & raw_vmo ()
VMO holding the image-to-be-encoded in packaged, BGRA_RAW format.
BuilderImpl & raw_vmo (::zx::vmo elem)
VMO holding the image-to-be-encoded in packaged, BGRA_RAW format.
bool has_image_dimensions ()
void clear_image_dimensions ()
Clears the image_dimensions field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_math::wire::SizeU & image_dimensions ()
The width and height of the input image.
BuilderImpl & image_dimensions (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_math::wire::SizeU>> elem)
The width and height of the input image.
bool has_png_vmo ()
void clear_png_vmo ()
Clears the png_vmo field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::zx::vmo & png_vmo ()
Resultant VMO in PNG format. This VMO's allocated size should be at
least 4KB larger than the input image's width*height*pixel_size to
account for format padding.
BuilderImpl & png_vmo (::zx::vmo elem)
Resultant VMO in PNG format. This VMO's allocated size should be at
least 4KB larger than the input image's width*height*pixel_size to
account for format padding.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_ui_compression_internal::wire::ImageCompressorEncodePngRequest, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_compression_internal::wire::ImageCompressorEncodePngRequest>> && frame)