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
DL (Disc Library) metadata entry.
Definition:
meta_data.h:44
META_DL::di_alternative
char * di_alternative
Alternative name.
Definition:
meta_data.h:48
META_DL::di_name
char * di_name
Disc name.
Definition:
meta_data.h:47
META_DL::filename
char * filename
Source file (relative to disc root)
Definition:
meta_data.h:46
META_DL::toc_count
uint32_t toc_count
Number of title entries.
Definition:
meta_data.h:51
META_DL::thumbnails
META_THUMBNAIL * thumbnails
Thumbnail data.
Definition:
meta_data.h:54
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::thumb_count
uint8_t thumb_count
Number of thumbnails.
Definition:
meta_data.h:53
META_DL::toc_entries
META_TITLE * toc_entries
Title data.
Definition:
meta_data.h:52
META_DL::di_num_sets
uint8_t di_num_sets
Number of discs in original volume or collection.
Definition:
meta_data.h:49
META_THUMBNAIL
Thumbnail path and resolution.
Definition:
meta_data.h:31
META_THUMBNAIL::yres
uint32_t yres
Thumbnail height.
Definition:
meta_data.h:34
META_THUMBNAIL::path
char * path
Path to thumbnail image (relative to disc root)
Definition:
meta_data.h:32
META_THUMBNAIL::xres
uint32_t xres
Thumbnail width.
Definition:
meta_data.h:33
META_TITLE
Title name.
Definition:
meta_data.h:38
META_TITLE::title_name
char * title_name
Title name.
Definition:
meta_data.h:40
META_TITLE::title_number
uint32_t title_number
Title number (from disc index)
Definition:
meta_data.h:39