OpenShot Library | libopenshot
0.2.7
OpenCVUtilities.h
Go to the documentation of this file.
1
/**
2
* @file
3
* @brief Header file for OpenCVUtilities (set some common macros)
4
* @author FeRD (Frank Dana) <ferdnyc@gmail.com>
5
* @author Jonathan Thomas <jonathan@openshot.org>
6
*
7
* @ref License
8
*/
9
10
/* LICENSE
11
*
12
* Copyright (c) 2008-2021 OpenShot Studios, LLC
13
* <http://www.openshotstudios.com/>. This file is part of
14
* OpenShot Library (libopenshot), an open-source project dedicated to
15
* delivering high quality video editing and animation solutions to the
16
* world. For more information visit <http://www.openshot.org/>.
17
*
18
* OpenShot Library (libopenshot) is free software: you can redistribute it
19
* and/or modify it under the terms of the GNU Lesser General Public License
20
* as published by the Free Software Foundation, either version 3 of the
21
* License, or (at your option) any later version.
22
*
23
* OpenShot Library (libopenshot) is distributed in the hope that it will be
24
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
25
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
* GNU Lesser General Public License for more details.
27
*
28
* You should have received a copy of the GNU Lesser General Public License
29
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
30
*/
31
32
#ifndef OPENSHOT_OPENCV_UTILITIES_H
33
#define OPENSHOT_OPENCV_UTILITIES_H
34
35
#define int64 int64_t
36
#define uint64 uint64_t
37
#if USE_LEGACY_TRACKER
38
#include <opencv2/tracking.hpp>
39
#include <opencv2/tracking/tracking_legacy.hpp>
40
#define OPENCV_TRACKER_TYPE cv::legacy::Tracker
41
#define OPENCV_TRACKER_NS cv::legacy
42
#else
43
#include <opencv2/tracking.hpp>
44
#define OPENCV_TRACKER_TYPE cv::Tracker
45
#define OPENCV_TRACKER_NS cv
46
#endif
47
#undef int64
48
#undef uint64
49
50
#endif
// OPENSHOT_OPENCV_UTILITIES_H
Generated on Sat Mar 5 2022 14:35:00 for OpenShot Library | libopenshot by
1.9.1