IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
L1Norm2ImgLvl3.h
1 // L1Norm2ImgLvl3.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKIPLARITHMETIC_L1NORM2IMGLVL3_H__
16 #define __IPSDKIPLARITHMETIC_L1NORM2IMGLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InYStrip2d1.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InYStrip2d2.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/OutYStrip2d.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 namespace arithm {
29 
32 
33 // declare processing algorithm
34 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLArithmetic, L1Norm2Img,
35  ipsdk::imaproc::matchSize(_pInYStrip2d1, _pInYStrip2d2, _pOutYStrip2d) &&
36  ipsdk::imaproc::matchBufferType(_pInYStrip2d1, _pInYStrip2d2),
37  (((ipsdk)(imaproc)(attr))(InYStrip2d1))
38  (((ipsdk)(imaproc)(attr))(InYStrip2d2))
39  (((ipsdk)(imaproc)(attr))(OutYStrip2d)))
40 
41  // implementation of image processing data identifier retrieval method
42  // for function selector usage
43  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InYStrip2d1))
44  ((STRIP)(OutYStrip2d)));
45 
46  // declaration of parsed data during processing
47  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InYStrip2d1))
48  ((RAWSTRIP)(InYStrip2d2))
49  ((RAWSTRIP)(OutYStrip2d)));
50 
51 // methods
52 protected:
53 
54 protected:
56  template <typename BufInType, typename BufOutType,
57  ipsdk::eInstructionSet::domain IS>
58  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
59 
60 // attributes
61 protected:
62 
63 };
64 
67 
68 } // end of namespace arithm
69 } // end of namespace imaproc
70 } // end of namespace ipsdk
71 
72 #endif // __IPSDKIPLARITHMETIC_L1NORM2IMGLVL3_H__
Definition of import/export macro for library.
#define IPSDK_DECLARE_PROCESSING_ALGORITHM(libraryName, algoName, RuleString, attributeSeq)
#define IPSDK_DECLARE_ALGORITHM_PARSED_DATA(dataSeq)
#define IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(dataTypeSeq)