Skip to content

Commit

Permalink
removed obsolete methods from gpu::Stream
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Vinogradov committed Jun 25, 2013
1 parent 1dccf57 commit 3c32fc1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 49 deletions.
13 changes: 0 additions & 13 deletions modules/core/include/opencv2/core/gpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,19 +375,6 @@ class CV_EXPORTS Stream
//! returns true if stream object is not default (!= 0)
operator bool_type() const;

// obsolete methods

void enqueueDownload(const GpuMat& src, OutputArray dst);

void enqueueUpload(InputArray src, GpuMat& dst);

void enqueueCopy(const GpuMat& src, OutputArray dst);

void enqueueMemSet(GpuMat& src, Scalar val);
void enqueueMemSet(GpuMat& src, Scalar val, InputArray mask);

void enqueueConvert(const GpuMat& src, OutputArray dst, int dtype, double alpha = 1.0, double beta = 0.0);

class Impl;

private:
Expand Down
36 changes: 0 additions & 36 deletions modules/core/include/opencv2/core/gpu.inl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,42 +525,6 @@ void swap(CudaMem& a, CudaMem& b)

//////////////////////////////// Stream ///////////////////////////////

inline
void Stream::enqueueDownload(const GpuMat& src, OutputArray dst)
{
src.download(dst, *this);
}

inline
void Stream::enqueueUpload(InputArray src, GpuMat& dst)
{
dst.upload(src, *this);
}

inline
void Stream::enqueueCopy(const GpuMat& src, OutputArray dst)
{
src.copyTo(dst, *this);
}

inline
void Stream::enqueueMemSet(GpuMat& src, Scalar val)
{
src.setTo(val, *this);
}

inline
void Stream::enqueueMemSet(GpuMat& src, Scalar val, InputArray mask)
{
src.setTo(val, mask, *this);
}

inline
void Stream::enqueueConvert(const GpuMat& src, OutputArray dst, int dtype, double alpha, double beta)
{
src.convertTo(dst, dtype, alpha, beta, *this);
}

inline
Stream::Stream(const Ptr<Impl>& impl)
: impl_(impl)
Expand Down

0 comments on commit 3c32fc1

Please sign in to comment.