Lines Matching defs:Impl
290 class cv::ogl::Buffer::Impl
296 class cv::ogl::Buffer::Impl
299 static const Ptr<Impl>& empty();
301 Impl(GLuint bufId, bool autoRelease);
302 Impl(GLsizeiptr size, const GLvoid* data, GLenum target, bool autoRelease);
303 ~Impl();
328 Impl();
338 const Ptr<cv::ogl::Buffer::Impl>& cv::ogl::Buffer::Impl::empty()
340 static Ptr<Impl> p(new Impl);
344 cv::ogl::Buffer::Impl::Impl() : bufId_(0), autoRelease_(false)
348 cv::ogl::Buffer::Impl::Impl(GLuint abufId, bool autoRelease) : bufId_(abufId), autoRelease_(autoRelease)
353 cv::ogl::Buffer::Impl::Impl(GLsizeiptr size, const GLvoid* data, GLenum target, bool autoRelease) : bufId_(0), autoRelease_(autoRelease)
370 cv::ogl::Buffer::Impl::~Impl()
376 void cv::ogl::Buffer::Impl::bind(GLenum target) const
382 void cv::ogl::Buffer::Impl::copyFrom(GLuint srcBuf, GLsizeiptr size)
394 void cv::ogl::Buffer::Impl::copyFrom(GLsizeiptr size, const GLvoid* data)
403 void cv::ogl::Buffer::Impl::copyTo(GLsizeiptr size, GLvoid* data) const
412 void* cv::ogl::Buffer::Impl::mapHost(GLenum access)
423 void cv::ogl::Buffer::Impl::unmapHost()
430 void cv::ogl::Buffer::Impl::copyFrom(const void* src, size_t spitch, size_t width, size_t height, cudaStream_t stream)
436 void cv::ogl::Buffer::Impl::copyTo(void* dst, size_t dpitch, size_t width, size_t height, cudaStream_t stream) const
442 void* cv::ogl::Buffer::Impl::mapDevice(cudaStream_t stream)
448 void cv::ogl::Buffer::Impl::unmapDevice(cudaStream_t stream)
462 impl_ = Impl::empty();
476 impl_.reset(new Impl(abufId, autoRelease));
492 impl_.reset(new Impl(abufId, autoRelease));
521 impl_.reset(new Impl(asize, mat.data, target, autoRelease));
544 impl_.reset(new Impl(asize, 0, target, autoRelease));
557 impl_ = Impl::empty();
834 class cv::ogl::Texture2D::Impl
840 class cv::ogl::Texture2D::Impl
843 static const Ptr<Impl> empty();
845 Impl(GLuint texId, bool autoRelease);
846 Impl(GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels, bool autoRelease);
847 ~Impl();
859 Impl();
865 const Ptr<cv::ogl::Texture2D::Impl> cv::ogl::Texture2D::Impl::empty()
867 static Ptr<Impl> p(new Impl);
871 cv::ogl::Texture2D::Impl::Impl() : texId_(0), autoRelease_(false)
875 cv::ogl::Texture2D::Impl::Impl(GLuint atexId, bool autoRelease) : texId_(atexId), autoRelease_(autoRelease)
880 cv::ogl::Texture2D::Impl::Impl(GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels, bool autoRelease) : texId_(0), autoRelease_(autoRelease)
900 cv::ogl::Texture2D::Impl::~Impl()
906 void cv::ogl::Texture2D::Impl::copyFrom(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
921 void cv::ogl::Texture2D::Impl::copyTo(GLenum format, GLenum type, GLvoid* pixels) const
933 void cv::ogl::Texture2D::Impl::bind() const
946 impl_ = Impl::empty();
960 impl_.reset(new Impl(atexId, autoRelease));
976 impl_.reset(new Impl(atexId, autoRelease));
1016 impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], 0, autoRelease));
1030 impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], 0, autoRelease));
1042 impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], mat.data, autoRelease));
1065 impl_.reset(new Impl(aformat, acols, arows, aformat, gl::FLOAT, 0, autoRelease));
1078 impl_ = Impl::empty();