#include "HxFuncInOut.h"
#include "HxCategories.h"
Row_variations | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut_Row_InTi (DataPtrT ptr, int nPix, PixOpT &pixOp) |
| Row : import, translation invariant. More... | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut_Row_OutTi (DataPtrT ptr, int nPix, PixOpT &pixOp) |
| Row : export, translation invariant. More... | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut_Row_InTv (DataPtrT ptr, int nPix, PixOpT &pixOp, int x, int y, int z) |
| Row : import, translation variant. More... | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut_Row_OutTv (DataPtrT ptr, int nPix, PixOpT &pixOp, int x, int y, int z) |
| Row : export, translation variant. More... | |
InOut_variations | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut (DataPtrT ptr, HxSizes sizes, PixOpT &pixOp, HxTagPixOpIn dummy1, HxTagTransInVar dummy2, HxTag1Phase dummy3) |
| Translation invariant, 1 phase pixel import operation. More... | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut (DataPtrT ptr, HxSizes sizes, PixOpT &pixOp, HxTagPixOpOut dummy1, HxTagTransInVar dummy2, HxTag1Phase dummy3) |
| Translation invariant, 1 phase pixel export operation. More... | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut (DataPtrT ptr, HxSizes sizes, PixOpT &pixOp, HxTagPixOpIn dummy1, HxTagTransVar dummy2, HxTag1Phase dummy3) |
| Translation variant, 1 phase pixel import operation. More... | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut (DataPtrT ptr, HxSizes sizes, PixOpT &pixOp, HxTagPixOpOut dummy1, HxTagTransVar dummy2, HxTag1Phase dummy3) |
| Translation variant, 1 phase pixel export operation. More... | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut (DataPtrT ptr, HxSizes sizes, PixOpT &pixOp, HxTagPixOpIn dummy1, HxTagTransInVar dummy2, HxTagNPhase dummy3) |
| Translation invariant, n phase pixel import operation. More... | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut (DataPtrT ptr, HxSizes sizes, PixOpT &pixOp, HxTagPixOpOut dummy1, HxTagTransInVar dummy2, HxTagNPhase dummy3) |
| Translation invariant, n phase pixel export operation. More... | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut (DataPtrT ptr, HxSizes sizes, PixOpT &pixOp, HxTagPixOpIn dummy1, HxTagTransVar dummy2, HxTagNPhase dummy3) |
| Translation variant, n phase pixel import operation. More... | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOut (DataPtrT ptr, HxSizes sizes, PixOpT &pixOp, HxTagPixOpOut dummy1, HxTagTransVar dummy2, HxTagNPhase dummy3) |
| Translation variant, n phase pixel export operation. More... | |
Functions | |
| template<class DataPtrT, class PixOpT> void | HxFuncInOutDispatch (DataPtrT ptr, HxSizes sizes, PixOpT &pixOp) |
| Dispatch function for HxFuncInOut (see Global functions for InOut). More... | |
|
||||||||||||||||||||
|
Row : import, translation invariant.
00063 {
00064 while (--nPix >= 0)
00065 ptr.writeIncX(pixOp.doIt());
00066 }
|
|
||||||||||||||||||||
|
Row : export, translation invariant.
00072 {
00073 while (--nPix >= 0)
00074 pixOp.doIt(ptr.readIncX());
00075 }
|
|
||||||||||||||||||||||||||||||||
|
Row : import, translation variant.
00081 {
00082 while (--nPix >= 0)
00083 ptr.writeIncX(pixOp.doIt(x++, y, z));
00084 }
|
|
||||||||||||||||||||||||||||||||
|
Row : export, translation variant.
00090 {
00091 while (--nPix >= 0)
00092 pixOp.doIt(ptr.readIncX(), x++, y, z);
00093 }
|
|
||||||||||||||||||||||||||||||||
|
Translation invariant, 1 phase pixel import operation.
00109 {
00110 for (int z=0; z<sizes.z(); z++)
00111 {
00112 for (int y=0; y<sizes.y(); y++)
00113 {
00114 HxFuncInOut_Row_InTi(ptr, sizes.x(), pixOp);
00115 ptr.incY();
00116 }
00117 ptr.decY(sizes.y());
00118 ptr.incZ();
00119 }
00120 }
|
|
||||||||||||||||||||||||||||||||
|
Translation invariant, 1 phase pixel export operation.
00129 {
00130 for (int z=0; z<sizes.z(); z++)
00131 {
00132 for (int y=0; y<sizes.y(); y++)
00133 {
00134 HxFuncInOut_Row_OutTi(ptr, sizes.x(), pixOp);
00135 ptr.incY();
00136 }
00137 ptr.decY(sizes.y());
00138 ptr.incZ();
00139 }
00140 }
|
|
||||||||||||||||||||||||||||||||
|
Translation variant, 1 phase pixel import operation.
00149 {
00150 for (int z=0; z<sizes.z(); z++)
00151 {
00152 for (int y=0; y<sizes.y(); y++)
00153 {
00154 HxFuncInOut_Row_InTv(ptr, sizes.x(), pixOp, 0, y, z);
00155 ptr.incY();
00156 }
00157 ptr.decY(sizes.y());
00158 ptr.incZ();
00159 }
00160 }
|
|
||||||||||||||||||||||||||||||||
|
Translation variant, 1 phase pixel export operation.
00169 {
00170 for (int z=0; z<sizes.z(); z++)
00171 {
00172 for (int y=0; y<sizes.y(); y++)
00173 {
00174 HxFuncInOut_Row_OutTv(ptr, sizes.x(), pixOp, 0, y, z);
00175 ptr.incY();
00176 }
00177 ptr.decY(sizes.y());
00178 ptr.incZ();
00179 }
00180 }
|
|
||||||||||||||||||||||||||||||||
|
Translation invariant, n phase pixel import operation.
00189 {
00190 for (int phase=1; phase<=pixOp.nrPhases(); phase++) {
00191 pixOp.init(phase);
00192 for (int z=0; z<sizes.z(); z++)
00193 {
00194 for (int y=0; y<sizes.y(); y++)
00195 {
00196 HxFuncInOut_Row_InTi(ptr, sizes.x(), pixOp);
00197 ptr.incY();
00198 }
00199 ptr.decY(sizes.y());
00200 ptr.incZ();
00201 }
00202 pixOp.done(phase);
00203 }
00204 }
|
|
||||||||||||||||||||||||||||||||
|
Translation invariant, n phase pixel export operation.
00213 {
00214 for (int phase=1; phase<=pixOp.nrPhases(); phase++) {
00215 pixOp.init(phase);
00216 for (int z=0; z<sizes.z(); z++)
00217 {
00218 for (int y=0; y<sizes.y(); y++)
00219 {
00220 HxFuncInOut_Row_OutTi(ptr, sizes.x(), pixOp);
00221 ptr.incY();
00222 }
00223 ptr.decY(sizes.y());
00224 ptr.incZ();
00225 }
00226 pixOp.done(phase);
00227 }
00228 }
|
|
||||||||||||||||||||||||||||||||
|
Translation variant, n phase pixel import operation.
00237 {
00238 for (int phase=1; phase<=pixOp.nrPhases(); phase++) {
00239 pixOp.init(phase);
00240 for (int z=0; z<sizes.z(); z++)
00241 {
00242 for (int y=0; y<sizes.y(); y++)
00243 {
00244 HxFuncInOut_Row_InTv(ptr, sizes.x(), pixOp, 0, y, z);
00245 ptr.incY();
00246 }
00247 ptr.decY(sizes.y());
00248 ptr.incZ();
00249 }
00250 pixOp.done(phase);
00251 }
00252 }
|
|
||||||||||||||||||||||||||||||||
|
Translation variant, n phase pixel export operation.
00261 {
00262 for (int phase=1; phase<=pixOp.nrPhases(); phase++) {
00263 pixOp.init(phase);
00264 for (int z=0; z<sizes.z(); z++)
00265 {
00266 for (int y=0; y<sizes.y(); y++)
00267 {
00268 HxFuncInOut_Row_OutTv(ptr, sizes.x(), pixOp, 0, y, z);
00269 ptr.incY();
00270 }
00271 ptr.decY(sizes.y());
00272 ptr.incZ();
00273 }
00274 pixOp.done(phase);
00275 }
00276 }
|
|
||||||||||||||||||||
|
Dispatch function for HxFuncInOut (see Global functions for InOut). Dispatch is based on the categories defined in PixOpT.
00288 {
00289 HxFuncInOut(
00290 ptr, sizes, pixOp,
00291 typename PixOpT::DirectionCategory(),
00292 typename PixOpT::TransVarianceCategory(),
00293 typename PixOpT::PhaseCategory());
00294 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001