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

template<class DstArrayT, class SrcArrayT, class MaskArrayT, class QbT>
void Impala::Core::Array::Pattern::PatQueueBased ( DstArrayT *&  dst,
SrcArrayT *  src,
MaskArrayT *  mask,
QbT &  qb,
int  connectivity = 8,
int  radiusSqr = -1 
) [inline]

Definition at line 23 of file PatQueueBased.h.

References FuncQueueBasedDispatch(), PX_COUT, PX_ENDL, PxArrayForceNonDistributed(), and PxRunParallel().

00025 {
00026     if (dst == 0)
00027         dst = ArrayClone<DstArrayT>(src);
00028 
00029 #ifdef PX_HORUS_USED
00030     if (!PxRunParallel()) {                         // run sequential
00031 #endif
00032         FuncQueueBasedDispatch(dst, src,
00033                                mask, qb, connectivity, radiusSqr);
00034 
00035 #ifdef PX_HORUS_USED
00036     } else {                                        // run parallel
00037         PX_COUT << "NOTE: PatQueueBased NOT PARALLELIZED YET!"
00038                 << PX_ENDL;
00039         PxArrayForceNonDistributed(src);
00040         PxArrayForceNonDistributed(dst);
00041         FuncQueueBasedDispatch(dst, src,
00042                                mask, qb, connectivity, radiusSqr);
00043     }
00044 #endif
00045 }

Here is the call graph for this function:


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