World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
mastering_display_metadata.h
См. документацию.
1
/*
2
* Copyright (c) 2016 Neil Birkbeck <neil.birkbeck@gmail.com>
3
*
4
* This file is part of FFmpeg.
5
*
6
* FFmpeg is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* FFmpeg is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with FFmpeg; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
#ifndef AVUTIL_MASTERING_DISPLAY_METADATA_H
22
#define AVUTIL_MASTERING_DISPLAY_METADATA_H
23
24
#include "
frame.h
"
25
#include "
rational.h
"
26
27
38
typedef
struct
AVMasteringDisplayMetadata
{
42
AVRational
display_primaries
[3][2];
43
47
AVRational
white_point
[2];
48
52
AVRational
min_luminance
;
53
57
AVRational
max_luminance
;
58
62
int
has_primaries
;
63
67
int
has_luminance
;
68
69
}
AVMasteringDisplayMetadata
;
70
78
AVMasteringDisplayMetadata
*
av_mastering_display_metadata_alloc
(
void
);
79
87
AVMasteringDisplayMetadata
*
av_mastering_display_metadata_create_side_data
(
AVFrame
*frame);
88
98
typedef
struct
AVContentLightMetadata
{
102
unsigned
MaxCLL
;
103
107
unsigned
MaxFALL
;
108
}
AVContentLightMetadata
;
109
117
AVContentLightMetadata
*
av_content_light_metadata_alloc
(
size_t
*
size
);
118
126
AVContentLightMetadata
*
av_content_light_metadata_create_side_data
(
AVFrame
*frame);
127
128
#endif
/* AVUTIL_MASTERING_DISPLAY_METADATA_H */
av_mastering_display_metadata_create_side_data
AVMasteringDisplayMetadata * av_mastering_display_metadata_create_side_data(AVFrame *frame)
AVContentLightMetadata::MaxCLL
unsigned MaxCLL
Definition:
mastering_display_metadata.h:102
rational.h
AVMasteringDisplayMetadata
struct AVMasteringDisplayMetadata AVMasteringDisplayMetadata
AVMasteringDisplayMetadata
Definition:
mastering_display_metadata.h:38
av_content_light_metadata_alloc
AVContentLightMetadata * av_content_light_metadata_alloc(size_t *size)
AVContentLightMetadata::MaxFALL
unsigned MaxFALL
Definition:
mastering_display_metadata.h:107
av_mastering_display_metadata_alloc
AVMasteringDisplayMetadata * av_mastering_display_metadata_alloc(void)
AVMasteringDisplayMetadata::white_point
AVRational white_point[2]
Definition:
mastering_display_metadata.h:47
AVContentLightMetadata
struct AVContentLightMetadata AVContentLightMetadata
frame.h
AVMasteringDisplayMetadata::min_luminance
AVRational min_luminance
Definition:
mastering_display_metadata.h:52
AVMasteringDisplayMetadata::display_primaries
AVRational display_primaries[3][2]
Definition:
mastering_display_metadata.h:42
AVContentLightMetadata
Definition:
mastering_display_metadata.h:98
av_content_light_metadata_create_side_data
AVContentLightMetadata * av_content_light_metadata_create_side_data(AVFrame *frame)
AVMasteringDisplayMetadata::has_primaries
int has_primaries
Definition:
mastering_display_metadata.h:62
AVMasteringDisplayMetadata::has_luminance
int has_luminance
Definition:
mastering_display_metadata.h:67
AVRational
Definition:
rational.h:58
size
GLsizeiptr size
Definition:
SDL_opengl_glext.h:540
AVMasteringDisplayMetadata::max_luminance
AVRational max_luminance
Definition:
mastering_display_metadata.h:57
AVFrame
Definition:
frame.h:295
lib
win32
x86
ffmpeg-4.2.2
include
libavutil
mastering_display_metadata.h
Документация по World of Might and Magic. Последние изменения: Вт 7 Апр 2020 22:03:39. Создано системой
1.8.17