libbluray
player_settings.h
Go to the documentation of this file.
1 /*
2  * This file is part of libbluray
3  * Copyright (C) 2014-2017 VideoLAN
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library. If not, see
17  * <http://www.gnu.org/licenses/>.
18  */
19 
25 #ifndef BD_PLAYER_SETTINGS_H_
26 #define BD_PLAYER_SETTINGS_H_
27 
34 enum {
35 
36  /* LPCM capability */
37 
38  /* 48/96kHz (mandatory) */
42  /* 192kHz (optional) */
47  /* Dolby Digital Plus capability */
48 
49  /* independent substream (mandatory) */
53  /* dependent substream (optional) */
58  /* DTS-HD */
59 
60  /* Core substream (mandatory) */
64  /* Extension substream (optional) */
69  /* Dolby lossless (TrueHD) */
70 
71  /* Dolby Digital (mandatory) */
75  /* MLP (optional) */
79 };
80 
81 
89 enum {
92 
98 };
99 
100 
107 enum {
110 };
111 
112 
113 /*
114  * BLURAY_PLAYER_SETTING_DISPLAY_CAP (PSR23)
115  *
116  * Display capability (bit mask) and display size
117  */
118 
119 #define BLURAY_DCAP_1080p_720p_3D 0x01
120 #define BLURAY_DCAP_720p_50Hz_3D 0x02
121 #define BLURAY_DCAP_NO_3D_CLASSES_REQUIRED 0x04
122 #define BLURAY_DCAP_INTERLACED_3D 0x08
124 /* horizontal display size in centimeters */
125 #define BLURAY_DCAP_DISPLAY_SIZE_UNDEFINED 0
126 #define BLURAY_DCAP_DISPLAY_SIZE_MASK 0xfff00
127 #define BLURAY_DCAP_DISPLAY_SIZE(cm) (((cm) > 0xfff ? 0xfff : (cm)) << 8)
135 enum {
138 };
139 
150 enum {
151  BLURAY_PLAYER_PROFILE_1_v1_0 = ((0x00 << 16) | (0x0100)),
152  BLURAY_PLAYER_PROFILE_1_v1_1 = ((0x01 << 16) | (0x0110)),
153  BLURAY_PLAYER_PROFILE_2_v2_0 = ((0x03 << 16) | (0x0200)),
154  BLURAY_PLAYER_PROFILE_3_v2_0 = ((0x08 << 16) | (0x0200)),
155  BLURAY_PLAYER_PROFILE_5_v2_4 = ((0x13 << 16) | (0x0240)),
156  BLURAY_PLAYER_PROFILE_6_v3_0 = ((0x00 << 16) | (0x0300)),
157  BLURAY_PLAYER_PROFILE_6_v3_1 = ((0x00 << 16) | (0x0310)),
158 };
159 
160 /* Player profile flags and version mask */
161 
162 #define BLURAY_PLAYER_PROFILE_3D_FLAG 0x100000
163 #define BLURAY_PLAYER_PROFILE_VERSION_MASK 0xffff
164 
166 
172 enum {
175 };
176 
177 
190 enum {
193 };
194 
195 #endif /* BD_PLAYER_SETTINGS_H_ */
DTS-HD extension substream not supported.
Definition: player_settings.h:65
Dolby Digital audio stereo capable.
Definition: player_settings.h:72
DD Plus dependent substream surround capable.
Definition: player_settings.h:56
DTS-HD Core stereo capable.
Definition: player_settings.h:61
Profile 6, version 3.1 (UHD)
Definition: player_settings.h:157
2D output preferred
Definition: player_settings.h:108
MLP not supported.
Definition: player_settings.h:76
disable persistent storage between playback sessions
Definition: player_settings.h:191
Profile 2, version 2.0 (network access, BdLive)
Definition: player_settings.h:153
DTS-HD extension substream stereo capable.
Definition: player_settings.h:66
LPCM 48kHz and 96kHz stereo capable.
Definition: player_settings.h:39
Profile 5, version 2.4 (3D)
Definition: player_settings.h:155
player can play secondary stream in HD
Definition: player_settings.h:136
Profile 3, version 2.0 (audio only player)
Definition: player_settings.h:154
Profile 1, version 1.1 (secondary stream support)
Definition: player_settings.h:152
Profile 1, version 1.0 (Initial Standard Profile)
Definition: player_settings.h:151
LPCM 192kHz stereo capable.
Definition: player_settings.h:44
Region B: Africa, Europe, Oceania, the Middle East, the Kingdom of the Netherlands, British overseas territories, French territories, and Greenland.
Definition: player_settings.h:95
LPCM 192kHz not supported.
Definition: player_settings.h:43
Profile 6, version 3.0 (UHD)
Definition: player_settings.h:156
disable both decoders
Definition: player_settings.h:173
LPCM 48kHz and 96kHz surround capable.
Definition: player_settings.h:40
Dolby Digital audio surround capable.
Definition: player_settings.h:73
enable both decoders
Definition: player_settings.h:174
LPCM 192kHz surround capable.
Definition: player_settings.h:45
DD Plus independent substream surround capable.
Definition: player_settings.h:51
MLP stereo capable.
Definition: player_settings.h:77
DD Plus independent substream stereo capable.
Definition: player_settings.h:50
DD Plus dependent substream stereo capable.
Definition: player_settings.h:55
DTS-HD extension substream surround capable.
Definition: player_settings.h:67
MLP surround capable.
Definition: player_settings.h:78
Region A: the Americas, East and Southeast Asia, U.S.
Definition: player_settings.h:91
3D output preferred
Definition: player_settings.h:109
enable persistent storage
Definition: player_settings.h:192
DTS-HD Core surround capable.
Definition: player_settings.h:62
Region C: Central and South Asia, Mongolia, Russia, and the People&#39;s Republic of China.
Definition: player_settings.h:97
DD Plus dependent substream not supported.
Definition: player_settings.h:54
player can play 25Hz and 50Hz video
Definition: player_settings.h:137