Format entire project with clang-format

This commit is contained in:
jfmcarreira committed 2017-09-15 18:26:19 +01:00
1 parent 1833ca12ec
commit f2e2b38282
30 files changed
+170 -217

No files matched your search

+2 -6
View File
@@ -42,9 +42,7 @@ LumaAverage::LumaAverage()
// Several requirements should be "or" between each others.
}
Void LumaAverage::create( PlaYUVerFrame* frame )
{
}
Void LumaAverage::create( PlaYUVerFrame* frame ) {}
Double LumaAverage::measure( PlaYUVerFrame* frame )
{
@@ -59,6 +57,4 @@ Double LumaAverage::measure( PlaYUVerFrame* frame )
return average / Double( frame->getHeight() * frame->getWidth() );
}
Void LumaAverage::destroy()
{
}
Void LumaAverage::destroy() {}
+2 -2
View File
@@ -24,12 +24,12 @@
#include "MeasureOpticalFlowDualTVL1.h"
using cv::Scalar;
using cv::Mat;
using cv::Mat_;
using cv::Ptr;
using cv::Point;
using cv::Point2f;
using cv::Ptr;
using cv::Scalar;
MeasureOpticalFlowDualTVL1::MeasureOpticalFlowDualTVL1()
{
+2 -2
View File
@@ -31,12 +31,12 @@
// Opencv
#include <opencv2/optflow.hpp>
using cv::Scalar;
using cv::Mat;
using cv::Mat_;
using cv::Ptr;
using cv::Point;
using cv::Point2f;
using cv::Ptr;
using cv::Scalar;
OpticalFlowModule::OpticalFlowModule()
{
+1 -4
View File
@@ -34,10 +34,7 @@
// Generated by cmake
#include "ModulesListHeader.h"
PlaYUVerModuleFactory::PlaYUVerModuleFactory()
{
REGISTER_ALL_MODULES
}
PlaYUVerModuleFactory::PlaYUVerModuleFactory(){REGISTER_ALL_MODULES}
PlaYUVerModuleFactory::~PlaYUVerModuleFactory()
{
+1 -3
View File
@@ -111,6 +111,4 @@ Double WeightedPSNR::measure( std::vector<PlaYUVerFrame*> apcFrameList )
return dPSNR;
}
Void WeightedPSNR::destroy()
{
}
Void WeightedPSNR::destroy() {}