00001 /* 00002 * This file is part of libbluray 00003 * Copyright (C) 2010 fraxinas 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library. If not, see 00017 * <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 #if !defined(_META_DATA_H_) 00021 #define _META_DATA_H_ 00022 00023 #include <stdint.h> 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 00029 typedef struct meta_thumbnail { 00030 char * path; 00031 uint32_t xres; 00032 uint32_t yres; 00033 } META_THUMBNAIL; 00034 00035 typedef struct meta_title { 00036 uint32_t title_number; 00037 char * title_name; 00038 } META_TITLE; 00039 00040 typedef struct meta_dl { 00041 char language_code[4]; 00042 char * filename; 00043 char * di_name; 00044 char * di_alternative; 00045 uint8_t di_num_sets; 00046 uint8_t di_set_number; 00047 uint32_t toc_count; 00048 META_TITLE * toc_entries; 00049 uint8_t thumb_count; 00050 META_THUMBNAIL * thumbnails; 00051 } META_DL; 00052 00053 typedef struct meta_root { 00054 uint8_t dl_count; 00055 META_DL * dl_entries; 00056 } META_ROOT; 00057 00058 #ifdef __cplusplus 00059 }; 00060 #endif 00061 00062 #endif // _META_DATA_H_ 00063
1.6.3