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

template<class DstArrayT, class Src1ArrayT, class Src2ArrayT, class BpoT>
void Impala::Core::Array::Pattern::PatBinaryPixOp ( DstArrayT *&  dst,
Src1ArrayT *  s1,
Src2ArrayT *  s2,
BpoT &  bpo 
) [inline]

Definition at line 23 of file PatBinaryPixOp.h.

References FuncBpoDispatch(), Impala::Core::Array::PAR_PART, PxArrayForceNonDistributed(), PxArrayPD(), PxArrayPostStateTrans(), PxArrayPreStateTrans(), PxRunLazyParallel(), PxRunParallel(), STRONG, and WEAK.

Referenced by Impala::Core::Array::Add(), Impala::Core::Array::AddSquared(), Impala::Core::Array::Atan2(), Impala::Core::Array::Div(), Impala::Core::Test::TestImage::DoCompare(), Impala::Core::Feature::HarrisLaplaceDetector::DoMaxPoints(), Impala::Application::Src::DoMaxPoints(), Impala::Application::WindowVdiff::DoProcessing(), Impala::Samples::Talk::DoTalkBpo2d(), Impala::Core::Array::Equals(), Impala::Core::Array::GreaterThan(), Impala::Core::Array::LessThan(), Impala::Core::Array::Maximum(), Impala::Core::Array::Minimum(), Impala::Core::Array::Mul(), Impala::Core::Array::NegDiv(), Impala::Core::Array::Norm2Sqr(), Impala::Core::Tracking::KalmanTemplate::Score(), Impala::Core::Array::Sub(), Impala::Core::Array::TestEqual(), and Impala::Core::Tracking::KalmanTemplate::Update().

00024 {
00025     if (dst == 0)
00026         dst = ArrayClone<DstArrayT>(s1);
00027 
00028 #ifdef PX_HORUS_USED
00029     if (!PxRunParallel()) {                         // run sequential
00030 #endif
00031         FuncBpoDispatch(dst, s1, s2, bpo);
00032 
00033 #ifdef PX_HORUS_USED
00034     } else {                                        // run parallel
00035         PxArrayPreStateTrans(s1,  PAR_PART, STRONG);
00036         PxArrayPreStateTrans(s2,  PAR_PART, STRONG);
00037         PxArrayPreStateTrans(dst, PAR_PART, WEAK);
00038         CxFuncBpoDispatch(PxArrayPD(dst),
00039                           PxArrayPD(s1), PxArrayPD(s2), bpo);
00040         PxArrayPostStateTrans(dst);
00041 
00042         if (!PxRunLazyParallel()) {
00043             PxArrayForceNonDistributed(s1);
00044             PxArrayForceNonDistributed(s2);
00045             PxArrayForceNonDistributed(dst);
00046         }
00047     }
00048 #endif
00049 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:01:50 2010 for ImpalaSrc by  doxygen 1.5.1