Skip to content

T-API: optimization of cv::remap#2888

Merged
opencv-pushbot merged 2 commits intoopencv:masterfrom
ilya-lavrenov:tapi_remap
Jul 11, 2014
Merged

T-API: optimization of cv::remap#2888
opencv-pushbot merged 2 commits intoopencv:masterfrom
ilya-lavrenov:tapi_remap

Conversation

@ilya-lavrenov
Copy link
Copy Markdown
Contributor

Description:

  • increased number of rows per work-item
  • used precomputed bufferof interpolation coefficients
  • used vload2 for INTER_LINEAR

Performance report:
http://ocl.itseez.com/intel/export/perf/pr/2888/report/

check_regression=OCL_Remap:OCL_Warper
test_modules=imgproc,stitching
test_filter=_OCL_Remap*
build_examples=OFF

@ilya-lavrenov
Copy link
Copy Markdown
Contributor Author

@vbystricky, please, review.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why not

 for (int y = y0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y,

as in other kernel (inrange for example)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

does it make sense?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

May be small.

@vbystricky
Copy link
Copy Markdown

👍
@myshevts, please review this request.

@ilya-lavrenov
Copy link
Copy Markdown
Contributor Author

@mostafahagog, please, approve this optimization.

@Daniil-Osokin
Copy link
Copy Markdown

@mostafahagog Please, review this request.

@myshevts
Copy link
Copy Markdown

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants