Clean includes in lib and modules

This commit is contained in:
jfmcarreira committed 2016-05-17 21:23:16 +01:00
1 parent 2f38234102
commit ca92a35bf2
44 files changed
+76 -67

No files matched your search

-5
View File
@@ -26,8 +26,6 @@
#ifndef __PLAYUVERDEFS_H__
#define __PLAYUVERDEFS_H__
#include <string>
#include <vector>
#include <algorithm>
// ====================================================================================================================
@@ -87,9 +85,6 @@ typedef UChar Byte;
#define MAX_INT64 0x7FFFFFFFFFFFFFFFLL ///< max. value of signed 64-bit integer
#define MAX_DOUBLE 1.7e+308 ///< max. value of double-type value
// ====================================================================================================================
// Macro functions
// ====================================================================================================================
// ====================================================================================================================
// PlaYUVer definitions
-1
View File
@@ -38,7 +38,6 @@
#include "PlaYUVerDefs.h"
#include "PlaYUVerFrame.h"
#include "PlaYUVerOptions.h"
#include <vector>
#define REGISTER_CLASS_MAKER(X) \
extern "C" PlaYUVerModuleIf* Maker() { return new X; }
-8
View File
@@ -39,16 +39,8 @@
#include "config.h"
#include "PlaYUVerOptions.h"
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <cstring>
#include <cstdarg>
#include <list>
#include <map>
#include <algorithm>
#include "lib/PlaYUVerModuleIf.h"
#include "modules/PlaYUVerModuleFactory.h"
-4
View File
@@ -39,12 +39,8 @@
#ifndef __PROGRAMOPTIONS_H__
#define __PROGRAMOPTIONS_H__
#include <iostream>
#include <sstream>
#include <string>
#include <list>
#include <map>
#include <vector>
#include "PlaYUVerDefs.h"
+5
View File
@@ -22,12 +22,16 @@
* \brief Input stream handling
*/
// Self
#include "config.h"
#include "PlaYUVerStream.h"
// System
#include <cstdio>
// Own
#include "LibMemory.h"
#include "PlaYUVerFrame.h"
#include "PlaYUVerStreamHandlerIf.h"
#include "StreamHandlerRaw.h"
#include "StreamHandlerPortableMap.h"
@@ -38,6 +42,7 @@
#include "StreamHandlerOpenCV.h"
#endif
std::vector<PlaYUVerSupportedFormat> PlaYUVerStream::supportedReadFormats()
{
INI_REGIST_PLAYUVER_SUPPORTED_FMT;
+1 -1
View File
@@ -26,8 +26,8 @@
#define __PLAYUVERSTREAM_H__
#include "PlaYUVerDefs.h"
#include "PlaYUVerFrame.h"
class PlaYUVerFrame;
class PlaYUVerStreamHandlerIf;
typedef struct
+2 -1
View File
@@ -27,7 +27,8 @@
#include "PlaYUVerDefs.h"
#include "PlaYUVerStream.h"
#include "PlaYUVerFrame.h"
class PlaYUVerFrame;
#define REGISTER_STREAM_HANDLER(X) \
public: \
+7 -1
View File
@@ -22,8 +22,14 @@
* \brief Interface with opencv lib
*/
#include <cstdio>
// Self
#include "StreamHandlerOpenCV.h"
// System
#include <cstdio>
#include <opencv2/opencv.hpp>
// Own
#include "PlaYUVerFrame.h"
#include "PlaYUVerFramePixelFormats.h"
#include "LibMemory.h"
+1 -4
View File
@@ -25,10 +25,7 @@
#ifndef __STREAMHANDLEROPENCV_H__
#define __STREAMHANDLEROPENCV_H__
#include <inttypes.h>
#include <vector>
#include <string>
#include <opencv2/opencv.hpp>
#include "PlaYUVerDefs.h"
#include "PlaYUVerStreamHandlerIf.h"
-4
View File
@@ -25,11 +25,7 @@
#ifndef __STREAMHANDLERPORTABLEMAP_H__
#define __STREAMHANDLERPORTABLEMAP_H__
#include <inttypes.h>
#include <vector>
#include <string>
#include "PlaYUVerDefs.h"
#include "PlaYUVerStream.h"
#include "PlaYUVerStreamHandlerIf.h"
class PlaYUVerFrame;
+5 -2
View File
@@ -22,11 +22,14 @@
* \brief Interface for raw (yuv) streams
*/
#include <cstdio>
#include "StreamHandlerRaw.h"
#include <cstdio>
#include "LibMemory.h"
#include "PlaYUVerFrame.h"
#include "PlaYUVerFramePixelFormats.h"
#include "LibMemory.h"
Bool StreamHandlerRaw::openHandler( String strFilename, Bool bInput )
{