World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
hdr_dynamic_metadata.h
См. документацию.
1 /*
2  * Copyright (c) 2018 Mohammad Izadi <moh.izadi at 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_HDR_DYNAMIC_METADATA_H
22 #define AVUTIL_HDR_DYNAMIC_METADATA_H
23 
24 #include "frame.h"
25 #include "rational.h"
26 
33 };
34 
39 typedef struct AVHDRPlusPercentile {
46 
54 
68 
77 
86 
95 
103 
111 
119 
126 
135 
142 
150 
158 
165 
171 
177 
184 
190 
197 
204 
210 
217 
223 
231 
243 typedef struct AVDynamicHDRPlus {
248 
254 
260 
265 
272 
278 
284 
291 
298 
304 
310 
316 
324 
333 
342 
343 #endif /* AVUTIL_HDR_DYNAMIC_METADATA_H */
uint16_t
unsigned __int16 uint16_t
Definition: SDL_config.h:37
AVDynamicHDRPlus::num_cols_targeted_system_display_actual_peak_luminance
uint8_t num_cols_targeted_system_display_actual_peak_luminance
Definition: hdr_dynamic_metadata.h:290
AVHDRPlusPercentile::percentage
uint8_t percentage
Definition: hdr_dynamic_metadata.h:45
AVHDRPlusPercentile::percentile
AVRational percentile
Definition: hdr_dynamic_metadata.h:52
AVHDRPlusColorTransformParams::tone_mapping_flag
uint8_t tone_mapping_flag
Definition: hdr_dynamic_metadata.h:189
rational.h
AVHDRPlusColorTransformParams::average_maxrgb
AVRational average_maxrgb
Definition: hdr_dynamic_metadata.h:164
AVDynamicHDRPlus::targeted_system_display_actual_peak_luminance_flag
uint8_t targeted_system_display_actual_peak_luminance_flag
Definition: hdr_dynamic_metadata.h:277
AVHDRPlusColorTransformParams::fraction_bright_pixels
AVRational fraction_bright_pixels
Definition: hdr_dynamic_metadata.h:183
AVDynamicHDRPlus
Definition: hdr_dynamic_metadata.h:243
params
const GLfloat * params
Definition: SDL_opengl_glext.h:374
AVDynamicHDRPlus::targeted_system_display_actual_peak_luminance
AVRational targeted_system_display_actual_peak_luminance[25][25]
Definition: hdr_dynamic_metadata.h:297
AVHDRPlusColorTransformParams::color_saturation_weight
AVRational color_saturation_weight
Definition: hdr_dynamic_metadata.h:229
AVDynamicHDRPlus::num_rows_mastering_display_actual_peak_luminance
uint8_t num_rows_mastering_display_actual_peak_luminance
Definition: hdr_dynamic_metadata.h:309
AVHDRPlusColorTransformParams::knee_point_y
AVRational knee_point_y
Definition: hdr_dynamic_metadata.h:203
AVHDRPlusColorTransformParams::window_lower_right_corner_x
AVRational window_lower_right_corner_x
Definition: hdr_dynamic_metadata.h:85
AVHDRPlusColorTransformParams::bezier_curve_anchors
AVRational bezier_curve_anchors[15]
Definition: hdr_dynamic_metadata.h:216
AVHDRPlusColorTransformParams::center_of_ellipse_x
uint16_t center_of_ellipse_x
Definition: hdr_dynamic_metadata.h:102
AVHDRPlusColorTransformParams::num_bezier_curve_anchors
uint8_t num_bezier_curve_anchors
Definition: hdr_dynamic_metadata.h:209
AV_HDR_PLUS_OVERLAP_PROCESS_WEIGHTED_AVERAGING
@ AV_HDR_PLUS_OVERLAP_PROCESS_WEIGHTED_AVERAGING
Definition: hdr_dynamic_metadata.h:31
AVDynamicHDRPlus::mastering_display_actual_peak_luminance_flag
uint8_t mastering_display_actual_peak_luminance_flag
Definition: hdr_dynamic_metadata.h:303
AVHDRPlusColorTransformParams::window_upper_left_corner_y
AVRational window_upper_left_corner_y
Definition: hdr_dynamic_metadata.h:76
AVHDRPlusColorTransformParams::maxscl
AVRational maxscl[3]
Definition: hdr_dynamic_metadata.h:157
av_dynamic_hdr_plus_create_side_data
AVDynamicHDRPlus * av_dynamic_hdr_plus_create_side_data(AVFrame *frame)
AVHDRPlusColorTransformParams
Definition: hdr_dynamic_metadata.h:59
AVDynamicHDRPlus::itu_t_t35_country_code
uint8_t itu_t_t35_country_code
Definition: hdr_dynamic_metadata.h:247
AVDynamicHDRPlus::num_rows_targeted_system_display_actual_peak_luminance
uint8_t num_rows_targeted_system_display_actual_peak_luminance
Definition: hdr_dynamic_metadata.h:283
AVHDRPlusColorTransformParams::distribution_maxrgb
AVHDRPlusPercentile distribution_maxrgb[15]
Definition: hdr_dynamic_metadata.h:176
AVHDRPlusColorTransformParams::window_upper_left_corner_x
AVRational window_upper_left_corner_x
Definition: hdr_dynamic_metadata.h:67
av_dynamic_hdr_plus_alloc
AVDynamicHDRPlus * av_dynamic_hdr_plus_alloc(size_t *size)
AVDynamicHDRPlus
struct AVDynamicHDRPlus AVDynamicHDRPlus
AVHDRPlusColorTransformParams::color_saturation_mapping_flag
uint8_t color_saturation_mapping_flag
Definition: hdr_dynamic_metadata.h:222
AVHDRPlusColorTransformParams::semimajor_axis_external_ellipse
uint16_t semimajor_axis_external_ellipse
Definition: hdr_dynamic_metadata.h:134
frame.h
AVHDRPlusPercentile
struct AVHDRPlusPercentile AVHDRPlusPercentile
AVHDRPlusColorTransformParams::overlap_process_option
enum AVHDRPlusOverlapProcessOption overlap_process_option
Definition: hdr_dynamic_metadata.h:149
AVHDRPlusColorTransformParams::window_lower_right_corner_y
AVRational window_lower_right_corner_y
Definition: hdr_dynamic_metadata.h:94
AVHDRPlusColorTransformParams
struct AVHDRPlusColorTransformParams AVHDRPlusColorTransformParams
AV_HDR_PLUS_OVERLAP_PROCESS_LAYERING
@ AV_HDR_PLUS_OVERLAP_PROCESS_LAYERING
Definition: hdr_dynamic_metadata.h:32
uint8_t
unsigned __int8 uint8_t
Definition: SDL_config.h:35
AVDynamicHDRPlus::application_version
uint8_t application_version
Definition: hdr_dynamic_metadata.h:253
AVDynamicHDRPlus::targeted_system_display_maximum_luminance
AVRational targeted_system_display_maximum_luminance
Definition: hdr_dynamic_metadata.h:271
AVHDRPlusColorTransformParams::semiminor_axis_external_ellipse
uint16_t semiminor_axis_external_ellipse
Definition: hdr_dynamic_metadata.h:141
AVHDRPlusOverlapProcessOption
AVHDRPlusOverlapProcessOption
Definition: hdr_dynamic_metadata.h:30
AVDynamicHDRPlus::num_cols_mastering_display_actual_peak_luminance
uint8_t num_cols_mastering_display_actual_peak_luminance
Definition: hdr_dynamic_metadata.h:315
AVHDRPlusColorTransformParams::semimajor_axis_internal_ellipse
uint16_t semimajor_axis_internal_ellipse
Definition: hdr_dynamic_metadata.h:125
AVDynamicHDRPlus::num_windows
uint8_t num_windows
Definition: hdr_dynamic_metadata.h:259
AVRational
Definition: rational.h:58
size
GLsizeiptr size
Definition: SDL_opengl_glext.h:540
AVHDRPlusColorTransformParams::center_of_ellipse_y
uint16_t center_of_ellipse_y
Definition: hdr_dynamic_metadata.h:110
AVHDRPlusPercentile
Definition: hdr_dynamic_metadata.h:39
AVFrame
Definition: frame.h:295
AVHDRPlusColorTransformParams::rotation_angle
uint8_t rotation_angle
Definition: hdr_dynamic_metadata.h:118
AVHDRPlusColorTransformParams::knee_point_x
AVRational knee_point_x
Definition: hdr_dynamic_metadata.h:196
AVDynamicHDRPlus::mastering_display_actual_peak_luminance
AVRational mastering_display_actual_peak_luminance[25][25]
Definition: hdr_dynamic_metadata.h:322
AVHDRPlusColorTransformParams::num_distribution_maxrgb_percentiles
uint8_t num_distribution_maxrgb_percentiles
Definition: hdr_dynamic_metadata.h:170