Loading...
Searching...
No Matches
player_settings.h
Go to the documentation of this file.
/*
* This file is part of libbluray
* Copyright (C) 2014-2017 VideoLAN
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef BD_PLAYER_SETTINGS_H_
#define BD_PLAYER_SETTINGS_H_
enum {
/* LPCM capability */
/* 48/96kHz (mandatory) */
BLURAY_ACAP_LPCM_48_96_STEREO_ONLY = 0x0001,
BLURAY_ACAP_LPCM_48_96_SURROUND = 0x0002,
/* 192kHz (optional) */
BLURAY_ACAP_LPCM_192_NONE = 0x0000,
BLURAY_ACAP_LPCM_192_STEREO_ONLY = 0x0004,
BLURAY_ACAP_LPCM_192_SURROUND = 0x0008,
/* Dolby Digital Plus capability */
/* independent substream (mandatory) */
BLURAY_ACAP_DDPLUS_STEREO_ONLY = 0x0010,
BLURAY_ACAP_DDPLUS_SURROUND = 0x0020,
/* dependent substream (optional) */
BLURAY_ACAP_DDPLUS_DEP_NONE = 0x0000,
BLURAY_ACAP_DDPLUS_DEP_STEREO_ONLY = 0x0040,
BLURAY_ACAP_DDPLUS_DEP_SURROUND = 0x0080,
/* DTS-HD */
/* Core substream (mandatory) */
BLURAY_ACAP_DTSHD_CORE_STEREO_ONLY = 0x0100,
BLURAY_ACAP_DTSHD_CORE_SURROUND = 0x0200,
/* Extension substream (optional) */
BLURAY_ACAP_DTSHD_EXT_NONE = 0x0000,
BLURAY_ACAP_DTSHD_EXT_STEREO_ONLY = 0x0400,
BLURAY_ACAP_DTSHD_EXT_SURROUND = 0x0800,
/* Dolby lossless (TrueHD) */
/* Dolby Digital (mandatory) */
BLURAY_ACAP_DD_STEREO_ONLY = 0x1000,
BLURAY_ACAP_DD_SURROUND = 0x2000,
/* MLP (optional) */
BLURAY_ACAP_MLP_NONE = 0x0000,
BLURAY_ACAP_MLP_STEREO_ONLY = 0x4000,
BLURAY_ACAP_MLP_SURROUND = 0x8000,
};
enum {
BLURAY_REGION_A = 1,
BLURAY_REGION_B = 2,
BLURAY_REGION_C = 4,
};
enum {
BLURAY_OUTPUT_PREFER_2D = 0,
BLURAY_OUTPUT_PREFER_3D = 1,
};
/*
* BLURAY_PLAYER_SETTING_DISPLAY_CAP (PSR23)
*
* Display capability (bit mask) and display size
*/
#define BLURAY_DCAP_1080p_720p_3D 0x01
#define BLURAY_DCAP_720p_50Hz_3D 0x02
#define BLURAY_DCAP_NO_3D_CLASSES_REQUIRED 0x04
#define BLURAY_DCAP_INTERLACED_3D 0x08
/* horizontal display size in centimeters */
#define BLURAY_DCAP_DISPLAY_SIZE_UNDEFINED 0
#define BLURAY_DCAP_DISPLAY_SIZE_MASK 0xfff00
#define BLURAY_DCAP_DISPLAY_SIZE(cm) (((cm) > 0xfff ? 0xfff : (cm)) << 8)
enum {
BLURAY_VCAP_SECONDARY_HD = 0x01,
BLURAY_VCAP_25Hz_50Hz = 0x02,
};
enum {
BLURAY_PLAYER_PROFILE_1_v1_0 = ((0x00 << 16) | (0x0100)),
BLURAY_PLAYER_PROFILE_1_v1_1 = ((0x01 << 16) | (0x0110)),
BLURAY_PLAYER_PROFILE_2_v2_0 = ((0x03 << 16) | (0x0200)),
BLURAY_PLAYER_PROFILE_3_v2_0 = ((0x08 << 16) | (0x0200)),
BLURAY_PLAYER_PROFILE_5_v2_4 = ((0x13 << 16) | (0x0240)),
BLURAY_PLAYER_PROFILE_6_v3_0 = ((0x00 << 16) | (0x0300)),
BLURAY_PLAYER_PROFILE_6_v3_1 = ((0x00 << 16) | (0x0310)),
};
/* Player profile flags and version mask */
#define BLURAY_PLAYER_PROFILE_3D_FLAG 0x100000
#define BLURAY_PLAYER_PROFILE_VERSION_MASK 0xffff
enum {
BLURAY_PG_TEXTST_DECODER_DISABLE = 0,
BLURAY_PG_TEXTST_DECODER_ENABLE = 1,
};
enum {
BLURAY_PERSISTENT_STORAGE_DISABLE = 0,
BLURAY_PERSISTENT_STORAGE_ENABLE = 1,
};
#endif /* BD_PLAYER_SETTINGS_H_ */
BLURAY_PLAYER_PROFILE_5_v2_4
@ BLURAY_PLAYER_PROFILE_5_v2_4
Profile 5, version 2.4 (3D).
Definition player_settings.h:155
BLURAY_PLAYER_PROFILE_6_v3_0
@ BLURAY_PLAYER_PROFILE_6_v3_0
Profile 6, version 3.0 (UHD).
Definition player_settings.h:156
BLURAY_PLAYER_PROFILE_2_v2_0
@ BLURAY_PLAYER_PROFILE_2_v2_0
Profile 2, version 2.0 (network access, BdLive).
Definition player_settings.h:153
BLURAY_PLAYER_PROFILE_6_v3_1
@ BLURAY_PLAYER_PROFILE_6_v3_1
Profile 6, version 3.1 (UHD).
Definition player_settings.h:157
BLURAY_PLAYER_PROFILE_3_v2_0
@ BLURAY_PLAYER_PROFILE_3_v2_0
Profile 3, version 2.0 (audio only player).
Definition player_settings.h:154
BLURAY_PLAYER_PROFILE_1_v1_1
@ BLURAY_PLAYER_PROFILE_1_v1_1
Profile 1, version 1.1 (secondary stream support).
Definition player_settings.h:152
BLURAY_PLAYER_PROFILE_1_v1_0
@ BLURAY_PLAYER_PROFILE_1_v1_0
Profile 1, version 1.0 (Initial Standard Profile).
Definition player_settings.h:151
BLURAY_PERSISTENT_STORAGE_ENABLE
@ BLURAY_PERSISTENT_STORAGE_ENABLE
enable persistent storage
Definition player_settings.h:192
BLURAY_PERSISTENT_STORAGE_DISABLE
@ BLURAY_PERSISTENT_STORAGE_DISABLE
disable persistent storage between playback sessions
Definition player_settings.h:191
BLURAY_REGION_B
@ BLURAY_REGION_B
Region B: Africa, Europe, Oceania, the Middle East, the Kingdom of the Netherlands,...
Definition player_settings.h:95
BLURAY_REGION_C
@ BLURAY_REGION_C
Region C: Central and South Asia, Mongolia, Russia, and the People's Republic of China.
Definition player_settings.h:97
BLURAY_REGION_A
@ BLURAY_REGION_A
Region A: the Americas, East and Southeast Asia, U.S.
Definition player_settings.h:91
BLURAY_VCAP_SECONDARY_HD
@ BLURAY_VCAP_SECONDARY_HD
player can play secondary stream in HD
Definition player_settings.h:136
BLURAY_VCAP_25Hz_50Hz
@ BLURAY_VCAP_25Hz_50Hz
player can play 25Hz and 50Hz video
Definition player_settings.h:137
BLURAY_OUTPUT_PREFER_2D
@ BLURAY_OUTPUT_PREFER_2D
2D output preferred
Definition player_settings.h:108
BLURAY_OUTPUT_PREFER_3D
@ BLURAY_OUTPUT_PREFER_3D
3D output preferred
Definition player_settings.h:109
BLURAY_PG_TEXTST_DECODER_DISABLE
@ BLURAY_PG_TEXTST_DECODER_DISABLE
disable both decoders
Definition player_settings.h:173
BLURAY_PG_TEXTST_DECODER_ENABLE
@ BLURAY_PG_TEXTST_DECODER_ENABLE
enable both decoders
Definition player_settings.h:174
BLURAY_ACAP_DD_SURROUND
@ BLURAY_ACAP_DD_SURROUND
Dolby Digital audio surround capable.
Definition player_settings.h:73
BLURAY_ACAP_LPCM_192_SURROUND
@ BLURAY_ACAP_LPCM_192_SURROUND
LPCM 192kHz surround capable.
Definition player_settings.h:45
BLURAY_ACAP_DDPLUS_SURROUND
@ BLURAY_ACAP_DDPLUS_SURROUND
DD Plus independent substream surround capable.
Definition player_settings.h:51
BLURAY_ACAP_DDPLUS_DEP_SURROUND
@ BLURAY_ACAP_DDPLUS_DEP_SURROUND
DD Plus dependent substream surround capable.
Definition player_settings.h:56
BLURAY_ACAP_DTSHD_EXT_NONE
@ BLURAY_ACAP_DTSHD_EXT_NONE
DTS-HD extension substream not supported.
Definition player_settings.h:65
BLURAY_ACAP_LPCM_192_NONE
@ BLURAY_ACAP_LPCM_192_NONE
LPCM 192kHz not supported.
Definition player_settings.h:43
BLURAY_ACAP_DTSHD_CORE_STEREO_ONLY
@ BLURAY_ACAP_DTSHD_CORE_STEREO_ONLY
DTS-HD Core stereo capable.
Definition player_settings.h:61
BLURAY_ACAP_LPCM_48_96_SURROUND
@ BLURAY_ACAP_LPCM_48_96_SURROUND
LPCM 48kHz and 96kHz surround capable.
Definition player_settings.h:40
BLURAY_ACAP_LPCM_192_STEREO_ONLY
@ BLURAY_ACAP_LPCM_192_STEREO_ONLY
LPCM 192kHz stereo capable.
Definition player_settings.h:44
BLURAY_ACAP_DTSHD_CORE_SURROUND
@ BLURAY_ACAP_DTSHD_CORE_SURROUND
DTS-HD Core surround capable.
Definition player_settings.h:62
BLURAY_ACAP_DDPLUS_DEP_NONE
@ BLURAY_ACAP_DDPLUS_DEP_NONE
DD Plus dependent substream not supported.
Definition player_settings.h:54
BLURAY_ACAP_MLP_STEREO_ONLY
@ BLURAY_ACAP_MLP_STEREO_ONLY
MLP stereo capable.
Definition player_settings.h:77
BLURAY_ACAP_LPCM_48_96_STEREO_ONLY
@ BLURAY_ACAP_LPCM_48_96_STEREO_ONLY
LPCM 48kHz and 96kHz stereo capable.
Definition player_settings.h:39
BLURAY_ACAP_MLP_SURROUND
@ BLURAY_ACAP_MLP_SURROUND
MLP surround capable.
Definition player_settings.h:78
BLURAY_ACAP_DDPLUS_STEREO_ONLY
@ BLURAY_ACAP_DDPLUS_STEREO_ONLY
DD Plus independent substream stereo capable.
Definition player_settings.h:50
BLURAY_ACAP_DDPLUS_DEP_STEREO_ONLY
@ BLURAY_ACAP_DDPLUS_DEP_STEREO_ONLY
DD Plus dependent substream stereo capable.
Definition player_settings.h:55
BLURAY_ACAP_MLP_NONE
@ BLURAY_ACAP_MLP_NONE
MLP not supported.
Definition player_settings.h:76
BLURAY_ACAP_DTSHD_EXT_SURROUND
@ BLURAY_ACAP_DTSHD_EXT_SURROUND
DTS-HD extension substream surround capable.
Definition player_settings.h:67
BLURAY_ACAP_DD_STEREO_ONLY
@ BLURAY_ACAP_DD_STEREO_ONLY
Dolby Digital audio stereo capable.
Definition player_settings.h:72
BLURAY_ACAP_DTSHD_EXT_STEREO_ONLY
@ BLURAY_ACAP_DTSHD_EXT_STEREO_ONLY
DTS-HD extension substream stereo capable.
Definition player_settings.h:66