Debian Codegraph @

media_driver/agnostic/common/vp/hal/vphal_render_vebox_ste.h

raw
1 /*
2 * Copyright (c) 2017, Intel Corporation
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice shall be included
12 * in all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
21 */
22 //!
23 //! \file vphal_render_vebox_ste.h
24 //! \brief VPHAL VEBOX IECP Skin Tone Detect & Enhancement (STD/E) interfaces
25 //! \details VPHAL VEBOX IECP Skin Tone Detect & Enhancement (STD/E) interfaces
26 //!
27 #ifndef __VPHAL_RENDER_VEBOX_STE_H__
28 #define __VPHAL_RENDER_VEBOX_STE_H__
29
30 #include "vphal_render_common.h"
31 #include "vphal_render_vebox_base.h"
32 #include "vphal_render_vebox_iecp.h"
33
34 #define VPHAL_RENDER_VEBOX_STE_ENABLE true
35 #if VPHAL_RENDER_VEBOX_STE_ENABLE
36
37 class VPHAL_VEBOX_IECP_STE : public VPHAL_VEBOX_IECP_FILTER
38 {
39 public:
40 ~VPHAL_VEBOX_IECP_STE() {}
41
42 //!
43 //! \brief Vebox set IECP parameter
44 //! \details Set Vebox IECP state parameter
45 //! \param [in] pSrcSurface
46 //! Pointer to input surface of Vebox
47 //! \param [in,out] pRenderData
48 //! Pointer to Vebox Render Data
49 //! \return void
50 //!
51 void SetParams(
52 PVPHAL_SURFACE pSrcSurface,
53 PVPHAL_VEBOX_RENDER_DATA pRenderData);
54
55 //!
56 //! \brief Init Vebox IECP parameter
57 //! \param [in] pVphalVeboxIecpParams
58 //! Pointer to input Vphal Iecp parameters
59 //! \param [in,out] pMhwVeboxIecpParams
60 //! Pointer to Mhw Iecp parameters
61 //! \return void
62 //!
63 void InitParams(
64 PVPHAL_VEBOX_IECP_PARAMS pVphalVeboxIecpParams,
65 PMHW_VEBOX_IECP_PARAMS pMhwVeboxIecpParams);
66 };
67 typedef VPHAL_VEBOX_IECP_STE * PVPHAL_VEBOX_IECP_STE;
68
69 #endif // VPHAL_RENDER_VEBOX_STE_ENABLE
70
71 #endif //__VPHAL_RENDER_VEBOX_STE_H__