root/modules/core/misc/java/src/cpp/core_manual.cpp

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. quietCallback
  2. setErrorVerbosity

#define LOG_TAG "org.opencv.core.Core"
#include "common.h"
#include "core_manual.hpp"
#include "opencv2/core/utility.hpp"

static int quietCallback( int, const char*, const char*, const char*, int, void* )
{
    return 0;
}

namespace cv {

void setErrorVerbosity(bool verbose)
{
    if(verbose)
        cv::redirectError(0);
    else
        cv::redirectError((cv::ErrorCallback)quietCallback);
}

}

/* [<][>][^][v][top][bottom][index][help] */