Fixed some warnings

pull/13383/head
Alexey Spizhevoy 13 years ago
parent dcb5464b3c
commit 23398bcb95
  1. 2
      modules/videostab/include/opencv2/videostab/deblurring.hpp
  2. 2
      modules/videostab/include/opencv2/videostab/frame_source.hpp
  3. 2
      modules/videostab/include/opencv2/videostab/inpainting.hpp
  4. 2
      modules/videostab/include/opencv2/videostab/log.hpp
  5. 2
      modules/videostab/include/opencv2/videostab/stabilizer.hpp

@ -84,7 +84,7 @@ protected:
class CV_EXPORTS NullDeblurer : public IDeblurer
{
public:
virtual void deblur(int idx, Mat &frame) {}
virtual void deblur(int /*idx*/, Mat &/*frame*/) {}
};
class CV_EXPORTS WeightingDeblurer : public IDeblurer

@ -76,7 +76,7 @@ public:
virtual void reset();
virtual Mat nextFrame();
int frameCount() { return reader_.get(CV_CAP_PROP_FRAME_COUNT); }
int frameCount() { return static_cast<int>(reader_.get(CV_CAP_PROP_FRAME_COUNT)); }
double fps() { return reader_.get(CV_CAP_PROP_FPS); }
private:

@ -91,7 +91,7 @@ protected:
class CV_EXPORTS NullInpainter : public IInpainter
{
public:
virtual void inpaint(int idx, Mat &frame, Mat &mask) {}
virtual void inpaint(int /*idx*/, Mat &/*frame*/, Mat &/*mask*/) {}
};
class CV_EXPORTS InpaintingPipeline : public IInpainter

@ -60,7 +60,7 @@ public:
class CV_EXPORTS NullLog : public ILog
{
public:
virtual void print(const char *format, ...) {}
virtual void print(const char */*format*/, ...) {}
};
class CV_EXPORTS LogToStdout : public ILog

@ -82,7 +82,7 @@ public:
bool mustEstimateTrimRatio() const { return mustEstimateTrimRatio_; }
void setTrimRatio(float val) { trimRatio_ = val; reset(); }
int trimRatio() const { return trimRatio_; }
float trimRatio() const { return trimRatio_; }
void setInclusionConstraint(bool val) { inclusionConstraint_ = val; }
bool inclusionConstraint() const { return inclusionConstraint_; }

Loading…
Cancel
Save