Skip to content

Commit 495ac75

Browse files
update-2022-12-14
1 parent 862c4df commit 495ac75

File tree

17 files changed

+367
-13
lines changed

17 files changed

+367
-13
lines changed

include/AMF/components/Component.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ typedef enum AMF_STREAM_CODEC_ID_ENUM // matched codecs from VideoDecoxcderU
414414
AMF_STREAM_CODEC_ID_VP9 = 11, // AMFVideoDecoderHW_VP9
415415
AMF_STREAM_CODEC_ID_VP9_10BIT = 12, // AMFVideoDecoderHW_VP9_10BIT
416416
AMF_STREAM_CODEC_ID_AV1 = 13, // AMFVideoDecoderHW_AV1
417+
AMF_STREAM_CODEC_ID_AV1_12BIT = 14, // AMFVideoDecoderHW_AV1_12BIT
417418
} AMF_STREAM_CODEC_ID_ENUM;
418419

419420
// common stream properties

include/AMF/components/CursorCapture.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ namespace amf
4343
class AMFCursorCapture : public AMFInterface
4444
{
4545
public:
46+
AMF_DECLARE_IID(0x166efa1a, 0x19b8, 0x42f2, 0x86, 0x0f, 0x56, 0x69, 0xca, 0x7a, 0x85, 0x4c)
4647
virtual AMF_RESULT AMF_STD_CALL AcquireCursor(amf::AMFSurface** pSurface) = 0;
4748
virtual AMF_RESULT AMF_STD_CALL Reset() = 0;
4849
};

include/AMF/components/HQScaler.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ enum AMF_HQ_SCALER_ALGORITHM_ENUM
4444
AMF_HQ_SCALER_ALGORITHM_BILINEAR = 0,
4545
AMF_HQ_SCALER_ALGORITHM_BICUBIC = 1,
4646
AMF_HQ_SCALER_ALGORITHM_FSR = 2,
47+
AMF_HQ_SCALER_ALGORITHM_POINT = 3,
4748

4849
};
4950

include/AMF/components/PreAnalysis.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ enum AMF_PA_PAQ_MODE_ENUM
8080
enum AMF_PA_TAQ_MODE_ENUM
8181
{
8282
AMF_PA_TAQ_MODE_NONE = 0,
83-
AMF_PA_TAQ_MODE_1 = 1
83+
AMF_PA_TAQ_MODE_1 = 1,
84+
AMF_PA_TAQ_MODE_2 = 2
8485
};
8586

8687
enum AMF_PA_HIGH_MOTION_QUALITY_BOOST_MODE_ENUM
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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

include/AMF/components/VideoDecoderUVD.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
#define AMFVideoDecoderHW_VP9 L"AMFVideoDecoderHW_VP9"
5454
#define AMFVideoDecoderHW_VP9_10BIT L"AMFVideoDecoderHW_VP9_10BIT"
5555
#define AMFVideoDecoderHW_AV1 L"AMFVideoDecoderHW_AV1"
56+
#define AMFVideoDecoderHW_AV1_12BIT L"AMFVideoDecoderHW_AV1_12BIT"
5657

5758
enum AMF_VIDEO_DECODER_MODE_ENUM
5859
{
@@ -119,5 +120,4 @@ enum AMF_TIMESTAMP_MODE_ENUM
119120
#define AMF_VIDEO_DECODER_NATIVEWINDOW L"AppleNativeWindow" // amf_int64; default = 0; pointer to native window
120121
#endif //__APPLE__
121122

122-
123123
#endif //#ifndef AMF_VideoDecoderUVD_h

0 commit comments

Comments
 (0)