Skip to content

copy kernels#15236

Merged
opencv-pushbot merged 2 commits intoopencv:masterfrom
dbudniko:dbudniko/g_api_copy_kernels
Aug 23, 2019
Merged

copy kernels#15236
opencv-pushbot merged 2 commits intoopencv:masterfrom
dbudniko:dbudniko/g_api_copy_kernels

Conversation

@dbudniko
Copy link
Copy Markdown

@dbudniko dbudniko commented Aug 5, 2019

This pullrequest changes

Enables G-API copy kernels

allow_multiple_commits=1

@dbudniko
Copy link
Copy Markdown
Author

dbudniko commented Aug 6, 2019

@rgarnov please review

Copy link
Copy Markdown
Contributor

@dmatveev dmatveev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

{
static void run(const cv::Mat& in, cv::Mat& out)
{
cv::Mat(in).copyTo(out);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't it just in.copyTo(out);?

{
static void run(const cv::UMat& in, cv::UMat& out)
{
cv::UMat(in).copyTo(out);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also just in.copyTo(out)?

@dmatveev dmatveev self-assigned this Aug 23, 2019
@dmatveev dmatveev added this to the 4.x milestone Aug 23, 2019
@opencv-pushbot opencv-pushbot merged commit 6427744 into opencv:master Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants