EstervQrCode 2.0.0
Library for qr code manipulation
Loading...
Searching...
No Matches
va_intel.hpp
1// This file is part of OpenCV project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://opencv.org/license.html.
4
5// Copyright (C) 2015, Itseez, Inc., all rights reserved.
6// Third party copyrights are property of their respective owners.
7
8#ifndef OPENCV_CORE_VA_INTEL_HPP
9#define OPENCV_CORE_VA_INTEL_HPP
10
11#ifndef __cplusplus
12# error va_intel.hpp header must be compiled as C++
13#endif
14
15#include "opencv2/core.hpp"
16#include "ocl.hpp"
17
18#if defined(HAVE_VA)
19# include "va/va.h"
20#else // HAVE_VA
21# if !defined(_VA_H_)
22 typedef void* VADisplay;
23 typedef unsigned int VASurfaceID;
24# endif // !_VA_H_
25#endif // HAVE_VA
26
27namespace cv { namespace va_intel {
28
39
41
42namespace ocl {
43using namespace cv::ocl;
44
45// TODO static functions in the Context class
51CV_EXPORTS Context& initializeContextFromVA(VADisplay display, bool tryInterop = true);
52
53} // namespace cv::va_intel::ocl
54
61CV_EXPORTS void convertToVASurface(VADisplay display, InputArray src, VASurfaceID surface, Size size);
62
69CV_EXPORTS void convertFromVASurface(VADisplay display, VASurfaceID surface, Size size, OutputArray dst);
70
72
73}} // namespace cv::va_intel
74
75#endif /* OPENCV_CORE_VA_INTEL_HPP */
Template class for specifying the size of an image or rectangle.
Definition types.hpp:335
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition mat.hpp:296
Definition ocl.hpp:259
CV__DEBUG_NS_END typedef const _InputArray & InputArray
Definition mat.hpp:442
CvSize size
Definition core_c.h:112
#define CV_EXPORTS
Definition cvdef.h:435
CV_EXPORTS void convertToVASurface(VADisplay display, InputArray src, VASurfaceID surface, Size size)
Converts InputArray to VASurfaceID object.
CV_EXPORTS void convertFromVASurface(VADisplay display, VASurfaceID surface, Size size, OutputArray dst)
Converts VASurfaceID object to OutputArray.
OutputArray dst
Definition imgproc.hpp:3564
Definition ocl.hpp:49
CV_EXPORTS Context & initializeContextFromVA(VADisplay display, bool tryInterop=true)
Creates OpenCL context from VA.
"black box" representation of the file storage associated with a file on disk.
Definition calib3d.hpp:441