World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
hwcontext_drm.h
См. документацию.
1
/*
2
* This file is part of FFmpeg.
3
*
4
* FFmpeg is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* FFmpeg is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with FFmpeg; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
#ifndef AVUTIL_HWCONTEXT_DRM_H
20
#define AVUTIL_HWCONTEXT_DRM_H
21
22
#include <stddef.h>
23
#include <stdint.h>
24
35
enum
{
39
AV_DRM_MAX_PLANES
= 4
40
};
41
48
typedef
struct
AVDRMObjectDescriptor
{
52
int
fd
;
58
size_t
size
;
65
uint64_t
format_modifier
;
66
}
AVDRMObjectDescriptor
;
67
74
typedef
struct
AVDRMPlaneDescriptor
{
79
int
object_index
;
83
ptrdiff_t
offset
;
87
ptrdiff_t
pitch
;
88
}
AVDRMPlaneDescriptor
;
89
96
typedef
struct
AVDRMLayerDescriptor
{
100
uint32_t
format
;
106
int
nb_planes
;
110
AVDRMPlaneDescriptor
planes
[
AV_DRM_MAX_PLANES
];
111
}
AVDRMLayerDescriptor
;
112
133
typedef
struct
AVDRMFrameDescriptor
{
137
int
nb_objects
;
141
AVDRMObjectDescriptor
objects
[
AV_DRM_MAX_PLANES
];
145
int
nb_layers
;
149
AVDRMLayerDescriptor
layers
[
AV_DRM_MAX_PLANES
];
150
}
AVDRMFrameDescriptor
;
151
157
typedef
struct
AVDRMDeviceContext
{
166
int
fd
;
167
}
AVDRMDeviceContext
;
168
169
#endif
/* AVUTIL_HWCONTEXT_DRM_H */
AVDRMFrameDescriptor
Definition:
hwcontext_drm.h:133
AVDRMDeviceContext
Definition:
hwcontext_drm.h:157
AVDRMPlaneDescriptor::offset
ptrdiff_t offset
Definition:
hwcontext_drm.h:83
AVDRMPlaneDescriptor
struct AVDRMPlaneDescriptor AVDRMPlaneDescriptor
uint64_t
unsigned __int64 uint64_t
Definition:
alext.h:32
AVDRMPlaneDescriptor::object_index
int object_index
Definition:
hwcontext_drm.h:79
layers
const EGLAttrib EGLOutputLayerEXT * layers
Definition:
SDL_egl.h:1345
AVDRMDeviceContext
struct AVDRMDeviceContext AVDRMDeviceContext
AVDRMFrameDescriptor::objects
AVDRMObjectDescriptor objects[AV_DRM_MAX_PLANES]
Definition:
hwcontext_drm.h:141
AVDRMPlaneDescriptor
Definition:
hwcontext_drm.h:74
AVDRMPlaneDescriptor::pitch
ptrdiff_t pitch
Definition:
hwcontext_drm.h:87
AV_DRM_MAX_PLANES
@ AV_DRM_MAX_PLANES
Definition:
hwcontext_drm.h:39
AVDRMLayerDescriptor::nb_planes
int nb_planes
Definition:
hwcontext_drm.h:106
AVDRMObjectDescriptor::size
size_t size
Definition:
hwcontext_drm.h:58
AVDRMLayerDescriptor::format
uint32_t format
Definition:
hwcontext_drm.h:100
AVDRMLayerDescriptor
Definition:
hwcontext_drm.h:96
AVDRMFrameDescriptor::nb_layers
int nb_layers
Definition:
hwcontext_drm.h:145
AVDRMObjectDescriptor
struct AVDRMObjectDescriptor AVDRMObjectDescriptor
AVDRMObjectDescriptor::format_modifier
uint64_t format_modifier
Definition:
hwcontext_drm.h:65
AVDRMFrameDescriptor
struct AVDRMFrameDescriptor AVDRMFrameDescriptor
AVDRMLayerDescriptor::planes
AVDRMPlaneDescriptor planes[AV_DRM_MAX_PLANES]
Definition:
hwcontext_drm.h:110
AVDRMObjectDescriptor
Definition:
hwcontext_drm.h:48
AVDRMFrameDescriptor::nb_objects
int nb_objects
Definition:
hwcontext_drm.h:137
AVDRMDeviceContext::fd
int fd
Definition:
hwcontext_drm.h:166
uint32_t
unsigned __int32 uint32_t
Definition:
SDL_config.h:39
AVDRMLayerDescriptor
struct AVDRMLayerDescriptor AVDRMLayerDescriptor
AVDRMObjectDescriptor::fd
int fd
Definition:
hwcontext_drm.h:52
lib
win32
x86
ffmpeg-4.2.2
include
libavutil
hwcontext_drm.h
Документация по World of Might and Magic. Последние изменения: Вт 7 Апр 2020 22:03:39. Создано системой
1.8.17