mirror of
https://github.com/opencv/opencv.git
synced 2024-12-15 18:09:11 +08:00
d50c21e571
- opencv_gapi module is linked with opencv_video module (optional dependency) - kernels added to a new cv::gapi::video namespace and a brand new files created to provide gapi_video environment - there are 2 different kernels as G-API should provide GMat AND GArray<GMat> implementation: cv::calcOptFlowPyrLK doesn't calculate pyramids if vector<Mat> is given so just the cast GMat -> GArray<GMat> wouldn't represent all the cv:: functionality - tests to check both kernels (based on cv::video tests for cv::calcOpticalFlowPyrLK()) - tests for internal purposes added - vectors<T> comparison in tests implemented - new (and old too) common test structures refactored to avoid code copypasting - "modules/gapi/test/common/gapi_video_tests_common.hpp" created to share some code snippets between perf and acc tests and avoid code copypasting
29 lines
849 B
C++
29 lines
849 B
C++
// This file is part of OpenCV project.
|
|
// It is subject to the license terms in the LICENSE file found in the top-level directory
|
|
// of this distribution and at http://opencv.org/license.html.
|
|
//
|
|
// Copyright (C) 2018-2020 Intel Corporation
|
|
|
|
|
|
#ifndef __OPENCV_GAPI_PERF_PRECOMP_HPP__
|
|
#define __OPENCV_GAPI_PERF_PRECOMP_HPP__
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
#include <opencv2/ts.hpp>
|
|
#include <opencv2/gapi.hpp>
|
|
#include <opencv2/gapi/imgproc.hpp>
|
|
#include <opencv2/gapi/video.hpp>
|
|
#include <opencv2/gapi/core.hpp>
|
|
#include <opencv2/gapi/cpu/gcpukernel.hpp>
|
|
#include <opencv2/gapi/gpu/ggpukernel.hpp>
|
|
#include <opencv2/gapi/gpu/imgproc.hpp>
|
|
#include <opencv2/gapi/gpu/core.hpp>
|
|
#include <opencv2/gapi/operators.hpp>
|
|
|
|
#include <opencv2/gapi/fluid/core.hpp>
|
|
#include <opencv2/gapi/fluid/imgproc.hpp>
|
|
|
|
#endif // __OPENCV_GAPI_PERF_PRECOMP_HPP__
|