|
| 1 | +// |
| 2 | +// Notice Regarding Standards. AMD does not provide a license or sublicense to |
| 3 | +// any Intellectual Property Rights relating to any standards, including but not |
| 4 | +// limited to any audio and/or video codec technologies such as MPEG-2, MPEG-4; |
| 5 | +// AVC/H.264; HEVC/H.265; AAC decode/FFMPEG; AAC encode/FFMPEG; VC-1; and MP3 |
| 6 | +// (collectively, the "Media Technologies"). For clarity, you will pay any |
| 7 | +// royalties due for such third party technologies, which may include the Media |
| 8 | +// Technologies that are owed as a result of AMD providing the Software to you. |
| 9 | +// |
| 10 | +// MIT license |
| 11 | +// |
| 12 | +// Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved. |
| 13 | +// |
| 14 | +// Permission is hereby granted, free of charge, to any person obtaining a copy |
| 15 | +// of this software and associated documentation files (the "Software"), to deal |
| 16 | +// in the Software without restriction, including without limitation the rights |
| 17 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 18 | +// copies of the Software, and to permit persons to whom the Software is |
| 19 | +// furnished to do so, subject to the following conditions: |
| 20 | +// |
| 21 | +// The above copyright notice and this permission notice shall be included in |
| 22 | +// all copies or substantial portions of the Software. |
| 23 | +// |
| 24 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 25 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 26 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 27 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 28 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 29 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 30 | +// THE SOFTWARE. |
| 31 | +// |
| 32 | + |
| 33 | +#ifndef AMFVQEnhancer_h |
| 34 | +#define AMFVQEnhancer_h |
| 35 | + |
| 36 | +#pragma once |
| 37 | + |
| 38 | +#define VE_FCR_DEFAULT_ATTENUATION 0.1 |
| 39 | + |
| 40 | +#define AMFVQEnhancer L"AMFVQEnhancer" |
| 41 | + |
| 42 | +#define AMF_VIDEO_ENHANCER_ENGINE_TYPE L"AMF_VIDEI_ENHANCER_ENGINE_TYPE" // AMF_MEMORY_TYPE (DX11, DX12, OPENCL, VULKAN default : DX11)" - determines how the object is initialized and what kernels to use |
| 43 | +#define AMF_VIDEO_ENHANCER_OUTPUT_SIZE L"AMF_VIDEO_ENHANCER_OUTPUT_SIZE" // AMFSize |
| 44 | +#define AMF_VE_FCR_ATTENUATION L"AMF_VE_FCR_ATTENUATION" // Float in the range of [0.02, 0.4], default : 0.1 |
| 45 | +#define AMF_VE_FCR_RADIUS L"AMF_VE_FCR_RADIUS" // int in the range of [1, 4] |
| 46 | + |
| 47 | +#endif //#ifndef AMFVQEnhancer_h |
0 commit comments