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