Files
opencv-MIRROR/modules/ts
Shiven Solanki 806a40d66e core: treat any non-zero CV_Bool as true in bitwise_not, skip OpenCL
- The CV_Bool NOT kernel now computes x == 0 instead of x ^ 1, so a
  non-0/1 byte (still true, as in convertTo) becomes 0 instead of 254.
  The cvtest::logicOp reference does the same.
- bitwise_not no longer tries OpenCL for CV_Bool. It already ended up
  on the CPU kernel, but only because memopTypeToStr() asserts on
  CV_Bool and CV_OCL_RUN catches the exception.
- Core_Bitwise.not_bool also checks a UMat input and 255 bytes in both
  the SIMD loop and the scalar tail.
2026-10-31 22:22:25 +08:00
..