digiKam
vui.h
Go to the documentation of this file.
1 /*
2  * H.265 video codec.
3  * Copyright (c) 2013-2014 struktur AG, Dirk Farin <farin@struktur.de>
4  *
5  * This file is part of libde265.
6  *
7  * libde265 is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License as
9  * published by the Free Software Foundation, either version 3 of
10  * the License, or (at your option) any later version.
11  *
12  * libde265 is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with libde265. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef DE265_VUI_H
22 #define DE265_VUI_H
23 
24 #include "libde265/de265.h"
25 #include "libde265/bitstream.h"
26 
27 #include <vector>
28 
29 class error_queue;
30 class seq_parameter_set;
31 
32 
40 };
41 
43 
44 
46 {
47  public:
49 
51  void dump(int fd) const;
52 
53 
54  // --- sample aspect ratio (SAR) ---
55 
57  uint16_t sar_width; // sar_width and sar_height are zero if unspecified
58  uint16_t sar_height;
59 
60 
61  // --- overscan ---
62 
65 
66 
67  // --- video signal type ---
68 
75  uint8_t matrix_coeffs;
76 
77  // --- chroma / interlaced ---
78 
82 
86 
87  // --- default display window ---
88 
94 
95 
96  // --- timing ---
97 
100  uint32_t vui_time_scale;
101 
104 
105 
106  // --- hrd parameters ---
107 
109  //hrd_parameters vui_hrd_parameters;
110 
111 
112  // --- bitstream restriction ---
113 
123 };
124 
125 
126 #endif
Definition: decctx.h:128
Definition: sps.h:86
Definition: vui.h:46
uint8_t log2_max_mv_length_vertical
Definition: vui.h:122
bool overscan_info_present_flag
Definition: vui.h:63
bool tiles_fixed_structure_flag
Definition: vui.h:115
uint8_t chroma_sample_loc_type_bottom_field
Definition: vui.h:81
uint32_t vui_num_units_in_tick
Definition: vui.h:99
uint8_t log2_max_mv_length_horizontal
Definition: vui.h:121
bool field_seq_flag
Definition: vui.h:84
enum VideoFormat video_format
Definition: vui.h:70
bool video_full_range_flag
Definition: vui.h:71
uint32_t def_disp_win_top_offset
Definition: vui.h:92
uint8_t colour_primaries
Definition: vui.h:73
uint8_t matrix_coeffs
Definition: vui.h:75
bool vui_hrd_parameters_present_flag
Definition: vui.h:108
uint8_t max_bits_per_min_cu_denom
Definition: vui.h:120
uint8_t chroma_sample_loc_type_top_field
Definition: vui.h:80
bool video_signal_type_present_flag
Definition: vui.h:69
uint32_t def_disp_win_right_offset
Definition: vui.h:91
void dump(int fd) const
uint16_t min_spatial_segmentation_idc
Definition: vui.h:118
bool bitstream_restriction_flag
Definition: vui.h:114
uint32_t vui_num_ticks_poc_diff_one
Definition: vui.h:103
uint8_t transfer_characteristics
Definition: vui.h:74
bool vui_poc_proportional_to_timing_flag
Definition: vui.h:102
uint16_t sar_height
Definition: vui.h:58
uint32_t def_disp_win_bottom_offset
Definition: vui.h:93
uint32_t def_disp_win_left_offset
Definition: vui.h:90
bool overscan_appropriate_flag
Definition: vui.h:64
bool aspect_ratio_info_present_flag
Definition: vui.h:56
bool neutral_chroma_indication_flag
Definition: vui.h:83
uint8_t max_bytes_per_pic_denom
Definition: vui.h:119
uint16_t sar_width
Definition: vui.h:57
bool frame_field_info_present_flag
Definition: vui.h:85
uint32_t vui_time_scale
Definition: vui.h:100
bool motion_vectors_over_pic_boundaries_flag
Definition: vui.h:116
bool colour_description_present_flag
Definition: vui.h:72
de265_error read(error_queue *, bitreader *, const seq_parameter_set *)
bool restricted_ref_pic_lists_flag
Definition: vui.h:117
bool chroma_loc_info_present_flag
Definition: vui.h:79
bool default_display_window_flag
Definition: vui.h:89
bool vui_timing_info_present_flag
Definition: vui.h:98
de265_error
Definition: de265.h:82
Definition: bitstream.h:39
VideoFormat
Definition: vui.h:33
@ VideoFormat_Component
Definition: vui.h:34
@ VideoFormat_MAC
Definition: vui.h:38
@ VideoFormat_Unspecified
Definition: vui.h:39
@ VideoFormat_PAL
Definition: vui.h:35
@ VideoFormat_NTSC
Definition: vui.h:36
@ VideoFormat_SECAM
Definition: vui.h:37
const char * get_video_format_name(enum VideoFormat)