Blame view

3rdparty/opencv-4.5.4/modules/gapi/src/api/render_priv.hpp 707 Bytes
f4334277   Hu Chunming   提交3rdparty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  // 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 Intel Corporation
  
  
  #ifndef OPENCV_RENDER_PRIV_HPP
  #define OPENCV_RENDER_PRIV_HPP
  
  #include <opencv2/gapi/render/render.hpp>
  
  namespace cv
  {
  namespace gapi
  {
  namespace wip
  {
  namespace draw
  {
  
  // FIXME only for tests
  GAPI_EXPORTS void cvtNV12ToYUV(const cv::Mat& y, const cv::Mat& uv, cv::Mat& yuv);
  GAPI_EXPORTS void cvtYUVToNV12(const cv::Mat& yuv, cv::Mat& y, cv::Mat& uv);
  
  } // namespace draw
  } // namespace wip
  } // namespace gapi
  } // namespace cv
  
  #endif // OPENCV_RENDER_PRIV_HPP