Skip to content

T-API: cv::flip optimization for CV_8UC1#2820

Merged
opencv-pushbot merged 1 commit intoopencv:masterfrom
ilya-lavrenov:tapi_flip
Jun 4, 2014
Merged

T-API: cv::flip optimization for CV_8UC1#2820
opencv-pushbot merged 1 commit intoopencv:masterfrom
ilya-lavrenov:tapi_flip

Conversation

@ilya-lavrenov
Copy link
Copy Markdown
Contributor

check_regression=_OCL_Flip*
test_modules=core
test_filter=_OCL_Flip*
build_examples=OFF

Used vector data types (uchar4 instead of uchar)

New approach with compare to the previous one:

Flip::OCL_FlipFixture::(640x480, 8UC1, FLIP_BOTH)    0.230 ms  0.194 ms     1.19
Flip::OCL_FlipFixture::(640x480, 8UC1, FLIP_COLS)    0.212 ms  0.149 ms     1.42
Flip::OCL_FlipFixture::(640x480, 8UC1, FLIP_ROWS)    0.210 ms  0.158 ms     1.33
Flip::OCL_FlipFixture::(1280x720, 8UC1, FLIP_BOTH)   0.299 ms  0.221 ms     1.35
Flip::OCL_FlipFixture::(1280x720, 8UC1, FLIP_COLS)   0.289 ms  0.195 ms     1.48
Flip::OCL_FlipFixture::(1280x720, 8UC1, FLIP_ROWS)   0.287 ms  0.213 ms     1.35
Flip::OCL_FlipFixture::(1920x1080, 8UC1, FLIP_BOTH)  0.330 ms  0.202 ms     1.63
Flip::OCL_FlipFixture::(1920x1080, 8UC1, FLIP_COLS)  0.319 ms  0.205 ms     1.55
Flip::OCL_FlipFixture::(1920x1080, 8UC1, FLIP_ROWS)  0.323 ms  0.228 ms     1.42
Flip::OCL_FlipFixture::(3840x2160, 8UC1, FLIP_BOTH)  1.553 ms  0.916 ms     1.70
Flip::OCL_FlipFixture::(3840x2160, 8UC1, FLIP_COLS)  1.613 ms  0.870 ms     1.85
Flip::OCL_FlipFixture::(3840x2160, 8UC1, FLIP_ROWS)  1.606 ms  0.852 ms     1.89

@ElenaGvozdeva
Copy link
Copy Markdown
Contributor

👍
@mostafahagog, please, approve the request.

@mostafahagog
Copy link
Copy Markdown

👍

@opencv-pushbot opencv-pushbot merged commit 405f12f into opencv:master Jun 4, 2014
@ilya-lavrenov ilya-lavrenov deleted the tapi_flip branch June 4, 2014 11:29
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.

4 participants