Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class ArrayT, class RgbOpT>
void Impala::Core::Array::Pattern::PatRgbOp ( ArrayT *  src,
UInt8 *  pixels,
int  resWidth,
int  resHeight,
Geometry::GeoIntType  gi,
RgbOpT &  rgbOp 
) [inline]

Definition at line 47 of file PatRgbOp.h.

References FuncRgbOp(), PxArrayForceNonDistributed(), PxArrayPreStateTrans(), PxRunLazyParallel(), PxRunParallel(), Impala::Core::Array::SEQ_VALID, and WEAK.

Referenced by Impala::Core::Array::GetRgbPixels(), Impala::Core::Array::GetRgbPixelsLM(), and Impala::Core::Array::GetRgbPixelsSt().

00049 {
00050 #ifdef PX_HORUS_USED
00051     if (!PxRunParallel()) {                         // run sequential
00052 #endif
00053         FuncRgbOp(src, pixels, resWidth, resHeight, gi, rgbOp);
00054 
00055 #ifdef PX_HORUS_USED
00056     } else {                                        // run parallel
00057         PxArrayPreStateTrans(src, SEQ_VALID, WEAK);
00058         FuncRgbOp(src, pixels, resWidth, resHeight, gi, rgbOp);
00059 
00060         if (!PxRunLazyParallel()) {
00061             PxArrayForceNonDistributed(src);
00062         }
00063     }
00064 #endif
00065 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:02:22 2010 for ImpalaSrc by  doxygen 1.5.1