OpenCV  3.0.0-dev
Open Source Computer Vision
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
cv::ocl::Context Class Reference

#include "ocl.hpp"

Public Member Functions

 Context ()
 Context (int dtype)
 Context (const Context &c)
 ~Context ()
bool create ()
bool create (int dtype)
const Devicedevice (size_t idx) const
Program getProg (const ProgramSource &prog, const String &buildopt, String &errmsg)
size_t ndevices () const
Contextoperator= (const Context &c)
void * ptr () const
void setUseSVM (bool enabled)
bool useSVM () const

Static Public Member Functions

static ContextgetDefault (bool initialize=true)

Public Attributes

Impl * p


void initializeContextFromHandle (Context &ctx, void *platform, void *context, void *device)

Constructor & Destructor Documentation

cv::ocl::Context::Context ( )
cv::ocl::Context::Context ( int  dtype)
cv::ocl::Context::~Context ( )
cv::ocl::Context::Context ( const Context c)

Member Function Documentation

bool cv::ocl::Context::create ( )
bool cv::ocl::Context::create ( int  dtype)
const Device& cv::ocl::Context::device ( size_t  idx) const
static Context& cv::ocl::Context::getDefault ( bool  initialize = true)
Program cv::ocl::Context::getProg ( const ProgramSource prog,
const String buildopt,
String errmsg 
size_t cv::ocl::Context::ndevices ( ) const
Context& cv::ocl::Context::operator= ( const Context c)
void* cv::ocl::Context::ptr ( ) const
void cv::ocl::Context::setUseSVM ( bool  enabled)
bool cv::ocl::Context::useSVM ( ) const

Friends And Related Function Documentation

void initializeContextFromHandle ( Context ctx,
void *  platform,
void *  context,
void *  device 

Member Data Documentation

Impl* cv::ocl::Context::p

The documentation for this class was generated from the following file: