Change the functions to handle supported formats

This commit is contained in:
jfmcarreira committed 2015-07-28 23:50:29 +01:00
1 parent 30a4819499
commit c6e5c906e8
8 files changed
+115 -168

No files matched your search

+4 -6
View File
@@ -31,6 +31,7 @@
#include <string>
#include <opencv2/opencv.hpp>
#include "PlaYUVerDefs.h"
#include "PlaYUVerStream.h"
namespace plaYUVer
{
@@ -41,12 +42,9 @@ class LibOpenCVHandler
{
public:
static std::vector<std::string> supportedReadFormatsExt();
static std::vector<std::string> supportedReadFormatsName();
static std::vector<std::string> supportedWriteFormatsExt();
static std::vector<std::string> supportedWriteFormatsName();
static std::vector<std::string> supportedSaveFormatsExt();
static std::vector<std::string> supportedSaveFormatsName();
static std::vector<PlaYUVerSupportedFormat> supportedReadFormats();
static std::vector<PlaYUVerSupportedFormat> supportedWriteFormats();
static std::vector<PlaYUVerSupportedFormat> supportedSaveFormats();
LibOpenCVHandler()
{