Skip to main content

Transform Struct

Discriminated union of all per-stage transform specs. More...

Declaration

struct simaai::neat::Transform { ... }

Included Headers

#include <PreprocessPlan.h>

Public Member Attributes Index

TransformTypetype = TransformType::Resize

Which spec field is active. More...

ResizeSpecresize

Active when type == Resize. More...

ColorConvertSpeccolor_convert

Active when type == ColorConvert. More...

LayoutConvertSpeclayout_convert

Active when type == LayoutConvert. More...

NormalizeSpecnormalize

Active when type == Normalize. More...

QuantizeSpecquantize

Active when type == Quantize. More...

TessellateSpectessellate

Active when type == Tessellate. More...

Description

Discriminated union of all per-stage transform specs.

Used inside PreprocessOptions::transforms to express an ordered list of explicit transformations (overrides the auto-planner). Read the field that corresponds to type.

Definition at line 214 of file PreprocessPlan.h.

Public Member Attributes

color_convert

ColorConvertSpec simaai::neat::Transform::color_convert

Active when type == ColorConvert.

Definition at line 217 of file PreprocessPlan.h.

layout_convert

LayoutConvertSpec simaai::neat::Transform::layout_convert

Active when type == LayoutConvert.

Definition at line 218 of file PreprocessPlan.h.

normalize

NormalizeSpec simaai::neat::Transform::normalize

Active when type == Normalize.

Definition at line 219 of file PreprocessPlan.h.

quantize

QuantizeSpec simaai::neat::Transform::quantize

Active when type == Quantize.

Definition at line 220 of file PreprocessPlan.h.

resize

ResizeSpec simaai::neat::Transform::resize

Active when type == Resize.

Definition at line 216 of file PreprocessPlan.h.

tessellate

TessellateSpec simaai::neat::Transform::tessellate

Active when type == Tessellate.

Definition at line 221 of file PreprocessPlan.h.

type

TransformType simaai::neat::Transform::type = TransformType::Resize

Which spec field is active.

Definition at line 215 of file PreprocessPlan.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.