Loading...
Searching...
No Matches
meta_data.h
Go to the documentation of this file.
/*
* This file is part of libbluray
* Copyright (C) 2010 fraxinas
*
* 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/>.
*/
#if !defined(_META_DATA_H_)
#define _META_DATA_H_
#include <stdint.h>
typedef struct meta_thumbnail {
char * path;
uint32_t xres;
uint32_t yres;
} META_THUMBNAIL;
typedef struct meta_title {
uint32_t title_number;
char * title_name;
} META_TITLE;
typedef struct meta_dl {
char language_code[4];
char * filename;
char * di_name;
char * di_alternative;
uint8_t di_num_sets;
uint8_t di_set_number;
uint32_t toc_count;
META_TITLE * toc_entries;
uint8_t thumb_count;
META_THUMBNAIL * thumbnails;
} META_DL;
#endif // _META_DATA_H_
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::language_code
char language_code[4]
Language used in this metadata entry.
Definition meta_data.h:45
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