Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c965dbae
Commit
c965dbae
authored
Sep 26, 2023
by
Biswapriyo Nath
Committed by
Alexandre Julliard
Sep 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add ID3D12VideoEncoderHeap in d3d12video.idl.
parent
9e5778b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
105 additions
and
0 deletions
+105
-0
d3d12video.idl
include/d3d12video.idl
+105
-0
No files found.
include/d3d12video.idl
View file @
c965dbae
...
...
@@ -612,6 +612,81 @@ typedef struct D3D12_VIDEO_ENCODER_PROFILE_DESC
}
;
}
D3D12_VIDEO_ENCODER_PROFILE_DESC
;
typedef
enum
D3D12_VIDEO_ENCODER_LEVELS_H264
{
D3D12_VIDEO_ENCODER_LEVELS_H264_1
=
0
,
D3D12_VIDEO_ENCODER_LEVELS_H264_1b
=
1
,
D3D12_VIDEO_ENCODER_LEVELS_H264_11
=
2
,
D3D12_VIDEO_ENCODER_LEVELS_H264_12
=
3
,
D3D12_VIDEO_ENCODER_LEVELS_H264_13
=
4
,
D3D12_VIDEO_ENCODER_LEVELS_H264_2
=
5
,
D3D12_VIDEO_ENCODER_LEVELS_H264_21
=
6
,
D3D12_VIDEO_ENCODER_LEVELS_H264_22
=
7
,
D3D12_VIDEO_ENCODER_LEVELS_H264_3
=
8
,
D3D12_VIDEO_ENCODER_LEVELS_H264_31
=
9
,
D3D12_VIDEO_ENCODER_LEVELS_H264_32
=
10
,
D3D12_VIDEO_ENCODER_LEVELS_H264_4
=
11
,
D3D12_VIDEO_ENCODER_LEVELS_H264_41
=
12
,
D3D12_VIDEO_ENCODER_LEVELS_H264_42
=
13
,
D3D12_VIDEO_ENCODER_LEVELS_H264_5
=
14
,
D3D12_VIDEO_ENCODER_LEVELS_H264_51
=
15
,
D3D12_VIDEO_ENCODER_LEVELS_H264_52
=
16
,
D3D12_VIDEO_ENCODER_LEVELS_H264_6
=
17
,
D3D12_VIDEO_ENCODER_LEVELS_H264_61
=
18
,
D3D12_VIDEO_ENCODER_LEVELS_H264_62
=
19
,
}
D3D12_VIDEO_ENCODER_LEVELS_H264
;
typedef
enum
D3D12_VIDEO_ENCODER_TIER_HEVC
{
D3D12_VIDEO_ENCODER_TIER_HEVC_MAIN
=
0
,
D3D12_VIDEO_ENCODER_TIER_HEVC_HIGH
=
1
,
}
D3D12_VIDEO_ENCODER_TIER_HEVC
;
typedef
enum
D3D12_VIDEO_ENCODER_LEVELS_HEVC
{
D3D12_VIDEO_ENCODER_LEVELS_HEVC_1
=
0
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_2
=
1
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_21
=
2
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_3
=
3
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_31
=
4
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_4
=
5
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_41
=
6
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_5
=
7
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_51
=
8
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_52
=
9
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_6
=
10
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_61
=
11
,
D3D12_VIDEO_ENCODER_LEVELS_HEVC_62
=
12
,
}
D3D12_VIDEO_ENCODER_LEVELS_HEVC
;
typedef
struct
D3D12_VIDEO_ENCODER_LEVEL_TIER_CONSTRAINTS_HEVC
{
D3D12_VIDEO_ENCODER_LEVELS_HEVC
Level
;
D3D12_VIDEO_ENCODER_TIER_HEVC
Tier
;
}
D3D12_VIDEO_ENCODER_LEVEL_TIER_CONSTRAINTS_HEVC
;
typedef
struct
D3D12_VIDEO_ENCODER_LEVEL_SETTING
{
UINT
DataSize
;
union
{
D3D12_VIDEO_ENCODER_LEVELS_H264
*
pH264LevelSetting
;
D3D12_VIDEO_ENCODER_LEVEL_TIER_CONSTRAINTS_HEVC
*
pHEVCLevelSetting
;
}
;
}
D3D12_VIDEO_ENCODER_LEVEL_SETTING
;
typedef
struct
D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC
{
UINT
Width
;
UINT
Height
;
}
D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC
;
typedef
enum
D3D12_VIDEO_ENCODER_HEAP_FLAGS
{
D3D12_VIDEO_ENCODER_HEAP_FLAG_NONE
=
0
x0
,
}
D3D12_VIDEO_ENCODER_HEAP_FLAGS
;
cpp_quote
(
"DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS);"
)
typedef
enum
D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES
{
D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_0_ALL_LUMA_CHROMA_SLICE_BLOCK_EDGES_ALWAYS_FILTERED
=
0
,
...
...
@@ -733,3 +808,33 @@ interface ID3D12VideoEncoder : ID3D12Pageable
D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE
GetMaxMotionEstimationPrecision
()
;
}
[
uuid
(
22b35
d96
-
876
a
-
44
c0
-
b25e
-
fb8c9c7f1c4a
),
object
,
local
,
pointer_default
(
unique
)
]
interface
ID3D12VideoEncoderHeap
:
ID3D12Pageable
{
UINT
GetNodeMask
()
;
D3D12_VIDEO_ENCODER_HEAP_FLAGS
GetEncoderHeapFlags
()
;
D3D12_VIDEO_ENCODER_CODEC
GetCodec
()
;
HRESULT
GetCodecProfile
(
[
in
,
out
]
D3D12_VIDEO_ENCODER_PROFILE_DESC
dst_profile
)
;
HRESULT
GetCodecLevel
(
[
in
,
out
]
D3D12_VIDEO_ENCODER_LEVEL_SETTING
dst_level
)
;
UINT
GetResolutionListCount
()
;
HRESULT
GetResolutionList
(
[
in
]
const
UINT
resolutions_list_count
,
[
out
]
D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC
*
resolution_list
)
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment