FFmpeg
Data Fields
SwsOp Struct Reference

#include <ops.h>

Data Fields

SwsOpType op
 
SwsPixelType type
 
union {
   SwsLinearOp   lin
 
   SwsReadWriteOp   rw
 
   SwsPackOp   pack
 
   SwsSwizzleOp   swizzle
 
   SwsConvertOp   convert
 
   SwsDitherOp   dither
 
   SwsConst   c
 
}; 
 
SwsComps comps
 Metadata about the operation's input/output components. More...
 

Detailed Description

Definition at line 186 of file ops.h.

Field Documentation

◆ op

SwsOpType SwsOp::op

◆ type

SwsPixelType SwsOp::type

◆ lin

SwsLinearOp SwsOp::lin

Definition at line 190 of file ops.h.

Referenced by ff_sws_op_list_optimize().

◆ rw

SwsReadWriteOp SwsOp::rw

Definition at line 191 of file ops.h.

Referenced by check_ops(), compile(), ff_sws_op_list_is_noop(), and ff_sws_op_list_optimize().

◆ pack

SwsPackOp SwsOp::pack

Definition at line 192 of file ops.h.

Referenced by ff_sws_op_list_optimize().

◆ swizzle

SwsSwizzleOp SwsOp::swizzle

Definition at line 193 of file ops.h.

Referenced by ff_sws_op_list_optimize().

◆ convert

SwsConvertOp SwsOp::convert

Definition at line 194 of file ops.h.

Referenced by ff_sws_op_list_optimize(), op_commute_clear(), and op_commute_swizzle().

◆ dither

SwsDitherOp SwsOp::dither

Definition at line 195 of file ops.h.

Referenced by op_commute_swizzle().

◆ c

SwsConst SwsOp::c

Definition at line 196 of file ops.h.

Referenced by ff_sws_op_list_optimize(), and op_commute_swizzle().

◆ @545

union { ... }

◆ comps

SwsComps SwsOp::comps

Metadata about the operation's input/output components.

Discarded and regenerated automatically by ff_sws_op_list_update_comps().

Note that backends may rely on the presence and accuracy of this metadata for all operations, during ff_sws_ops_compile().

Definition at line 206 of file ops.h.

Referenced by ff_sws_op_compile_tables(), ff_sws_op_list_optimize(), and op_commute_swizzle().


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