diff --git a/.gitignore b/.gitignore index b5a25e3b..c386392c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ *.pc *.tar.* Makefile.in +*.user Makefile aclocal.m4 m4/libtool.m4 diff --git a/config.h b/config.h new file mode 100644 index 00000000..7000498e --- /dev/null +++ b/config.h @@ -0,0 +1,159 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 if using libbluray J2ME stack */ +/* #undef HAVE_BDJ_J2ME */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_DIRENT_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DLFCN_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define this if you have fontconfig library */ +/* #undef HAVE_FONTCONFIG */ + +/* Define this if you have FreeType2 library */ +/* #undef HAVE_FT2 */ + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_JNI_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIBGEN_H 1 + +/* Define to 1 if libxml2 is to be used for metadata parsing */ +/* #undef HAVE_LIBXML2 */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_CDROM_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_MALLOC_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_MNTENT_H */ + +/* Define to 1 if you have the header file, and it defines `DIR'. */ +/* #undef HAVE_NDIR_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_PTHREAD_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STRINGS_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if `d_type' is a member of `struct dirent'. */ +/* #undef HAVE_STRUCT_DIRENT_D_TYPE */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_DIR_H */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_NDIR_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_TIME_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_UNISTD_H */ + +/* "Defines the architecture of the java vm." */ +#define JAVA_ARCH "i386" + +/* "" */ +#define JDK_HOME "" + +/* Define to the sub-directory where libtool stores uninstalled libraries. */ +#define LT_OBJDIR ".libs/" + +/* Define to 1 to use inefficient pread() replacement */ +/* #undef NEED_PREAD_IMPL */ + +/* Name of package */ +#define PACKAGE "libbluray" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "http://www.videolan.org/developers/libbluray.html" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "libbluray" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "libbluray 1.2.0" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "libbluray" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.2.0" + +/* Define as the return type of signal handlers (`int' or `void'). */ +#define RETSIGTYPE void + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Version number of package */ +#define VERSION "1.2.0" + +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +#define _FILE_OFFSET_BITS 64 + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define to '0x0501' for IE 5.01. */ +#define _WIN32_IE 0x0501 + +/* Define to '0x0502' for Windows XP SP2 APIs. */ +#define _WIN32_WINNT 0x0502 + +#ifdef _MSC_VER +#include +typedef SSIZE_T ssize_t; +#endif diff --git a/includes/inttypes.h b/includes/inttypes.h new file mode 100644 index 00000000..ead903f7 --- /dev/null +++ b/includes/inttypes.h @@ -0,0 +1,305 @@ +// ISO C9x compliant inttypes.h for Microsoft Visual Studio +// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 +// +// Copyright (c) 2006 Alexander Chemeris +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// 1. Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. The name of the author may be used to endorse or promote products +// derived from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +/////////////////////////////////////////////////////////////////////////////// + +#ifndef _MSC_VER // [ +#error "Use this header only with Microsoft Visual C++ compilers!" +#endif // _MSC_VER ] + +#ifndef _MSC_INTTYPES_H_ // [ +#define _MSC_INTTYPES_H_ + +#if _MSC_VER > 1000 +#pragma once +#endif + +#include "stdint.h" + +// 7.8 Format conversion of integer types + +typedef struct { + intmax_t quot; + intmax_t rem; +} imaxdiv_t; + +// 7.8.1 Macros for format specifiers + +#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) // [ See footnote 185 at page 198 + +// The fprintf macros for signed integers are: +#define PRId8 "d" +#define PRIi8 "i" +#define PRIdLEAST8 "d" +#define PRIiLEAST8 "i" +#define PRIdFAST8 "d" +#define PRIiFAST8 "i" + +#define PRId16 "hd" +#define PRIi16 "hi" +#define PRIdLEAST16 "hd" +#define PRIiLEAST16 "hi" +#define PRIdFAST16 "hd" +#define PRIiFAST16 "hi" + +#define PRId32 "I32d" +#define PRIi32 "I32i" +#define PRIdLEAST32 "I32d" +#define PRIiLEAST32 "I32i" +#define PRIdFAST32 "I32d" +#define PRIiFAST32 "I32i" + +#define PRId64 "I64d" +#define PRIi64 "I64i" +#define PRIdLEAST64 "I64d" +#define PRIiLEAST64 "I64i" +#define PRIdFAST64 "I64d" +#define PRIiFAST64 "I64i" + +#define PRIdMAX "I64d" +#define PRIiMAX "I64i" + +#define PRIdPTR "Id" +#define PRIiPTR "Ii" + +// The fprintf macros for unsigned integers are: +#define PRIo8 "o" +#define PRIu8 "u" +#define PRIx8 "x" +#define PRIX8 "X" +#define PRIoLEAST8 "o" +#define PRIuLEAST8 "u" +#define PRIxLEAST8 "x" +#define PRIXLEAST8 "X" +#define PRIoFAST8 "o" +#define PRIuFAST8 "u" +#define PRIxFAST8 "x" +#define PRIXFAST8 "X" + +#define PRIo16 "ho" +#define PRIu16 "hu" +#define PRIx16 "hx" +#define PRIX16 "hX" +#define PRIoLEAST16 "ho" +#define PRIuLEAST16 "hu" +#define PRIxLEAST16 "hx" +#define PRIXLEAST16 "hX" +#define PRIoFAST16 "ho" +#define PRIuFAST16 "hu" +#define PRIxFAST16 "hx" +#define PRIXFAST16 "hX" + +#define PRIo32 "I32o" +#define PRIu32 "I32u" +#define PRIx32 "I32x" +#define PRIX32 "I32X" +#define PRIoLEAST32 "I32o" +#define PRIuLEAST32 "I32u" +#define PRIxLEAST32 "I32x" +#define PRIXLEAST32 "I32X" +#define PRIoFAST32 "I32o" +#define PRIuFAST32 "I32u" +#define PRIxFAST32 "I32x" +#define PRIXFAST32 "I32X" + +#define PRIo64 "I64o" +#define PRIu64 "I64u" +#define PRIx64 "I64x" +#define PRIX64 "I64X" +#define PRIoLEAST64 "I64o" +#define PRIuLEAST64 "I64u" +#define PRIxLEAST64 "I64x" +#define PRIXLEAST64 "I64X" +#define PRIoFAST64 "I64o" +#define PRIuFAST64 "I64u" +#define PRIxFAST64 "I64x" +#define PRIXFAST64 "I64X" + +#define PRIoMAX "I64o" +#define PRIuMAX "I64u" +#define PRIxMAX "I64x" +#define PRIXMAX "I64X" + +#define PRIoPTR "Io" +#define PRIuPTR "Iu" +#define PRIxPTR "Ix" +#define PRIXPTR "IX" + +// The fscanf macros for signed integers are: +#define SCNd8 "d" +#define SCNi8 "i" +#define SCNdLEAST8 "d" +#define SCNiLEAST8 "i" +#define SCNdFAST8 "d" +#define SCNiFAST8 "i" + +#define SCNd16 "hd" +#define SCNi16 "hi" +#define SCNdLEAST16 "hd" +#define SCNiLEAST16 "hi" +#define SCNdFAST16 "hd" +#define SCNiFAST16 "hi" + +#define SCNd32 "ld" +#define SCNi32 "li" +#define SCNdLEAST32 "ld" +#define SCNiLEAST32 "li" +#define SCNdFAST32 "ld" +#define SCNiFAST32 "li" + +#define SCNd64 "I64d" +#define SCNi64 "I64i" +#define SCNdLEAST64 "I64d" +#define SCNiLEAST64 "I64i" +#define SCNdFAST64 "I64d" +#define SCNiFAST64 "I64i" + +#define SCNdMAX "I64d" +#define SCNiMAX "I64i" + +#ifdef _WIN64 // [ +# define SCNdPTR "I64d" +# define SCNiPTR "I64i" +#else // _WIN64 ][ +# define SCNdPTR "ld" +# define SCNiPTR "li" +#endif // _WIN64 ] + +// The fscanf macros for unsigned integers are: +#define SCNo8 "o" +#define SCNu8 "u" +#define SCNx8 "x" +#define SCNX8 "X" +#define SCNoLEAST8 "o" +#define SCNuLEAST8 "u" +#define SCNxLEAST8 "x" +#define SCNXLEAST8 "X" +#define SCNoFAST8 "o" +#define SCNuFAST8 "u" +#define SCNxFAST8 "x" +#define SCNXFAST8 "X" + +#define SCNo16 "ho" +#define SCNu16 "hu" +#define SCNx16 "hx" +#define SCNX16 "hX" +#define SCNoLEAST16 "ho" +#define SCNuLEAST16 "hu" +#define SCNxLEAST16 "hx" +#define SCNXLEAST16 "hX" +#define SCNoFAST16 "ho" +#define SCNuFAST16 "hu" +#define SCNxFAST16 "hx" +#define SCNXFAST16 "hX" + +#define SCNo32 "lo" +#define SCNu32 "lu" +#define SCNx32 "lx" +#define SCNX32 "lX" +#define SCNoLEAST32 "lo" +#define SCNuLEAST32 "lu" +#define SCNxLEAST32 "lx" +#define SCNXLEAST32 "lX" +#define SCNoFAST32 "lo" +#define SCNuFAST32 "lu" +#define SCNxFAST32 "lx" +#define SCNXFAST32 "lX" + +#define SCNo64 "I64o" +#define SCNu64 "I64u" +#define SCNx64 "I64x" +#define SCNX64 "I64X" +#define SCNoLEAST64 "I64o" +#define SCNuLEAST64 "I64u" +#define SCNxLEAST64 "I64x" +#define SCNXLEAST64 "I64X" +#define SCNoFAST64 "I64o" +#define SCNuFAST64 "I64u" +#define SCNxFAST64 "I64x" +#define SCNXFAST64 "I64X" + +#define SCNoMAX "I64o" +#define SCNuMAX "I64u" +#define SCNxMAX "I64x" +#define SCNXMAX "I64X" + +#ifdef _WIN64 // [ +# define SCNoPTR "I64o" +# define SCNuPTR "I64u" +# define SCNxPTR "I64x" +# define SCNXPTR "I64X" +#else // _WIN64 ][ +# define SCNoPTR "lo" +# define SCNuPTR "lu" +# define SCNxPTR "lx" +# define SCNXPTR "lX" +#endif // _WIN64 ] + +#endif // __STDC_FORMAT_MACROS ] + +// 7.8.2 Functions for greatest-width integer types + +// 7.8.2.1 The imaxabs function +#define imaxabs _abs64 + +// 7.8.2.2 The imaxdiv function + +// This is modified version of div() function from Microsoft's div.c found +// in %MSVC.NET%\crt\src\div.c +#ifdef STATIC_IMAXDIV // [ +static +#else // STATIC_IMAXDIV ][ +_inline +#endif // STATIC_IMAXDIV ] +imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom) +{ + imaxdiv_t result; + + result.quot = numer / denom; + result.rem = numer % denom; + + if (numer < 0 && result.rem > 0) { + // did division wrong; must fix up + ++result.quot; + result.rem -= denom; + } + + return result; +} + +// 7.8.2.3 The strtoimax and strtoumax functions +#define strtoimax _strtoi64 +#define strtoumax _strtoui64 + +// 7.8.2.4 The wcstoimax and wcstoumax functions +#define wcstoimax _wcstoi64 +#define wcstoumax _wcstoui64 + + +#endif // _MSC_INTTYPES_H_ ] diff --git a/libbluray.def b/libbluray.def new file mode 100644 index 00000000..1b108235 --- /dev/null +++ b/libbluray.def @@ -0,0 +1,60 @@ +; libbluray.def ; declares the exports + +LIBRARY "libbluray.dll" + +EXPORTS + ; bluray.h + bd_get_version + bd_get_titles + bd_get_title_info + bd_get_playlist_info + bd_free_title_info + bd_open + bd_close + bd_seek + bd_seek_time + bd_read + bd_read_skip_still + bd_seek_chapter + bd_chapter_pos + bd_get_current_chapter + bd_seek_mark + bd_seek_playitem + bd_select_playlist + bd_select_title + bd_select_angle + bd_seamless_angle_change + bd_get_title_size + bd_get_current_title + bd_get_current_angle + bd_tell + bd_tell_time + bd_get_disc_info + bd_set_player_setting + bd_set_player_setting_str + bd_start_bdj + bd_stop_bdj + bd_get_event + bd_play + bd_read_ext + bd_play_title + bd_menu_call + bd_register_overlay_proc + bd_register_argb_overlay_proc + bd_set_scr + bd_user_input + bd_mouse_select + bd_get_sound_effect + bd_get_meta + bd_get_clpi + bd_read_clpi + bd_free_clpi + bd_read_mpls + bd_free_mpls + bd_read_mobj + bd_free_mobj + + ; additional functions + bd_set_debug_handler + bd_set_debug_mask + bd_get_debug_mask diff --git a/libbluray.vcxproj b/libbluray.vcxproj new file mode 100644 index 00000000..bac12e15 --- /dev/null +++ b/libbluray.vcxproj @@ -0,0 +1,247 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {E1DA1B95-71F1-4C21-A271-121176925062} + Win32Proj + libbluray + + + + v140 + 8.1 + + + v141 + 8.1 + false + + + v142 + 10.0 + false + + + v143 + 10.0 + false + + + DynamicLibrary + true + Unicode + + + DynamicLibrary + false + true + Unicode + + + + + + + + + + true + $(SolutionDir)bin_$(PlatformName)d\ + $(SolutionDir)bin_$(PlatformName)d\$(ProjectName)\ + + + false + $(SolutionDir)bin_$(PlatformName)\$(ProjectName)\ + $(SolutionDir)bin_$(PlatformName)\$(ProjectName)\ + + + + + + Level3 + Disabled + HAVE_CONFIG_H;WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBBLURAY_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + $(ProjectDir);$(ProjectDir)includes;$(ProjectDir)contrib\libudfread\src;$(ProjectDir)jni;$(ProjectDir)jni\win32;$(ProjectDir)src;$(ProjectDir)src\libbluray;%(AdditionalIncludeDirectories) + MultiThreadedDebugDLL + + + Windows + true + libbluray.def + + + xcopy /I /Y "$(OutDir)$(TargetName).lib" "$(OutDir)lib\" + Copy .lib into library path + + + + + Level3 + MaxSpeed + true + true + HAVE_CONFIG_H;WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBBLURAY_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + $(ProjectDir);$(ProjectDir)includes;$(ProjectDir)contrib\libudfread\src;$(ProjectDir)jni;$(ProjectDir)jni\win32;$(ProjectDir)src;$(ProjectDir)src\libbluray;%(AdditionalIncludeDirectories) + MultiThreaded + StreamingSIMDExtensions2 + + + Windows + true + true + true + libbluray.def + true + + + xcopy /I /Y "$(TargetDir)$(TargetName)$(TargetExt)" "$(OutDir)..\" +xcopy /I /Y "$(TargetDir)$(TargetName).lib" "$(OutDir)..\lib\" + Copy .dll/.lib into library path + + + + + + diff --git a/libbluray.vcxproj.filters b/libbluray.vcxproj.filters new file mode 100644 index 00000000..68742f59 --- /dev/null +++ b/libbluray.vcxproj.filters @@ -0,0 +1,434 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + {1ab0e905-7c04-4090-b385-6363dd1c961c} + + + {b8fa3348-a089-461f-9ef5-3d9df997b8e5} + + + {125333e9-0b5e-45f9-a444-f0aaaf547d9b} + + + {a743058f-f07a-4d0f-bab6-02dc57defda9} + + + {7dacc7c4-ef59-452b-9e5b-392c9df07c98} + + + {c7895c81-c186-4d5e-a8ff-645c6d55a731} + + + {c8619466-211b-4c85-9d30-d1b1a822d32e} + + + {8afb6919-994f-4d1f-9638-ce4a06d0b473} + + + {0e9086a7-eebf-4b8e-a4fe-b1724d148877} + + + {fc5e776b-0f32-493a-b823-240288288502} + + + {96d2d786-cd45-4856-937d-9e6f85ced241} + + + {9f4ea4ae-217a-4d97-a5f3-e561ce1e49cd} + + + {09e1b1b8-3aa3-4918-b157-3dfc0554ccbb} + + + {1e02e503-752e-4765-9dfb-8cc67a7b79f8} + + + {f02e8574-3fcd-4d73-ba2e-7926af4b6af6} + + + {0edd01d3-8f16-4b5a-ae16-20cf1471799f} + + + {288ac962-6c8e-445a-8fae-b9bb4919cd50} + + + {ba83caee-3d0a-4db3-82fa-023b8a4e50c0} + + + + + Header Files\util + + + Header Files\util + + + Header Files\util + + + Header Files\util + + + Header Files\util + + + Header Files\util + + + Header Files\util + + + Header Files\file + + + Header Files\file + + + Header Files\file + + + Header Files\libbluray + + + Header Files\libbluray + + + Header Files\libbluray + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\decoders + + + Header Files\libbluray\decoders + + + Header Files\libbluray\decoders + + + Header Files\libbluray\decoders + + + Header Files\libbluray\decoders + + + Header Files\libbluray\decoders + + + Header Files\libbluray\decoders + + + Header Files\libbluray\decoders + + + Header Files\libbluray\decoders + + + Header Files\libbluray\hdmv + + + Header Files\libbluray\hdmv + + + Header Files\libbluray\hdmv + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\decoders + + + Header Files\libbluray\decoders + + + Header Files\libbluray\decoders + + + Header Files\libbluray\decoders + + + Header Files\util + + + Header Files\util + + + Header Files\libbluray + + + Header Files\libbluray\decoders + + + Header Files\file + + + Header Files\libbluray + + + Header Files\util + + + Header Files\libbluray\disc + + + Header Files\libbluray\disc + + + Header Files\libbluray\disc + + + Header Files\libbluray\disc + + + Header Files\libbluray\disc + + + Header Files\file + + + Header Files\util + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\bdnav + + + Header Files\libbluray\disc + + + Header Files\libbluray\bdj + + + Header Files\libbluray\bdj + + + Header Files\libbluray\bdj + + + Header Files\libbluray\disc + + + Header Files\udfread + + + Header Files\udfread + + + Header Files\udfread + + + Header Files\udfread + + + Header Files\libbluray\bdnav + + + + + Source Files\util + + + Source Files\util + + + Source Files\file + + + Source Files\libbluray + + + Source Files\libbluray + + + Source Files\libbluray\bdnav + + + Source Files\libbluray\bdnav + + + Source Files\libbluray\bdnav + + + Source Files\libbluray\bdnav + + + Source Files\libbluray\bdnav + + + Source Files\libbluray\bdnav + + + Source Files\libbluray\decoders + + + Source Files\libbluray\decoders + + + Source Files\libbluray\decoders + + + Source Files\libbluray\decoders + + + Source Files\libbluray\decoders + + + Source Files\libbluray\decoders + + + Source Files\libbluray\hdmv + + + Source Files\libbluray\hdmv + + + Source Files\libbluray\hdmv + + + Source Files\libbluray\bdnav + + + Source Files\libbluray\bdnav + + + Source Files\util + + + Source Files\file + + + Source Files\file + + + Source Files\file + + + Source Files\libbluray\decoders + + + Source Files\libbluray\decoders + + + Source Files\util + + + Source Files\libbluray\decoders + + + Source Files\libbluray\decoders + + + Source Files\file + + + Source Files\file + + + Source Files\util + + + Source Files\util + + + Source Files\libbluray\disc + + + Source Files\libbluray\disc + + + Source Files\libbluray\disc + + + Source Files\libbluray\disc + + + Source Files\util + + + Source Files\file + + + Source Files\util + + + Source Files\libbluray\bdnav + + + Source Files\libbluray\bdnav + + + Source Files\libbluray\disc + + + Source Files\libbluray\bdj + + + Source Files\libbluray\bdj + + + Source Files\libbluray\disc + + + Source Files\udfread + + + Source Files\udfread + + + Source Files\udfread + + + + + Source Files + + + \ No newline at end of file diff --git a/src/libbluray/bluray-version.h b/src/libbluray/bluray-version.h new file mode 100644 index 00000000..bc5bb01a --- /dev/null +++ b/src/libbluray/bluray-version.h @@ -0,0 +1,37 @@ +/* + * This file is part of libbluray + * Copyright (C) 2011 hpi1 + * + * 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 + * . + */ + +#ifndef BLURAY_VERSION_H_ +#define BLURAY_VERSION_H_ + +#define BLURAY_VERSION_CODE(major, minor, micro) \ + (((major) * 10000) + \ + ((minor) * 100) + \ + ((micro) * 1)) + +#define BLURAY_VERSION_MAJOR 1 +#define BLURAY_VERSION_MINOR 2 +#define BLURAY_VERSION_MICRO 0 + +#define BLURAY_VERSION_STRING "1.2.0" + +#define BLURAY_VERSION \ + BLURAY_VERSION_CODE(BLURAY_VERSION_MAJOR, BLURAY_VERSION_MINOR, BLURAY_VERSION_MICRO) + +#endif /* BLURAY_VERSION_H_ */