Transform Struct
Discriminated union of all per-stage transform specs. More...
Declaration
Included Headers
Public Member Attributes Index
| TransformType | type = TransformType::Resize |
|
Which spec field is active. More... | |
| ResizeSpec | resize |
|
Active when type == Resize. More... | |
| ColorConvertSpec | color_convert |
|
Active when type == ColorConvert. More... | |
| LayoutConvertSpec | layout_convert |
|
Active when type == LayoutConvert. More... | |
| NormalizeSpec | normalize |
|
Active when type == Normalize. More... | |
| QuantizeSpec | quantize |
|
Active when type == Quantize. More... | |
| TessellateSpec | tessellate |
|
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
|
Active when type == ColorConvert.
Definition at line 217 of file PreprocessPlan.h.
layout_convert
|
Active when type == LayoutConvert.
Definition at line 218 of file PreprocessPlan.h.
normalize
|
Active when type == Normalize.
Definition at line 219 of file PreprocessPlan.h.
quantize
|
Active when type == Quantize.
Definition at line 220 of file PreprocessPlan.h.
resize
|
tessellate
|
Active when type == Tessellate.
Definition at line 221 of file PreprocessPlan.h.
type
|
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.