~paparazzi-uav/paparazzi/v5.0-manual

« back to all changes in this revision

Viewing changes to sw/ext/opencv_bebop/opencv/modules/core/misc/java/src/cpp/core_manual.cpp

  • Committer: Paparazzi buildbot
  • Date: 2016-05-18 15:00:29 UTC
  • Revision ID: felix.ruess+docbot@gmail.com-20160518150029-e8lgzi5kvb4p7un9
Manual import commit 4b8bbb730080dac23cf816b98908dacfabe2a8ec from v5.0 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#define LOG_TAG "org.opencv.core.Core"
 
2
#include "common.h"
 
3
#include "core_manual.hpp"
 
4
#include "opencv2/core/utility.hpp"
 
5
 
 
6
static int quietCallback( int, const char*, const char*, const char*, int, void* )
 
7
{
 
8
    return 0;
 
9
}
 
10
 
 
11
namespace cv {
 
12
 
 
13
void setErrorVerbosity(bool verbose)
 
14
{
 
15
    if(verbose)
 
16
        cv::redirectError(0);
 
17
    else
 
18
        cv::redirectError((cv::ErrorCallback)quietCallback);
 
19
}
 
20
 
 
21
}