libbluray
src
libbluray
bdnav
meta_data.h
Go to the documentation of this file.
1
/*
2
* This file is part of libbluray
3
* Copyright (C) 2010 fraxinas
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
#if !defined(_META_DATA_H_)
26
#define _META_DATA_H_
27
28
#include <stdint.h>
29
31
typedef
struct
meta_thumbnail
{
32
char
*
path
;
33
uint32_t
xres
;
34
uint32_t
yres
;
35
} META_THUMBNAIL;
36
38
typedef
struct
meta_title
{
39
uint32_t
title_number
;
40
char
*
title_name
;
41
} META_TITLE;
42
44
typedef
struct
meta_dl
{
45
char
language_code
[4];
46
char
*
filename
;
47
char
*
di_name
;
48
char
*
di_alternative
;
49
uint8_t
di_num_sets
;
50
uint8_t
di_set_number
;
51
uint32_t
toc_count
;
52
META_TITLE *
toc_entries
;
53
uint8_t
thumb_count
;
54
META_THUMBNAIL *
thumbnails
;
55
} META_DL;
56
57
#endif // _META_DATA_H_
58
meta_dl::di_alternative
char * di_alternative
Alternative name.
Definition:
meta_data.h:48
meta_thumbnail::yres
uint32_t yres
Thumbnail height.
Definition:
meta_data.h:34
meta_title::title_name
char * title_name
Title name.
Definition:
meta_data.h:40
meta_dl::toc_entries
META_TITLE * toc_entries
Title data.
Definition:
meta_data.h:52
meta_thumbnail
Thumbnail path and resolution.
Definition:
meta_data.h:31
meta_dl::thumbnails
META_THUMBNAIL * thumbnails
Thumbnail data.
Definition:
meta_data.h:54
meta_dl
DL (Disc Library) metadata entry.
Definition:
meta_data.h:44
meta_title::title_number
uint32_t title_number
Title number (from disc index)
Definition:
meta_data.h:39
meta_dl::thumb_count
uint8_t thumb_count
Number of thumbnails.
Definition:
meta_data.h:53
meta_thumbnail::path
char * path
Path to thumbnail image (relative to disc root)
Definition:
meta_data.h:32
meta_title
Title name.
Definition:
meta_data.h:38
meta_dl::toc_count
uint32_t toc_count
Number of title entries.
Definition:
meta_data.h:51
meta_thumbnail::xres
uint32_t xres
Thumbnail width.
Definition:
meta_data.h:33
meta_dl::di_num_sets
uint8_t di_num_sets
Number of discs in original volume or collection.
Definition:
meta_data.h:49
meta_dl::language_code
char language_code[4]
Language used in this metadata entry.
Definition:
meta_data.h:45
meta_dl::filename
char * filename
Source file (relative to disc root)
Definition:
meta_data.h:46
meta_dl::di_set_number
uint8_t di_set_number
Sequence order of the disc from an original collection.
Definition:
meta_data.h:50
meta_dl::di_name
char * di_name
Disc name.
Definition:
meta_data.h:47