forked from opencv/opencv_contrib
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathipptransform.hpp
39 lines (30 loc) · 1.08 KB
/
ipptransform.hpp
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
32
33
34
35
36
37
38
39
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef OPENCV_FASTCV_IPPTRANSFORM_HPP
#define OPENCV_FASTCV_IPPTRANSFORM_HPP
#include <opencv2/core.hpp>
namespace cv {
namespace fastcv {
//! @addtogroup fastcv
//! @{
/**
* @brief This function performs 8x8 forward discrete Cosine transform on input image
* accepts input of type 8-bit unsigned integer and produces output of type 16-bit signed integer
* provides faster execution time than cv::dct on Qualcomm's processor
* @param src Input image of type CV_8UC1
* @param dst Output image of type CV_16SC1
*/
CV_EXPORTS_W void DCT(InputArray src, OutputArray dst);
/**
* @brief This function performs 8x8 inverse discrete Cosine transform on input image
* provides faster execution time than cv::dct in inverse case on Qualcomm's processor
* @param src Input image of type CV_16SC1
* @param dst Output image of type CV_8UC1
*/
CV_EXPORTS_W void IDCT(InputArray src, OutputArray dst);
//! @}
} // fastcv::
} // cv::
#endif // OPENCV_FASTCV_IPPTRANSFORM_HPP