Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
different paddings in cvtColorTwoPlane() for biplane YUV420#19554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
different paddings in cvtColorTwoPlane() for biplane YUV420#19554
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
asmorkalov commentedFeb 18, 2021
@amirtu There is failed test in CI log: |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
| { | ||
| CV_INSTRUMENT_REGION(); | ||
| const uchar* uv = src_data + src_step *static_cast<size_t>(dst_height); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Is the pointer arithmetics being done under dispatched branch of code by purpose?
Uh oh!
There was an error while loading.Please reload this page.
0c861d8 toe6f2066Compareasenyaev commentedApr 8, 2021
jenkins cn please retry a build |
e6f2066 toe84fb22Compareasmorkalov commentedSep 22, 2021
@alalek I fixed build issue for dispatch case and rebased the branch to current 3.4. Please take a look and merge the PR. |
| CALL_HAL(cvtTwoPlaneYUVtoBGREx, cv_hal_cvtTwoPlaneYUVtoBGREx, | ||
| y_data, y_step, uv_data, uv_step, dst_data, dst_step, dst_width, dst_height, dcn, swapBlue, uIdx); | ||
| CV_CPU_DISPATCH(cvtTwoPlaneYUVtoBGR, (y_data, y_step, uv_data, uv_step, dst_data, dst_step, dst_width, dst_height, dcn, swapBlue, uIdx), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
We should have fallback on HAL code specialized fory_step == uv_step case.
Otherwise this patch introduces performance regressions (to see that, drop changes from the HAL implementations).
if (y_step == uv_step) CALL_HAL(cvtTwoPlaneYUVtoBGR, cv_hal_cvtTwoPlaneYUVtoBGR, ...)See discussion near removedCV_CheckEQ() for details (which is not resolved).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Fixed.
alalek left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you 👍
fixes#17036
Pull Request Readiness Checklist
See details athttps://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.