FFmpeg
Data Fields
SwsLinearOp Struct Reference

#include <ops.h>

Data Fields

AVRational m [4][5]
 Generalized 5x5 affine transformation: [ Out.x ] = [ A B C D E ] [ Out.y ] = [ F G H I J ] * [ x y z w 1 ] [ Out.z ] = [ K L M N O ] [ Out.w ] = [ P Q R S T ]. More...
 
uint32_t mask
 

Detailed Description

Definition at line 138 of file ops.h.

Field Documentation

◆ m

AVRational SwsLinearOp::m[4][5]

Generalized 5x5 affine transformation: [ Out.x ] = [ A B C D E ] [ Out.y ] = [ F G H I J ] * [ x y z w 1 ] [ Out.z ] = [ K L M N O ] [ Out.w ] = [ P Q R S T ].

The mask keeps track of which components differ from an identity matrix. There may be more efficient implementations of particular subsets, for example the common subset of {A, E, G, J, M, O} can be implemented with just three fused multiply-add operations.

Definition at line 151 of file ops.h.

Referenced by check_linear(), and ff_sws_op_list_optimize().

◆ mask

uint32_t SwsLinearOp::mask

Definition at line 152 of file ops.h.

Referenced by check_linear().


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