World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
d3d11va.h
См. документацию.
1
/*
2
* Direct3D11 HW acceleration
3
*
4
* copyright (c) 2009 Laurent Aimar
5
* copyright (c) 2015 Steve Lhomme
6
*
7
* This file is part of FFmpeg.
8
*
9
* FFmpeg is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU Lesser General Public
11
* License as published by the Free Software Foundation; either
12
* version 2.1 of the License, or (at your option) any later version.
13
*
14
* FFmpeg is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* Lesser General Public License for more details.
18
*
19
* You should have received a copy of the GNU Lesser General Public
20
* License along with FFmpeg; if not, write to the Free Software
21
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
*/
23
24
#ifndef AVCODEC_D3D11VA_H
25
#define AVCODEC_D3D11VA_H
26
33
#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0602
34
#undef _WIN32_WINNT
35
#define _WIN32_WINNT 0x0602
36
#endif
37
38
#include <stdint.h>
39
#include <d3d11.h>
40
48
#define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1
49
#define FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO 2
50
51
59
typedef
struct
AVD3D11VAContext
{
63
ID3D11VideoDecoder *
decoder
;
64
68
ID3D11VideoContext *
video_context
;
69
73
D3D11_VIDEO_DECODER_CONFIG *
cfg
;
74
78
unsigned
surface_count
;
79
83
ID3D11VideoDecoderOutputView **
surface
;
84
88
uint64_t
workaround
;
89
93
unsigned
report_id
;
94
98
HANDLE
context_mutex
;
99
}
AVD3D11VAContext
;
100
106
AVD3D11VAContext
*
av_d3d11va_alloc_context
(
void
);
107
112
#endif
/* AVCODEC_D3D11VA_H */
AVD3D11VAContext::decoder
ID3D11VideoDecoder * decoder
Definition:
d3d11va.h:63
AVD3D11VAContext::surface
ID3D11VideoDecoderOutputView ** surface
Definition:
d3d11va.h:83
uint64_t
unsigned __int64 uint64_t
Definition:
alext.h:32
av_d3d11va_alloc_context
AVD3D11VAContext * av_d3d11va_alloc_context(void)
AVD3D11VAContext::report_id
unsigned report_id
Definition:
d3d11va.h:93
AVD3D11VAContext
struct AVD3D11VAContext AVD3D11VAContext
AVD3D11VAContext::cfg
D3D11_VIDEO_DECODER_CONFIG * cfg
Definition:
d3d11va.h:73
AVD3D11VAContext::surface_count
unsigned surface_count
Definition:
d3d11va.h:78
AVD3D11VAContext::video_context
ID3D11VideoContext * video_context
Definition:
d3d11va.h:68
AVD3D11VAContext::workaround
uint64_t workaround
Definition:
d3d11va.h:88
AVD3D11VAContext
Definition:
d3d11va.h:59
AVD3D11VAContext::context_mutex
HANDLE context_mutex
Definition:
d3d11va.h:98
lib
win32
x86
ffmpeg-4.2.2
include
libavcodec
d3d11va.h
Документация по World of Might and Magic. Последние изменения: Вт 7 Апр 2020 22:03:38. Создано системой
1.8.17