Basic Image AlgorithmS Library
2.8.0
|
#include <OpenCLFramework/Algorithm/clfCopy.hh>
Public Member Functions | |
clfCopy (clfContext *ctx=NULL, bool sharedGL=false, unsigned int device=0) | |
void | Copy (clfImage2D *src, clfImage2D *dest) |
clfProgram * | GetCLProgram () |
clfContext * | GetContext () |
virtual | ~clfCopy () |
Static Public Member Functions | |
static void | getlocsize (const unsigned int val, unsigned int &result) |
static unsigned int | getlocsize (const unsigned int val) |
Protected Member Functions | |
void | InitInternal_ (clfContext *ctx, bool sharedGL, unsigned int device) |
Protected Attributes | |
clfContext * | context_ |
int | device_ |
bool | isSharedGL_ |
int | maxComputeUnits_ |
bool | ownContext_ |
clfProgram * | programCL_ |
Definition at line 20 of file clfCopy.hh.
clfCopy::clfCopy | ( | clfContext * | ctx = NULL , |
bool | sharedGL = false , |
||
unsigned int | device = 0 |
||
) |
Definition at line 17 of file clfCopy.cpp.
References BIAS::clfProgram::AddKernel(), BIAS::clfProgram::AddSourceFromString(), BIAS::clfProgram::Build(), and BIAS::clfAlgorithm::programCL_.
|
virtual |
Definition at line 36 of file clfCopy.cpp.
void clfCopy::Copy | ( | clfImage2D * | src, |
clfImage2D * | dest | ||
) |
Definition at line 39 of file clfCopy.cpp.
References BIAS::clfAlgorithm::context_, BIAS::clfImage2D::Height(), BIAS::clfProgram::KernelSetArgument(), BIAS::clfAlgorithm::programCL_, BIAS::clfContext::RunOn2DRange(), and BIAS::clfImage2D::Width().
|
inlineinherited |
Definition at line 25 of file clfAlgorithm.hh.
|
inlineinherited |
Definition at line 23 of file clfAlgorithm.hh.
|
staticinherited |
Definition at line 53 of file clfAlgorithm.cpp.
|
staticinherited |
Definition at line 57 of file clfAlgorithm.cpp.
|
protectedinherited |
Definition at line 33 of file clfAlgorithm.cpp.
References BIAS::clfAlgorithm::context_, BIAS::clfContext::CreateProgram(), BIAS::clfAlgorithm::device_, BIAS::clfContext::GetDeviceInfo(), BIAS::clfAlgorithm::isSharedGL_, BIAS::clfContext::IsSharedGLContext(), clfDeviceInfo::maxComputeUnits, BIAS::clfAlgorithm::maxComputeUnits_, BIAS::clfAlgorithm::ownContext_, BIAS::clfAlgorithm::programCL_, and BIAS::clfContext::SetActiveDevice().
Referenced by BIAS::clfAlgorithm::clfAlgorithm().
|
protectedinherited |
Definition at line 34 of file clfAlgorithm.hh.
Referenced by BIAS::clfRadixSort::ApplyPermutation(), BIAS::clfAlgorithm::clfAlgorithm(), BIAS::clfRadixSort::clfRadixSort(), BIAS::clfUnifiedMultilateralFilter::clfUnifiedMultilateralFilter(), BIAS::clfUnifiedMultilateralFilter::Compute(), Copy(), BIAS::clfImageOperator::CutOffMinThreshold(), BIAS::clfImageOperator::Difference(), BIAS::clfRecursiveGauss::FilterGrey(), BIAS::clfRecursiveGauss::FilterGreyColPacked(), BIAS::clfRecursiveGauss::FilterX(), BIAS::clfRecursiveGauss::FilterY(), BIAS::clfRadixSort::Histogram(), BIAS::clfRadixSort::Host2GPU(), BIAS::clfUnifiedMultilateralFilter::Init(), BIAS::clfUnifiedMultilateralFilter::InitColorFilter(), BIAS::clfUnifiedMultilateralFilter::InitCredibilityFilter(), BIAS::clfUnifiedMultilateralFilter::InitDepthFilter(), BIAS::clfAlgorithm::InitInternal_(), BIAS::clfUnifiedMultilateralFilter::InitSpatialFilter(), BIAS::clfRadixSort::RecupGPU(), BIAS::clfRadixSort::Reorder(), BIAS::clfRadixSort::ScanHistogram(), BIAS::clfRadixSort::SetData(), BIAS::clfRadixSort::Transpose(), and BIAS::clfAlgorithm::~clfAlgorithm().
|
protectedinherited |
Definition at line 39 of file clfAlgorithm.hh.
Referenced by BIAS::clfAlgorithm::clfAlgorithm(), and BIAS::clfAlgorithm::InitInternal_().
|
protectedinherited |
Definition at line 37 of file clfAlgorithm.hh.
Referenced by BIAS::clfAlgorithm::clfAlgorithm(), and BIAS::clfAlgorithm::InitInternal_().
|
protectedinherited |
Definition at line 38 of file clfAlgorithm.hh.
Referenced by BIAS::clfAlgorithm::clfAlgorithm(), and BIAS::clfAlgorithm::InitInternal_().
|
protectedinherited |
Definition at line 36 of file clfAlgorithm.hh.
Referenced by BIAS::clfAlgorithm::clfAlgorithm(), BIAS::clfAlgorithm::InitInternal_(), and BIAS::clfAlgorithm::~clfAlgorithm().
|
protectedinherited |
Definition at line 35 of file clfAlgorithm.hh.
Referenced by BIAS::clfRadixSort::ApplyPermutation(), BIAS::clfAlgorithm::clfAlgorithm(), clfCopy(), BIAS::clfImageOperator::clfImageOperator(), BIAS::clfRadixSort::clfRadixSort(), BIAS::clfRecursiveGauss::clfRecursiveGauss(), BIAS::clfUnifiedMultilateralFilter::clfUnifiedMultilateralFilter(), BIAS::clfUnifiedMultilateralFilter::Compute(), Copy(), BIAS::clfImageOperator::CutOffMinThreshold(), BIAS::clfImageOperator::Difference(), BIAS::clfRecursiveGauss::FilterGrey(), BIAS::clfRecursiveGauss::FilterGreyColPacked(), BIAS::clfRecursiveGauss::FilterX(), BIAS::clfRecursiveGauss::FilterY(), BIAS::clfRadixSort::Histogram(), BIAS::clfUnifiedMultilateralFilter::InitCredibilityFilter(), BIAS::clfAlgorithm::InitInternal_(), BIAS::clfRadixSort::Reorder(), BIAS::clfRadixSort::ScanHistogram(), BIAS::clfRecursiveGauss::SetSigma(), BIAS::clfRadixSort::Transpose(), and BIAS::clfAlgorithm::~clfAlgorithm().