Merge remote-tracking branch 'upstream/3.4' into merge-3.4
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Wed, 16 Nov 2022 16:47:15 +0000 (16:47 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Wed, 16 Nov 2022 16:54:11 +0000 (16:54 +0000)
1  2 
doc/opencv.bib
modules/core/include/opencv2/core/check.hpp
modules/core/src/check.cpp
modules/imgcodecs/src/grfmt_webp.cpp
modules/imgproc/src/smooth.dispatch.cpp
modules/ts/misc/run_long.py

diff --cc doc/opencv.bib
Simple merge
@@@ -151,6 -155,22 +155,22 @@@ void check_failed_MatChannels(const in
  {
      check_failed_auto_<int>(v, ctx);
  }
 -    cv::errorNoReturn(cv::Error::StsError, ss.str(), ctx.func, ctx.file, ctx.line);
+ void check_failed_true(const bool v, const CheckContext& ctx)
+ {
+     CV_UNUSED(v);
+     std::stringstream ss;
+     ss  << ctx.message << ":" << std::endl
+         << "    '" << ctx.p1_str << "' must be 'true'";
 -    cv::errorNoReturn(cv::Error::StsError, ss.str(), ctx.func, ctx.file, ctx.line);
++    cv::error(cv::Error::StsError, ss.str(), ctx.func, ctx.file, ctx.line);
+ }
+ void check_failed_false(const bool v, const CheckContext& ctx)
+ {
+     CV_UNUSED(v);
+     std::stringstream ss;
+     ss  << ctx.message << ":" << std::endl
+         << "    '" << ctx.p1_str << "' must be 'false'";
++    cv::error(cv::Error::StsError, ss.str(), ctx.func, ctx.file, ctx.line);
+ }
  void check_failed_auto(const int v, const CheckContext& ctx)
  {
      check_failed_auto_<int>(v, ctx);
Simple merge
Simple merge