FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kInvertAlg.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_INVERT_ALG_H
9 #define K_FIRESYNC_INVERT_ALG_H
10 
11 #include <kFireSync/kFsDef.h>
12 
19 typedef struct kInvertAlgParams
20 {
25 
26 #include <kFireSync/Blocks/Details/kInvertAlg.x.h>
27 
34 //typedef kObject kInvertAlg; --forward-declared in kFsDef.x.h
35 
45 kFsFx(kStatus) kInvertAlg_Construct(kInvertAlg* algorithm, const kInvertAlgParams* params, kAlloc allocator);
46 
57 kInlineFx(kStatus) kInvertAlg_Execute(kInvertAlg algorithm, kImage input, kBool inputExclusive, kImage* output)
58 {
59  return xkInvertAlg_VTable(algorithm)->VExecute(algorithm, input, inputExclusive, output);
60 }
61 
62 #endif
kAlloc objectAlloc
Object memory allocator for outputs.
Definition: kInvertAlg.h:22
kAlloc valueAlloc
Data memory allocator for outputs.
Definition: kInvertAlg.h:23
Abstract base class for image inversion algorithm implementations.
kStatus kInvertAlg_Execute(kInvertAlg algorithm, kImage input, kBool inputExclusive, kImage *output)
Executes the invert operation.
Definition: kInvertAlg.h:57
Essential API declarations for the kFireSync library.
Input parameters for kInvertAlgorithm.
Definition: kInvertAlg.h:19
kType algorithmType
Algorithm implementation to be used.
Definition: kInvertAlg.h:21
kStatus kInvertAlg_Construct(kInvertAlg *algorithm, const kInvertAlgParams *params, kAlloc allocator)
Constructs a specific kInvertAlg child instance.