Projects
Multimedia
oggvideotools
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
oggvideotools.changes
Changed
@@ -1,4 +1,48 @@ ------------------------------------------------------------------- +Fri Jan 6 11:44:09 UTC 2017 - aloisio@gmx.com + +- Update to 0.9.1 + * changed over to C++11 and boost (in some minor places). + * Cleanup a lot of things to fit ogg/theora/vorbis API again. + Version 0.9: + * Bug in oggRingbuffer fixed (Thanks to Bjarne) -> solved + problems with ffmpeg ogg implementation + * Manpage cleanup + * fix for gcc 4.7 (used in Fedora 17) + Version 0.8a: + * Handling of zero size packets + * correct compiling of small packets into pages (packaging + exactly 255 segments per page) + * renaming oggResize to oggTranscode + * oggCat can handle different video and audio files + (complete rewrite) + * internal: video and audio hook for oggCat and oggTranscode + * timing, stream No. and stream type in oggDump packet dump + output + * reworked manpages + * switch to cmake + * oggScroll is no longer supported (libSDL is not needed any + more!) and will not be installed + * mkSlideshow is not supported any more and will not be + installed + * cleanup mkThumb (bug #2925128) - thanks to jferlito + * integrated fixes from Tim Starling (advanced exception + handling, logging etc) + * oggSlideshow returns with -1 if no picture was found + * prefix walkthrough for KenBurns effect + * Documentation pdf is outdated and therefir not shiped with + the source package any more google can help much better + * release creation reworked + * configure reworked and added to trunk + +- Dropped oggvideotools-gcc47-includes.patch and + oggvideotools-fix_nonvoid_return.patch no longer necessary + +- Added oggvideotools-paths.patch and oggvideotools-gcc6.patch + +- Spec cleanup + +------------------------------------------------------------------- Sat May 19 11:57:58 UTC 2012 - seife+obs@b1-systems.com - fix build with gcc 4.7 (add missing includes)
View file
oggvideotools.spec
Changed
@@ -1,20 +1,45 @@ -# vim: set ts=4 sw=4 et: +# +# spec file for package oggvideotools +# +# Copyright (c) 2017 Packman Team <packman@links2linux.de> +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.links2linux.org/ +# + Name: oggvideotools -Version: 0.8 -Release: 0.pm.1 +Version: 0.9.1 +Release: 0 Summary: Toolbox for manipulating Ogg Video Files -# http://prdownloads.sourceforge.net/oggvideotools/oggvideotools-%{version}.tar.gz -Source: oggvideotools-%{version}.tar.bz2 -Patch1: oggvideotools-fix_nonvoid_return.patch -Patch2: oggvideotools-gcc47-includes.patch -URL: http://dev.streamnik.de/oggvideotools.html +License: GPL-2.0 Group: Productivity/Multimedia/Video/Editors and Convertors -License: GNU General Public License version 2 (GPL v2) -BuildRoot: %{_tmppath}/build-%{name}-%{version} -BuildRequires: libogg-devel libvorbis-devel libtheora-devel SDL-devel gd-devel -BuildRequires: gcc-c++ libstdc++-devel make glibc-devel pkgconfig -BuildRequires: autoconf automake libtool +Url: http://dev.streamnik.de/oggvideotools.html +Source: http://prdownloads.sourceforge.net/oggvideotools/oggvideotools-%{version}.tar.bz2 +Patch2: oggvideotools-paths.patch +Patch3: oggvideotools-gcc6.patch +BuildRequires: SDL-devel +BuildRequires: boost-devel +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: gd-devel +BuildRequires: glibc-devel +BuildRequires: libogg-devel +BuildRequires: libstdc++-devel +BuildRequires: libtheora-devel +BuildRequires: libtool +BuildRequires: libvorbis-devel +BuildRequires: make +BuildRequires: pkgconfig +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The "Ogg Video Tools" is a toolbox for manipulating Ogg video files, which @@ -24,22 +49,26 @@ %prep %setup -q -%patch1 %patch2 -p1 +%patch3 -p1 %build -%configure -%__make %{?_smp_flags} +pushd build +cmake \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + .. +make %{?_smp_mflags} +popd %install -%makeinstall - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +pushd build +make DESTDIR=%{buildroot} install +popd +chmod +x %{buildroot}%{_bindir}/mkSlideshow %{buildroot}%{_bindir}/mkThumbs %files %defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING NEWS README +%doc AUTHORS ChangeLog COPYING README %{_bindir}/mkSlideshow %{_bindir}/mkThumbs %{_bindir}/oggCat @@ -47,12 +76,12 @@ %{_bindir}/oggDump %{_bindir}/oggJoin %{_bindir}/oggLength -%{_bindir}/oggScroll %{_bindir}/oggSilence %{_bindir}/oggSlideshow %{_bindir}/oggSplit -%{_bindir}/oggResize %{_bindir}/oggThumb +%{_bindir}/oggTranscode +%{_mandir}/man1/mkThumbs.1%{ext_man} %{_mandir}/man1/ogg*.1%{ext_man} %changelog
View file
oggvideotools-fix_nonvoid_return.patch
Deleted
@@ -1,11 +0,0 @@ ---- src/lowpassEffect.cpp.orig 2009-09-06 01:51:50.000000000 +0200 -+++ src/lowpassEffect.cpp 2009-09-06 02:01:06.000000000 +0200 -@@ -67,7 +67,7 @@ - } - } - -- -+ return (*this); - } - - void LowpassEffect::doBlindIn(RGBPlane & plane)
View file
oggvideotools-gcc47-includes.patch -> oggvideotools-gcc6.patch
Changed
@@ -1,128 +1,19 @@ -Index: b/src/oggDump.cpp +Index: oggvideotools-0.9.1/src/base/test/decoderTest.cpp =================================================================== ---- a/src/oggDump.cpp -+++ b/src/oggDump.cpp -@@ -29,10 +29,11 @@ - #include <vector> - #include <sstream> - #include <fstream> - #include <ostream> - #include <cstdlib> -+#include <unistd.h> - - #include "fileRepository.h" - #include "rawMediaPacket.h" +--- oggvideotools-0.9.1.orig/src/base/test/decoderTest.cpp ++++ oggvideotools-0.9.1/src/base/test/decoderTest.cpp +@@ -5,6 +5,7 @@ #include "oggDecoder.h" - #include "oggEncoder.h" -Index: b/src/oggCut.cpp -=================================================================== ---- a/src/oggCut.cpp -+++ b/src/oggCut.cpp -@@ -27,10 +27,11 @@ - #include <iostream> - #include <sstream> - #include <map> - #include <cstdlib> - #include <ctime> -+#include <unistd.h> - - #include "fileRepository.h" - #include "streamSerializer.h" - #include "streamMux.h" - #include "oggEncoder.h" -Index: b/src/oggLength.cpp -=================================================================== ---- a/src/oggLength.cpp -+++ b/src/oggLength.cpp -@@ -25,10 +25,11 @@ - #endif - - #include <iostream> - #include <string> - #include <cstdlib> -+#include <unistd.h> - - #include "fileRepository.h" - #include "streamSerializer.h" - - void printHelpScreen(std::string& progName) -Index: b/src/oggScroll.cpp -=================================================================== ---- a/src/oggScroll.cpp -+++ b/src/oggScroll.cpp -@@ -20,10 +20,11 @@ - */ - - #include <iostream> - #include <map> - #include <termios.h> -+#include <unistd.h> - #include <SDL/SDL.h> - - #include "fileRepository.h" - #include "streamSerializer.h" - #include "theoraDecoder.h" -Index: b/src/oggSlideshow.cpp -=================================================================== ---- a/src/oggSlideshow.cpp -+++ b/src/oggSlideshow.cpp -@@ -31,10 +31,11 @@ - #include <sstream> - #include <cstdlib> - #include <cmath> - #include <cstring> - #include <ctime> -+#include <unistd.h> - //#include <cc++/slog.h> - - #include "th_helper.h" - - #include "definition.h" -Index: b/src/oggSilence.cpp -=================================================================== ---- a/src/oggSilence.cpp -+++ b/src/oggSilence.cpp -@@ -28,10 +28,11 @@ #include <vector> #include <iostream> - #include <sstream> - #include <cstdlib> - #include <ctime> -+#include <unistd.h> - - #include "vorbisEncoder.h" - #include "streamMux.h" - #include "fileRepository.h" - #include "oggComment.h" -Index: b/src/oggThumb.cpp -=================================================================== ---- a/src/oggThumb.cpp -+++ b/src/oggThumb.cpp -@@ -30,10 +30,11 @@ - #include <sstream> - #include <string> - #include <iostream> - #include <cstdlib> - #include <queue> -+#include <unistd.h> - - #include "fileRepository.h" - #include "streamSerializer.h" - #include "theoraDecoder.h" - #include "theoraStreamParameter.h" -Index: b/src/oggResize.cpp -=================================================================== ---- a/src/oggResize.cpp -+++ b/src/oggResize.cpp -@@ -32,10 +32,11 @@ ++#include <cstring> - #include <cstring> - #include <cstdlib> - #include <cmath> - #include <ctime> -+#include <unistd.h> + int main(int argc, char* argv) + { +@@ -55,4 +56,4 @@ int main(int argc, char* argv) + } - #ifdef HAVE_CONFIG_H - #include "config.h" - #endif +-} +\ No newline at end of file ++}
View file
oggvideotools-paths.patch
Added
@@ -0,0 +1,22 @@ +Index: oggvideotools-0.9.1/docs/CMakeLists.txt +=================================================================== +--- oggvideotools-0.9.1.orig/docs/CMakeLists.txt ++++ oggvideotools-0.9.1/docs/CMakeLists.txt +@@ -8,5 +8,5 @@ IF ( $ENV{MAKE_PACKAGE} ) + INSTALL ( FILES ${MAN_SRC} DESTINATION doc ) + INSTALL ( FILES ${HTML_SRC} DESTINATION doc ) + ELSE ( $ENV{MAKE_PACKAGE} ) +-INSTALL ( FILES ${MAN_SRC} DESTINATION man/man1 ) ++INSTALL ( FILES ${MAN_SRC} DESTINATION share/man/man1 ) + ENDIF ( $ENV{MAKE_PACKAGE} ) +Index: oggvideotools-0.9.1/scripts/CMakeLists.txt +=================================================================== +--- oggvideotools-0.9.1.orig/scripts/CMakeLists.txt ++++ oggvideotools-0.9.1/scripts/CMakeLists.txt +@@ -1,4 +1,4 @@ +-SET ( SCRIPT_SRC mkThumbs ) ++SET ( SCRIPT_SRC mkThumbs mkSlideshow ) + +-INSTALL ( FILES ${SCRIPT_SRC} DESTINATION sbin ) ++INSTALL ( FILES ${SCRIPT_SRC} DESTINATION bin ) +
View file
oggvideotools-0.8.tar.bz2/aclocal.m4
Deleted
@@ -1,1107 +0,0 @@ -# generated automatically by aclocal 1.11 -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -m4_ifndef(AC_AUTOCONF_VERSION, - m4_copy(m4_PACKAGE_VERSION, AC_AUTOCONF_VERSION))dnl -m4_if(m4_defn(AC_AUTOCONF_VERSION), 2.63,, -m4_warning(this file was generated for autoconf 2.63. -You have another version of autoconf. It may work, but is not guaranteed to. -If you have problems, you may need to regenerate the build system entirely. -To do so, use the procedure documented by the package, typically `autoreconf'.)) - -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# -# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program 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 -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# PKG_PROG_PKG_CONFIG(MIN-VERSION) -# ---------------------------------- -AC_DEFUN(PKG_PROG_PKG_CONFIG, -m4_pattern_forbid(^_?PKG_A-Z_+$) -m4_pattern_allow(^PKG_CONFIG(_PATH)?$) -AC_ARG_VAR(PKG_CONFIG, path to pkg-config utility)dnl -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL(PKG_CONFIG, pkg-config) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default($1, 0.9.0) - AC_MSG_CHECKING(pkg-config is at least version $_pkg_min_version) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - PKG_CONFIG="" - fi - -fidnl -)# PKG_PROG_PKG_CONFIG - -# PKG_CHECK_EXISTS(MODULES, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND) -# -# Check to see whether a particular set of modules exists. Similar -# to PKG_CHECK_MODULES(), but does not set variables or print errors. -# -# -# Similar to PKG_CHECK_MODULES, make sure that the first instance of -# this or PKG_CHECK_MODULES is called, or make sure to call -# PKG_CHECK_EXISTS manually -# -------------------------------------------------------------- -AC_DEFUN(PKG_CHECK_EXISTS, -AC_REQUIRE(PKG_PROG_PKG_CONFIG)dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG($PKG_CONFIG --exists --print-errors "$1"); then - m4_ifval($2, $2, :) -m4_ifvaln($3, else - $3)dnl -fi) - - -# _PKG_CONFIG(VARIABLE, COMMAND, MODULES) -# --------------------------------------------- -m4_define(_PKG_CONFIG, -if test -n "$$1"; then - pkg_cv_$1="$$1" - elif test -n "$PKG_CONFIG"; then - PKG_CHECK_EXISTS($3, - pkg_cv_$1=`$PKG_CONFIG --$2 "$3" 2>/dev/null`, - pkg_failed=yes) - else - pkg_failed=untried -fidnl -)# _PKG_CONFIG - -# _PKG_SHORT_ERRORS_SUPPORTED -# ----------------------------- -AC_DEFUN(_PKG_SHORT_ERRORS_SUPPORTED, -AC_REQUIRE(PKG_PROG_PKG_CONFIG) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fidnl -)# _PKG_SHORT_ERRORS_SUPPORTED - - -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, ACTION-IF-FOUND, -# ACTION-IF-NOT-FOUND) -# -# -# Note that if there is a possibility the first call to -# PKG_CHECK_MODULES might not happen, you should be sure to include an -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -# -# -# -------------------------------------------------------------- -AC_DEFUN(PKG_CHECK_MODULES, -AC_REQUIRE(PKG_PROG_PKG_CONFIG)dnl -AC_ARG_VAR($1_CFLAGS, C compiler flags for $1, overriding pkg-config)dnl -AC_ARG_VAR($1_LIBS, linker flags for $1, overriding pkg-config)dnl - -pkg_failed=no -AC_MSG_CHECKING(for $1) - -_PKG_CONFIG($1_CFLAGS, cflags, $2) -_PKG_CONFIG($1_LIBS, libs, $2) - -m4_define(_PKG_TEXT, Alternatively, you may set the environment variables $1_CFLAGS -and $1_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.) - -if test $pkg_failed = yes; then - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` - else - $1_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - ifelse($4, , AC_MSG_ERROR(dnl -Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT -), - AC_MSG_RESULT(no) - $4) -elif test $pkg_failed = untried; then - ifelse($4, , AC_MSG_FAILURE(dnl -The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see <http://pkg-config.freedesktop.org/>.), - $4) -else - $1_CFLAGS=$pkg_cv_$1_CFLAGS - $1_LIBS=$pkg_cv_$1_LIBS - AC_MSG_RESULT(yes) - ifelse($3, , :, $3) -fidnl -)# PKG_CHECK_MODULES - -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_AUTOMAKE_VERSION(VERSION) -# ---------------------------- -# Automake X.Y traces this macro to ensure aclocal.m4 has been -# generated from the m4 files accompanying Automake X.Y. -# (This private macro should not be called outside this file.) -AC_DEFUN(AM_AUTOMAKE_VERSION, -am__api_version='1.11' -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to -dnl require some minimum version. Point them to the right macro. -m4_if($1, 1.11, , - AC_FATAL(Do not call $0, use AM_INIT_AUTOMAKE($1).))dnl -) - -# _AM_AUTOCONF_VERSION(VERSION) -# ----------------------------- -# aclocal traces this macro to find the Autoconf version. -# This is a private macro too. Using m4_define simplifies -# the logic in aclocal, which can simply ignore this definition. -m4_define(_AM_AUTOCONF_VERSION, ) - -# AM_SET_CURRENT_AUTOMAKE_VERSION -# ------------------------------- -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. -AC_DEFUN(AM_SET_CURRENT_AUTOMAKE_VERSION, -AM_AUTOMAKE_VERSION(1.11)dnl -m4_ifndef(AC_AUTOCONF_VERSION, - m4_copy(m4_PACKAGE_VERSION, AC_AUTOCONF_VERSION))dnl -_AM_AUTOCONF_VERSION(m4_defn(AC_AUTOCONF_VERSION))) - -# AM_AUX_DIR_EXPAND -*- Autoconf -*- - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# For projects using AC_CONFIG_AUX_DIR(foo), Autoconf sets -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. -# -# Of course, Automake must honor this variable whenever it calls a -# tool from the auxiliary directory. The problem is that $srcdir (and -# therefore $ac_aux_dir as well) can be either absolute or relative, -# depending on how configure is run. This is pretty annoying, since -# it makes $ac_aux_dir quite unusable in subdirectories: in the top -# source directory, any form will work fine, but in subdirectories a -# relative path needs to be adjusted first. -# -# $ac_aux_dir/missing -# fails when called from a subdirectory if $ac_aux_dir is relative -# $top_srcdir/$ac_aux_dir/missing -# fails if $ac_aux_dir is absolute, -# fails when called from a subdirectory in a VPATH build with -# a relative $ac_aux_dir -# -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir -# are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is `.', but things will broke when you -# start a VPATH build or use an absolute $srcdir. -# -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` -# and then we would define $MISSING as -# MISSING="\${SHELL} $am_aux_dir/missing" -# This will work as long as MISSING is not called from configure, because -# unfortunately $(top_srcdir) has no meaning in configure. -# However there are other variables, like CC, which are often used in -# configure, and could therefore not use this "fixed" $ac_aux_dir. -# -# Another solution, used here, is to always expand $ac_aux_dir to an -# absolute PATH. The drawback is that using absolute paths prevent a -# configured tree to be moved without reconfiguration. - -AC_DEFUN(AM_AUX_DIR_EXPAND, -dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ(2.50)dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` -) - -# AM_CONDITIONAL -*- Autoconf -*- - -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 9 - -# AM_CONDITIONAL(NAME, SHELL-CONDITION) -# ------------------------------------- -# Define a conditional. -AC_DEFUN(AM_CONDITIONAL, -AC_PREREQ(2.52)dnl - ifelse($1, TRUE, AC_FATAL($0: invalid condition: $1), - $1, FALSE, AC_FATAL($0: invalid condition: $1))dnl -AC_SUBST($1_TRUE)dnl -AC_SUBST($1_FALSE)dnl -_AM_SUBST_NOTMAKE($1_TRUE)dnl -_AM_SUBST_NOTMAKE($1_FALSE)dnl -m4_define(_AM_COND_VALUE_$1, $2)dnl -if $2; then - $1_TRUE= - $1_FALSE='#' -else - $1_TRUE='#' - $1_FALSE= -fi -AC_CONFIG_COMMANDS_PRE( -if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then - AC_MSG_ERROR(conditional "$1" was never defined. -Usually this means the macro was only invoked conditionally.) -fi)) - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 10 - -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be -# written in clear, in which case automake, when reading aclocal.m4, -# will think it sees a *use*, and therefore will trigger all it's -# C support machinery. Also note that it means that autoscan, seeing -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... - - -# _AM_DEPENDENCIES(NAME) -# ---------------------- -# See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "GCJ", or "OBJC". -# We try a few techniques and use that to set a single cache variable. -# -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular -# dependency, and given that the user is not expected to run this macro, -# just rely on AC_PROG_CC. -AC_DEFUN(_AM_DEPENDENCIES, -AC_REQUIRE(AM_SET_DEPDIR)dnl -AC_REQUIRE(AM_OUTPUT_DEPENDENCY_COMMANDS)dnl -AC_REQUIRE(AM_MAKE_INCLUDE)dnl -AC_REQUIRE(AM_DEP_TRACK)dnl - -ifelse($1, CC, depcc="$CC" am_compiler_list=, - $1, CXX, depcc="$CXX" am_compiler_list=, - $1, OBJC, depcc="$OBJC" am_compiler_list='gcc3 gcc', - $1, UPC, depcc="$UPC" am_compiler_list=, - $1, GCJ, depcc="$GCJ" am_compiler_list='gcc3 gcc', - depcc="$$1" am_compiler_list=) - -AC_CACHE_CHECK(dependency style of $depcc, - am_cv_$1_dependencies_compiler_type, -if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_$1_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\(a-zA-Z0-9*\))$/\1/p' < ./depcomp` - fi - am__universal=false - m4_case($1, CC, - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac, - CXX, - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac) - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_$1_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_$1_dependencies_compiler_type=none -fi -) -AC_SUBST($1DEPMODE, depmode=$am_cv_$1_dependencies_compiler_type) -AM_CONDITIONAL(am__fastdep$1, - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_$1_dependencies_compiler_type" = gcc3) -) - - -# AM_SET_DEPDIR -# ------------- -# Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES -AC_DEFUN(AM_SET_DEPDIR, -AC_REQUIRE(AM_SET_LEADING_DOT)dnl -AC_SUBST(DEPDIR, "${am__leading_dot}deps")dnl -) - - -# AM_DEP_TRACK -# ------------ -AC_DEFUN(AM_DEP_TRACK, -AC_ARG_ENABLE(dependency-tracking, - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors) -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi -AM_CONDITIONAL(AMDEP, test "x$enable_dependency_tracking" != xno) -AC_SUBST(AMDEPBACKSLASH)dnl -_AM_SUBST_NOTMAKE(AMDEPBACKSLASH)dnl -) - -# Generate code to set up dependency tracking. -*- Autoconf -*- - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -#serial 5 - -# _AM_OUTPUT_DEPENDENCY_COMMANDS -# ------------------------------ -AC_DEFUN(_AM_OUTPUT_DEPENDENCY_COMMANDS, -{ - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`AS_DIRNAME("$mf")` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`AS_DIRNAME("$file")` - AS_MKDIR_P($dirpart/$fdir) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} -)# _AM_OUTPUT_DEPENDENCY_COMMANDS - - -# AM_OUTPUT_DEPENDENCY_COMMANDS -# ----------------------------- -# This macro should only be invoked once -- use via AC_REQUIRE. -# -# This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each `.P' file that we will -# need in order to bootstrap the dependency handling code. -AC_DEFUN(AM_OUTPUT_DEPENDENCY_COMMANDS, -AC_CONFIG_COMMANDS(depfiles, - test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS, - AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir") -) - -# Do all the work for Automake. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 16 - -# This macro actually does too much. Some checks are only needed if -# your package does certain things. But this isn't really a big deal. - -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, NO-DEFINE) -# AM_INIT_AUTOMAKE(OPTIONS) -# ----------------------------------------------- -# The call with PACKAGE and VERSION arguments is the old style -# call (pre autoconf-2.50), which is being phased out. PACKAGE -# and VERSION should now be passed to AC_INIT and removed from -# the call to AM_INIT_AUTOMAKE. -# We support both call styles for the transition. After -# the next Automake release, Autoconf can make the AC_INIT -# arguments mandatory, and then we can depend on a new Autoconf -# release and drop the old call support. -AC_DEFUN(AM_INIT_AUTOMAKE, -AC_PREREQ(2.62)dnl -dnl Autoconf wants to disallow AM_ names. We explicitly allow -dnl the ones we care about. -m4_pattern_allow(^AM_A-Z+FLAGS$)dnl -AC_REQUIRE(AM_SET_CURRENT_AUTOMAKE_VERSION)dnl -AC_REQUIRE(AC_PROG_INSTALL)dnl -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - AC_SUBST(am__isrc, ' -I$(srcdir)')_AM_SUBST_NOTMAKE(am__isrc)dnl - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - AC_MSG_ERROR(source directory already configured; run "make distclean" there first) - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi -AC_SUBST(CYGPATH_W) - -# Define the identity of the package. -dnl Distinguish between old-style and new-style calls. -m4_ifval($2, -m4_ifval($3, _AM_SET_OPTION(no-define))dnl - AC_SUBST(PACKAGE, $1)dnl - AC_SUBST(VERSION, $2), -_AM_SET_OPTIONS($1)dnl -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef(AC_PACKAGE_NAME, 1)m4_ifdef(AC_PACKAGE_VERSION, 1), 11,, - m4_fatal(AC_INIT should be called with package and version arguments))dnl - AC_SUBST(PACKAGE, 'AC_PACKAGE_TARNAME')dnl - AC_SUBST(VERSION, 'AC_PACKAGE_VERSION'))dnl - -_AM_IF_OPTION(no-define,, -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", Name of package) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", Version number of package))dnl - -# Some tools Automake needs. -AC_REQUIRE(AM_SANITY_CHECK)dnl -AC_REQUIRE(AC_ARG_PROGRAM)dnl -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) -AM_MISSING_PROG(AUTOCONF, autoconf) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) -AM_MISSING_PROG(AUTOHEADER, autoheader) -AM_MISSING_PROG(MAKEINFO, makeinfo) -AC_REQUIRE(AM_PROG_INSTALL_SH)dnl -AC_REQUIRE(AM_PROG_INSTALL_STRIP)dnl -AC_REQUIRE(AM_PROG_MKDIR_P)dnl -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -AC_REQUIRE(AC_PROG_AWK)dnl -AC_REQUIRE(AC_PROG_MAKE_SET)dnl -AC_REQUIRE(AM_SET_LEADING_DOT)dnl -_AM_IF_OPTION(tar-ustar, _AM_PROG_TAR(ustar), - _AM_IF_OPTION(tar-pax, _AM_PROG_TAR(pax), - _AM_PROG_TAR(v7))) -_AM_IF_OPTION(no-dependencies,, -AC_PROVIDE_IFELSE(AC_PROG_CC, - _AM_DEPENDENCIES(CC), - define(AC_PROG_CC, - defn(AC_PROG_CC)_AM_DEPENDENCIES(CC)))dnl -AC_PROVIDE_IFELSE(AC_PROG_CXX, - _AM_DEPENDENCIES(CXX), - define(AC_PROG_CXX, - defn(AC_PROG_CXX)_AM_DEPENDENCIES(CXX)))dnl -AC_PROVIDE_IFELSE(AC_PROG_OBJC, - _AM_DEPENDENCIES(OBJC), - define(AC_PROG_OBJC, - defn(AC_PROG_OBJC)_AM_DEPENDENCIES(OBJC)))dnl -) -_AM_IF_OPTION(silent-rules, AC_REQUIRE(AM_SILENT_RULES))dnl -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. -AC_CONFIG_COMMANDS_PRE(dnl -m4_provide_if(_AM_COMPILER_EXEEXT, - AM_CONDITIONAL(am__EXEEXT, test -n "$EXEEXT")))dnl -) - -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further -dnl mangled by Autoconf and run in a shell conditional statement. -m4_define(_AC_COMPILER_EXEEXT, -m4_defn(_AC_COMPILER_EXEEXT)m4_provide(_AM_COMPILER_EXEEXT)) - - -# When config.status generates a header, we must update the stamp-h file. -# This file resides in the same directory as the config header -# that is generated. The stamp files are numbered to have different names. - -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the -# loop where config.status creates the headers, so we can generate -# our stamp files there. -AC_DEFUN(_AC_AM_CONFIG_HEADER_HOOK, -# Compute $1's index in $config_headers. -_am_arg=$1 -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`AS_DIRNAME("$_am_arg")`/stamp-h$_am_stamp_count) - -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_SH -# ------------------ -# Define $install_sh. -AC_DEFUN(AM_PROG_INSTALL_SH, -AC_REQUIRE(AM_AUX_DIR_EXPAND)dnl -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi -AC_SUBST(install_sh)) - -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# Check whether the underlying file-system supports filenames -# with a leading dot. For instance MS-DOS doesn't. -AC_DEFUN(AM_SET_LEADING_DOT, -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null -AC_SUBST(am__leading_dot)) - -# Check to see how 'make' treats includes. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 - -# AM_MAKE_INCLUDE() -# ----------------- -# Check to see how make treats includes. -AC_DEFUN(AM_MAKE_INCLUDE, -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -AC_MSG_CHECKING(for style of include used by $am_make) -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi -AC_SUBST(am__include) -AC_SUBST(am__quote) -AC_MSG_RESULT($_am_result) -rm -f confinc confmf -) - -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- - -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 6 - -# AM_MISSING_PROG(NAME, PROGRAM) -# ------------------------------ -AC_DEFUN(AM_MISSING_PROG, -AC_REQUIRE(AM_MISSING_HAS_RUN) -$1=${$1-"${am_missing_run}$2"} -AC_SUBST($1)) - - -# AM_MISSING_HAS_RUN -# ------------------ -# Define MISSING if not defined so far and test if it supports --run. -# If it does, set am_missing_run to use it, otherwise, to nothing. -AC_DEFUN(AM_MISSING_HAS_RUN, -AC_REQUIRE(AM_AUX_DIR_EXPAND)dnl -AC_REQUIRE_AUX_FILE(missing)dnl -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - AC_MSG_WARN(`missing' script is too old or missing) -fi -) - -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_MKDIR_P -# --------------- -# Check for `mkdir -p'. -AC_DEFUN(AM_PROG_MKDIR_P, -AC_PREREQ(2.60)dnl -AC_REQUIRE(AC_PROG_MKDIR_P)dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST(mkdir_p, "$MKDIR_P")dnl -case $mkdir_p in - \\/$* | ?:\\/*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -) - -# Helper functions for option handling. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 - -# _AM_MANGLE_OPTION(NAME) -# ----------------------- -AC_DEFUN(_AM_MANGLE_OPTION, -_AM_OPTION_m4_bpatsubst($1, ^a-zA-Z0-9_, _)) - -# _AM_SET_OPTION(NAME) -# ------------------------------ -# Set option NAME. Presently that only means defining a flag for this option. -AC_DEFUN(_AM_SET_OPTION, -m4_define(_AM_MANGLE_OPTION($1), 1)) - -# _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- -# OPTIONS is a space-separated list of Automake options. -AC_DEFUN(_AM_SET_OPTIONS, -m4_foreach_w(_AM_Option, $1, _AM_SET_OPTION(_AM_Option))) - -# _AM_IF_OPTION(OPTION, IF-SET, IF-NOT-SET) -# ------------------------------------------- -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -AC_DEFUN(_AM_IF_OPTION, -m4_ifset(_AM_MANGLE_OPTION($1), $2, $3)) - -# Check to make sure that the build environment is sane. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 5 - -# AM_SANITY_CHECK -# --------------- -AC_DEFUN(AM_SANITY_CHECK, -AC_MSG_CHECKING(whether build environment is sane) -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *\\\"\#\$\&\'\`$am_lf*) - AC_MSG_ERROR(unsafe absolute working directory name);; -esac -case $srcdir in - *\\\"\#\$\&\'\`$am_lf\ \ *) - AC_MSG_ERROR(unsafe srcdir value: `$srcdir');; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR(ls -t appears to fail. Make sure there is not a broken -alias in your environment) - fi - - test "$2" = conftest.file - ) -then - # Ok. - : -else - AC_MSG_ERROR(newly created file is older than distributed files! -Check your system clock) -fi -AC_MSG_RESULT(yes)) - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_STRIP -# --------------------- -# One issue with vendor `install' (even GNU) is that you can't -# specify the program used to strip binaries. This is especially -# annoying in cross-compiling environments, where the build's strip -# is unlikely to handle the host's binaries. -# Fortunately install-sh will honor a STRIPPROG variable, so we -# always use install-sh in `make install-strip', and initialize -# STRIPPROG with the value of the STRIP variable (set by the user). -AC_DEFUN(AM_PROG_INSTALL_STRIP, -AC_REQUIRE(AM_PROG_INSTALL_SH)dnl -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. -if test "$cross_compiling" != no; then - AC_CHECK_TOOL(STRIP, strip, :) -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -AC_SUBST(INSTALL_STRIP_PROGRAM)) - -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# _AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. -# This macro is traced by Automake. -AC_DEFUN(_AM_SUBST_NOTMAKE) - -# AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- -# Public sister of _AM_SUBST_NOTMAKE. -AC_DEFUN(AM_SUBST_NOTMAKE, _AM_SUBST_NOTMAKE($@)) - -# Check how to create a tarball. -*- Autoconf -*- - -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# _AM_PROG_TAR(FORMAT) -# -------------------- -# Check how to create a tarball in format FORMAT. -# FORMAT should be one of `v7', `ustar', or `pax'. -# -# Substitute a variable $(am__tar) that is a command -# writing to stdout a FORMAT-tarball containing the directory -# $tardir. -# tardir=directory && $(am__tar) > result.tar -# -# Substitute a variable $(am__untar) that extract such -# a tarball read from stdin. -# $(am__untar) < result.tar -AC_DEFUN(_AM_PROG_TAR, -# Always define AMTAR for backward compatibility. -AM_MISSING_PROG(AMTAR, tar) -m4_if($1, v7, - am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -', - m4_case($1, ustar,, pax,, - m4_fatal(Unknown tar format)) -AC_MSG_CHECKING(how to create a $1 tar archive) -# Loop over all known methods to create a tar archive until one works. -_am_tools='gnutar m4_if($1, ustar, plaintar) pax cpio none' -_am_tools=${am_cv_prog_tar_$1-$_am_tools} -# Do not fold the above two line into one, because Tru64 sh and -# Solaris sh will not grok spaces in the rhs of `-'. -for _am_tool in $_am_tools -do - case $_am_tool in - gnutar) - for _am_tar in tar gnutar gtar; - do - AM_RUN_LOG($_am_tar --version) && break - done - am__tar="$_am_tar --format=m4_if($1, pax, posix, $1) -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=m4_if($1, pax, posix, $1) -chf - "'"$tardir"' - am__untar="$_am_tar -xf -" - ;; - plaintar) - # Must skip GNU tar: if it does not support --format= it doesn't create - # ustar tarball either. - (tar --version) >/dev/null 2>&1 && continue - am__tar='tar chf - "$$tardir"' - am__tar_='tar chf - "$tardir"' - am__untar='tar xf -' - ;; - pax) - am__tar='pax -L -x $1 -w "$$tardir"' - am__tar_='pax -L -x $1 -w "$tardir"' - am__untar='pax -r' - ;; - cpio) - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' - am__untar='cpio -i -H $1 -d' - ;; - none) - am__tar=false - am__tar_=false - am__untar=false - ;; - esac - - # If the value was cached, stop now. We just wanted to have am__tar - # and am__untar set. - test -n "${am_cv_prog_tar_$1}" && break - - # tar/untar a dummy directory, and stop if the command works - rm -rf conftest.dir - mkdir conftest.dir - echo GrepMe > conftest.dir/file - AM_RUN_LOG(tardir=conftest.dir && eval $am__tar_ >conftest.tar) - rm -rf conftest.dir - if test -s conftest.tar; then - AM_RUN_LOG($am__untar <conftest.tar) - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break - fi -done -rm -rf conftest.dir - -AC_CACHE_VAL(am_cv_prog_tar_$1, am_cv_prog_tar_$1=$_am_tool) -AC_MSG_RESULT($am_cv_prog_tar_$1)) -AC_SUBST(am__tar) -AC_SUBST(am__untar) -) # _AM_PROG_TAR -
View file
oggvideotools-0.8.tar.bz2/admin
Deleted
-(directory)
View file
oggvideotools-0.8.tar.bz2/admin/config.guess
Deleted
@@ -1,1526 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 -# Free Software Foundation, Inc. - -timestamp='2008-01-23' - -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program 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 -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Originally written by Per Bothner <per@bothner.com>. -# Please send patches to <config-patches@gnu.org>. Submit a context -# diff and a properly formatted ChangeLog entry. -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 OPTION - -Output the configuration name of the system \`$me' is run on. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to <config-patches@gnu.org>." - -version="\ -GNU config.guess ($timestamp) - -Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit ;; - --version | -v ) - echo "$version" ; exit ;; - --help | --h* | -h ) - echo "$usage"; exit ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" >&2 - exit 1 ;; - * ) - break ;; - esac -done - -if test $# != 0; then - echo "$me: too many arguments$help" >&2 - exit 1 -fi - -trap 'exit 1' 1 2 15 - -# CC_FOR_BUILD -- compiler used by this script. Note that the use of a -# compiler to aid in system detection is discouraged as it requires -# temporary files to be created and, as you can see below, it is a -# headache to deal with in a portable fashion. - -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still -# use `HOST_CC' if defined, but it is deprecated. - -# Portable tmp directory creation inspired by the Autoconf team. - -set_cc_for_build=' -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; -: ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; -dummy=$tmp/dummy ; -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; -case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int x;" > $dummy.c ; - for c in cc gcc c89 c99 ; do - if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ; set_cc_for_build= ;' - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - *:NetBSD:*:*) - # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently - # switched to ELF, *-*-netbsd* would select the old - # object file format. This provides both forward - # compatibility and a consistent mechanism for selecting the - # object file format. - # - # Note: NetBSD doesn't particularly care about the vendor - # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` - case "${UNAME_MACHINE_ARCH}" in - armeb) machine=armeb-unknown ;; - arm*) machine=arm-unknown ;; - sh3el) machine=shl-unknown ;; - sh3eb) machine=sh-unknown ;; - sh5el) machine=sh5le-unknown ;; - *) machine=${UNAME_MACHINE_ARCH}-unknown ;; - esac - # The Operating System including object format, if it has switched - # to ELF recently, or will in the future. - case "${UNAME_MACHINE_ARCH}" in - arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval $set_cc_for_build - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi - ;; - *) - os=netbsd - ;; - esac - # The OS release - # Debian GNU/NetBSD machines have a different userland, and - # thus, need a distinct triplet. However, they do not need - # kernel version information, so it can be replaced with a - # suitable tag, in the style of linux-gnu. - case "${UNAME_VERSION}" in - Debian*) - release='-gnu' - ;; - *) - release=`echo ${UNAME_RELEASE}|sed -e 's/-_.*/\./'` - ;; - esac - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: - # contains redundant information, the shorter form: - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" - exit ;; - *:OpenBSD:*:*) - UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` - echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} - exit ;; - *:ekkoBSD:*:*) - echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} - exit ;; - *:SolidBSD:*:*) - echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} - exit ;; - macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd${UNAME_RELEASE} - exit ;; - *:MirBSD:*:*) - echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} - exit ;; - alpha:OSF1:*:*) - case $UNAME_RELEASE in - *4.0) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - ;; - *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` - ;; - esac - # According to Compaq, /usr/sbin/psrinfo has been available on - # OSF/1 and Tru64 systems produced since 1995. I hope that - # covers most systems running today. This code pipes the CPU - # types through head -n 1, so we only detect the type of CPU 0. - ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` - case "$ALPHA_CPU_TYPE" in - "EV4 (21064)") - UNAME_MACHINE="alpha" ;; - "EV4.5 (21064)") - UNAME_MACHINE="alpha" ;; - "LCA4 (21066/21068)") - UNAME_MACHINE="alpha" ;; - "EV5 (21164)") - UNAME_MACHINE="alphaev5" ;; - "EV5.6 (21164A)") - UNAME_MACHINE="alphaev56" ;; - "EV5.6 (21164PC)") - UNAME_MACHINE="alphapca56" ;; - "EV5.7 (21164PC)") - UNAME_MACHINE="alphapca57" ;; - "EV6 (21264)") - UNAME_MACHINE="alphaev6" ;; - "EV6.7 (21264A)") - UNAME_MACHINE="alphaev67" ;; - "EV6.8CB (21264C)") - UNAME_MACHINE="alphaev68" ;; - "EV6.8AL (21264B)") - UNAME_MACHINE="alphaev68" ;; - "EV6.8CX (21264D)") - UNAME_MACHINE="alphaev68" ;; - "EV6.9A (21264/EV69A)") - UNAME_MACHINE="alphaev69" ;; - "EV7 (21364)") - UNAME_MACHINE="alphaev7" ;; - "EV7.9 (21364A)") - UNAME_MACHINE="alphaev79" ;; - esac - # A Pn.n version is a patched version. - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^PVTX//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit ;; - *:AamigaOoSs:*:*) - echo ${UNAME_MACHINE}-unknown-amigaos - exit ;; - *:MmorphOoSs:*:*) - echo ${UNAME_MACHINE}-unknown-morphos - exit ;; - *:OS/390:*:*) - echo i370-ibm-openedition - exit ;; - *:z/VM:*:*) - echo s390-ibm-zvmoe - exit ;; - *:OS400:*:*) - echo powerpc-ibm-os400 - exit ;; - arm:RISC*:1.012*:*|arm:riscix:1.012*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit ;; - arm:riscos:*:*|arm:RISCOS:*:*) - echo arm-unknown-riscos - exit ;; - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit ;; - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit ;; - NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit ;; - DRS?6000:unix:4.0:6*) - echo sparc-icl-nx6 - exit ;; - DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) - case `/usr/bin/uname -p` in - sparc) echo sparc-icl-nx7; exit ;; - esac ;; - sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/^.*//'` - exit ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/^.*//'` - exit ;; - i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/^.*//'` - exit ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/^.*//'` - exit ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos${UNAME_RELEASE} - ;; - sun4) - echo sparc-sun-sunos${UNAME_RELEASE} - ;; - esac - exit ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit ;; - # The situation for MiNT is a little confusing. The machine name - # can be virtually everything (everything which is not - # "atarist" or "atariste" at least should have a processor - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" - # to the lowercase version "mint" (or "freemint"). Finally - # the system name "TOS" denotes a system which is actually not - # MiNT. But MiNT is downward compatible to TOS, so this should - # be no problem. - atariste:*MiNT:*:* | atariste:*mint:*:* | atariste:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - atari*:*MiNT:*:* | atari*:*mint:*:* | atariste:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit ;; - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit ;; - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit ;; - m68k:machten:*:*) - echo m68k-apple-machten${UNAME_RELEASE} - exit ;; - powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit ;; - 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c -#ifdef __cplusplus -#include <stdio.h> /* for printf() prototype */ - int main (int argc, char *argv) { -#else - int main (argc, argv) int argc; char *argv; { -#endif - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv1); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv1); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv1); exit (0); - #endif - #endif - exit (-1); - } -EOF - $CC_FOR_BUILD -o $dummy $dummy.c && - dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\(0-9*\).*/\1/p'` && - SYSTEM_NAME=`$dummy $dummyarg` && - { echo "$SYSTEM_NAME"; exit; } - echo mips-mips-riscos${UNAME_RELEASE} - exit ;; - Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit ;; - Motorola:*:4.3:PL8-*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if $UNAME_PROCESSOR = mc88100 || $UNAME_PROCESSOR = mc88110 - then - if ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx || \ - ${TARGET_BINARY_INTERFACE}x = x - then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else - echo i586-dg-dgux${UNAME_RELEASE} - fi - exit ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit ;; - Tek430-90-9:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit ;; - ????????:AIX?:12.1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i*86:AIX:*:*) - echo i386-ibm-aix - exit ;; - ia64:AIX:*:*) - if -x /usr/bin/oslevel ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} - exit ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include <sys/systemcfg.h> - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` - then - echo "$SYSTEM_NAME" - else - echo rs6000-ibm-aix3.2.5 - fi - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit ;; - *:AIX:*:456) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if -x /usr/bin/oslevel ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit ;; - 9000/34??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit ;; - hp300:4.4BSD:*:* | 9000/34??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit ;; - 9000/34678??:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/^.*.0B*//'` - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/34?? ) HP_ARCH=m68k ;; - 9000/6780-90-9) - if -x /usr/bin/getconf ; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac - fi - if "${HP_ARCH}" = "" ; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - - #define _HPUX_SOURCE - #include <stdlib.h> - #include <unistd.h> - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } -EOF - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` - test -z "$HP_ARCH" && HP_ARCH=hppa - fi ;; - esac - if ${HP_ARCH} = "hppa2.0w" - then - eval $set_cc_for_build - - # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating - # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler - # generating 64-bit code. GNU and HP use different nomenclature: - # - # $ CC_FOR_BUILD=cc ./config.guess - # => hppa2.0w-hp-hpux11.23 - # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess - # => hppa64-hp-hpux11.23 - - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | - grep __LP64__ >/dev/null - then - HP_ARCH="hppa2.0w" - else - HP_ARCH="hppa64" - fi - fi - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit ;; - ia64:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/^.*.0B*//'` - echo ia64-hp-hpux${HPUX_REV} - exit ;; - 3050*:HI-UX:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include <unistd.h> - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && - { echo "$SYSTEM_NAME"; exit; } - echo unknown-hitachi-hiuxwe2 - exit ;; - 9000/7??:4.3bsd:*:* | 9000/8?79:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit ;; - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit ;; - hp7??:OSF1:*:* | hp8?79:OSF1:*:* ) - echo hppa1.1-hp-osf - exit ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit ;; - i*86:OSF1:*:*) - if -x /usr/sbin/sysversion ; then - echo ${UNAME_MACHINE}-unknown-osf1mk - else - echo ${UNAME_MACHINE}-unknown-osf1 - fi - exit ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.^.*$/.X/' - exit ;; - CRAY*A-Z90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ - | sed -e 's/CRAY.*\(A-Z90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ - -e 's/\.^.*$/.X/' - exit ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.^.*$/.X/' - exit ;; - CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.^.*$/.X/' - exit ;; - CRAY*SV1:*:*:*) - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.^.*$/.X/' - exit ;; - *:UNICOS/mp:*:*) - echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.^.*$/.X/' - exit ;; - F3001:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit ;; - sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi${UNAME_RELEASE} - exit ;; - *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit ;; - *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/-(.*//'` ;; - amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/-(.*//'` ;; - *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/-(.*//'` ;; - esac - exit ;; - i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit ;; - *:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit ;; - i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 - exit ;; - i*:PW*:*) - echo ${UNAME_MACHINE}-pc-pw32 - exit ;; - *:Interix*:3456*) - case ${UNAME_MACHINE} in - x86) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T | authenticamd) - echo x86_64-unknown-interix${UNAME_RELEASE} - exit ;; - IA64) - echo ia64-unknown-interix${UNAME_RELEASE} - exit ;; - esac ;; - 34586:Windows_95:* | 34586:Windows_98:* | 34586:Windows_NT:*) - echo i${UNAME_MACHINE}-pc-mks - exit ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i586-pc-interix - exit ;; - i*:UWIN*:*) - echo ${UNAME_MACHINE}-pc-uwin - exit ;; - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) - echo x86_64-unknown-cygwin - exit ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/^.*//'` - exit ;; - *:GNU:*:*) - # the GNU system - echo `echo ${UNAME_MACHINE}|sed -e 's,-/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit ;; - *:GNU/*:*:*) - # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^^/*/,,' | tr 'A-Z' 'a-z'``echo ${UNAME_RELEASE}|sed -e 's/-(.*//'`-gnu - exit ;; - i*86:Minix:*:*) - echo ${UNAME_MACHINE}-pc-minix - exit ;; - arm*:Linux:*:*) - eval $set_cc_for_build - if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep -q __ARM_EABI__ - then - echo ${UNAME_MACHINE}-unknown-linux-gnu - else - echo ${UNAME_MACHINE}-unknown-linux-gnueabi - fi - exit ;; - avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - cris:Linux:*:*) - echo cris-axis-linux-gnu - exit ;; - crisv32:Linux:*:*) - echo crisv32-axis-linux-gnu - exit ;; - frv:Linux:*:*) - echo frv-unknown-linux-gnu - exit ;; - ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - mips:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips - #undef mipsel - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - mips64:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips64 - #undef mips64el - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mips64el - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips64 - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - or32:Linux:*:*) - echo or32-unknown-linux-gnu - exit ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - exit ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit ;; - parisc:Linux:*:* | hppa:Linux:*:*) - # Look for CPU level - case `grep '^cpu^a-z*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; - esac - exit ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu - exit ;; - s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux - exit ;; - sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu - exit ;; - x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu - exit ;; - xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/ */ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include <features.h> - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^LIBC/{ - s: ::g - p - }'`" - test x"${LIBC}" != x && { - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" - exit - } - test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } - ;; - i*86:DYNIX/ptx:4*:*) - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. - # earlier versions are messed up and put the nodename in both - # sysname and nodename. - echo i386-sequent-sysv4 - exit ;; - i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit ;; - i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit ;; - i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit ;; - i*86:syllable:*:*) - echo ${UNAME_MACHINE}-pc-syllable - exit ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.01*:* | i*86:LynxOS:4.0*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit ;; - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} - fi - exit ;; - i*86:*:5:678*) - # UnixWare 7.x, OpenUNIX and OpenServer 6. - case `/bin/uname -X | grep "^Machine"` in - *486*) UNAME_MACHINE=i486 ;; - *Pentium) UNAME_MACHINE=i586 ;; - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; - esac - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} - exit ;; - i*86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` - echo ${UNAME_MACHINE}-pc-isc$UNAME_REL - elif /bin/uname -X 2>/dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` - (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ - && UNAME_MACHINE=i686 - (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ - && UNAME_MACHINE=i686 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-pc-sysv32 - fi - exit ;; - pc:*:*:*) - # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit ;; - mc68k:UNIX:SYSTEM5:3.51m) - echo m68k-convergent-sysv - exit ;; - M680?0:D-NIX:5.3:*) - echo m68k-diab-dnix - exit ;; - M68*:*:R3V5678*:*) - test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; - 3345??:*:4.0:3.0 | 334??A:*:4.0:3.0 | 334??,*:*:4.0:3.0 | 334??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/^ * ^ * \(0-90-9\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; - 334??:*:4.0:* | 334??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4; exit; } ;; - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit ;; - rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.01*:* | PowerPC:LynxOS:4.0*:*) - echo powerpc-unknown-lynxos${UNAME_RELEASE} - exit ;; - SMBES:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit ;; - RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says <Richard.M.Bartel@ccMail.Census.GOV> - echo i586-unisys-sysv4 - exit ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes <hewes@openmarket.com>. - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit ;; - i*86:VOS:*:*) - # From Paul.Green@stratus.com. - echo ${UNAME_MACHINE}-stratus-vos - exit ;; - *:VOS:*:*) - # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit ;; - news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit ;; - R34000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if -d /usr/nec ; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit ;; - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit ;; - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit ;; - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit ;; - SX-5:SUPER-UX:*:*) - echo sx5-nec-superux${UNAME_RELEASE} - exit ;; - SX-6:SUPER-UX:*:*) - echo sx6-nec-superux${UNAME_RELEASE} - exit ;; - SX-7:SUPER-UX:*:*) - echo sx7-nec-superux${UNAME_RELEASE} - exit ;; - SX-8:SUPER-UX:*:*) - echo sx8-nec-superux${UNAME_RELEASE} - exit ;; - SX-8R:SUPER-UX:*:*) - echo sx8r-nec-superux${UNAME_RELEASE} - exit ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit ;; - *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit ;; - *:Darwin:*:*) - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - case $UNAME_PROCESSOR in - unknown) UNAME_PROCESSOR=powerpc ;; - esac - echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} - exit ;; - *:procnto*:*:* | *:QNX:0123456789*:*) - UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then - UNAME_PROCESSOR=i386 - UNAME_MACHINE=pc - fi - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} - exit ;; - *:QNX:*:4*) - echo i386-pc-qnx - exit ;; - NSE-?:NONSTOP_KERNEL:*:*) - echo nse-tandem-nsk${UNAME_RELEASE} - exit ;; - NSR-?:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk${UNAME_RELEASE} - exit ;; - *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit ;; - BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit ;; - DS/*:UNIX_System_V:*:*) - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit ;; - *:Plan9:*:*) - # "uname -m" is not consistent, so use $cputype instead. 386 - # is converted to i386 for consistency with other x86 - # operating systems. - if test "$cputype" = "386"; then - UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" - fi - echo ${UNAME_MACHINE}-unknown-plan9 - exit ;; - *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit ;; - *:TENEX:*:*) - echo pdp10-unknown-tenex - exit ;; - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit ;; - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit ;; - *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit ;; - *:ITS:*:*) - echo pdp10-unknown-its - exit ;; - SEI:*:*:SEIUX) - echo mips-sei-seiux${UNAME_RELEASE} - exit ;; - *:DragonFly:*:*) - echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/-(.*//'` - exit ;; - *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` - case "${UNAME_MACHINE}" in - A*) echo alpha-dec-vms ; exit ;; - I*) echo ia64-dec-vms ; exit ;; - V*) echo vax-dec-vms ; exit ;; - esac ;; - *:XENIX:*:SysV) - echo i386-pc-xenix - exit ;; - i*86:skyos:*:*) - echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' - exit ;; - i*86:rdos:*:*) - echo ${UNAME_MACHINE}-pc-rdos - exit ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -eval $set_cc_for_build -cat >$dummy.c <<EOF -#ifdef _SEQUENT_ -# include <sys/types.h> -# include <sys/utsname.h> -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include <sys/param.h> - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix\n"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \(0-9*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -# if !defined (ultrix) -# include <sys/param.h> -# if defined (BSD) -# if BSD == 43 - printf ("vax-dec-bsd4.3\n"); exit (0); -# else -# if BSD == 199006 - printf ("vax-dec-bsd4.3reno\n"); exit (0); -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# endif -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# else - printf ("vax-dec-ultrix\n"); exit (0); -# endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && - { echo "$SYSTEM_NAME"; exit; } - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } - -# Convex versions that predate uname can use getsysinfo(1) - -if -x /usr/convex/getsysinfo -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - c34*) - echo c34-convex-bsd - exit ;; - c38*) - echo c38-convex-bsd - exit ;; - c4*) - echo c4-convex-bsd - exit ;; - esac -fi - -cat >&2 <<EOF -$0: unable to guess system type - -This script, last modified $timestamp, has failed to recognize -the operating system you are using. It is advised that you -download the most up to date version of the config scripts from - - http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD -and - http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD - -If the version you run ($0) is already up to date, please -send the following data and any information you think might be -pertinent to <config-patches@gnu.org> in order to provide the needed -information to handle your system. - -config.guess timestamp = $timestamp - -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` - -hostinfo = `(hostinfo) 2>/dev/null` -/bin/universe = `(/bin/universe) 2>/dev/null` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` -/bin/arch = `(/bin/arch) 2>/dev/null` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` - -UNAME_MACHINE = ${UNAME_MACHINE} -UNAME_RELEASE = ${UNAME_RELEASE} -UNAME_SYSTEM = ${UNAME_SYSTEM} -UNAME_VERSION = ${UNAME_VERSION} -EOF - -exit 1 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End:
View file
oggvideotools-0.8.tar.bz2/admin/config.sub
Deleted
@@ -1,1658 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 -# Free Software Foundation, Inc. - -timestamp='2008-01-16' - -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Please send patches to <config-patches@gnu.org>. Submit a context -# diff and a properly formatted ChangeLog entry. -# -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 OPTION CPU-MFR-OPSYS - $0 OPTION ALIAS - -Canonicalize a configuration name. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to <config-patches@gnu.org>." - -version="\ -GNU config.sub ($timestamp) - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit ;; - --version | -v ) - echo "$version" ; exit ;; - --help | --h* | -h ) - echo "$usage"; exit ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" - exit 1 ;; - - *local*) - # First pass through any local machine types. - echo $1 - exit ;; - - * ) - break ;; - esac -done - -case $# in - 0) echo "$me: missing argument$help" >&2 - exit 1;; - 1) ;; - *) echo "$me: too many arguments$help" >&2 - exit 1;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\(^-*-^-*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ - storm-chaos* | os2-emx* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\(^-*-^-*\)$/\1/'` - ;; - *) - basic_machine=`echo $1 | sed 's/-^-*$//'` - if $basic_machine != $1 - then os=`echo $1 | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun234* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c123* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray) - os= - basic_machine=$1 - ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 - ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco6) - os=-sco5v6 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.4-9*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v4-9*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco5v6*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; - -psos*) - os=-psos - ;; - -mint | -mint0-9*) - basic_machine=m68k-atari - os=-mint - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | alpha | alphaev4-8 | alphaev56 | alphaev678 | alphapca567 \ - | alpha64 | alpha64ev4-8 | alpha64ev56 | alpha64ev678 | alpha64pca567 \ - | am33_2.0 \ - | arc | arm | armble | armelb | armv2345 | armv345lb | avr | avr32 \ - | bfin \ - | c4x | clipper \ - | d10v | d30v | dlx | dsp16xx \ - | fido | fr30 | frv \ - | h8300 | h8500 | hppa | hppa1.01 | hppa2.0 | hppa2.0nw | hppa64 \ - | i370 | i860 | i960 | ia64 \ - | ip2k | iq2000 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore | mep \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64el \ - | mips64vr | mips64vrel \ - | mips64orion | mips64orionel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mips64vr5900 | mips64vr5900el \ - | mipsisa32 | mipsisa32el \ - | mipsisa32r2 | mipsisa32r2el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipsisa64sr71k | mipsisa64sr71kel \ - | mipstx39 | mipstx39el \ - | mn10200 | mn10300 \ - | mt \ - | msp430 \ - | nios | nios2 \ - | ns16k | ns32k \ - | or32 \ - | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ - | pyramid \ - | score \ - | sh | sh1234 | sh24a | sh23e | sh34eb | sheb | shbe | shle | sh1234le | sh3ele \ - | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ - | tahoe | thumb | tic4x | tic80 | tron \ - | v850 | v850e \ - | we32k \ - | x86 | xc16x | xscale | xscaleebl | xstormy16 | xtensa \ - | z8k) - basic_machine=$basic_machine-unknown - ;; - m6811 | m68hc11 | m6812 | m68hc12) - # Motorola 68HC11/12. - basic_machine=$basic_machine-unknown - os=-none - ;; - m88110 | m680123460 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) - ;; - ms1) - basic_machine=mt-unknown - ;; - - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i*86 | x86_64) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | alpha-* | alphaev4-8-* | alphaev56-* | alphaev678-* \ - | alpha64-* | alpha64ev4-8-* | alpha64ev56-* | alpha64ev678-* \ - | alphapca567-* | alpha64pca567-* | arc-* \ - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ - | bfin-* | bs2000-* \ - | c123* | c30-* | cjt90-* | c4x-* | c54x-* | c55x-* | c6x-* \ - | clipper-* | craynv-* | cydra-* \ - | d10v-* | d30v-* | dlx-* \ - | elxsi-* \ - | f3001-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.01-* | hppa2.0-* | hppa2.0nw-* | hppa64-* \ - | i*86-* | i860-* | i960-* | ia64-* \ - | ip2k-* | iq2000-* \ - | m32c-* | m32r-* | m32rle-* \ - | m68000-* | m6800123460-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* \ - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mips16-* \ - | mips64-* | mips64el-* \ - | mips64vr-* | mips64vrel-* \ - | mips64orion-* | mips64orionel-* \ - | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* \ - | mips64vr5000-* | mips64vr5000el-* \ - | mips64vr5900-* | mips64vr5900el-* \ - | mipsisa32-* | mipsisa32el-* \ - | mipsisa32r2-* | mipsisa32r2el-* \ - | mipsisa64-* | mipsisa64el-* \ - | mipsisa64r2-* | mipsisa64r2el-* \ - | mipsisa64sb1-* | mipsisa64sb1el-* \ - | mipsisa64sr71k-* | mipsisa64sr71kel-* \ - | mipstx39-* | mipstx39el-* \ - | mmix-* \ - | mt-* \ - | msp430-* \ - | nios-* | nios2-* \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ - | pyramid-* \ - | romp-* | rs6000-* \ - | sh-* | sh1234-* | sh24a-* | sh23e-* | sh34eb-* | sheb-* | shbe-* \ - | shle-* | sh1234le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ - | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ - | tron-* \ - | v850-* | v850e-* | vax-* \ - | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscaleebl-* \ - | xstormy16-* | xtensa*-* \ - | ymp-* \ - | z8k-*) - ;; - # Recognize the basic CPU types without company name, with glob match. - xtensa*) - basic_machine=$basic_machine-unknown - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-unknown - os=-bsd - ;; - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - abacus) - basic_machine=abacus-unknown - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amd64) - basic_machine=x86_64-pc - ;; - amd64-*) - basic_machine=x86_64-`echo $basic_machine | sed 's/^^-*-//'` - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - blackfin) - basic_machine=bfin-unknown - os=-linux - ;; - blackfin-*) - basic_machine=bfin-`echo $basic_machine | sed 's/^^-*-//'` - os=-linux - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - craynv) - basic_machine=craynv-cray - os=-unicosmp - ;; - cr16) - basic_machine=cr16-unknown - os=-elf - ;; - crds | unos) - basic_machine=m68k-crds - ;; - crisv32 | crisv32-* | etraxfs*) - basic_machine=crisv32-axis - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - crx) - basic_machine=crx-unknown - os=-elf - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 - ;; - decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - djgpp) - basic_machine=i586-pc - os=-msdosdjgpp - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2* | dpx2*-bull) - basic_machine=m68k-bull - os=-sysv3 - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp3k90-90-9 | hp90-90-9) - basic_machine=hppa1.0-hp - ;; - hp9k20-90-9 | hp9k310-9) - basic_machine=m68000-hp - ;; - hp9k32-90-9) - basic_machine=m68k-hp - ;; - hp9k60-90-9 | hp60-90-9) - basic_machine=hppa1.0-hp - ;; - hp9k70-790-9 | hp70-790-9) - basic_machine=hppa1.1-hp - ;; - hp9k780-9 | hp780-9) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8671 | hp8671 | hp9k8024 | hp8024 | hp9k8789 | hp8789 | hp9k893 | hp893) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k80-913679 | hp80-913679) - basic_machine=hppa1.1-hp - ;; - hp9k80-90-9 | hp80-90-9) - basic_machine=hppa1.0-hp - ;; - hppa-next) - os=-nextstep3 - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i*86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i*86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i*86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i*86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - i386-vsta | vsta) - basic_machine=i386-unknown - os=-vsta - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - m68knommu) - basic_machine=m68k-unknown - os=-linux - ;; - m68knommu-*) - basic_machine=m68k-`echo $basic_machine | sed 's/^^-*-//'` - os=-linux - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - mingw32) - basic_machine=i386-pc - os=-mingw32 - ;; - mingw32ce) - basic_machine=arm-unknown - os=-mingw32ce - ;; - miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint0-9* | *MiNT | *MiNT0-9*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - ms1-*) - basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv - ;; - next | m*-next ) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh45000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; - np1) - basic_machine=np1-gould - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - openrisc | openrisc-*) - basic_machine=or32-unknown - ;; - os400) - basic_machine=powerpc-ibm - os=-os400 - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - parisc) - basic_machine=hppa-unknown - os=-linux - ;; - parisc-*) - basic_machine=hppa-`echo $basic_machine | sed 's/^^-*-//'` - os=-linux - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pc98) - basic_machine=i386-pc - ;; - pc98-*) - basic_machine=i386-`echo $basic_machine | sed 's/^^-*-//'` - ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc - ;; - pentiumpro | p6 | 6x86 | athlon | athlon_*) - basic_machine=i686-pc - ;; - pentiumii | pentium2 | pentiumiii | pentium3) - basic_machine=i686-pc - ;; - pentium4) - basic_machine=i786-pc - ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo $basic_machine | sed 's/^^-*-//'` - ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo $basic_machine | sed 's/^^-*-//'` - ;; - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) - basic_machine=i686-`echo $basic_machine | sed 's/^^-*-//'` - ;; - pentium4-*) - basic_machine=i786-`echo $basic_machine | sed 's/^^-*-//'` - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=power-ibm - ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^^-*-//'` - ;; - ppcle | powerpclittle | ppc-le | powerpc-little) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^^-*-//'` - ;; - ppc64) basic_machine=powerpc64-unknown - ;; - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^^-*-//'` - ;; - ppc64le | powerpc64little | ppc64-le | powerpc64-little) - basic_machine=powerpc64le-unknown - ;; - ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^^-*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - pw32) - basic_machine=i586-unknown - os=-pw32 - ;; - rdos) - basic_machine=i386-pc - os=-rdos - ;; - rom68k) - basic_machine=m68k-rom68k - os=-coff - ;; - rm4600) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - s390 | s390-*) - basic_machine=s390-ibm - ;; - s390x | s390x-*) - basic_machine=s390x-ibm - ;; - sa29200) - basic_machine=a29k-amd - os=-udi - ;; - sb1) - basic_machine=mipsisa64sb1-unknown - ;; - sb1el) - basic_machine=mipsisa64sb1el-unknown - ;; - sde) - basic_machine=mipsisa32-sde - os=-elf - ;; - sei) - basic_machine=mips-sei - os=-seiux - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sh5el) - basic_machine=sh5le-unknown - ;; - sh64) - basic_machine=sh64-unknown - ;; - sparclite-wrs | simso-wrs) - basic_machine=sparclite-wrs - os=-vxworks - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - st2000) - basic_machine=m68k-tandem - ;; - stratus) - basic_machine=i860-stratus - os=-sysv4 - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - sv1) - basic_machine=sv1-cray - os=-unicos - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - t3e) - basic_machine=alphaev5-cray - os=-unicos - ;; - t90) - basic_machine=t90-cray - os=-unicos - ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tic55x | c55x*) - basic_machine=tic55x-unknown - os=-coff - ;; - tic6x | c6x*) - basic_machine=tic6x-unknown - os=-coff - ;; - tile*) - basic_machine=tile-unknown - os=-linux-gnu - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - toad1) - basic_machine=pdp10-xkl - os=-tops20 - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - tpf) - basic_machine=s390x-ibm - os=-tpf - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - v810 | necv810) - basic_machine=v810-nec - os=-none - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - w65*) - basic_machine=w65-wdc - os=-none - ;; - w89k-*) - basic_machine=hppa1.1-winbond - os=-proelf - ;; - xbox) - basic_machine=i686-pc - os=-mingw32 - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - ymp) - basic_machine=ymp-cray - os=-unicos - ;; - z8k-*-coff) - basic_machine=z8k-unknown - os=-sim - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - w89k) - basic_machine=hppa1.1-winbond - ;; - op50n) - basic_machine=hppa1.1-oki - ;; - op60c) - basic_machine=hppa1.1-oki - ;; - romp) - basic_machine=romp-ibm - ;; - mmix) - basic_machine=mmix-knuth - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp10) - # there are many clones, so DEC is not a safe bet - basic_machine=pdp10-unknown - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sh1234 | sh24a | sh34eb | sh1234le | sh23ele) - basic_machine=sh-unknown - ;; - sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) - basic_machine=sparc-sun - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - mac | mpw | mac-mpw) - basic_machine=m68k-apple - ;; - pmac | pmac-mpw) - basic_machine=powerpc-apple - ;; - *-unknown) - # Make sure to match an already-canonicalized machine name. - ;; - *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if x"$os" != x"" -then -case $os in - # First match some system type aliases - # that might get confused with valid system types. - # -solaris* is a basic system type, with this one exception. - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -svr4*) - os=-sysv4 - ;; - -unixware*) - os=-sysv4.2uw - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - # First accept the basic system types. - # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos34*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -openbsd* | -solidbsd* \ - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ - | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -qnx*) - case $basic_machine in - x86-* | i*86-*) - ;; - *) - os=-nto$os - ;; - esac - ;; - -nto-qnx*) - ;; - -nto*) - os=`echo $os | sed -e 's|nto|nto-qnx|'` - ;; - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) - ;; - -mac*) - os=`echo $os | sed -e 's|mac|macos|'` - ;; - -linux-dietlibc) - os=-linux-dietlibc - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` - ;; - -opened*) - os=-openedition - ;; - -os400*) - os=-os400 - ;; - -wince*) - os=-wince - ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -atheos*) - os=-atheos - ;; - -syllable*) - os=-syllable - ;; - -386bsd) - os=-bsd - ;; - -ctix* | -uts*) - os=-sysv - ;; - -nova*) - os=-rtmk-nova - ;; - -ns2 ) - os=-nextstep2 - ;; - -nsk*) - os=-nsk - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -tpf*) - os=-tpf - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4) - os=-sysv4 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -ose*) - os=-ose - ;; - -es1800*) - os=-ose - ;; - -xenix) - os=-xenix - ;; - -*mint | -mint0-9* | -*MiNT | -MiNT0-9*) - os=-mint - ;; - -aros*) - os=-aros - ;; - -kaos*) - os=-kaos - ;; - -zvmoe) - os=-zvmoe - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/^-*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - score-*) - os=-elf - ;; - spu-*) - os=-elf - ;; - *-acorn) - os=-riscix1.2 - ;; - arm*-rebel) - os=-linux - ;; - arm*-semi) - os=-aout - ;; - c4x-* | tic4x-*) - os=-coff - ;; - # This must come before the *-dec entry. - pdp10-*) - os=-tops20 - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 - ;; - m68*-cisco) - os=-aout - ;; - mep-*) - os=-elf - ;; - mips*-cisco) - os=-elf - ;; - mips*-*) - os=-elf - ;; - or32-*) - os=-coff - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - *-be) - os=-beos - ;; - *-haiku) - os=-haiku - ;; - *-ibm) - os=-aix - ;; - *-knuth) - os=-mmixware - ;; - *-wec) - os=-proelf - ;; - *-winbond) - os=-proelf - ;; - *-oki) - os=-proelf - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigaos - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next ) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-next) - os=-nextstep3 - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f3001-fujitsu | f700-fujitsu) - os=-uxpv - ;; - *-rom68k) - os=-coff - ;; - *-*bug) - os=-coff - ;; - *-apple) - os=-macos - ;; - *-atari*) - os=-mint - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -aix*) - vendor=ibm - ;; - -beos*) - vendor=be - ;; - -hpux*) - vendor=hp - ;; - -mpeix*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs* | -opened*) - vendor=ibm - ;; - -os400*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -tpf*) - vendor=ibm - ;; - -vxsim* | -vxworks* | -windiss*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - -hms*) - vendor=hitachi - ;; - -mpw* | -macos*) - vendor=apple - ;; - -*mint | -mint0-9* | -*MiNT | -MiNT0-9*) - vendor=atari - ;; - -vos*) - vendor=stratus - ;; - esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` - ;; -esac - -echo $basic_machine$os -exit - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End:
View file
oggvideotools-0.8.tar.bz2/admin/depcomp
Deleted
@@ -1,630 +0,0 @@ -#! /bin/sh -# depcomp - compile a program generating dependencies as side-effects - -scriptversion=2009-04-28.21; # UTC - -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free -# Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program 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 General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. - -case $1 in - '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: depcomp --help --version PROGRAM ARGS - -Run PROGRAMS ARGS to compile a file, generating dependencies -as side-effects. - -Environment variables: - depmode Dependency tracking mode. - source Source file read by `PROGRAMS ARGS'. - object Object file output by `PROGRAMS ARGS'. - DEPDIR directory where to store dependencies. - depfile Dependency file to output. - tmpdepfile Temporary file to use when outputing dependencies. - libtool Whether libtool is used (yes/no). - -Report bugs to <bug-automake@gnu.org>. -EOF - exit $? - ;; - -v | --v*) - echo "depcomp $scriptversion" - exit $? - ;; -esac - -if test -z "$depmode" || test -z "$source" || test -z "$object"; then - echo "depcomp: Variables source, object and depmode must be set" 1>&2 - exit 1 -fi - -# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. -depfile=${depfile-`echo "$object" | - sed 's|^\\/*$|'${DEPDIR-.deps}'/&|;s|\.\(^.*\)$|.P\1|;s|Pobj$|Po|'`} -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\(^.*\)$/.T\1/'`} - -rm -f "$tmpdepfile" - -# Some modes work just like other modes, but use different flags. We -# parameterize here, but still list the modes in the big case below, -# to make depend.m4 easier to write. Note that we *cannot* use a case -# here, because this file can only contain one case statement. -if test "$depmode" = hp; then - # HP compiler uses -M and no extra arg. - gccflag=-M - depmode=gcc -fi - -if test "$depmode" = dashXmstdout; then - # This is just like dashmstdout with a different argument. - dashmflag=-xM - depmode=dashmstdout -fi - -cygpath_u="cygpath -u -f -" -if test "$depmode" = msvcmsys; then - # This is just like msvisualcpp but w/o cygpath translation. - # Just convert the backslash-escaped backslashes to single forward - # slashes to satisfy depend.m4 - cygpath_u="sed s,\\\\\\\\,/,g" - depmode=msvisualcpp -fi - -case "$depmode" in -gcc3) -## gcc 3 implements dependency tracking that does exactly what -## we want. Yay! Note: for some reason libtool 1.4 doesn't like -## it if -MD -MP comes after the -MF stuff. Hmm. -## Unfortunately, FreeBSD c89 acceptance of flags depends upon -## the command line argument order; so add the flags where they -## appear in depend2.am. Note that the slowdown incurred here -## affects only configure: in makefiles, %FASTDEP% shortcuts this. - for arg - do - case $arg in - -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; - *) set fnord "$@" "$arg" ;; - esac - shift # fnord - shift # $arg - done - "$@" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - mv "$tmpdepfile" "$depfile" - ;; - -gcc) -## There are various ways to get dependency output from gcc. Here's -## why we pick this rather obscure method: -## - Don't want to use -MD because we'd like the dependencies to end -## up in a subdir. Having to rename by hand is ugly. -## (We might end up doing this anyway to support other compilers.) -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like -## -MM, not -M (despite what the docs say). -## - Using -M directly means running the compiler twice (even worse -## than renaming). - if test -z "$gccflag"; then - gccflag=-MD, - fi - "$@" -Wp,"$gccflag$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - echo "$object : \\" > "$depfile" - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -## The second -e expression handles DOS-style file names with drive letters. - sed -e 's/^^:*: / /' \ - -e 's/^'$alpha':\/^:*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the `deleted header file' problem. -## The problem is that when a header file which appears in a .P file -## is deleted, the dependency causes make to die (because there is -## typically no way to rebuild the header). We avoid this by adding -## dummy dependencies for each header file. Too bad gcc doesn't do -## this for us directly. - tr ' ' ' -' < "$tmpdepfile" | -## Some versions of gcc put a space before the `:'. On the theory -## that the space means something, we add a space to the output as -## well. -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -sgi) - if test "$libtool" = yes; then - "$@" "-Wp,-MDupdate,$tmpdepfile" - else - "$@" -MDupdate "$tmpdepfile" - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files - echo "$object : \\" > "$depfile" - - # Clip off the initial element (the dependent). Don't try to be - # clever and replace this with sed code, as IRIX sed won't handle - # lines with more than a fixed number of characters (4096 in - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like `#:fec' to the end of the - # dependency line. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ - tr ' -' ' ' >> "$depfile" - echo >> "$depfile" - - # The second pass generates a dummy entry for each header file. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -aix) - # The C for AIX Compiler uses -M and outputs the dependencies - # in a .u file. In older versions, this file always lives in the - # current directory. Also, the AIX compiler puts `$object:' at the - # start of each line; $object doesn't have directory information. - # Version 6 uses the directory in both cases. - dir=`echo "$object" | sed -e 's|/^/*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.u - tmpdepfile2=$base.u - tmpdepfile3=$dir.libs/$base.u - "$@" -Wc,-M - else - tmpdepfile1=$dir$base.u - tmpdepfile2=$dir$base.u - tmpdepfile3=$dir$base.u - "$@" -M - fi - stat=$? - - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - # Each line is of the form `foo.o: dependent.h'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed -e "s,^.*\.a-z*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the . - sed -e 's,^.*\.a-z*: *,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -icc) - # Intel's C compiler understands `-MD -MF file'. However on - # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c - # ICC 7.0 will fill foo.d with something like - # foo.o: sub/foo.c - # foo.o: sub/foo.h - # which is wrong. We want: - # sub/foo.o: sub/foo.c - # sub/foo.o: sub/foo.h - # sub/foo.c: - # sub/foo.h: - # ICC 7.1 will output - # foo.o: sub/foo.c sub/foo.h - # and will wrap long lines using \ : - # foo.o: sub/foo.c ... \ - # sub/foo.h ... \ - # ... - - "$@" -MD -MF "$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - # Each line is of the form `foo.o: dependent.h', - # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed "s,^^:*:,$object :," < "$tmpdepfile" > "$depfile" - # Some versions of the HPUX 10.20 sed can't process this invocation - # correctly. Breaking it into two sed invocations is a workaround. - sed 's,^^:*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | - sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp2) - # The "hp" stanza above does not work with aCC (C++) and HP's ia64 - # compilers, which have integrated preprocessors. The correct option - # to use with these is +Maked; it writes dependencies to a file named - # 'foo.d', which lands next to the object file, wherever that - # happens to be. - # Much of this is similar to the tru64 case; see comments there. - dir=`echo "$object" | sed -e 's|/^/*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir.libs/$base.d - "$@" -Wc,+Maked - else - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir$base.d - "$@" +Maked - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.a-z*:,$object:," "$tmpdepfile" > "$depfile" - # Add `dependent.h:' lines. - sed -ne '2,${ - s/^ *// - s/ \\*$// - s/$/:/ - p - }' "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" "$tmpdepfile2" - ;; - -tru64) - # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in `foo.d' instead, so we check for that too. - # Subdirectories are respected. - dir=`echo "$object" | sed -e 's|/^/*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - - if test "$libtool" = yes; then - # With Tru64 cc, shared objects can also be used to make a - # static library. This mechanism is used in libtool 1.4 series to - # handle both shared and static libraries in a single compilation. - # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. - # - # With libtool 1.5 this exception was removed, and libtool now - # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in $dir.libs/$base.o.d and - # in $dir$base.o.d. We have to check for both files, because - # one of the two compilations can be disabled. We should prefer - # $dir$base.o.d over $dir.libs/$base.o.d because the latter is - # automatically cleaned when .libs/ is deleted, while ignoring - # the former would cause a distcleancheck panic. - tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 - tmpdepfile2=$dir$base.o.d # libtool 1.5 - tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 - tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 - "$@" -Wc,-MD - else - tmpdepfile1=$dir$base.o.d - tmpdepfile2=$dir$base.d - tmpdepfile3=$dir$base.d - tmpdepfile4=$dir$base.d - "$@" -MD - fi - - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.a-z*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the . - sed -e 's,^.*\.a-z*: *,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -#nosideeffect) - # This comment above is used by automake to tell side-effect - # dependency tracking mechanisms from slower ones. - -dashmstdout) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - test -z "$dashmflag" && dashmflag=-M - # Require at least two characters before searching for `:' - # in the target name. This is to cope with DOS-style filenames: - # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. - "$@" $dashmflag | - sed 's:^ *^: ^:^:*\: *:'"$object"'\: :' > "$tmpdepfile" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - tr ' ' ' -' < "$tmpdepfile" | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -dashXmstdout) - # This case only exists to satisfy depend.m4. It is never actually - # run, as this mode is specially recognized in the preamble. - exit 1 - ;; - -makedepend) - "$@" || exit $? - # Remove any Libtool call - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - # X makedepend - shift - cleared=no eat=no - for arg - do - case $cleared in - no) - set ""; shift - cleared=yes ;; - esac - if test $eat = yes; then - eat=no - continue - fi - case "$arg" in - -D*|-I*) - set fnord "$@" "$arg"; shift ;; - # Strip any option that makedepend may not understand. Remove - # the object too, otherwise makedepend will parse it as a source file. - -arch) - eat=yes ;; - -*|$object) - ;; - *) - set fnord "$@" "$arg"; shift ;; - esac - done - obj_suffix=`echo "$object" | sed 's/^.*\././'` - touch "$tmpdepfile" - ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - sed '1,2d' "$tmpdepfile" | tr ' ' ' -' | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" "$tmpdepfile".bak - ;; - -cpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - "$@" -E | - sed -n -e '/^# 0-90-9* "\(^"*\)".*/ s:: \1 \\:p' \ - -e '/^#line 0-90-9* "\(^"*\)".*/ s:: \1 \\:p' | - sed '$ s: \\$::' > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - cat < "$tmpdepfile" >> "$depfile" - sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvisualcpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - IFS=" " - for arg - do - case "$arg" in - -o) - shift - ;; - $object) - shift - ;; - "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") - set fnord "$@" - shift - shift - ;; - *) - set fnord "$@" "$arg" - shift - shift - ;; - esac - done - "$@" -E 2>/dev/null | - sed -n '/^#line 0-90-9* "\(^"*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" - echo " " >> "$depfile" - sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvcmsys) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -none) - exec "$@" - ;; - -*) - echo "Unknown depmode $depmode" 1>&2 - exit 1 - ;; -esac - -exit 0 - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End:
View file
oggvideotools-0.8.tar.bz2/admin/install-sh
Deleted
@@ -1,520 +0,0 @@ -#!/bin/sh -# install - install a program, script, or datafile - -scriptversion=2009-04-28.21; # UTC - -# This originates from X11R5 (mit/util/scripts/install.sh), which was -# later released in X11R6 (xc/config/util/install.sh) with the -# following copyright and license. -# -# Copyright (C) 1994 X Consortium -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- -# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# -# Except as contained in this notice, the name of the X Consortium shall not -# be used in advertising or otherwise to promote the sale, use or other deal- -# ings in this Software without prior written authorization from the X Consor- -# tium. -# -# -# FSF changes to this file are in the public domain. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. - -nl=' -' -IFS=" "" $nl" - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit=${DOITPROG-} -if test -z "$doit"; then - doit_exec=exec -else - doit_exec=$doit -fi - -# Put in absolute file names if you don't have them in your path; -# or use environment vars. - -chgrpprog=${CHGRPPROG-chgrp} -chmodprog=${CHMODPROG-chmod} -chownprog=${CHOWNPROG-chown} -cmpprog=${CMPPROG-cmp} -cpprog=${CPPROG-cp} -mkdirprog=${MKDIRPROG-mkdir} -mvprog=${MVPROG-mv} -rmprog=${RMPROG-rm} -stripprog=${STRIPPROG-strip} - -posix_glob='?' -initialize_posix_glob=' - test "$posix_glob" != "?" || { - if (set -f) 2>/dev/null; then - posix_glob= - else - posix_glob=: - fi - } -' - -posix_mkdir= - -# Desired mode of installed file. -mode=0755 - -chgrpcmd= -chmodcmd=$chmodprog -chowncmd= -mvcmd=$mvprog -rmcmd="$rmprog -f" -stripcmd= - -src= -dst= -dir_arg= -dst_arg= - -copy_on_change=false -no_target_directory= - -usage="\ -Usage: $0 OPTION... -T SRCFILE DSTFILE - or: $0 OPTION... SRCFILES... DIRECTORY - or: $0 OPTION... -t DIRECTORY SRCFILES... - or: $0 OPTION... -d DIRECTORIES... - -In the 1st form, copy SRCFILE to DSTFILE. -In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. -In the 4th, create DIRECTORIES. - -Options: - --help display this help and exit. - --version display version info and exit. - - -c (ignored) - -C install only if different (preserve the last data modification time) - -d create directories instead of installing files. - -g GROUP $chgrpprog installed files to GROUP. - -m MODE $chmodprog installed files to MODE. - -o USER $chownprog installed files to USER. - -s $stripprog installed files. - -t DIRECTORY install into DIRECTORY. - -T report an error if DSTFILE is a directory. - -Environment variables override the default commands: - CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG - RMPROG STRIPPROG -" - -while test $# -ne 0; do - case $1 in - -c) ;; - - -C) copy_on_change=true;; - - -d) dir_arg=true;; - - -g) chgrpcmd="$chgrpprog $2" - shift;; - - --help) echo "$usage"; exit $?;; - - -m) mode=$2 - case $mode in - *' '* | *' '* | *' -'* | *'*'* | *'?'* | *''*) - echo "$0: invalid mode: $mode" >&2 - exit 1;; - esac - shift;; - - -o) chowncmd="$chownprog $2" - shift;; - - -s) stripcmd=$stripprog;; - - -t) dst_arg=$2 - shift;; - - -T) no_target_directory=true;; - - --version) echo "$0 $scriptversion"; exit $?;; - - --) shift - break;; - - -*) echo "$0: invalid option: $1" >&2 - exit 1;; - - *) break;; - esac - shift -done - -if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then - # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dst_arg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dst_arg" - shift # fnord - fi - shift # arg - dst_arg=$arg - done -fi - -if test $# -eq 0; then - if test -z "$dir_arg"; then - echo "$0: no input file specified." >&2 - exit 1 - fi - # It's OK to call `install-sh -d' without argument. - # This can happen when creating conditional directories. - exit 0 -fi - -if test -z "$dir_arg"; then - trap '(exit $?); exit' 1 2 13 15 - - # Set umask so as not to create temps with too-generous modes. - # However, 'strip' requires both read and write access to temps. - case $mode in - # Optimize common cases. - *644) cp_umask=133;; - *755) cp_umask=22;; - - *0-7) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw='% 200' - fi - cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; - *) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw=,u+rw - fi - cp_umask=$mode$u_plus_rw;; - esac -fi - -for src -do - # Protect names starting with `-'. - case $src in - -*) src=./$src;; - esac - - if test -n "$dir_arg"; then - dst=$src - dstdir=$dst - test -d "$dstdir" - dstdir_status=$? - else - - # Waiting for this to be detected by the "$cpprog $src $dsttmp" command - # might cause directories to be created, which would be especially bad - # if $src (and thus $dsttmp) contains '*'. - if test ! -f "$src" && test ! -d "$src"; then - echo "$0: $src does not exist." >&2 - exit 1 - fi - - if test -z "$dst_arg"; then - echo "$0: no destination specified." >&2 - exit 1 - fi - - dst=$dst_arg - # Protect names starting with `-'. - case $dst in - -*) dst=./$dst;; - esac - - # If destination is a directory, append the input filename; won't work - # if double slashes aren't ignored. - if test -d "$dst"; then - if test -n "$no_target_directory"; then - echo "$0: $dst_arg: Is a directory" >&2 - exit 1 - fi - dstdir=$dst - dst=$dstdir/`basename "$src"` - dstdir_status=0 - else - # Prefer dirname, but fall back on a substitute if dirname fails. - dstdir=` - (dirname "$dst") 2>/dev/null || - expr X"$dst" : 'X\(.*^/\)//*^/^/*/*$' \| \ - X"$dst" : 'X\(//\)^/' \| \ - X"$dst" : 'X\(//\)$' \| \ - X"$dst" : 'X\(/\)' \| . 2>/dev/null || - echo X"$dst" | - sed '/^X\(.*^/\)\/\/*^/^/*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)^/.*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q' - ` - - test -d "$dstdir" - dstdir_status=$? - fi - fi - - obsolete_mkdir_used=false - - if test $dstdir_status != 0; then - case $posix_mkdir in - '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *23672367) mkdir_umask=$umask;; - .*00202 | .0202 | .02) mkdir_umask=22;; - - *0-7) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - - # With -d, create the new directory with the user-specified mode. - # Otherwise, rely on $mkdir_umask. - if test -n "$dir_arg"; then - mkdir_mode=-m$mode - else - mkdir_mode= - fi - - posix_mkdir=false - case $umask in - *1235670-70-7) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 - - if (umask $mkdir_umask && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writeable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - ls_ld_tmpdir=`ls -ld "$tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/d" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null - fi - trap '' 0;; - esac;; - esac - - if - $posix_mkdir && ( - umask $mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" - ) - then : - else - - # The umask is ridiculous, or mkdir does not conform to POSIX, - # or it failed possibly due to a race condition. Create the - # directory the slow way, step by step, checking for races as we go. - - case $dstdir in - /*) prefix='/';; - -*) prefix='./';; - *) prefix='';; - esac - - eval "$initialize_posix_glob" - - oIFS=$IFS - IFS=/ - $posix_glob set -f - set fnord $dstdir - shift - $posix_glob set +f - IFS=$oIFS - - prefixes= - - for d - do - test -z "$d" && continue - - prefix=$prefix$d - if test -d "$prefix"; then - prefixes= - else - if $posix_mkdir; then - (umask=$mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break - # Don't fail if two instances are running concurrently. - test -d "$prefix" || exit 1 - else - case $prefix in - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; - *) qprefix=$prefix;; - esac - prefixes="$prefixes '$qprefix'" - fi - fi - prefix=$prefix/ - done - - if test -n "$prefixes"; then - # Don't fail if two instances are running concurrently. - (umask $mkdir_umask && - eval "\$doit_exec \$mkdirprog $prefixes") || - test -d "$dstdir" || exit 1 - obsolete_mkdir_used=true - fi - fi - fi - - if test -n "$dir_arg"; then - { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && - { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || - test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 - else - - # Make a couple of temp file names in the proper directory. - dsttmp=$dstdir/_inst.$$_ - rmtmp=$dstdir/_rm.$$_ - - # Trap to clean up those temp files at exit. - trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 - - # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && - - # and set any options; do chmod last to preserve setuid bits. - # - # If any of these fail, we abort the whole thing. If we want to - # ignore errors from any of these, just make sure not to ignore - # errors from the above "$doit $cpprog $src $dsttmp" command. - # - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && - { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && - { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && - - # If -C, don't bother to copy if it wouldn't change the file. - if $copy_on_change && - old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && - new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && - - eval "$initialize_posix_glob" && - $posix_glob set -f && - set X $old && old=:$2:$4:$5:$6 && - set X $new && new=:$2:$4:$5:$6 && - $posix_glob set +f && - - test "$old" = "$new" && - $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 - then - rm -f "$dsttmp" - else - # Rename the file to the real destination. - $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || - - # The rename failed, perhaps because mv can't rename something else - # to itself, or perhaps because mv is so ancient that it does not - # support -f. - { - # Now remove or move aside any old file at destination location. - # We try this two ways since rm can't unlink itself on some - # systems and the destination file might be busy for other - # reasons. In this case, the final cleanup might fail but the new - # file should still install successfully. - { - test ! -f "$dst" || - $doit $rmcmd -f "$dst" 2>/dev/null || - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } - } || - { echo "$0: cannot unlink or rename $dst" >&2 - (exit 1); exit 1 - } - } && - - # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dst" - } - fi || exit 1 - - trap '' 0 - fi -done - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End:
View file
oggvideotools-0.8.tar.bz2/admin/ltmain.sh
Deleted
@@ -1,6956 +0,0 @@ -# ltmain.sh - Provide generalized library-building support services. -# NOTE: Changing this file will not affect anything until you rerun configure. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, -# 2007, 2008 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program 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 -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -basename="s,^.*/,,g" - -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh -# is ksh but when the shell is invoked as "sh" and the current value of -# the _XPG environment variable is not equal to 1 (one), the special -# positional parameter $0, within a function call, is the name of the -# function. -progpath="$0" - -# The name of this program: -progname=`echo "$progpath" | $SED $basename` -modename="$progname" - -# Global variables: -EXIT_SUCCESS=0 -EXIT_FAILURE=1 - -PROGRAM=ltmain.sh -PACKAGE=libtool -VERSION=1.5.26 -TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)" - -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# Check that we have a working $echo. -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then - # Yippee, $echo works! - : -else - # Restart under the correct shell, and then maybe $echo will work. - exec $SHELL "$progpath" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<EOF -$* -EOF - exit $EXIT_SUCCESS -fi - -default_mode= -help="Try \`$progname --help' for more information." -magic="%%%MAGIC variable%%%" -mkdir="mkdir" -mv="mv -f" -rm="rm -f" - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed="${SED}"' -e 1s/^X//' -sed_quote_subst='s/\(\\`\\"$\\\\\)/\\\1/g' -# test EBCDIC or ASCII -case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - SP2NL='tr \040 \012' - NL2SP='tr \015\012 \040\040' - ;; - *) # EBCDIC based system - SP2NL='tr \100 \n' - NL2SP='tr \r\n \100\100' - ;; -esac - -# NLS nuisances. -# Only set LANG and LC_ALL to C if already set. -# These must not be set unconditionally because not all systems understand -# e.g. LANG=C (notably SCO). -# We save the old values to restore during execute mode. -lt_env= -for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES -do - eval "if test \"\${$lt_var+set}\" = set; then - save_$lt_var=\$$lt_var - lt_env=\"$lt_var=\$$lt_var \$lt_env\" - $lt_var=C - export $lt_var - fi" -done - -if test -n "$lt_env"; then - lt_env="env $lt_env" -fi - -# Make sure IFS has a sensible default -lt_nl=' -' -IFS=" $lt_nl" - -if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then - $echo "$modename: not configured to build any kind of library" 1>&2 - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 - exit $EXIT_FAILURE -fi - -# Global variables. -mode=$default_mode -nonopt= -prev= -prevopt= -run= -show="$echo" -show_help= -execute_dlfiles= -duplicate_deps=no -preserve_args= -lo2o="s/\\.lo\$/.${objext}/" -o2lo="s/\\.${objext}\$/.lo/" -extracted_archives= -extracted_serial=0 - -##################################### -# Shell function definitions: -# This seems to be the best place for them - -# func_mktempdir string -# Make a temporary directory that won't clash with other running -# libtool processes, and avoids race conditions if possible. If -# given, STRING is the basename for that directory. -func_mktempdir () -{ - my_template="${TMPDIR-/tmp}/${1-$progname}" - - if test "$run" = ":"; then - # Return a directory name, but don't create it in dry-run mode - my_tmpdir="${my_template}-$$" - else - - # If mktemp works, use that first and foremost - my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` - - if test ! -d "$my_tmpdir"; then - # Failing that, at least try and use $RANDOM to avoid a race - my_tmpdir="${my_template}-${RANDOM-0}$$" - - save_mktempdir_umask=`umask` - umask 0077 - $mkdir "$my_tmpdir" - umask $save_mktempdir_umask - fi - - # If we're not in dry-run mode, bomb out on failure - test -d "$my_tmpdir" || { - $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2 - exit $EXIT_FAILURE - } - fi - - $echo "X$my_tmpdir" | $Xsed -} - - -# func_win32_libid arg -# return the library type of file 'arg' -# -# Need a lot of goo to handle *both* DLLs and import libs -# Has to be a shell function in order to 'eat' the argument -# that is supplied when $file_magic_command is called. -func_win32_libid () -{ - win32_libid_type="unknown" - win32_fileres=`file -L $1 2>/dev/null` - case $win32_fileres in - *ar\ archive\ import\ library*) # definitely import - win32_libid_type="x86 archive import" - ;; - *ar\ archive*) # could be an import, or static - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ - $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then - win32_nmres=`eval $NM -f posix -A $1 | \ - $SED -n -e '1,100{ - / I /{ - s,.*,import, - p - q - } - }'` - case $win32_nmres in - import*) win32_libid_type="x86 archive import";; - *) win32_libid_type="x86 archive static";; - esac - fi - ;; - *DLL*) - win32_libid_type="x86 DLL" - ;; - *executable*) # but shell scripts are "executable" too... - case $win32_fileres in - *MS\ Windows\ PE\ Intel*) - win32_libid_type="x86 DLL" - ;; - esac - ;; - esac - $echo $win32_libid_type -} - - -# func_infer_tag arg -# Infer tagged configuration to use if any are available and -# if one wasn't chosen via the "--tag" command line option. -# Only attempt this if the compiler in the base compile -# command doesn't match the default compiler. -# arg is usually of the form 'gcc ...' -func_infer_tag () -{ - if test -n "$available_tags" && test -z "$tagname"; then - CC_quoted= - for arg in $CC; do - case $arg in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - arg="\"$arg\"" - ;; - esac - CC_quoted="$CC_quoted $arg" - done - case $@ in - # Blanks in the command may have been stripped by the calling shell, - # but not from the CC environment variable when configure was run. - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; - # Blanks at the start of $base_compile will cause this to fail - # if we don't check for them as well. - *) - for z in $available_tags; do - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then - # Evaluate the configuration. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" - CC_quoted= - for arg in $CC; do - # Double-quote args containing other shell metacharacters. - case $arg in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - arg="\"$arg\"" - ;; - esac - CC_quoted="$CC_quoted $arg" - done - case "$@ " in - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) - # The compiler in the base compile command matches - # the one in the tagged configuration. - # Assume this is the tagged configuration we want. - tagname=$z - break - ;; - esac - fi - done - # If $tagname still isn't set, then no tagged configuration - # was found and let the user know that the "--tag" command - # line option must be used. - if test -z "$tagname"; then - $echo "$modename: unable to infer tagged configuration" - $echo "$modename: specify a tag with \`--tag'" 1>&2 - exit $EXIT_FAILURE -# else -# $echo "$modename: using $tagname tagged configuration" - fi - ;; - esac - fi -} - - -# func_extract_an_archive dir oldlib -func_extract_an_archive () -{ - f_ex_an_ar_dir="$1"; shift - f_ex_an_ar_oldlib="$1" - - $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" - $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then - : - else - $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2 - exit $EXIT_FAILURE - fi -} - -# func_extract_archives gentop oldlib ... -func_extract_archives () -{ - my_gentop="$1"; shift - my_oldlibs=${1+"$@"} - my_oldobjs="" - my_xlib="" - my_xabs="" - my_xdir="" - my_status="" - - $show "${rm}r $my_gentop" - $run ${rm}r "$my_gentop" - $show "$mkdir $my_gentop" - $run $mkdir "$my_gentop" - my_status=$? - if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then - exit $my_status - fi - - for my_xlib in $my_oldlibs; do - # Extract the objects. - case $my_xlib in - \\/* | A-Za-z:\\/*) my_xabs="$my_xlib" ;; - *) my_xabs=`pwd`"/$my_xlib" ;; - esac - my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` - my_xlib_u=$my_xlib - while :; do - case " $extracted_archives " in - *" $my_xlib_u "*) - extracted_serial=`expr $extracted_serial + 1` - my_xlib_u=lt$extracted_serial-$my_xlib ;; - *) break ;; - esac - done - extracted_archives="$extracted_archives $my_xlib_u" - my_xdir="$my_gentop/$my_xlib_u" - - $show "${rm}r $my_xdir" - $run ${rm}r "$my_xdir" - $show "$mkdir $my_xdir" - $run $mkdir "$my_xdir" - exit_status=$? - if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then - exit $exit_status - fi - case $host in - *-darwin*) - $show "Extracting $my_xabs" - # Do not bother doing anything if just a dry run - if test -z "$run"; then - darwin_orig_dir=`pwd` - cd $my_xdir || exit $? - darwin_archive=$my_xabs - darwin_curdir=`pwd` - darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` - darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` - if test -n "$darwin_arches"; then - darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` - darwin_arch= - $show "$darwin_base_archive has multiple architectures $darwin_arches" - for darwin_arch in $darwin_arches ; do - mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" - lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" - func_extract_an_archive "`pwd`" "${darwin_base_archive}" - cd "$darwin_curdir" - $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" - done # $darwin_arches - ## Okay now we have a bunch of thin objects, gotta fatten them up :) - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` - darwin_file= - darwin_files= - for darwin_file in $darwin_filelist; do - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` - lipo -create -output "$darwin_file" $darwin_files - done # $darwin_filelist - ${rm}r unfat-$$ - cd "$darwin_orig_dir" - else - cd "$darwin_orig_dir" - func_extract_an_archive "$my_xdir" "$my_xabs" - fi # $darwin_arches - fi # $run - ;; - *) - func_extract_an_archive "$my_xdir" "$my_xabs" - ;; - esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` - done - func_extract_archives_result="$my_oldobjs" -} -# End of Shell function definitions -##################################### - -# Darwin sucks -eval std_shrext=\"$shrext_cmds\" - -disable_libs=no - -# Parse our command line options once, thoroughly. -while test "$#" -gt 0 -do - arg="$1" - shift - - case $arg in - -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/-_a-zA-Z0-9*=//'` ;; - *) optarg= ;; - esac - - # If the previous option needs an argument, assign it. - if test -n "$prev"; then - case $prev in - execute_dlfiles) - execute_dlfiles="$execute_dlfiles $arg" - ;; - tag) - tagname="$arg" - preserve_args="${preserve_args}=$arg" - - # Check whether tagname contains only valid characters - case $tagname in - *!-_A-Za-z0-9,/*) - $echo "$progname: invalid tag name: $tagname" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - case $tagname in - CC) - # Don't test for the "default" C tag, as we know, it's there, but - # not specially marked. - ;; - *) - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then - taglist="$taglist $tagname" - # Evaluate the configuration. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" - else - $echo "$progname: ignoring unknown tag $tagname" 1>&2 - fi - ;; - esac - ;; - *) - eval "$prev=\$arg" - ;; - esac - - prev= - prevopt= - continue - fi - - # Have we seen a non-optional argument yet? - case $arg in - --help) - show_help=yes - ;; - - --version) - echo "\ -$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP - -Copyright (C) 2008 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - exit $? - ;; - - --config) - ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath - # Now print the configurations for the tags. - for tagname in $taglist; do - ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" - done - exit $? - ;; - - --debug) - $echo "$progname: enabling shell trace mode" - set -x - preserve_args="$preserve_args $arg" - ;; - - --dry-run | -n) - run=: - ;; - - --features) - $echo "host: $host" - if test "$build_libtool_libs" = yes; then - $echo "enable shared libraries" - else - $echo "disable shared libraries" - fi - if test "$build_old_libs" = yes; then - $echo "enable static libraries" - else - $echo "disable static libraries" - fi - exit $? - ;; - - --finish) mode="finish" ;; - - --mode) prevopt="--mode" prev=mode ;; - --mode=*) mode="$optarg" ;; - - --preserve-dup-deps) duplicate_deps="yes" ;; - - --quiet | --silent) - show=: - preserve_args="$preserve_args $arg" - ;; - - --tag) - prevopt="--tag" - prev=tag - preserve_args="$preserve_args --tag" - ;; - --tag=*) - set tag "$optarg" ${1+"$@"} - shift - prev=tag - preserve_args="$preserve_args --tag" - ;; - - -dlopen) - prevopt="-dlopen" - prev=execute_dlfiles - ;; - - -*) - $echo "$modename: unrecognized option \`$arg'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - ;; - - *) - nonopt="$arg" - break - ;; - esac -done - -if test -n "$prevopt"; then - $echo "$modename: option \`$prevopt' requires an argument" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE -fi - -case $disable_libs in -no) - ;; -shared) - build_libtool_libs=no - build_old_libs=yes - ;; -static) - build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` - ;; -esac - -# If this variable is set in any of the actions, the command in it -# will be execed at the end. This prevents here-documents from being -# left over by shells. -exec_cmd= - -if test -z "$show_help"; then - - # Infer the operation mode. - if test -z "$mode"; then - $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 - $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 - case $nonopt in - *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) - mode=link - for arg - do - case $arg in - -c) - mode=compile - break - ;; - esac - done - ;; - *db | *dbx | *strace | *truss) - mode=execute - ;; - *install*|cp|mv) - mode=install - ;; - *rm) - mode=uninstall - ;; - *) - # If we have no mode, but dlfiles were specified, then do execute mode. - test -n "$execute_dlfiles" && mode=execute - - # Just use the default operation mode. - if test -z "$mode"; then - if test -n "$nonopt"; then - $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 - else - $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 - fi - fi - ;; - esac - fi - - # Only execute mode is allowed to have -dlopen flags. - if test -n "$execute_dlfiles" && test "$mode" != execute; then - $echo "$modename: unrecognized option \`-dlopen'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Change the help message to a mode-specific one. - generic_help="$help" - help="Try \`$modename --help --mode=$mode' for more information." - - # These modes are in order of execution frequency so that they run quickly. - case $mode in - # libtool compile mode - compile) - modename="$modename: compile" - # Get the compilation command and the source file. - base_compile= - srcfile="$nonopt" # always keep a non-empty value in "srcfile" - suppress_opt=yes - suppress_output= - arg_mode=normal - libobj= - later= - - for arg - do - case $arg_mode in - arg ) - # do not "continue". Instead, add this to base_compile - lastarg="$arg" - arg_mode=normal - ;; - - target ) - libobj="$arg" - arg_mode=normal - continue - ;; - - normal ) - # Accept any command-line options. - case $arg in - -o) - if test -n "$libobj" ; then - $echo "$modename: you cannot specify \`-o' more than once" 1>&2 - exit $EXIT_FAILURE - fi - arg_mode=target - continue - ;; - - -static | -prefer-pic | -prefer-non-pic) - later="$later $arg" - continue - ;; - - -no-suppress) - suppress_opt=no - continue - ;; - - -Xcompiler) - arg_mode=arg # the next one goes into the "base_compile" arg list - continue # The current "srcfile" will either be retained or - ;; # replaced later. I would guess that would be a bug. - - -Wc,*) - args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` - lastarg= - save_ifs="$IFS"; IFS=',' - for arg in $args; do - IFS="$save_ifs" - - # Double-quote args containing other shell metacharacters. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - case $arg in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - arg="\"$arg\"" - ;; - esac - lastarg="$lastarg $arg" - done - IFS="$save_ifs" - lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` - - # Add the arguments to base_compile. - base_compile="$base_compile $lastarg" - continue - ;; - - * ) - # Accept the current argument as the source file. - # The previous "srcfile" becomes the current argument. - # - lastarg="$srcfile" - srcfile="$arg" - ;; - esac # case $arg - ;; - esac # case $arg_mode - - # Aesthetically quote the previous argument. - lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` - - case $lastarg in - # Double-quote args containing other shell metacharacters. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, and some SunOS ksh mistreat backslash-escaping - # in scan sets (worked around with variable expansion), - # and furthermore cannot handle '|' '&' '(' ')' in scan sets - # at all, so we specify them separately. - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - lastarg="\"$lastarg\"" - ;; - esac - - base_compile="$base_compile $lastarg" - done # for arg - - case $arg_mode in - arg) - $echo "$modename: you must specify an argument for -Xcompile" - exit $EXIT_FAILURE - ;; - target) - $echo "$modename: you must specify a target with \`-o'" 1>&2 - exit $EXIT_FAILURE - ;; - *) - # Get the name of the library object. - -z "$libobj" && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` - ;; - esac - - # Recognize several different file suffixes. - # If the user specifies -o file.o, it is replaced with file.lo - xform='cCFSifmso' - case $libobj in - *.ada) xform=ada ;; - *.adb) xform=adb ;; - *.ads) xform=ads ;; - *.asm) xform=asm ;; - *.c++) xform=c++ ;; - *.cc) xform=cc ;; - *.ii) xform=ii ;; - *.class) xform=class ;; - *.cpp) xform=cpp ;; - *.cxx) xform=cxx ;; - *.fF09?) xform=fF09. ;; - *.for) xform=for ;; - *.java) xform=java ;; - *.obj) xform=obj ;; - *.sx) xform=sx ;; - esac - - libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` - - case $libobj in - *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; - *) - $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - func_infer_tag $base_compile - - for arg in $later; do - case $arg in - -static) - build_old_libs=yes - continue - ;; - - -prefer-pic) - pic_mode=yes - continue - ;; - - -prefer-non-pic) - pic_mode=no - continue - ;; - esac - done - - qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` - case $qlibobj in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - qlibobj="\"$qlibobj\"" ;; - esac - test "X$libobj" != "X$qlibobj" \ - && $echo "X$libobj" | grep '~#^*{};<>?"'"'"' &()|`$' \ - && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." - objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` - xdir=`$echo "X$obj" | $Xsed -e 's%/^/*$%%'` - if test "X$xdir" = "X$obj"; then - xdir= - else - xdir=$xdir/ - fi - lobj=${xdir}$objdir/$objname - - if test -z "$base_compile"; then - $echo "$modename: you must specify a compilation command" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Delete any leftover library objects. - if test "$build_old_libs" = yes; then - removelist="$obj $lobj $libobj ${libobj}T" - else - removelist="$lobj $libobj ${libobj}T" - fi - - $run $rm $removelist - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 - - # On Cygwin there's no "real" PIC flag so we must build both object types - case $host_os in - cygwin* | mingw* | pw32* | os2*) - pic_mode=default - ;; - esac - if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then - # non-PIC code in shared libraries is not supported - pic_mode=default - fi - - # Calculate the filename of the output object if compiler does - # not support -o with -c - if test "$compiler_c_o" = no; then - output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.^.*$%%'`.${objext} - lockfile="$output_obj.lock" - removelist="$removelist $output_obj $lockfile" - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 - else - output_obj= - need_locks=no - lockfile= - fi - - # Lock this critical section if it is needed - # We use this script file to make the link, it avoids creating a new file - if test "$need_locks" = yes; then - until $run ln "$progpath" "$lockfile" 2>/dev/null; do - $show "Waiting for $lockfile to be removed" - sleep 2 - done - elif test "$need_locks" = warn; then - if test -f "$lockfile"; then - $echo "\ -*** ERROR, $lockfile exists and contains: -`cat $lockfile 2>/dev/null` - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $run $rm $removelist - exit $EXIT_FAILURE - fi - $echo "$srcfile" > "$lockfile" - fi - - if test -n "$fix_srcfile_path"; then - eval srcfile=\"$fix_srcfile_path\" - fi - qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` - case $qsrcfile in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - qsrcfile="\"$qsrcfile\"" ;; - esac - - $run $rm "$libobj" "${libobj}T" - - # Create a libtool object file (analogous to a ".la" file), - # but don't create it if we're doing a dry run. - test -z "$run" && cat > ${libobj}T <<EOF -# $libobj - a libtool object file -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP -# -# Please DO NOT delete this file! -# It is necessary for linking the library. - -# Name of the PIC object. -EOF - - # Only build a PIC object if we are building libtool libraries. - if test "$build_libtool_libs" = yes; then - # Without this assignment, base_compile gets emptied. - fbsd_hideous_sh_bug=$base_compile - - if test "$pic_mode" != no; then - command="$base_compile $qsrcfile $pic_flag" - else - # Don't build PIC code - command="$base_compile $qsrcfile" - fi - - if test ! -d "${xdir}$objdir"; then - $show "$mkdir ${xdir}$objdir" - $run $mkdir ${xdir}$objdir - exit_status=$? - if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then - exit $exit_status - fi - fi - - if test -z "$output_obj"; then - # Place PIC objects in $objdir - command="$command -o $lobj" - fi - - $run $rm "$lobj" "$output_obj" - - $show "$command" - if $run eval $lt_env "$command"; then : - else - test -n "$output_obj" && $run $rm $removelist - exit $EXIT_FAILURE - fi - - if test "$need_locks" = warn && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $echo "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $run $rm $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed, then go on to compile the next one - if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then - $show "$mv $output_obj $lobj" - if $run $mv $output_obj $lobj; then : - else - error=$? - $run $rm $removelist - exit $error - fi - fi - - # Append the name of the PIC object to the libtool object file. - test -z "$run" && cat >> ${libobj}T <<EOF -pic_object='$objdir/$objname' - -EOF - - # Allow error messages only from the first compilation. - if test "$suppress_opt" = yes; then - suppress_output=' >/dev/null 2>&1' - fi - else - # No PIC object so indicate it doesn't exist in the libtool - # object file. - test -z "$run" && cat >> ${libobj}T <<EOF -pic_object=none - -EOF - fi - - # Only build a position-dependent object if we build old libraries. - if test "$build_old_libs" = yes; then - if test "$pic_mode" != yes; then - # Don't build PIC code - command="$base_compile $qsrcfile" - else - command="$base_compile $qsrcfile $pic_flag" - fi - if test "$compiler_c_o" = yes; then - command="$command -o $obj" - fi - - # Suppress compiler output if we already did a PIC compilation. - command="$command$suppress_output" - $run $rm "$obj" "$output_obj" - $show "$command" - if $run eval $lt_env "$command"; then : - else - $run $rm $removelist - exit $EXIT_FAILURE - fi - - if test "$need_locks" = warn && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $echo "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $run $rm $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed - if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then - $show "$mv $output_obj $obj" - if $run $mv $output_obj $obj; then : - else - error=$? - $run $rm $removelist - exit $error - fi - fi - - # Append the name of the non-PIC object the libtool object file. - # Only append if the libtool object file exists. - test -z "$run" && cat >> ${libobj}T <<EOF -# Name of the non-PIC object. -non_pic_object='$objname' - -EOF - else - # Append the name of the non-PIC object the libtool object file. - # Only append if the libtool object file exists. - test -z "$run" && cat >> ${libobj}T <<EOF -# Name of the non-PIC object. -non_pic_object=none - -EOF - fi - - $run $mv "${libobj}T" "${libobj}" - - # Unlock the critical section if it was locked - if test "$need_locks" != no; then - $run $rm "$lockfile" - fi - - exit $EXIT_SUCCESS - ;; - - # libtool link mode - link | relink) - modename="$modename: link" - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) - # It is impossible to link a dll without this setting, and - # we shouldn't force the makefile maintainer to figure out - # which system we are compiling for in order to pass an extra - # flag for every libtool invocation. - # allow_undefined=no - - # FIXME: Unfortunately, there are problems with the above when trying - # to make a dll which has undefined symbols, in which case not - # even a static library is built. For now, we need to specify - # -no-undefined on the libtool link line when we can be certain - # that all symbols are satisfied, otherwise we get a static library. - allow_undefined=yes - ;; - *) - allow_undefined=yes - ;; - esac - libtool_args="$nonopt" - base_compile="$nonopt $@" - compile_command="$nonopt" - finalize_command="$nonopt" - - compile_rpath= - finalize_rpath= - compile_shlibpath= - finalize_shlibpath= - convenience= - old_convenience= - deplibs= - old_deplibs= - compiler_flags= - linker_flags= - dllsearchpath= - lib_search_path=`pwd` - inst_prefix_dir= - - avoid_version=no - dlfiles= - dlprefiles= - dlself=no - export_dynamic=no - export_symbols= - export_symbols_regex= - generated= - libobjs= - ltlibs= - module=no - no_install=no - objs= - non_pic_objects= - notinst_path= # paths that contain not-installed libtool libraries - precious_files_regex= - prefer_static_libs=no - preload=no - prev= - prevarg= - release= - rpath= - xrpath= - perm_rpath= - temp_rpath= - thread_safe=no - vinfo= - vinfo_number=no - single_module="${wl}-single_module" - - func_infer_tag $base_compile - - # We need to know -static, to get the right output filenames. - for arg - do - case $arg in - -all-static | -static | -static-libtool-libs) - case $arg in - -all-static) - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then - $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2 - fi - if test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - -static) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=built - ;; - -static-libtool-libs) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - esac - build_libtool_libs=no - build_old_libs=yes - break - ;; - esac - done - - # See if our shared archives depend on static archives. - test -n "$old_archive_from_new_cmds" && build_old_libs=yes - - # Go through the arguments, transforming them on the way. - while test "$#" -gt 0; do - arg="$1" - shift - case $arg in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test - ;; - *) qarg=$arg ;; - esac - libtool_args="$libtool_args $qarg" - - # If the previous option needs an argument, assign it. - if test -n "$prev"; then - case $prev in - output) - compile_command="$compile_command @OUTPUT@" - finalize_command="$finalize_command @OUTPUT@" - ;; - esac - - case $prev in - dlfiles|dlprefiles) - if test "$preload" = no; then - # Add the symbol object into the linking commands. - compile_command="$compile_command @SYMFILE@" - finalize_command="$finalize_command @SYMFILE@" - preload=yes - fi - case $arg in - *.la | *.lo) ;; # We handle these cases below. - force) - if test "$dlself" = no; then - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - self) - if test "$prev" = dlprefiles; then - dlself=yes - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then - dlself=yes - else - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - *) - if test "$prev" = dlfiles; then - dlfiles="$dlfiles $arg" - else - dlprefiles="$dlprefiles $arg" - fi - prev= - continue - ;; - esac - ;; - expsyms) - export_symbols="$arg" - if test ! -f "$arg"; then - $echo "$modename: symbol file \`$arg' does not exist" - exit $EXIT_FAILURE - fi - prev= - continue - ;; - expsyms_regex) - export_symbols_regex="$arg" - prev= - continue - ;; - inst_prefix) - inst_prefix_dir="$arg" - prev= - continue - ;; - precious_regex) - precious_files_regex="$arg" - prev= - continue - ;; - release) - release="-$arg" - prev= - continue - ;; - objectlist) - if test -f "$arg"; then - save_arg=$arg - moreargs= - for fil in `cat $save_arg` - do -# moreargs="$moreargs $fil" - arg=$fil - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - pic_object= - non_pic_object= - - # Read the .lo file - # If there is no directory component, then add one. - case $arg in - */* | *\\*) . $arg ;; - *) . ./$arg ;; - esac - - if test -z "$pic_object" || \ - test -z "$non_pic_object" || - test "$pic_object" = none && \ - test "$non_pic_object" = none; then - $echo "$modename: cannot find name of object for \`$arg'" 1>&2 - exit $EXIT_FAILURE - fi - - # Extract subdirectory from the argument. - xdir=`$echo "X$arg" | $Xsed -e 's%/^/*$%%'` - if test "X$xdir" = "X$arg"; then - xdir= - else - xdir="$xdir/" - fi - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" - prev= - fi - - # A PIC object. - libobjs="$libobjs $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - non_pic_objects="$non_pic_objects $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - non_pic_objects="$non_pic_objects $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if test -z "$run"; then - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 - exit $EXIT_FAILURE - else - # Dry-run case. - - # Extract subdirectory from the argument. - xdir=`$echo "X$arg" | $Xsed -e 's%/^/*$%%'` - if test "X$xdir" = "X$arg"; then - xdir= - else - xdir="$xdir/" - fi - - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` - libobjs="$libobjs $pic_object" - non_pic_objects="$non_pic_objects $non_pic_object" - fi - fi - done - else - $echo "$modename: link input file \`$save_arg' does not exist" - exit $EXIT_FAILURE - fi - arg=$save_arg - prev= - continue - ;; - rpath | xrpath) - # We need an absolute path. - case $arg in - \\/* | A-Za-z:\\/*) ;; - *) - $echo "$modename: only absolute run-paths are allowed" 1>&2 - exit $EXIT_FAILURE - ;; - esac - if test "$prev" = rpath; then - case "$rpath " in - *" $arg "*) ;; - *) rpath="$rpath $arg" ;; - esac - else - case "$xrpath " in - *" $arg "*) ;; - *) xrpath="$xrpath $arg" ;; - esac - fi - prev= - continue - ;; - xcompiler) - compiler_flags="$compiler_flags $qarg" - prev= - compile_command="$compile_command $qarg" - finalize_command="$finalize_command $qarg" - continue - ;; - xlinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $wl$qarg" - prev= - compile_command="$compile_command $wl$qarg" - finalize_command="$finalize_command $wl$qarg" - continue - ;; - xcclinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $qarg" - prev= - compile_command="$compile_command $qarg" - finalize_command="$finalize_command $qarg" - continue - ;; - shrext) - shrext_cmds="$arg" - prev= - continue - ;; - darwin_framework|darwin_framework_skip) - test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg" - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - prev= - continue - ;; - *) - eval "$prev=\"\$arg\"" - prev= - continue - ;; - esac - fi # test -n "$prev" - - prevarg="$arg" - - case $arg in - -all-static) - if test -n "$link_static_flag"; then - compile_command="$compile_command $link_static_flag" - finalize_command="$finalize_command $link_static_flag" - fi - continue - ;; - - -allow-undefined) - # FIXME: remove this flag sometime in the future. - $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 - continue - ;; - - -avoid-version) - avoid_version=yes - continue - ;; - - -dlopen) - prev=dlfiles - continue - ;; - - -dlpreopen) - prev=dlprefiles - continue - ;; - - -export-dynamic) - export_dynamic=yes - continue - ;; - - -export-symbols | -export-symbols-regex) - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then - $echo "$modename: more than one -exported-symbols argument is not allowed" - exit $EXIT_FAILURE - fi - if test "X$arg" = "X-export-symbols"; then - prev=expsyms - else - prev=expsyms_regex - fi - continue - ;; - - -framework|-arch|-isysroot) - case " $CC " in - *" ${arg} ${1} "* | *" ${arg} ${1} "*) - prev=darwin_framework_skip ;; - *) compiler_flags="$compiler_flags $arg" - prev=darwin_framework ;; - esac - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - continue - ;; - - -inst-prefix-dir) - prev=inst_prefix - continue - ;; - - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* - # so, if we see these flags be careful not to treat them like -L - -LA-ZA-Z*:*) - case $with_gcc/$host in - no/*-*-irix* | /*-*-irix*) - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - ;; - esac - continue - ;; - - -L*) - dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` - # We need an absolute path. - case $dir in - \\/* | A-Za-z:\\/*) ;; - *) - absdir=`cd "$dir" && pwd` - if test -z "$absdir"; then - $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 - absdir="$dir" - notinst_path="$notinst_path $dir" - fi - dir="$absdir" - ;; - esac - case "$deplibs " in - *" -L$dir "*) ;; - *) - deplibs="$deplibs -L$dir" - lib_search_path="$lib_search_path $dir" - ;; - esac - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) - testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$dir:"*) ;; - *) dllsearchpath="$dllsearchpath:$dir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; - esac - continue - ;; - - -l*) - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) - # These systems don't actually have a C or math library (as such) - continue - ;; - *-*-os2*) - # These systems don't actually have a C library (as such) - test "X$arg" = "X-lc" && continue - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - test "X$arg" = "X-lc" && continue - ;; - *-*-rhapsody* | *-*-darwin1.012) - # Rhapsody C and math libraries are in the System framework - deplibs="$deplibs -framework System" - continue - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - test "X$arg" = "X-lc" && continue - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - test "X$arg" = "X-lc" && continue - ;; - esac - elif test "X$arg" = "X-lc_r"; then - case $host in - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc_r directly, use -pthread flag. - continue - ;; - esac - fi - deplibs="$deplibs $arg" - continue - ;; - - # Tru64 UNIX uses -model arg to determine the layout of C++ - # classes, name mangling, and exception handling. - -model) - compile_command="$compile_command $arg" - compiler_flags="$compiler_flags $arg" - finalize_command="$finalize_command $arg" - prev=xcompiler - continue - ;; - - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - compiler_flags="$compiler_flags $arg" - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - continue - ;; - - -multi_module) - single_module="${wl}-multi_module" - continue - ;; - - -module) - module=yes - continue - ;; - - # -64, -mips0-9 enable 64-bit mode on the SGI compiler - # -r0-90-9* specifies the processor on the SGI compiler - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler - # +DA*, +DD* enable 64-bit mode on the HP compiler - # -q* pass through compiler args for the IBM compiler - # -m* pass through architecture-specific compiler args for GCC - # -m*, -t45*, -txscale* pass through architecture-specific - # compiler args for GCC - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC - # -F/path gives path to uninstalled frameworks, gcc on darwin - # @file GCC response files - -64|-mips0-9|-r0-90-9*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t45*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) - - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` - case $arg in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - arg="\"$arg\"" - ;; - esac - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - compiler_flags="$compiler_flags $arg" - continue - ;; - - -shrext) - prev=shrext - continue - ;; - - -no-fast-install) - fast_install=no - continue - ;; - - -no-install) - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*) - # The PATH hackery in wrapper scripts is required on Windows - # and Darwin in order for the loader to find any dlls it needs. - $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 - $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 - fast_install=no - ;; - *) no_install=yes ;; - esac - continue - ;; - - -no-undefined) - allow_undefined=no - continue - ;; - - -objectlist) - prev=objectlist - continue - ;; - - -o) prev=output ;; - - -precious-files-regex) - prev=precious_regex - continue - ;; - - -release) - prev=release - continue - ;; - - -rpath) - prev=rpath - continue - ;; - - -R) - prev=xrpath - continue - ;; - - -R*) - dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` - # We need an absolute path. - case $dir in - \\/* | A-Za-z:\\/*) ;; - *) - $echo "$modename: only absolute run-paths are allowed" 1>&2 - exit $EXIT_FAILURE - ;; - esac - case "$xrpath " in - *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; - esac - continue - ;; - - -static | -static-libtool-libs) - # The effects of -static are defined in a previous loop. - # We used to do the same as -all-static on platforms that - # didn't have a PIC flag, but the assumption that the effects - # would be equivalent was wrong. It would break on at least - # Digital Unix and AIX. - continue - ;; - - -thread-safe) - thread_safe=yes - continue - ;; - - -version-info) - prev=vinfo - continue - ;; - -version-number) - prev=vinfo - vinfo_number=yes - continue - ;; - - -Wc,*) - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - case $flag in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - flag="\"$flag\"" - ;; - esac - arg="$arg $wl$flag" - compiler_flags="$compiler_flags $flag" - done - IFS="$save_ifs" - arg=`$echo "X$arg" | $Xsed -e "s/^ //"` - ;; - - -Wl,*) - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - case $flag in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - flag="\"$flag\"" - ;; - esac - arg="$arg $wl$flag" - compiler_flags="$compiler_flags $wl$flag" - linker_flags="$linker_flags $flag" - done - IFS="$save_ifs" - arg=`$echo "X$arg" | $Xsed -e "s/^ //"` - ;; - - -Xcompiler) - prev=xcompiler - continue - ;; - - -Xlinker) - prev=xlinker - continue - ;; - - -XCClinker) - prev=xcclinker - continue - ;; - - # Some other compiler flag. - -* | +*) - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` - case $arg in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - arg="\"$arg\"" - ;; - esac - ;; - - *.$objext) - # A standard object. - objs="$objs $arg" - ;; - - *.lo) - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - pic_object= - non_pic_object= - - # Read the .lo file - # If there is no directory component, then add one. - case $arg in - */* | *\\*) . $arg ;; - *) . ./$arg ;; - esac - - if test -z "$pic_object" || \ - test -z "$non_pic_object" || - test "$pic_object" = none && \ - test "$non_pic_object" = none; then - $echo "$modename: cannot find name of object for \`$arg'" 1>&2 - exit $EXIT_FAILURE - fi - - # Extract subdirectory from the argument. - xdir=`$echo "X$arg" | $Xsed -e 's%/^/*$%%'` - if test "X$xdir" = "X$arg"; then - xdir= - else - xdir="$xdir/" - fi - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" - prev= - fi - - # A PIC object. - libobjs="$libobjs $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - non_pic_objects="$non_pic_objects $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - non_pic_objects="$non_pic_objects $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if test -z "$run"; then - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 - exit $EXIT_FAILURE - else - # Dry-run case. - - # Extract subdirectory from the argument. - xdir=`$echo "X$arg" | $Xsed -e 's%/^/*$%%'` - if test "X$xdir" = "X$arg"; then - xdir= - else - xdir="$xdir/" - fi - - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` - libobjs="$libobjs $pic_object" - non_pic_objects="$non_pic_objects $non_pic_object" - fi - fi - ;; - - *.$libext) - # An archive. - deplibs="$deplibs $arg" - old_deplibs="$old_deplibs $arg" - continue - ;; - - *.la) - # A libtool-controlled library. - - if test "$prev" = dlfiles; then - # This library was specified with -dlopen. - dlfiles="$dlfiles $arg" - prev= - elif test "$prev" = dlprefiles; then - # The library was specified with -dlpreopen. - dlprefiles="$dlprefiles $arg" - prev= - else - deplibs="$deplibs $arg" - fi - continue - ;; - - # Some other compiler argument. - *) - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` - case $arg in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - arg="\"$arg\"" - ;; - esac - ;; - esac # arg - - # Now actually substitute the argument into the commands. - if test -n "$arg"; then - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - fi - done # argument parsing loop - - if test -n "$prev"; then - $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then - eval arg=\"$export_dynamic_flag_spec\" - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - fi - - oldlibs= - # calculate the name of the file, without its directory - outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` - libobjs_save="$libobjs" - - if test -n "$shlibpath_var"; then - # get the directories listed in $shlibpath_var - eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` - else - shlib_search_path= - fi - eval sys_lib_search_path=\"$sys_lib_search_path_spec\" - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" - - output_objdir=`$echo "X$output" | $Xsed -e 's%/^/*$%%'` - if test "X$output_objdir" = "X$output"; then - output_objdir="$objdir" - else - output_objdir="$output_objdir/$objdir" - fi - # Create the object directory. - if test ! -d "$output_objdir"; then - $show "$mkdir $output_objdir" - $run $mkdir $output_objdir - exit_status=$? - if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then - exit $exit_status - fi - fi - - # Determine the type of output - case $output in - "") - $echo "$modename: you must specify an output file" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - ;; - *.$libext) linkmode=oldlib ;; - *.lo | *.$objext) linkmode=obj ;; - *.la) linkmode=lib ;; - *) linkmode=prog ;; # Anything else should be a program. - esac - - case $host in - *cygwin* | *mingw* | *pw32*) - # don't eliminate duplications in $postdeps and $predeps - duplicate_compiler_generated_deps=yes - ;; - *) - duplicate_compiler_generated_deps=$duplicate_deps - ;; - esac - specialdeplibs= - - libs= - # Find all interdependent deplibs by searching for libraries - # that are linked more than once (e.g. -la -lb -la) - for deplib in $deplibs; do - if test "X$duplicate_deps" = "Xyes" ; then - case "$libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - libs="$libs $deplib" - done - - if test "$linkmode" = lib; then - libs="$predeps $libs $compiler_lib_search_path $postdeps" - - # Compute libraries that are listed more than once in $predeps - # $postdeps and mark them as special (i.e., whose duplicates are - # not to be eliminated). - pre_post_deps= - if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then - for pre_post_dep in $predeps $postdeps; do - case "$pre_post_deps " in - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; - esac - pre_post_deps="$pre_post_deps $pre_post_dep" - done - fi - pre_post_deps= - fi - - deplibs= - newdependency_libs= - newlib_search_path= - need_relink=no # whether we're linking any uninstalled libtool libraries - notinst_deplibs= # not-installed libtool libraries - case $linkmode in - lib) - passes="conv link" - for file in $dlfiles $dlprefiles; do - case $file in - *.la) ;; - *) - $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 - exit $EXIT_FAILURE - ;; - esac - done - ;; - prog) - compile_deplibs= - finalize_deplibs= - alldeplibs=no - newdlfiles= - newdlprefiles= - passes="conv scan dlopen dlpreopen link" - ;; - *) passes="conv" - ;; - esac - for pass in $passes; do - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan"; then - libs="$deplibs" - deplibs= - fi - if test "$linkmode" = prog; then - case $pass in - dlopen) libs="$dlfiles" ;; - dlpreopen) libs="$dlprefiles" ;; - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; - esac - fi - if test "$pass" = dlopen; then - # Collect dlpreopened libraries - save_deplibs="$deplibs" - deplibs= - fi - for deplib in $libs; do - lib= - found=no - case $deplib in - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - compiler_flags="$compiler_flags $deplib" - fi - continue - ;; - -l*) - if test "$linkmode" != lib && test "$linkmode" != prog; then - $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 - continue - fi - name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` - if test "$linkmode" = lib; then - searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" - else - searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" - fi - for searchdir in $searchdirs; do - for search_ext in .la $std_shrext .so .a; do - # Search the libtool library - lib="$searchdir/lib${name}${search_ext}" - if test -f "$lib"; then - if test "$search_ext" = ".la"; then - found=yes - else - found=no - fi - break 2 - fi - done - done - if test "$found" != yes; then - # deplib doesn't seem to be a libtool library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - else # deplib is a libtool library - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, - # We need to do some special things here, and not later. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $deplib "*) - if (${SED} -e '2q' $lib | - grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - library_names= - old_library= - case $lib in - */* | *\\*) . $lib ;; - *) . ./$lib ;; - esac - for l in $old_library $library_names; do - ll="$l" - done - if test "X$ll" = "X$old_library" ; then # only static version available - found=no - ladir=`$echo "X$lib" | $Xsed -e 's%/^/*$%%'` - test "X$ladir" = "X$lib" && ladir="." - lib=$ladir/$old_library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - fi - fi - ;; - *) ;; - esac - fi - fi - ;; # -l - -L*) - case $linkmode in - lib) - deplibs="$deplib $deplibs" - test "$pass" = conv && continue - newdependency_libs="$deplib $newdependency_libs" - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` - ;; - prog) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - if test "$pass" = scan; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` - ;; - *) - $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 - ;; - esac # linkmode - continue - ;; # -L - -R*) - if test "$pass" = link; then - dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` - # Make sure the xrpath contains only unique directories. - case "$xrpath " in - *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; - esac - fi - deplibs="$deplib $deplibs" - continue - ;; - *.la) lib="$deplib" ;; - *.$libext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - case $linkmode in - lib) - valid_a_lib=no - case $deplibs_check_method in - match_pattern*) - set dummy $deplibs_check_method - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` - if eval $echo \"$deplib\" 2>/dev/null \ - | $SED 10q \ - | $EGREP "$match_pattern_regex" > /dev/null; then - valid_a_lib=yes - fi - ;; - pass_all) - valid_a_lib=yes - ;; - esac - if test "$valid_a_lib" != yes; then - $echo - $echo "*** Warning: Trying to link with static lib archive $deplib." - $echo "*** I have the capability to make that library automatically link in when" - $echo "*** you link to this library. But I can only do this if you have a" - $echo "*** shared version of the library, which you do not appear to have" - $echo "*** because the file extensions .$libext of this argument makes me believe" - $echo "*** that it is just a static archive that I should not used here." - else - $echo - $echo "*** Warning: Linking the shared library $output against the" - $echo "*** static library $deplib is not portable!" - deplibs="$deplib $deplibs" - fi - continue - ;; - prog) - if test "$pass" != link; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - continue - ;; - esac # linkmode - ;; # *.$libext - *.lo | *.$objext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - elif test "$linkmode" = prog; then - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then - # If there is no dlopen support or we're linking statically, - # we need to preload. - newdlprefiles="$newdlprefiles $deplib" - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - newdlfiles="$newdlfiles $deplib" - fi - fi - continue - ;; - %DEPLIBS%) - alldeplibs=yes - continue - ;; - esac # case $deplib - if test "$found" = yes || test -f "$lib"; then : - else - $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2 - exit $EXIT_FAILURE - fi - - # Check to see that this really is a libtool archive. - if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : - else - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 - exit $EXIT_FAILURE - fi - - ladir=`$echo "X$lib" | $Xsed -e 's%/^/*$%%'` - test "X$ladir" = "X$lib" && ladir="." - - dlname= - dlopen= - dlpreopen= - libdir= - library_names= - old_library= - # If the library was installed with an old release of libtool, - # it will not redefine variables installed, or shouldnotlink - installed=yes - shouldnotlink=no - avoidtemprpath= - - - # Read the .la file - case $lib in - */* | *\\*) . $lib ;; - *) . ./$lib ;; - esac - - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan" || - { test "$linkmode" != prog && test "$linkmode" != lib; }; then - test -n "$dlopen" && dlfiles="$dlfiles $dlopen" - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" - fi - - if test "$pass" = conv; then - # Only check for convenience libraries - deplibs="$lib $deplibs" - if test -z "$libdir"; then - if test -z "$old_library"; then - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 - exit $EXIT_FAILURE - fi - # It is a libtool convenience library, so add in its objects. - convenience="$convenience $ladir/$objdir/$old_library" - old_convenience="$old_convenience $ladir/$objdir/$old_library" - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if test "X$duplicate_deps" = "Xyes" ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done - elif test "$linkmode" != prog && test "$linkmode" != lib; then - $echo "$modename: \`$lib' is not a convenience library" 1>&2 - exit $EXIT_FAILURE - fi - continue - fi # $pass = conv - - - # Get the name of the library we link against. - linklib= - for l in $old_library $library_names; do - linklib="$l" - done - if test -z "$linklib"; then - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 - exit $EXIT_FAILURE - fi - - # This library was specified with -dlopen. - if test "$pass" = dlopen; then - if test -z "$libdir"; then - $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 - exit $EXIT_FAILURE - fi - if test -z "$dlname" || - test "$dlopen_support" != yes || - test "$build_libtool_libs" = no; then - # If there is no dlname, no dlopen support or we're linking - # statically, we need to preload. We also need to preload any - # dependent libraries so libltdl's deplib preloader doesn't - # bomb out in the load deplibs phase. - dlprefiles="$dlprefiles $lib $dependency_libs" - else - newdlfiles="$newdlfiles $lib" - fi - continue - fi # $pass = dlopen - - # We need an absolute path. - case $ladir in - \\/* | A-Za-z:\\/*) abs_ladir="$ladir" ;; - *) - abs_ladir=`cd "$ladir" && pwd` - if test -z "$abs_ladir"; then - $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 - abs_ladir="$ladir" - fi - ;; - esac - laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` - - # Find the relevant object directory and library name. - if test "X$installed" = Xyes; then - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then - $echo "$modename: warning: library \`$lib' was moved." 1>&2 - dir="$ladir" - absdir="$abs_ladir" - libdir="$abs_ladir" - else - dir="$libdir" - absdir="$libdir" - fi - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes - else - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then - dir="$ladir" - absdir="$abs_ladir" - # Remove this search path later - notinst_path="$notinst_path $abs_ladir" - else - dir="$ladir/$objdir" - absdir="$abs_ladir/$objdir" - # Remove this search path later - notinst_path="$notinst_path $abs_ladir" - fi - fi # $installed = yes - name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` - - # This library was specified with -dlpreopen. - if test "$pass" = dlpreopen; then - if test -z "$libdir"; then - $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 - exit $EXIT_FAILURE - fi - # Prefer using a static library (so that no silly _DYNAMIC symbols - # are required to link). - if test -n "$old_library"; then - newdlprefiles="$newdlprefiles $dir/$old_library" - # Otherwise, use the dlname, so that lt_dlopen finds it. - elif test -n "$dlname"; then - newdlprefiles="$newdlprefiles $dir/$dlname" - else - newdlprefiles="$newdlprefiles $dir/$linklib" - fi - fi # $pass = dlpreopen - - if test -z "$libdir"; then - # Link the convenience library - if test "$linkmode" = lib; then - deplibs="$dir/$old_library $deplibs" - elif test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$dir/$old_library $compile_deplibs" - finalize_deplibs="$dir/$old_library $finalize_deplibs" - else - deplibs="$lib $deplibs" # used for prog,scan pass - fi - continue - fi - - - if test "$linkmode" = prog && test "$pass" != link; then - newlib_search_path="$newlib_search_path $ladir" - deplibs="$lib $deplibs" - - linkalldeplibs=no - if test "$link_all_deplibs" != no || test -z "$library_names" || - test "$build_libtool_libs" = no; then - linkalldeplibs=yes - fi - - tmp_libs= - for deplib in $dependency_libs; do - case $deplib in - -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test - esac - # Need to link against all dependency_libs? - if test "$linkalldeplibs" = yes; then - deplibs="$deplib $deplibs" - else - # Need to hardcode shared library paths - # or/and link against static libraries - newdependency_libs="$deplib $newdependency_libs" - fi - if test "X$duplicate_deps" = "Xyes" ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done # for deplib - continue - fi # $linkmode = prog... - - if test "$linkmode,$pass" = "prog,link"; then - if test -n "$library_names" && - { { test "$prefer_static_libs" = no || - test "$prefer_static_libs,$installed" = "built,yes"; } || - test -z "$old_library"; }; then - # We need to hardcode the library path - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then - # Make sure the rpath contains only unique directories. - case "$temp_rpath " in - *" $dir "*) ;; - *" $absdir "*) ;; - *) temp_rpath="$temp_rpath $absdir" ;; - esac - fi - - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" - esac - ;; - esac - fi # $linkmode,$pass = prog,link... - - if test "$alldeplibs" = yes && - { test "$deplibs_check_method" = pass_all || - { test "$build_libtool_libs" = yes && - test -n "$library_names"; }; }; then - # We only need to search for static libraries - continue - fi - fi - - link_static=no # Whether the deplib will be linked statically - use_static_libs=$prefer_static_libs - if test "$use_static_libs" = built && test "$installed" = yes ; then - use_static_libs=no - fi - if test -n "$library_names" && - { test "$use_static_libs" = no || test -z "$old_library"; }; then - if test "$installed" = no; then - notinst_deplibs="$notinst_deplibs $lib" - need_relink=yes - fi - # This is a shared library - - # Warn about portability, can't link against -module's on - # some systems (darwin) - if test "$shouldnotlink" = yes && test "$pass" = link ; then - $echo - if test "$linkmode" = prog; then - $echo "*** Warning: Linking the executable $output against the loadable module" - else - $echo "*** Warning: Linking the shared library $output against the loadable module" - fi - $echo "*** $linklib is not portable!" - fi - if test "$linkmode" = lib && - test "$hardcode_into_libs" = yes; then - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" - esac - ;; - esac - fi - - if test -n "$old_archive_from_expsyms_cmds"; then - # figure out the soname - set dummy $library_names - realname="$2" - shift; shift - libname=`eval \\$echo \"$libname_spec\"` - # use dlname if we got it. it's perfectly good, no? - if test -n "$dlname"; then - soname="$dlname" - elif test -n "$soname_spec"; then - # bleh windows - case $host in - *cygwin* | mingw*) - major=`expr $current - $age` - versuffix="-$major" - ;; - esac - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - - # Make a new name for the extract_expsyms_cmds to use - soroot="$soname" - soname=`$echo $soroot | ${SED} -e 's/^.*\///'` - newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" - - # If the library has no export list, then create one now - if test -f "$output_objdir/$soname-def"; then : - else - $show "extracting exported symbol list from \`$soname'" - save_ifs="$IFS"; IFS='~' - cmds=$extract_expsyms_cmds - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - fi - - # Create $newlib - if test -f "$output_objdir/$newlib"; then :; else - $show "generating import library for \`$soname'" - save_ifs="$IFS"; IFS='~' - cmds=$old_archive_from_expsyms_cmds - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - fi - # make sure the library variables are pointing to the new library - dir=$output_objdir - linklib=$newlib - fi # test -n "$old_archive_from_expsyms_cmds" - - if test "$linkmode" = prog || test "$mode" != relink; then - add_shlibpath= - add_dir= - add= - lib_linked=yes - case $hardcode_action in - immediate | unsupported) - if test "$hardcode_direct" = no; then - add="$dir/$linklib" - case $host in - *-*-sco3.2v5.0.024*) add_dir="-L$dir" ;; - *-*-sysv4*uw2*) add_dir="-L$dir" ;; - *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.01.10* | \ - *-*-unixware7*) add_dir="-L$dir" ;; - *-*-darwin* ) - # if the lib is a module then we can not link against - # it, someone is ignoring the new warnings I added - if /usr/bin/file -L $add 2> /dev/null | - $EGREP ": ^:* bundle" >/dev/null ; then - $echo "** Warning, lib $linklib is a module, not a shared library" - if test -z "$old_library" ; then - $echo - $echo "** And there doesn't seem to be a static archive available" - $echo "** The link will probably fail, sorry" - else - add="$dir/$old_library" - fi - fi - esac - elif test "$hardcode_minus_L" = no; then - case $host in - *-*-sunos*) add_shlibpath="$dir" ;; - esac - add_dir="-L$dir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = no; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - relink) - if test "$hardcode_direct" = yes; then - add="$dir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$dir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - \\/*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - *) lib_linked=no ;; - esac - - if test "$lib_linked" != yes; then - $echo "$modename: configuration error: unsupported hardcode properties" - exit $EXIT_FAILURE - fi - - if test -n "$add_shlibpath"; then - case :$compile_shlibpath: in - *":$add_shlibpath:"*) ;; - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; - esac - fi - if test "$linkmode" = prog; then - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" - test -n "$add" && compile_deplibs="$add $compile_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - if test "$hardcode_direct" != yes && \ - test "$hardcode_minus_L" != yes && \ - test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; - esac - fi - fi - fi - - if test "$linkmode" = prog || test "$mode" = relink; then - add_shlibpath= - add_dir= - add= - # Finalize command for both is simple: just hardcode it. - if test "$hardcode_direct" = yes; then - add="$libdir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$libdir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; - esac - add="-l$name" - elif test "$hardcode_automatic" = yes; then - if test -n "$inst_prefix_dir" && - test -f "$inst_prefix_dir$libdir/$linklib" ; then - add="$inst_prefix_dir$libdir/$linklib" - else - add="$libdir/$linklib" - fi - else - # We cannot seem to hardcode it, guess we'll fake it. - add_dir="-L$libdir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - \\/*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - fi - - if test "$linkmode" = prog; then - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" - test -n "$add" && finalize_deplibs="$add $finalize_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - fi - fi - elif test "$linkmode" = prog; then - # Here we assume that one of hardcode_direct or hardcode_minus_L - # is not unsupported. This is valid on all known static and - # shared platforms. - if test "$hardcode_direct" != unsupported; then - test -n "$old_library" && linklib="$old_library" - compile_deplibs="$dir/$linklib $compile_deplibs" - finalize_deplibs="$dir/$linklib $finalize_deplibs" - else - compile_deplibs="-l$name -L$dir $compile_deplibs" - finalize_deplibs="-l$name -L$dir $finalize_deplibs" - fi - elif test "$build_libtool_libs" = yes; then - # Not a shared library - if test "$deplibs_check_method" != pass_all; then - # We're trying link a shared library against a static one - # but the system doesn't support it. - - # Just print a warning and add the library to dependency_libs so - # that the program can be linked against the static library. - $echo - $echo "*** Warning: This system can not link to static lib archive $lib." - $echo "*** I have the capability to make that library automatically link in when" - $echo "*** you link to this library. But I can only do this if you have a" - $echo "*** shared version of the library, which you do not appear to have." - if test "$module" = yes; then - $echo "*** But as you try to build a module library, libtool will still create " - $echo "*** a static module, that should work as long as the dlopening application" - $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." - if test -z "$global_symbol_pipe"; then - $echo - $echo "*** However, this would only work if libtool was able to extract symbol" - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" - $echo "*** not find such a program. So, this module is probably useless." - $echo "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - else - deplibs="$dir/$old_library $deplibs" - link_static=yes - fi - fi # link shared/static library? - - if test "$linkmode" = lib; then - if test -n "$dependency_libs" && - { test "$hardcode_into_libs" != yes || - test "$build_old_libs" = yes || - test "$link_static" = yes; }; then - # Extract -R from dependency_libs - temp_deplibs= - for libdir in $dependency_libs; do - case $libdir in - -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` - case " $xrpath " in - *" $temp_xrpath "*) ;; - *) xrpath="$xrpath $temp_xrpath";; - esac;; - *) temp_deplibs="$temp_deplibs $libdir";; - esac - done - dependency_libs="$temp_deplibs" - fi - - newlib_search_path="$newlib_search_path $absdir" - # Link against this library - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" - # ... and its dependency_libs - tmp_libs= - for deplib in $dependency_libs; do - newdependency_libs="$deplib $newdependency_libs" - if test "X$duplicate_deps" = "Xyes" ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done - - if test "$link_all_deplibs" != no; then - # Add the search paths of all dependency libraries - for deplib in $dependency_libs; do - case $deplib in - -L*) path="$deplib" ;; - *.la) - dir=`$echo "X$deplib" | $Xsed -e 's%/^/*$%%'` - test "X$dir" = "X$deplib" && dir="." - # We need an absolute path. - case $dir in - \\/* | A-Za-z:\\/*) absdir="$dir" ;; - *) - absdir=`cd "$dir" && pwd` - if test -z "$absdir"; then - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 - absdir="$dir" - fi - ;; - esac - if grep "^installed=no" $deplib > /dev/null; then - path="$absdir/$objdir" - else - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - if test -z "$libdir"; then - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 - exit $EXIT_FAILURE - fi - if test "$absdir" != "$libdir"; then - $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 - fi - path="$absdir" - fi - depdepl= - case $host in - *-*-darwin*) - # we do not want to link against static libs, - # but need to link against shared - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` - eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - if test -n "$deplibrary_names" ; then - for tmp in $deplibrary_names ; do - depdepl=$tmp - done - if test -f "$deplibdir/$depdepl" ; then - depdepl="$deplibdir/$depdepl" - elif test -f "$path/$depdepl" ; then - depdepl="$path/$depdepl" - else - # Can't find it, oh well... - depdepl= - fi - # do not add paths which are already there - case " $newlib_search_path " in - *" $path "*) ;; - *) newlib_search_path="$newlib_search_path $path";; - esac - fi - path="" - ;; - *) - path="-L$path" - ;; - esac - ;; - -l*) - case $host in - *-*-darwin*) - # Again, we only want to link against shared libraries - eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` - for tmp in $newlib_search_path ; do - if test -f "$tmp/lib$tmp_libs.dylib" ; then - eval depdepl="$tmp/lib$tmp_libs.dylib" - break - fi - done - path="" - ;; - *) continue ;; - esac - ;; - *) continue ;; - esac - case " $deplibs " in - *" $path "*) ;; - *) deplibs="$path $deplibs" ;; - esac - case " $deplibs " in - *" $depdepl "*) ;; - *) deplibs="$depdepl $deplibs" ;; - esac - done - fi # link_all_deplibs != no - fi # linkmode = lib - done # for deplib in $libs - dependency_libs="$newdependency_libs" - if test "$pass" = dlpreopen; then - # Link the dlpreopened libraries before other libraries - for deplib in $save_deplibs; do - deplibs="$deplib $deplibs" - done - fi - if test "$pass" != dlopen; then - if test "$pass" != conv; then - # Make sure lib_search_path contains only unique directories. - lib_search_path= - for dir in $newlib_search_path; do - case "$lib_search_path " in - *" $dir "*) ;; - *) lib_search_path="$lib_search_path $dir" ;; - esac - done - newlib_search_path= - fi - - if test "$linkmode,$pass" != "prog,link"; then - vars="deplibs" - else - vars="compile_deplibs finalize_deplibs" - fi - for var in $vars dependency_libs; do - # Add libraries to $var in reverse order - eval tmp_libs=\"\$$var\" - new_libs= - for deplib in $tmp_libs; do - # FIXME: Pedantically, this is the right thing to do, so - # that some nasty dependency loop isn't accidentally - # broken: - #new_libs="$deplib $new_libs" - # Pragmatically, this seems to cause very few problems in - # practice: - case $deplib in - -L*) new_libs="$deplib $new_libs" ;; - -R*) ;; - *) - # And here is the reason: when a library appears more - # than once as an explicit dependence of a library, or - # is implicitly linked in more than once by the - # compiler, it is considered special, and multiple - # occurrences thereof are not removed. Compare this - # with having the same library being listed as a - # dependency of multiple other libraries: in this case, - # we know (pedantically, we assume) the library does not - # need to be listed more than once, so we keep only the - # last copy. This is not always right, but it is rare - # enough that we require users that really mean to play - # such unportable linking tricks to link the library - # using -Wl,-lname, so that libtool does not consider it - # for duplicate removal. - case " $specialdeplibs " in - *" $deplib "*) new_libs="$deplib $new_libs" ;; - *) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$deplib $new_libs" ;; - esac - ;; - esac - ;; - esac - done - tmp_libs= - for deplib in $new_libs; do - case $deplib in - -L*) - case " $tmp_libs " in - *" $deplib "*) ;; - *) tmp_libs="$tmp_libs $deplib" ;; - esac - ;; - *) tmp_libs="$tmp_libs $deplib" ;; - esac - done - eval $var=\"$tmp_libs\" - done # for var - fi - # Last step: remove runtime libs from dependency_libs - # (they stay in deplibs) - tmp_libs= - for i in $dependency_libs ; do - case " $predeps $postdeps $compiler_lib_search_path " in - *" $i "*) - i="" - ;; - esac - if test -n "$i" ; then - tmp_libs="$tmp_libs $i" - fi - done - dependency_libs=$tmp_libs - done # for pass - if test "$linkmode" = prog; then - dlfiles="$newdlfiles" - dlprefiles="$newdlprefiles" - fi - - case $linkmode in - oldlib) - case " $deplibs" in - *\ -l* | *\ -L*) - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;; - esac - - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 - fi - - if test -n "$rpath"; then - $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 - fi - - if test -n "$xrpath"; then - $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 - fi - - if test -n "$vinfo"; then - $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 - fi - - if test -n "$release"; then - $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 - fi - - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then - $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 - fi - - # Now set the variables for building old libraries. - build_libtool_libs=no - oldlibs="$output" - objs="$objs$old_deplibs" - ;; - - lib) - # Make sure we only generate libraries of the form `libNAME.la'. - case $outputname in - lib*) - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - ;; - *) - if test "$module" = no; then - $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - if test "$need_lib_prefix" != no; then - # Add the "lib" prefix for modules if required - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - else - libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` - fi - ;; - esac - - if test -n "$objs"; then - if test "$deplibs_check_method" != pass_all; then - $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 - exit $EXIT_FAILURE - else - $echo - $echo "*** Warning: Linking the shared library $output against the non-libtool" - $echo "*** objects $objs is not portable!" - libobjs="$libobjs $objs" - fi - fi - - if test "$dlself" != no; then - $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 - fi - - set dummy $rpath - if test "$#" -gt 2; then - $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 - fi - install_libdir="$2" - - oldlibs= - if test -z "$rpath"; then - if test "$build_libtool_libs" = yes; then - # Building a libtool convenience library. - # Some compilers have problems with a `.al' extension so - # convenience libraries should have the same extension an - # archive normally would. - oldlibs="$output_objdir/$libname.$libext $oldlibs" - build_libtool_libs=convenience - build_old_libs=yes - fi - - if test -n "$vinfo"; then - $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 - fi - - if test -n "$release"; then - $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 - fi - else - - # Parse the version information argument. - save_ifs="$IFS"; IFS=':' - set dummy $vinfo 0 0 0 - IFS="$save_ifs" - - if test -n "$8"; then - $echo "$modename: too many parameters to \`-version-info'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # convert absolute version numbers to libtool ages - # this retains compatibility with .la files and attempts - # to make the code below a bit more comprehensible - - case $vinfo_number in - yes) - number_major="$2" - number_minor="$3" - number_revision="$4" - # - # There are really only two kinds -- those that - # use the current revision as the major version - # and those that subtract age and use age as - # a minor version. But, then there is irix - # which has an extra 1 added just for fun - # - case $version_type in - darwin|linux|osf|windows|none) - current=`expr $number_major + $number_minor` - age="$number_minor" - revision="$number_revision" - ;; - freebsd-aout|freebsd-elf|sunos) - current="$number_major" - revision="$number_minor" - age="0" - ;; - irix|nonstopux) - current=`expr $number_major + $number_minor` - age="$number_minor" - revision="$number_minor" - lt_irix_increment=no - ;; - esac - ;; - no) - current="$2" - revision="$3" - age="$4" - ;; - esac - - # Check that each of the things are valid numbers. - case $current in - 0|1-9|1-90-9|1-90-90-9|1-90-90-90-9|1-90-90-90-90-9) ;; - *) - $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - case $revision in - 0|1-9|1-90-9|1-90-90-9|1-90-90-90-9|1-90-90-90-90-9) ;; - *) - $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - case $age in - 0|1-9|1-90-9|1-90-90-9|1-90-90-90-9|1-90-90-90-90-9) ;; - *) - $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - if test "$age" -gt "$current"; then - $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2 - exit $EXIT_FAILURE - fi - - # Calculate the version variables. - major= - versuffix= - verstring= - case $version_type in - none) ;; - - darwin) - # Like Linux, but with the current version available in - # verstring for coding it into the library header - major=.`expr $current - $age` - versuffix="$major.$age.$revision" - # Darwin ld doesn't like 0 for these options... - minor_current=`expr $current + 1` - xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" - ;; - - freebsd-aout) - major=".$current" - versuffix=".$current.$revision"; - ;; - - freebsd-elf) - major=".$current" - versuffix=".$current"; - ;; - - irix | nonstopux) - if test "X$lt_irix_increment" = "Xno"; then - major=`expr $current - $age` - else - major=`expr $current - $age + 1` - fi - case $version_type in - nonstopux) verstring_prefix=nonstopux ;; - *) verstring_prefix=sgi ;; - esac - verstring="$verstring_prefix$major.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$revision - while test "$loop" -ne 0; do - iface=`expr $revision - $loop` - loop=`expr $loop - 1` - verstring="$verstring_prefix$major.$iface:$verstring" - done - - # Before this point, $major must not contain `.'. - major=.$major - versuffix="$major.$revision" - ;; - - linux) - major=.`expr $current - $age` - versuffix="$major.$age.$revision" - ;; - - osf) - major=.`expr $current - $age` - versuffix=".$current.$age.$revision" - verstring="$current.$age.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$age - while test "$loop" -ne 0; do - iface=`expr $current - $loop` - loop=`expr $loop - 1` - verstring="$verstring:${iface}.0" - done - - # Make executables depend on our current version. - verstring="$verstring:${current}.0" - ;; - - sunos) - major=".$current" - versuffix=".$current.$revision" - ;; - - windows) - # Use '-' rather than '.', since we only want one - # extension on DOS 8.3 filesystems. - major=`expr $current - $age` - versuffix="-$major" - ;; - - *) - $echo "$modename: unknown library version type \`$version_type'" 1>&2 - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 - exit $EXIT_FAILURE - ;; - esac - - # Clear the version info if we defaulted, and they specified a release. - if test -z "$vinfo" && test -n "$release"; then - major= - case $version_type in - darwin) - # we can't check for "0.0" in archive_cmds due to quoting - # problems, so we reset it completely - verstring= - ;; - *) - verstring="0.0" - ;; - esac - if test "$need_version" = no; then - versuffix= - else - versuffix=".0.0" - fi - fi - - # Remove version info from name if versioning should be avoided - if test "$avoid_version" = yes && test "$need_version" = no; then - major= - versuffix= - verstring="" - fi - - # Check to see if the archive will have undefined symbols. - if test "$allow_undefined" = yes; then - if test "$allow_undefined_flag" = unsupported; then - $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 - build_libtool_libs=no - build_old_libs=yes - fi - else - # Don't allow undefined symbols. - allow_undefined_flag="$no_undefined_flag" - fi - fi - - if test "$mode" != relink; then - # Remove our outputs, but don't remove object files since they - # may have been created when compiling PIC objects. - removelist= - tempremovelist=`$echo "$output_objdir/*"` - for p in $tempremovelist; do - case $p in - *.$objext) - ;; - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) - if test "X$precious_files_regex" != "X"; then - if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 - then - continue - fi - fi - removelist="$removelist $p" - ;; - *) ;; - esac - done - if test -n "$removelist"; then - $show "${rm}r $removelist" - $run ${rm}r $removelist - fi - fi - - # Now set the variables for building old libraries. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then - oldlibs="$oldlibs $output_objdir/$libname.$libext" - - # Transform .lo files to .o files. - oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` - fi - - # Eliminate all temporary directories. - #for path in $notinst_path; do - # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` - # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` - # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` - #done - - if test -n "$xrpath"; then - # If the user specified any rpath flags, then add them. - temp_xrpath= - for libdir in $xrpath; do - temp_xrpath="$temp_xrpath -R$libdir" - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; - esac - done - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then - dependency_libs="$temp_xrpath $dependency_libs" - fi - fi - - # Make sure dlfiles contains only unique files that won't be dlpreopened - old_dlfiles="$dlfiles" - dlfiles= - for lib in $old_dlfiles; do - case " $dlprefiles $dlfiles " in - *" $lib "*) ;; - *) dlfiles="$dlfiles $lib" ;; - esac - done - - # Make sure dlprefiles contains only unique files - old_dlprefiles="$dlprefiles" - dlprefiles= - for lib in $old_dlprefiles; do - case "$dlprefiles " in - *" $lib "*) ;; - *) dlprefiles="$dlprefiles $lib" ;; - esac - done - - if test "$build_libtool_libs" = yes; then - if test -n "$rpath"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) - # these systems don't actually have a c library (as such)! - ;; - *-*-rhapsody* | *-*-darwin1.012) - # Rhapsody C library is in the System framework - deplibs="$deplibs -framework System" - ;; - *-*-netbsd*) - # Don't link with libc until the a.out ld.so is fixed. - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - ;; - *) - # Add libc to deplibs on all other systems if necessary. - if test "$build_libtool_need_lc" = "yes"; then - deplibs="$deplibs -lc" - fi - ;; - esac - fi - - # Transform deplibs into only deplibs that can be linked in shared. - name_save=$name - libname_save=$libname - release_save=$release - versuffix_save=$versuffix - major_save=$major - # I'm not sure if I'm treating the release correctly. I think - # release should show up in the -l (ie -lgmp5) so we don't want to - # add it in twice. Is that correct? - release="" - versuffix="" - major="" - newdeplibs= - droppeddeps=no - case $deplibs_check_method in - pass_all) - # Don't check for shared/static. Everything works. - # This might be a little naive. We might want to check - # whether the library exists or not. But this is on - # osf3 & osf4 and I'm not really sure... Just - # implementing what was already the behavior. - newdeplibs=$deplibs - ;; - test_compile) - # This code stresses the "libraries are programs" paradigm to its - # limits. Maybe even breaks it. We compile a program, linking it - # against the deplibs as a proxy for the library. Then we can check - # whether they linked in statically or dynamically with ldd. - $rm conftest.c - cat > conftest.c <<EOF - int main() { return 0; } -EOF - $rm conftest - if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then - ldd_output=`ldd conftest` - for i in $deplibs; do - name=`expr $i : '-l\(.*\)'` - # If $name is empty we are operating on a -L argument. - if test "$name" != "" && test "$name" != "0"; then - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $i "*) - newdeplibs="$newdeplibs $i" - i="" - ;; - esac - fi - if test -n "$i" ; then - libname=`eval \\$echo \"$libname_spec\"` - deplib_matches=`eval \\$echo \"$library_names_spec\"` - set dummy $deplib_matches - deplib_match=$2 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then - newdeplibs="$newdeplibs $i" - else - droppeddeps=yes - $echo - $echo "*** Warning: dynamic linker does not accept needed library $i." - $echo "*** I have the capability to make that library automatically link in when" - $echo "*** you link to this library. But I can only do this if you have a" - $echo "*** shared version of the library, which I believe you do not have" - $echo "*** because a test_compile did reveal that the linker did not use it for" - $echo "*** its dynamic dependency list that programs get resolved with at runtime." - fi - fi - else - newdeplibs="$newdeplibs $i" - fi - done - else - # Error occurred in the first compile. Let's try to salvage - # the situation: Compile a separate program for each library. - for i in $deplibs; do - name=`expr $i : '-l\(.*\)'` - # If $name is empty we are operating on a -L argument. - if test "$name" != "" && test "$name" != "0"; then - $rm conftest - if $LTCC $LTCFLAGS -o conftest conftest.c $i; then - ldd_output=`ldd conftest` - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $i "*) - newdeplibs="$newdeplibs $i" - i="" - ;; - esac - fi - if test -n "$i" ; then - libname=`eval \\$echo \"$libname_spec\"` - deplib_matches=`eval \\$echo \"$library_names_spec\"` - set dummy $deplib_matches - deplib_match=$2 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then - newdeplibs="$newdeplibs $i" - else - droppeddeps=yes - $echo - $echo "*** Warning: dynamic linker does not accept needed library $i." - $echo "*** I have the capability to make that library automatically link in when" - $echo "*** you link to this library. But I can only do this if you have a" - $echo "*** shared version of the library, which you do not appear to have" - $echo "*** because a test_compile did reveal that the linker did not use this one" - $echo "*** as a dynamic dependency that programs can get resolved with at runtime." - fi - fi - else - droppeddeps=yes - $echo - $echo "*** Warning! Library $i is needed by this library but I was not able to" - $echo "*** make it link in! You will probably need to install it or some" - $echo "*** library that it depends on before this library will be fully" - $echo "*** functional. Installing it before continuing would be even better." - fi - else - newdeplibs="$newdeplibs $i" - fi - done - fi - ;; - file_magic*) - set dummy $deplibs_check_method - file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` - for a_deplib in $deplibs; do - name=`expr $a_deplib : '-l\(.*\)'` - # If $name is empty we are operating on a -L argument. - if test "$name" != "" && test "$name" != "0"; then - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $a_deplib "*) - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - ;; - esac - fi - if test -n "$a_deplib" ; then - libname=`eval \\$echo \"$libname_spec\"` - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do - potential_libs=`ls $i/$libname.-* 2>/dev/null` - for potent_lib in $potential_libs; do - # Follow soft links. - if ls -lLd "$potent_lib" 2>/dev/null \ - | grep " -> " >/dev/null; then - continue - fi - # The statement above tries to avoid entering an - # endless loop below, in case of cyclic links. - # We might still enter an endless loop, since a link - # loop can be closed while we follow links, - # but so what? - potlib="$potent_lib" - while test -h "$potlib" 2>/dev/null; do - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` - case $potliblink in - \\/* | A-Za-z:\\/*) potlib="$potliblink";; - *) potlib=`$echo "X$potlib" | $Xsed -e 's,^/*$,,'`"$potliblink";; - esac - done - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ - | ${SED} 10q \ - | $EGREP "$file_magic_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - $echo - $echo "*** Warning: linker path does not have real file for library $a_deplib." - $echo "*** I have the capability to make that library automatically link in when" - $echo "*** you link to this library. But I can only do this if you have a" - $echo "*** shared version of the library, which you do not appear to have" - $echo "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $echo "*** with $libname but no candidates were found. (...for file magic test)" - else - $echo "*** with $libname and none of the candidates passed a file format test" - $echo "*** using a file magic. Last file checked: $potlib" - fi - fi - else - # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" - fi - done # Gone through all deplibs. - ;; - match_pattern*) - set dummy $deplibs_check_method - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` - for a_deplib in $deplibs; do - name=`expr $a_deplib : '-l\(.*\)'` - # If $name is empty we are operating on a -L argument. - if test -n "$name" && test "$name" != "0"; then - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $a_deplib "*) - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - ;; - esac - fi - if test -n "$a_deplib" ; then - libname=`eval \\$echo \"$libname_spec\"` - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do - potential_libs=`ls $i/$libname.-* 2>/dev/null` - for potent_lib in $potential_libs; do - potlib="$potent_lib" # see symlink-check above in file_magic test - if eval $echo \"$potent_lib\" 2>/dev/null \ - | ${SED} 10q \ - | $EGREP "$match_pattern_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - $echo - $echo "*** Warning: linker path does not have real file for library $a_deplib." - $echo "*** I have the capability to make that library automatically link in when" - $echo "*** you link to this library. But I can only do this if you have a" - $echo "*** shared version of the library, which you do not appear to have" - $echo "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $echo "*** with $libname but no candidates were found. (...for regex pattern test)" - else - $echo "*** with $libname and none of the candidates passed a file format test" - $echo "*** using a regex pattern. Last file checked: $potlib" - fi - fi - else - # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" - fi - done # Gone through all deplibs. - ;; - none | unknown | *) - newdeplibs="" - tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ - -e 's/ -LR^ *//g'` - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - for i in $predeps $postdeps ; do - # can't use Xsed below, because $i might contain '/' - tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` - done - fi - if $echo "X $tmp_deplibs" | $Xsed -e 's/ //g' \ - | grep . >/dev/null; then - $echo - if test "X$deplibs_check_method" = "Xnone"; then - $echo "*** Warning: inter-library dependencies are not supported in this platform." - else - $echo "*** Warning: inter-library dependencies are not known to be supported." - fi - $echo "*** All declared inter-library dependencies are being dropped." - droppeddeps=yes - fi - ;; - esac - versuffix=$versuffix_save - major=$major_save - release=$release_save - libname=$libname_save - name=$name_save - - case $host in - *-*-rhapsody* | *-*-darwin1.012) - # On Rhapsody replace the C library is the System framework - newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` - ;; - esac - - if test "$droppeddeps" = yes; then - if test "$module" = yes; then - $echo - $echo "*** Warning: libtool could not satisfy all declared inter-library" - $echo "*** dependencies of module $libname. Therefore, libtool will create" - $echo "*** a static module, that should work as long as the dlopening" - $echo "*** application is linked with the -dlopen flag." - if test -z "$global_symbol_pipe"; then - $echo - $echo "*** However, this would only work if libtool was able to extract symbol" - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" - $echo "*** not find such a program. So, this module is probably useless." - $echo "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - else - $echo "*** The inter-library dependencies that have been dropped here will be" - $echo "*** automatically added whenever a program is linked with this library" - $echo "*** or is declared to -dlopen it." - - if test "$allow_undefined" = no; then - $echo - $echo "*** Since this library must not contain undefined symbols," - $echo "*** because either the platform does not support them or" - $echo "*** it was explicitly requested with -no-undefined," - $echo "*** libtool will only create a static version of it." - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - fi - fi - # Done checking deplibs! - deplibs=$newdeplibs - fi - - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $deplibs " in - *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; - esac - ;; - *) new_libs="$new_libs $deplib" ;; - esac - done - deplibs="$new_libs" - - - # All the library-specific variables (install_libdir is set above). - library_names= - old_library= - dlname= - - # Test again, we may have decided not to build it any more - if test "$build_libtool_libs" = yes; then - if test "$hardcode_into_libs" = yes; then - # Hardcode the library paths - hardcode_libdirs= - dep_rpath= - rpath="$finalize_rpath" - test "$mode" != relink && rpath="$compile_rpath$rpath" - for libdir in $rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - dep_rpath="$dep_rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - if test -n "$hardcode_libdir_flag_spec_ld"; then - case $archive_cmds in - *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;; - *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;; - esac - else - eval dep_rpath=\"$hardcode_libdir_flag_spec\" - fi - fi - if test -n "$runpath_var" && test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - rpath="$rpath$dir:" - done - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" - fi - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" - fi - - shlibpath="$finalize_shlibpath" - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" - if test -n "$shlibpath"; then - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" - fi - - # Get the real and link names of the library. - eval shared_ext=\"$shrext_cmds\" - eval library_names=\"$library_names_spec\" - set dummy $library_names - realname="$2" - shift; shift - - if test -n "$soname_spec"; then - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - if test -z "$dlname"; then - dlname=$soname - fi - - lib="$output_objdir/$realname" - linknames= - for link - do - linknames="$linknames $link" - done - - # Use standard objects if they are pic - test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then - $show "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $run $rm $export_symbols - cmds=$export_symbols_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - if len=`expr "X$cmd" : ".*"` && - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then - $show "$cmd" - $run eval "$cmd" || exit $? - skipped_export=false - else - # The command line is too long to execute in one step. - $show "using reloadable object file for export list..." - skipped_export=: - # Break out early, otherwise skipped_export may be - # set to false by a later but shorter cmd. - break - fi - done - IFS="$save_ifs" - if test -n "$export_symbols_regex"; then - $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" - $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - $show "$mv \"${export_symbols}T\" \"$export_symbols\"" - $run eval '$mv "${export_symbols}T" "$export_symbols"' - fi - fi - fi - - if test -n "$export_symbols" && test -n "$include_expsyms"; then - $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' - fi - - tmp_deplibs= - for test_deplib in $deplibs; do - case " $convenience " in - *" $test_deplib "*) ;; - *) - tmp_deplibs="$tmp_deplibs $test_deplib" - ;; - esac - done - deplibs="$tmp_deplibs" - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - else - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $convenience - libobjs="$libobjs $func_extract_archives_result" - fi - fi - - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then - eval flag=\"$thread_safe_flag_spec\" - linker_flags="$linker_flags $flag" - fi - - # Make a backup of the uninstalled library when relinking - if test "$mode" = relink; then - $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? - fi - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - eval test_cmds=\"$module_expsym_cmds\" - cmds=$module_expsym_cmds - else - eval test_cmds=\"$module_cmds\" - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - eval test_cmds=\"$archive_expsym_cmds\" - cmds=$archive_expsym_cmds - else - eval test_cmds=\"$archive_cmds\" - cmds=$archive_cmds - fi - fi - - if test "X$skipped_export" != "X:" && - len=`expr "X$test_cmds" : ".*" 2>/dev/null` && - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then - : - else - # The command line is too long to link in one step, link piecewise. - $echo "creating reloadable object files..." - - # Save the value of $output and $libobjs because we want to - # use them later. If we have whole_archive_flag_spec, we - # want to use save_libobjs as it was before - # whole_archive_flag_spec was expanded, because we can't - # assume the linker understands whole_archive_flag_spec. - # This may have to be revisited, in case too many - # convenience libraries get linked in and end up exceeding - # the spec. - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - fi - save_output=$output - output_la=`$echo "X$output" | $Xsed -e "$basename"` - - # Clear the reloadable object creation command queue and - # initialize k to one. - test_cmds= - concat_cmds= - objlist= - delfiles= - last_robj= - k=1 - output=$output_objdir/$output_la-${k}.$objext - # Loop over the list of objects to be linked. - for obj in $save_libobjs - do - eval test_cmds=\"$reload_cmds $objlist $last_robj\" - if test "X$objlist" = X || - { len=`expr "X$test_cmds" : ".*" 2>/dev/null` && - test "$len" -le "$max_cmd_len"; }; then - objlist="$objlist $obj" - else - # The command $test_cmds is almost too long, add a - # command to the queue. - if test "$k" -eq 1 ; then - # The first file doesn't have a previous command to add. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\" - else - # All subsequent reloadable object files will link in - # the last one created. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" - fi - last_robj=$output_objdir/$output_la-${k}.$objext - k=`expr $k + 1` - output=$output_objdir/$output_la-${k}.$objext - objlist=$obj - len=1 - fi - done - # Handle the remaining objects by creating one last - # reloadable object file. All subsequent reloadable object - # files will link in the last one created. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" - - if ${skipped_export-false}; then - $show "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $run $rm $export_symbols - libobjs=$output - # Append the command to create the export file. - eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" - fi - - # Set up a command to remove the reloadable object files - # after they are used. - i=0 - while test "$i" -lt "$k" - do - i=`expr $i + 1` - delfiles="$delfiles $output_objdir/$output_la-${i}.$objext" - done - - $echo "creating a temporary reloadable object file: $output" - - # Loop through the commands generated above and execute them. - save_ifs="$IFS"; IFS='~' - for cmd in $concat_cmds; do - IFS="$save_ifs" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - - libobjs=$output - # Restore the value of output. - output=$save_output - - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - fi - # Expand the library linking commands again to reset the - # value of $libobjs for piecewise linking. - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - cmds=$module_expsym_cmds - else - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - cmds=$archive_expsym_cmds - else - cmds=$archive_cmds - fi - fi - - # Append the command to remove the reloadable object files - # to the just-reset $cmds. - eval cmds=\"\$cmds~\$rm $delfiles\" - fi - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? - - if test -n "$convenience"; then - if test -z "$whole_archive_flag_spec"; then - $show "${rm}r $gentop" - $run ${rm}r "$gentop" - fi - fi - - exit $EXIT_SUCCESS - fi - - # Create links to the real library. - for linkname in $linknames; do - if test "$realname" != "$linkname"; then - $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" - $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? - fi - done - - # If -module or -export-dynamic was specified, set the dlname. - if test "$module" = yes || test "$export_dynamic" = yes; then - # On all known operating systems, these are identical. - dlname="$soname" - fi - fi - ;; - - obj) - case " $deplibs" in - *\ -l* | *\ -L*) - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;; - esac - - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 - fi - - if test -n "$rpath"; then - $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 - fi - - if test -n "$xrpath"; then - $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 - fi - - if test -n "$vinfo"; then - $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 - fi - - if test -n "$release"; then - $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 - fi - - case $output in - *.lo) - if test -n "$objs$old_deplibs"; then - $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 - exit $EXIT_FAILURE - fi - libobj="$output" - obj=`$echo "X$output" | $Xsed -e "$lo2o"` - ;; - *) - libobj= - obj="$output" - ;; - esac - - # Delete the old objects. - $run $rm $obj $libobj - - # Objects from convenience libraries. This assumes - # single-version convenience libraries. Whenever we create - # different ones for PIC/non-PIC, this we'll have to duplicate - # the extraction. - reload_conv_objs= - gentop= - # reload_cmds runs $LD directly, so let us get rid of - # -Wl from whole_archive_flag_spec and hope we can get by with - # turning comma into space.. - wl= - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec"; then - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` - else - gentop="$output_objdir/${obj}x" - generated="$generated $gentop" - - func_extract_archives $gentop $convenience - reload_conv_objs="$reload_objs $func_extract_archives_result" - fi - fi - - # Create the old-style object. - reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test - - output="$obj" - cmds=$reload_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - - # Exit if we aren't doing a library object file. - if test -z "$libobj"; then - if test -n "$gentop"; then - $show "${rm}r $gentop" - $run ${rm}r $gentop - fi - - exit $EXIT_SUCCESS - fi - - if test "$build_libtool_libs" != yes; then - if test -n "$gentop"; then - $show "${rm}r $gentop" - $run ${rm}r $gentop - fi - - # Create an invalid libtool object if no PIC, so that we don't - # accidentally link it into a program. - # $show "echo timestamp > $libobj" - # $run eval "echo timestamp > $libobj" || exit $? - exit $EXIT_SUCCESS - fi - - if test -n "$pic_flag" || test "$pic_mode" != default; then - # Only do commands if we really have different PIC objects. - reload_objs="$libobjs $reload_conv_objs" - output="$libobj" - cmds=$reload_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - fi - - if test -n "$gentop"; then - $show "${rm}r $gentop" - $run ${rm}r $gentop - fi - - exit $EXIT_SUCCESS - ;; - - prog) - case $host in - *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; - esac - if test -n "$vinfo"; then - $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 - fi - - if test -n "$release"; then - $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 - fi - - if test "$preload" = yes; then - if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && - test "$dlopen_self_static" = unknown; then - $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." - fi - fi - - case $host in - *-*-rhapsody* | *-*-darwin1.012) - # On Rhapsody replace the C library is the System framework - compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` - finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` - ;; - esac - - case $host in - *darwin*) - # Don't allow lazy linking, it breaks C++ global constructors - if test "$tagname" = CXX ; then - compile_command="$compile_command ${wl}-bind_at_load" - finalize_command="$finalize_command ${wl}-bind_at_load" - fi - ;; - esac - - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $compile_deplibs " in - *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $compile_deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; - esac - ;; - *) new_libs="$new_libs $deplib" ;; - esac - done - compile_deplibs="$new_libs" - - - compile_command="$compile_command $compile_deplibs" - finalize_command="$finalize_command $finalize_deplibs" - - if test -n "$rpath$xrpath"; then - # If the user specified any rpath flags, then add them. - for libdir in $rpath $xrpath; do - # This is the magic to use -rpath. - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; - esac - done - fi - - # Now hardcode the library paths - rpath= - hardcode_libdirs= - for libdir in $compile_rpath $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; - esac - fi - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) - testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$libdir:"*) ;; - *) dllsearchpath="$dllsearchpath:$libdir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; - esac - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - compile_rpath="$rpath" - - rpath= - hardcode_libdirs= - for libdir in $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$finalize_perm_rpath " in - *" $libdir "*) ;; - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - finalize_rpath="$rpath" - - if test -n "$libobjs" && test "$build_old_libs" = yes; then - # Transform all the library objects into standard objects. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - fi - - dlsyms= - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - if test -n "$NM" && test -n "$global_symbol_pipe"; then - dlsyms="${outputname}S.c" - else - $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 - fi - fi - - if test -n "$dlsyms"; then - case $dlsyms in - "") ;; - *.c) - # Discover the nlist of each of the dlfiles. - nlist="$output_objdir/${outputname}.nm" - - $show "$rm $nlist ${nlist}S ${nlist}T" - $run $rm "$nlist" "${nlist}S" "${nlist}T" - - # Parse the name list into a source file. - $show "creating $output_objdir/$dlsyms" - - test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ -/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ -/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ - -#ifdef __cplusplus -extern \"C\" { -#endif - -/* Prevent the only kind of declaration conflicts we can make. */ -#define lt_preloaded_symbols some_other_symbol - -/* External symbol declarations for the compiler. */\ -" - - if test "$dlself" = yes; then - $show "generating symbol list for \`$output'" - - test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" - - # Add our own program objects to the symbol list. - progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - for arg in $progfiles; do - $show "extracting global C symbols from \`$arg'" - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" - done - - if test -n "$exclude_expsyms"; then - $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' - $run eval '$mv "$nlist"T "$nlist"' - fi - - if test -n "$export_symbols_regex"; then - $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' - $run eval '$mv "$nlist"T "$nlist"' - fi - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - export_symbols="$output_objdir/$outputname.exp" - $run $rm $export_symbols - $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' - case $host in - *cygwin* | *mingw* ) - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' - ;; - esac - else - $run eval "${SED} -e 's/\(.*^$\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' - $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' - $run eval 'mv "$nlist"T "$nlist"' - case $host in - *cygwin* | *mingw* ) - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' - ;; - esac - fi - fi - - for arg in $dlprefiles; do - $show "extracting global C symbols from \`$arg'" - name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` - $run eval '$echo ": $name " >> "$nlist"' - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" - done - - if test -z "$run"; then - # Make sure we have at least an empty file. - test -f "$nlist" || : > "$nlist" - - if test -n "$exclude_expsyms"; then - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T - $mv "$nlist"T "$nlist" - fi - - # Try sorting and uniquifying the output. - if grep -v "^: " < "$nlist" | - if sort -k 3 </dev/null >/dev/null 2>&1; then - sort -k 3 - else - sort +2 - fi | - uniq > "$nlist"S; then - : - else - grep -v "^: " < "$nlist" > "$nlist"S - fi - - if test -f "$nlist"S; then - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' - else - $echo '/* NONE */' >> "$output_objdir/$dlsyms" - fi - - $echo >> "$output_objdir/$dlsyms" "\ - -#undef lt_preloaded_symbols - -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -" - - case $host in - *cygwin* | *mingw* ) - $echo >> "$output_objdir/$dlsyms" "\ -/* DATA imports from DLLs on WIN32 can't be const, because - runtime relocations are performed -- see ld's documentation - on pseudo-relocs */ -struct { -" - ;; - * ) - $echo >> "$output_objdir/$dlsyms" "\ -const struct { -" - ;; - esac - - - $echo >> "$output_objdir/$dlsyms" "\ - const char *name; - lt_ptr address; -} -lt_preloaded_symbols = -{\ -" - - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" - - $echo >> "$output_objdir/$dlsyms" "\ - {0, (lt_ptr) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif\ -" - fi - - pic_flag_for_symtable= - case $host in - # compiling the symbol table file with pic_flag works around - # a FreeBSD bug that causes programs to crash when -lm is - # linked before any other PIC object. But we must not use - # pic_flag when linking with -static. The problem exists in - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) - case "$compile_command " in - *" -static "*) ;; - *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; - esac;; - *-*-hpux*) - case "$compile_command " in - *" -static "*) ;; - *) pic_flag_for_symtable=" $pic_flag";; - esac - esac - - # Now compile the dynamic symbol file. - $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" - $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? - - # Clean up the generated files. - $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" - $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" - - # Transform the symbol file into the correct name. - case $host in - *cygwin* | *mingw* ) - if test -f "$output_objdir/${outputname}.def" ; then - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` - else - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - fi - ;; - * ) - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - ;; - esac - ;; - *) - $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 - exit $EXIT_FAILURE - ;; - esac - else - # We keep going just in case the user didn't refer to - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe - # really was required. - - # Nullify the symbol file. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` - fi - - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then - # Replace the output file specification. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` - link_command="$compile_command$compile_rpath" - - # We have no uninstalled library dependencies, so finalize right now. - $show "$link_command" - $run eval "$link_command" - exit_status=$? - - # Delete the generated files. - if test -n "$dlsyms"; then - $show "$rm $output_objdir/${outputname}S.${objext}" - $run $rm "$output_objdir/${outputname}S.${objext}" - fi - - exit $exit_status - fi - - if test -n "$shlibpath_var"; then - # We should set the shlibpath_var - rpath= - for dir in $temp_rpath; do - case $dir in - \\/* | A-Za-z:\\/*) - # Absolute path. - rpath="$rpath$dir:" - ;; - *) - # Relative path: add a thisdir entry. - rpath="$rpath\$thisdir/$dir:" - ;; - esac - done - temp_rpath="$rpath" - fi - - if test -n "$compile_shlibpath$finalize_shlibpath"; then - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" - fi - if test -n "$finalize_shlibpath"; then - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" - fi - - compile_var= - finalize_var= - if test -n "$runpath_var"; then - if test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - rpath="$rpath$dir:" - done - compile_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - if test -n "$finalize_perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $finalize_perm_rpath; do - rpath="$rpath$dir:" - done - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - fi - - if test "$no_install" = yes; then - # We don't need to create a wrapper script. - link_command="$compile_var$compile_command$compile_rpath" - # Replace the output file specification. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` - # Delete the old output file. - $run $rm $output - # Link the executable and exit - $show "$link_command" - $run eval "$link_command" || exit $? - exit $EXIT_SUCCESS - fi - - if test "$hardcode_action" = relink; then - # Fast installation is not supported - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - - $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 - $echo "$modename: \`$output' will be relinked during installation" 1>&2 - else - if test "$fast_install" != no; then - link_command="$finalize_var$compile_command$finalize_rpath" - if test "$fast_install" = yes; then - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` - else - # fast_install is set to needless - relink_command= - fi - else - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - fi - fi - - # Replace the output file specification. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` - - # Delete the old output files. - $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname - - $show "$link_command" - $run eval "$link_command" || exit $? - - # Now create the wrapper script. - $show "creating $output" - - # Quote the relink command for shipping. - if test -n "$relink_command"; then - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` - relink_command="$var=\"$var_value\"; export $var; $relink_command" - fi - done - relink_command="(cd `pwd`; $relink_command)" - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` - fi - - # Quote $echo for shipping. - if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then - case $progpath in - \\/* | A-Za-z:\\/*) qecho="$SHELL $progpath --fallback-echo";; - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; - esac - qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` - else - qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` - fi - - # Only actually do things if our run command is non-null. - if test -z "$run"; then - # win32 will think the script is a binary if it has - # a .exe suffix, so we strip it off here. - case $output in - *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; - esac - # test for cygwin because mv fails w/o .exe extensions - case $host in - *cygwin*) - exeext=.exe - outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; - *) exeext= ;; - esac - case $host in - *cygwin* | *mingw* ) - output_name=`basename $output` - output_path=`dirname $output` - cwrappersource="$output_path/$objdir/lt-$output_name.c" - cwrapper="$output_path/$output_name.exe" - $rm $cwrappersource $cwrapper - trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 - - cat > $cwrappersource <<EOF - -/* $cwrappersource - temporary wrapper executable for $objdir/$outputname - Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP - - The $output program cannot be directly executed until all the libtool - libraries that it depends on are installed. - - This wrapper executable should never be moved out of the build directory. - If it is, it will not operate correctly. - - Currently, it simply execs the wrapper *script* "/bin/sh $output", - but could eventually absorb all of the scripts functionality and - exec $objdir/$outputname directly. -*/ -EOF - cat >> $cwrappersource<<"EOF" -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <malloc.h> -#include <stdarg.h> -#include <assert.h> -#include <string.h> -#include <ctype.h> -#include <sys/stat.h> - -#if defined(PATH_MAX) -# define LT_PATHMAX PATH_MAX -#elif defined(MAXPATHLEN) -# define LT_PATHMAX MAXPATHLEN -#else -# define LT_PATHMAX 1024 -#endif - -#ifndef DIR_SEPARATOR -# define DIR_SEPARATOR '/' -# define PATH_SEPARATOR ':' -#endif - -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ - defined (__OS2__) -# define HAVE_DOS_BASED_FILE_SYSTEM -# ifndef DIR_SEPARATOR_2 -# define DIR_SEPARATOR_2 '\\' -# endif -# ifndef PATH_SEPARATOR_2 -# define PATH_SEPARATOR_2 ';' -# endif -#endif - -#ifndef DIR_SEPARATOR_2 -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) -#else /* DIR_SEPARATOR_2 */ -# define IS_DIR_SEPARATOR(ch) \ - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) -#endif /* DIR_SEPARATOR_2 */ - -#ifndef PATH_SEPARATOR_2 -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) -#else /* PATH_SEPARATOR_2 */ -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) -#endif /* PATH_SEPARATOR_2 */ - -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) -#define XFREE(stale) do { \ - if (stale) { free ((void *) stale); stale = 0; } \ -} while (0) - -/* -DDEBUG is fairly common in CFLAGS. */ -#undef DEBUG -#if defined DEBUGWRAPPER -# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__) -#else -# define DEBUG(format, ...) -#endif - -const char *program_name = NULL; - -void * xmalloc (size_t num); -char * xstrdup (const char *string); -const char * base_name (const char *name); -char * find_executable(const char *wrapper); -int check_executable(const char *path); -char * strendzap(char *str, const char *pat); -void lt_fatal (const char *message, ...); - -int -main (int argc, char *argv) -{ - char **newargz; - int i; - - program_name = (char *) xstrdup (base_name (argv0)); - DEBUG("(main) argv0 : %s\n",argv0); - DEBUG("(main) program_name : %s\n",program_name); - newargz = XMALLOC(char *, argc+2); -EOF - - cat >> $cwrappersource <<EOF - newargz0 = (char *) xstrdup("$SHELL"); -EOF - - cat >> $cwrappersource <<"EOF" - newargz1 = find_executable(argv0); - if (newargz1 == NULL) - lt_fatal("Couldn't find %s", argv0); - DEBUG("(main) found exe at : %s\n",newargz1); - /* we know the script has the same name, without the .exe */ - /* so make sure newargz1 doesn't end in .exe */ - strendzap(newargz1,".exe"); - for (i = 1; i < argc; i++) - newargzi+1 = xstrdup(argvi); - newargzargc+1 = NULL; - - for (i=0; i<argc+1; i++) - { - DEBUG("(main) newargz%d : %s\n",i,newargzi); - ; - } - -EOF - - case $host_os in - mingw*) - cat >> $cwrappersource <<EOF - execv("$SHELL",(char const **)newargz); -EOF - ;; - *) - cat >> $cwrappersource <<EOF - execv("$SHELL",newargz); -EOF - ;; - esac - - cat >> $cwrappersource <<"EOF" - return 127; -} - -void * -xmalloc (size_t num) -{ - void * p = (void *) malloc (num); - if (!p) - lt_fatal ("Memory exhausted"); - - return p; -} - -char * -xstrdup (const char *string) -{ - return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL -; -} - -const char * -base_name (const char *name) -{ - const char *base; - -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - /* Skip over the disk name in MSDOS pathnames. */ - if (isalpha ((unsigned char)name0) && name1 == ':') - name += 2; -#endif - - for (base = name; *name; name++) - if (IS_DIR_SEPARATOR (*name)) - base = name + 1; - return base; -} - -int -check_executable(const char * path) -{ - struct stat st; - - DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!"); - if ((!path) || (!*path)) - return 0; - - if ((stat (path, &st) >= 0) && - ( - /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */ -#if defined (S_IXOTH) - ((st.st_mode & S_IXOTH) == S_IXOTH) || -#endif -#if defined (S_IXGRP) - ((st.st_mode & S_IXGRP) == S_IXGRP) || -#endif - ((st.st_mode & S_IXUSR) == S_IXUSR)) - ) - return 1; - else - return 0; -} - -/* Searches for the full path of the wrapper. Returns - newly allocated full path name if found, NULL otherwise */ -char * -find_executable (const char* wrapper) -{ - int has_slash = 0; - const char* p; - const char* p_next; - /* static buffer for getcwd */ - char tmpLT_PATHMAX + 1; - int tmp_len; - char* concat_name; - - DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"); - - if ((wrapper == NULL) || (*wrapper == '\0')) - return NULL; - - /* Absolute path? */ -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - if (isalpha ((unsigned char)wrapper0) && wrapper1 == ':') - { - concat_name = xstrdup (wrapper); - if (check_executable(concat_name)) - return concat_name; - XFREE(concat_name); - } - else - { -#endif - if (IS_DIR_SEPARATOR (wrapper0)) - { - concat_name = xstrdup (wrapper); - if (check_executable(concat_name)) - return concat_name; - XFREE(concat_name); - } -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - } -#endif - - for (p = wrapper; *p; p++) - if (*p == '/') - { - has_slash = 1; - break; - } - if (!has_slash) - { - /* no slashes; search PATH */ - const char* path = getenv ("PATH"); - if (path != NULL) - { - for (p = path; *p; p = p_next) - { - const char* q; - size_t p_len; - for (q = p; *q; q++) - if (IS_PATH_SEPARATOR(*q)) - break; - p_len = q - p; - p_next = (*q == '\0' ? q : q + 1); - if (p_len == 0) - { - /* empty path: current directory */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); - tmp_len = strlen(tmp); - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_nametmp_len = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - } - else - { - concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1); - memcpy (concat_name, p, p_len); - concat_namep_len = '/'; - strcpy (concat_name + p_len + 1, wrapper); - } - if (check_executable(concat_name)) - return concat_name; - XFREE(concat_name); - } - } - /* not found in PATH; assume curdir */ - } - /* Relative path | not found in path: prepend cwd */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); - tmp_len = strlen(tmp); - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_nametmp_len = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - - if (check_executable(concat_name)) - return concat_name; - XFREE(concat_name); - return NULL; -} - -char * -strendzap(char *str, const char *pat) -{ - size_t len, patlen; - - assert(str != NULL); - assert(pat != NULL); - - len = strlen(str); - patlen = strlen(pat); - - if (patlen <= len) - { - str += len - patlen; - if (strcmp(str, pat) == 0) - *str = '\0'; - } - return str; -} - -static void -lt_error_core (int exit_status, const char * mode, - const char * message, va_list ap) -{ - fprintf (stderr, "%s: %s: ", program_name, mode); - vfprintf (stderr, message, ap); - fprintf (stderr, ".\n"); - - if (exit_status >= 0) - exit (exit_status); -} - -void -lt_fatal (const char *message, ...) -{ - va_list ap; - va_start (ap, message); - lt_error_core (EXIT_FAILURE, "FATAL", message, ap); - va_end (ap); -} -EOF - # we should really use a build-platform specific compiler - # here, but OTOH, the wrappers (shell script and this C one) - # are only useful if you want to execute the "real" binary. - # Since the "real" binary is built for $host, then this - # wrapper might as well be built for $host, too. - $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource - ;; - esac - $rm $output - trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 - - $echo > $output "\ -#! $SHELL - -# $output - temporary wrapper script for $objdir/$outputname -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP -# -# The $output program cannot be directly executed until all the libtool -# libraries that it depends on are installed. -# -# This wrapper script should never be moved out of the build directory. -# If it is, it will not operate correctly. - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='${SED} -e 1s/^X//' -sed_quote_subst='$sed_quote_subst' - -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -relink_command=\"$relink_command\" - -# This environment variable determines our operation mode. -if test \"\$libtool_install_magic\" = \"$magic\"; then - # install mode needs the following variable: - notinst_deplibs='$notinst_deplibs' -else - # When we are sourced in execute mode, \$file and \$echo are already set. - if test \"\$libtool_execute_magic\" != \"$magic\"; then - echo=\"$qecho\" - file=\"\$0\" - # Make sure echo works. - if test \"X\$1\" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift - elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then - # Yippee, \$echo works! - : - else - # Restart under the correct shell, and then maybe \$echo will work. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} - fi - fi\ -" - $echo >> $output "\ - - # Find the directory that this script lives in. - thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/^/*$%%'\` - test \"x\$thisdir\" = \"x\$file\" && thisdir=. - - # Follow symbolic links until we get to the real thisdir. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` - while test -n \"\$file\"; do - destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/^/*\$%%'\` - - # If there was a directory component, then change thisdir. - if test \"x\$destdir\" != \"x\$file\"; then - case \"\$destdir\" in - \\\\/* | A-Za-z:\\\\/*) thisdir=\"\$destdir\" ;; - *) thisdir=\"\$thisdir/\$destdir\" ;; - esac - fi - - file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` - done - - # Try to get the absolute directory name. - absdir=\`cd \"\$thisdir\" && pwd\` - test -n \"\$absdir\" && thisdir=\"\$absdir\" -" - - if test "$fast_install" = yes; then - $echo >> $output "\ - program=lt-'$outputname'$exeext - progdir=\"\$thisdir/$objdir\" - - if test ! -f \"\$progdir/\$program\" || \\ - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ - test \"X\$file\" != \"X\$progdir/\$program\"; }; then - - file=\"\$\$-\$program\" - - if test ! -d \"\$progdir\"; then - $mkdir \"\$progdir\" - else - $rm \"\$progdir/\$file\" - fi" - - $echo >> $output "\ - - # relink executable if necessary - if test -n \"\$relink_command\"; then - if relink_command_output=\`eval \$relink_command 2>&1\`; then : - else - $echo \"\$relink_command_output\" >&2 - $rm \"\$progdir/\$file\" - exit $EXIT_FAILURE - fi - fi - - $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || - { $rm \"\$progdir/\$program\"; - $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } - $rm \"\$progdir/\$file\" - fi" - else - $echo >> $output "\ - program='$outputname' - progdir=\"\$thisdir/$objdir\" -" - fi - - $echo >> $output "\ - - if test -f \"\$progdir/\$program\"; then" - - # Export our shlibpath_var if we have one. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then - $echo >> $output "\ - # Add our own library path to $shlibpath_var - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" - - # Some systems cannot cope with colon-terminated $shlibpath_var - # The second colon is a workaround for a bug in BeOS R4 sed - $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` - - export $shlibpath_var -" - fi - - # fixup the dll searchpath if we need to. - if test -n "$dllsearchpath"; then - $echo >> $output "\ - # Add the dll search path components to the executable PATH - PATH=$dllsearchpath:\$PATH -" - fi - - $echo >> $output "\ - if test \"\$libtool_execute_magic\" != \"$magic\"; then - # Run the actual program with our arguments. -" - case $host in - # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2*) - $echo >> $output "\ - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} -" - ;; - - *) - $echo >> $output "\ - exec \"\$progdir/\$program\" \${1+\"\$@\"} -" - ;; - esac - $echo >> $output "\ - \$echo \"\$0: cannot exec \$program \$*\" - exit $EXIT_FAILURE - fi - else - # The program doesn't exist. - \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 - \$echo \"This script is just a wrapper for \$program.\" 1>&2 - $echo \"See the $PACKAGE documentation for more information.\" 1>&2 - exit $EXIT_FAILURE - fi -fi\ -" - chmod +x $output - fi - exit $EXIT_SUCCESS - ;; - esac - - # See if we need to build an old-fashioned archive. - for oldlib in $oldlibs; do - - if test "$build_libtool_libs" = convenience; then - oldobjs="$libobjs_save" - addlibs="$convenience" - build_libtool_libs=no - else - if test "$build_libtool_libs" = module; then - oldobjs="$libobjs_save" - build_libtool_libs=no - else - oldobjs="$old_deplibs $non_pic_objects" - fi - addlibs="$old_convenience" - fi - - if test -n "$addlibs"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $addlibs - oldobjs="$oldobjs $func_extract_archives_result" - fi - - # Do each command in the archive commands. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then - cmds=$old_archive_from_new_cmds - else - # POSIX demands no paths to be encoded in archives. We have - # to avoid creating archives with duplicate basenames if we - # might have to extract them afterwards, e.g., when creating a - # static archive out of a convenience library, or when linking - # the entirety of a libtool archive into another (currently - # not supported by libtool). - if (for obj in $oldobjs - do - $echo "X$obj" | $Xsed -e 's%^.*/%%' - done | sort | sort -uc >/dev/null 2>&1); then - : - else - $echo "copying selected object files to avoid basename conflicts..." - - if test -z "$gentop"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - $show "${rm}r $gentop" - $run ${rm}r "$gentop" - $show "$mkdir $gentop" - $run $mkdir "$gentop" - exit_status=$? - if test "$exit_status" -ne 0 && test ! -d "$gentop"; then - exit $exit_status - fi - fi - - save_oldobjs=$oldobjs - oldobjs= - counter=1 - for obj in $save_oldobjs - do - objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` - case " $oldobjs " in - " ") oldobjs=$obj ;; - *\ /"$objbase "*) - while :; do - # Make sure we don't pick an alternate name that also - # overlaps. - newobj=lt$counter-$objbase - counter=`expr $counter + 1` - case " $oldobjs " in - *\ /"$newobj "*) ;; - *) if test ! -f "$gentop/$newobj"; then break; fi ;; - esac - done - $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" - $run ln "$obj" "$gentop/$newobj" || - $run cp "$obj" "$gentop/$newobj" - oldobjs="$oldobjs $gentop/$newobj" - ;; - *) oldobjs="$oldobjs $obj" ;; - esac - done - fi - - eval cmds=\"$old_archive_cmds\" - - if len=`expr "X$cmds" : ".*"` && - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then - cmds=$old_archive_cmds - else - # the command line is too long to link in one step, link in parts - $echo "using piecewise archive linking..." - save_RANLIB=$RANLIB - RANLIB=: - objlist= - concat_cmds= - save_oldobjs=$oldobjs - - # Is there a better way of finding the last object in the list? - for obj in $save_oldobjs - do - last_oldobj=$obj - done - for obj in $save_oldobjs - do - oldobjs="$objlist $obj" - objlist="$objlist $obj" - eval test_cmds=\"$old_archive_cmds\" - if len=`expr "X$test_cmds" : ".*" 2>/dev/null` && - test "$len" -le "$max_cmd_len"; then - : - else - # the above command should be used before it gets too long - oldobjs=$objlist - if test "$obj" = "$last_oldobj" ; then - RANLIB=$save_RANLIB - fi - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" - objlist= - fi - done - RANLIB=$save_RANLIB - oldobjs=$objlist - if test "X$oldobjs" = "X" ; then - eval cmds=\"\$concat_cmds\" - else - eval cmds=\"\$concat_cmds~\$old_archive_cmds\" - fi - fi - fi - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - eval cmd=\"$cmd\" - IFS="$save_ifs" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - done - - if test -n "$generated"; then - $show "${rm}r$generated" - $run ${rm}r$generated - fi - - # Now create the libtool archive. - case $output in - *.la) - old_library= - test "$build_old_libs" = yes && old_library="$libname.$libext" - $show "creating $output" - - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` - relink_command="$var=\"$var_value\"; export $var; $relink_command" - fi - done - # Quote the link command for shipping. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` - if test "$hardcode_automatic" = yes ; then - relink_command= - fi - - - # Only create the output if not a dry run. - if test -z "$run"; then - for installed in no yes; do - if test "$installed" = yes; then - if test -z "$install_libdir"; then - break - fi - output="$output_objdir/$outputname"i - # Replace all uninstalled libtool libraries with the installed ones - newdependency_libs= - for deplib in $dependency_libs; do - case $deplib in - *.la) - name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - if test -z "$libdir"; then - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 - exit $EXIT_FAILURE - fi - newdependency_libs="$newdependency_libs $libdir/$name" - ;; - *) newdependency_libs="$newdependency_libs $deplib" ;; - esac - done - dependency_libs="$newdependency_libs" - newdlfiles= - for lib in $dlfiles; do - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - if test -z "$libdir"; then - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 - exit $EXIT_FAILURE - fi - newdlfiles="$newdlfiles $libdir/$name" - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - if test -z "$libdir"; then - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 - exit $EXIT_FAILURE - fi - newdlprefiles="$newdlprefiles $libdir/$name" - done - dlprefiles="$newdlprefiles" - else - newdlfiles= - for lib in $dlfiles; do - case $lib in - \\/* | A-Za-z:\\/*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - newdlfiles="$newdlfiles $abs" - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - \\/* | A-Za-z:\\/*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - newdlprefiles="$newdlprefiles $abs" - done - dlprefiles="$newdlprefiles" - fi - $rm $output - # place dlname in correct position for cygwin - tdlname=$dlname - case $host,$output,$installed,$module,$dlname in - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; - esac - $echo > $output "\ -# $outputname - a libtool library file -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP -# -# Please DO NOT delete this file! -# It is necessary for linking the library. - -# The name that we can dlopen(3). -dlname='$tdlname' - -# Names of this library. -library_names='$library_names' - -# The name of the static archive. -old_library='$old_library' - -# Libraries that this one depends upon. -dependency_libs='$dependency_libs' - -# Version information for $libname. -current=$current -age=$age -revision=$revision - -# Is this an already installed library? -installed=$installed - -# Should we warn about portability when linking against -modules? -shouldnotlink=$module - -# Files to dlopen/dlpreopen -dlopen='$dlfiles' -dlpreopen='$dlprefiles' - -# Directory that this library needs to be installed in: -libdir='$install_libdir'" - if test "$installed" = no && test "$need_relink" = yes; then - $echo >> $output "\ -relink_command=\"$relink_command\"" - fi - done - fi - - # Do a symbolic link so that the libtool archive can be found in - # LD_LIBRARY_PATH before the program is installed. - $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" - $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? - ;; - esac - exit $EXIT_SUCCESS - ;; - - # libtool install mode - install) - modename="$modename: install" - - # There may be an optional sh(1) argument at the beginning of - # install_prog (especially on Windows NT). - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || - # Allow the use of GNU shtool's install command. - $echo "X$nonopt" | grep shtool > /dev/null; then - # Aesthetically quote it. - arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` - case $arg in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - arg="\"$arg\"" - ;; - esac - install_prog="$arg " - arg="$1" - shift - else - install_prog= - arg=$nonopt - fi - - # The real first argument should be the name of the installation program. - # Aesthetically quote it. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` - case $arg in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - arg="\"$arg\"" - ;; - esac - install_prog="$install_prog$arg" - - # We need to accept at least all the BSD install flags. - dest= - files= - opts= - prev= - install_type= - isdir=no - stripme= - for arg - do - if test -n "$dest"; then - files="$files $dest" - dest=$arg - continue - fi - - case $arg in - -d) isdir=yes ;; - -f) - case " $install_prog " in - *\\\ /cp\ *) ;; - *) prev=$arg ;; - esac - ;; - -g | -m | -o) prev=$arg ;; - -s) - stripme=" -s" - continue - ;; - -*) - ;; - *) - # If the previous option needed an argument, then skip it. - if test -n "$prev"; then - prev= - else - dest=$arg - continue - fi - ;; - esac - - # Aesthetically quote the argument. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` - case $arg in - *\\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ *|**|"") - arg="\"$arg\"" - ;; - esac - install_prog="$install_prog $arg" - done - - if test -z "$install_prog"; then - $echo "$modename: you must specify an install program" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - if test -n "$prev"; then - $echo "$modename: the \`$prev' option requires an argument" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - if test -z "$files"; then - if test -z "$dest"; then - $echo "$modename: no file or destination specified" 1>&2 - else - $echo "$modename: you must specify a destination" 1>&2 - fi - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Strip any trailing slash from the destination. - dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` - - # Check to see that the destination is a directory. - test -d "$dest" && isdir=yes - if test "$isdir" = yes; then - destdir="$dest" - destname= - else - destdir=`$echo "X$dest" | $Xsed -e 's%/^/*$%%'` - test "X$destdir" = "X$dest" && destdir=. - destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` - - # Not a directory, so check to see that there is only one file specified. - set dummy $files - if test "$#" -gt 2; then - $echo "$modename: \`$dest' is not a directory" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - fi - case $destdir in - \\/* | A-Za-z:\\/*) ;; - *) - for file in $files; do - case $file in - *.lo) ;; - *) - $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - ;; - esac - done - ;; - esac - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - staticlibs= - future_libdirs= - current_libdirs= - for file in $files; do - - # Do each installation. - case $file in - *.$libext) - # Do the static libraries later. - staticlibs="$staticlibs $file" - ;; - - *.la) - # Check to see that this really is a libtool archive. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : - else - $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - library_names= - old_library= - relink_command= - # If there is no directory component, then add one. - case $file in - */* | *\\*) . $file ;; - *) . ./$file ;; - esac - - # Add the libdir to current_libdirs if it is the destination. - if test "X$destdir" = "X$libdir"; then - case "$current_libdirs " in - *" $libdir "*) ;; - *) current_libdirs="$current_libdirs $libdir" ;; - esac - else - # Note the libdir as a future libdir. - case "$future_libdirs " in - *" $libdir "*) ;; - *) future_libdirs="$future_libdirs $libdir" ;; - esac - fi - - dir=`$echo "X$file" | $Xsed -e 's%/^/*$%%'`/ - test "X$dir" = "X$file/" && dir= - dir="$dir$objdir" - - if test -n "$relink_command"; then - # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` - - # Don't allow the user to place us outside of our expected - # location b/c this prevents finding dependent libraries that - # are installed to the same prefix. - # At present, this check doesn't affect windows .dll's that - # are installed into $libdir/../bin (currently, that works fine) - # but it's something to keep an eye on. - if test "$inst_prefix_dir" = "$destdir"; then - $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 - exit $EXIT_FAILURE - fi - - if test -n "$inst_prefix_dir"; then - # Stick the inst_prefix_dir data into the link command. - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` - else - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` - fi - - $echo "$modename: warning: relinking \`$file'" 1>&2 - $show "$relink_command" - if $run eval "$relink_command"; then : - else - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 - exit $EXIT_FAILURE - fi - fi - - # See the names of the shared library. - set dummy $library_names - if test -n "$2"; then - realname="$2" - shift - shift - - srcname="$realname" - test -n "$relink_command" && srcname="$realname"T - - # Install the shared library and build the symlinks. - $show "$install_prog $dir/$srcname $destdir/$realname" - $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? - if test -n "$stripme" && test -n "$striplib"; then - $show "$striplib $destdir/$realname" - $run eval "$striplib $destdir/$realname" || exit $? - fi - - if test "$#" -gt 0; then - # Delete the old symlinks, and create new ones. - # Try `ln -sf' first, because the `ln' binary might depend on - # the symlink we replace! Solaris /bin/ln does not understand -f, - # so we also need to try rm && ln -s. - for linkname - do - if test "$linkname" != "$realname"; then - $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" - $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" - fi - done - fi - - # Do each command in the postinstall commands. - lib="$destdir/$realname" - cmds=$postinstall_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - fi - - # Install the pseudo-library for information purposes. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - instname="$dir/$name"i - $show "$install_prog $instname $destdir/$name" - $run eval "$install_prog $instname $destdir/$name" || exit $? - - # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" - ;; - - *.lo) - # Install (i.e. copy) a libtool object. - - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - destfile="$destdir/$destfile" - fi - - # Deduce the name of the destination old-style object file. - case $destfile in - *.lo) - staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` - ;; - *.$objext) - staticdest="$destfile" - destfile= - ;; - *) - $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - # Install the libtool object if requested. - if test -n "$destfile"; then - $show "$install_prog $file $destfile" - $run eval "$install_prog $file $destfile" || exit $? - fi - - # Install the old object if enabled. - if test "$build_old_libs" = yes; then - # Deduce the name of the old-style object file. - staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` - - $show "$install_prog $staticobj $staticdest" - $run eval "$install_prog \$staticobj \$staticdest" || exit $? - fi - exit $EXIT_SUCCESS - ;; - - *) - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - destfile="$destdir/$destfile" - fi - - # If the file is missing, and there is a .exe on the end, strip it - # because it is most likely a libtool script we actually want to - # install - stripped_ext="" - case $file in - *.exe) - if test ! -f "$file"; then - file=`$echo $file|${SED} 's,.exe$,,'` - stripped_ext=".exe" - fi - ;; - esac - - # Do a test to see if this is really a libtool program. - case $host in - *cygwin*|*mingw*) - wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` - ;; - *) - wrapper=$file - ;; - esac - if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then - notinst_deplibs= - relink_command= - - # Note that it is not necessary on cygwin/mingw to append a dot to - # foo even if both foo and FILE.exe exist: automatic-append-.exe - # behavior happens only for exec(3), not for open(2)! Also, sourcing - # `FILE.' does not work on cygwin managed mounts. - # - # If there is no directory component, then add one. - case $wrapper in - */* | *\\*) . ${wrapper} ;; - *) . ./${wrapper} ;; - esac - - # Check the variables that should have been set. - if test -z "$notinst_deplibs"; then - $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 - exit $EXIT_FAILURE - fi - - finalize=yes - for lib in $notinst_deplibs; do - # Check to see that each library is installed. - libdir= - if test -f "$lib"; then - # If there is no directory component, then add one. - case $lib in - */* | *\\*) . $lib ;; - *) . ./$lib ;; - esac - fi - libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test - if test -n "$libdir" && test ! -f "$libfile"; then - $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 - finalize=no - fi - done - - relink_command= - # Note that it is not necessary on cygwin/mingw to append a dot to - # foo even if both foo and FILE.exe exist: automatic-append-.exe - # behavior happens only for exec(3), not for open(2)! Also, sourcing - # `FILE.' does not work on cygwin managed mounts. - # - # If there is no directory component, then add one. - case $wrapper in - */* | *\\*) . ${wrapper} ;; - *) . ./${wrapper} ;; - esac - - outputname= - if test "$fast_install" = no && test -n "$relink_command"; then - if test "$finalize" = yes && test -z "$run"; then - tmpdir=`func_mktempdir` - file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` - outputname="$tmpdir/$file" - # Replace the output file specification. - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` - - $show "$relink_command" - if $run eval "$relink_command"; then : - else - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 - ${rm}r "$tmpdir" - continue - fi - file="$outputname" - else - $echo "$modename: warning: cannot relink \`$file'" 1>&2 - fi - else - # Install the binary that we compiled earlier. - file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\(^/*\)$%$objdir/\1%"` - fi - fi - - # remove .exe since cygwin /usr/bin/install will append another - # one anyway - case $install_prog,$host in - */usr/bin/install*,*cygwin*) - case $file:$destfile in - *.exe:*.exe) - # this is ok - ;; - *.exe:*) - destfile=$destfile.exe - ;; - *:*.exe) - destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` - ;; - esac - ;; - esac - $show "$install_prog$stripme $file $destfile" - $run eval "$install_prog\$stripme \$file \$destfile" || exit $? - test -n "$outputname" && ${rm}r "$tmpdir" - ;; - esac - done - - for file in $staticlibs; do - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - - # Set up the ranlib parameters. - oldlib="$destdir/$name" - - $show "$install_prog $file $oldlib" - $run eval "$install_prog \$file \$oldlib" || exit $? - - if test -n "$stripme" && test -n "$old_striplib"; then - $show "$old_striplib $oldlib" - $run eval "$old_striplib $oldlib" || exit $? - fi - - # Do each command in the postinstall commands. - cmds=$old_postinstall_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - done - - if test -n "$future_libdirs"; then - $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 - fi - - if test -n "$current_libdirs"; then - # Maybe just do a dry run. - test -n "$run" && current_libdirs=" -n$current_libdirs" - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' - else - exit $EXIT_SUCCESS - fi - ;; - - # libtool finish mode - finish) - modename="$modename: finish" - libdirs="$nonopt" - admincmds= - - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then - for dir - do - libdirs="$libdirs $dir" - done - - for libdir in $libdirs; do - if test -n "$finish_cmds"; then - # Do each command in the finish commands. - cmds=$finish_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || admincmds="$admincmds - $cmd" - done - IFS="$save_ifs" - fi - if test -n "$finish_eval"; then - # Do the single finish_eval. - eval cmds=\"$finish_eval\" - $run eval "$cmds" || admincmds="$admincmds - $cmds" - fi - done - fi - - # Exit here if they wanted silent mode. - test "$show" = : && exit $EXIT_SUCCESS - - $echo "X----------------------------------------------------------------------" | $Xsed - $echo "Libraries have been installed in:" - for libdir in $libdirs; do - $echo " $libdir" - done - $echo - $echo "If you ever happen to want to link against installed libraries" - $echo "in a given directory, LIBDIR, you must either use libtool, and" - $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" - $echo "flag during linking and do at least one of the following:" - if test -n "$shlibpath_var"; then - $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" - $echo " during execution" - fi - if test -n "$runpath_var"; then - $echo " - add LIBDIR to the \`$runpath_var' environment variable" - $echo " during linking" - fi - if test -n "$hardcode_libdir_flag_spec"; then - libdir=LIBDIR - eval flag=\"$hardcode_libdir_flag_spec\" - - $echo " - use the \`$flag' linker flag" - fi - if test -n "$admincmds"; then - $echo " - have your system administrator run these commands:$admincmds" - fi - if test -f /etc/ld.so.conf; then - $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" - fi - $echo - $echo "See any operating system documentation about shared libraries for" - $echo "more information, such as the ld(1) and ld.so(8) manual pages." - $echo "X----------------------------------------------------------------------" | $Xsed - exit $EXIT_SUCCESS - ;; - - # libtool execute mode - execute) - modename="$modename: execute" - - # The first argument is the command name. - cmd="$nonopt" - if test -z "$cmd"; then - $echo "$modename: you must specify a COMMAND" 1>&2 - $echo "$help" - exit $EXIT_FAILURE - fi - - # Handle -dlopen flags immediately. - for file in $execute_dlfiles; do - if test ! -f "$file"; then - $echo "$modename: \`$file' is not a file" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - dir= - case $file in - *.la) - # Check to see that this really is a libtool archive. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : - else - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Read the libtool library. - dlname= - library_names= - - # If there is no directory component, then add one. - case $file in - */* | *\\*) . $file ;; - *) . ./$file ;; - esac - - # Skip this library if it cannot be dlopened. - if test -z "$dlname"; then - # Warn if it was a shared library. - test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" - continue - fi - - dir=`$echo "X$file" | $Xsed -e 's%/^/*$%%'` - test "X$dir" = "X$file" && dir=. - - if test -f "$dir/$objdir/$dlname"; then - dir="$dir/$objdir" - else - if test ! -f "$dir/$dlname"; then - $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 - exit $EXIT_FAILURE - fi - fi - ;; - - *.lo) - # Just add the directory containing the .lo file. - dir=`$echo "X$file" | $Xsed -e 's%/^/*$%%'` - test "X$dir" = "X$file" && dir=. - ;; - - *) - $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 - continue - ;; - esac - - # Get the absolute pathname. - absdir=`cd "$dir" && pwd` - test -n "$absdir" && dir="$absdir" - - # Now add the directory to shlibpath_var. - if eval "test -z \"\$$shlibpath_var\""; then - eval "$shlibpath_var=\"\$dir\"" - else - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" - fi - done - - # This variable tells wrapper scripts just to set shlibpath_var - # rather than running their programs. - libtool_execute_magic="$magic" - - # Check if any of the arguments is a wrapper script. - args= - for file - do - case $file in - -*) ;; - *) - # Do a test to see if this is really a libtool program. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - # If there is no directory component, then add one. - case $file in - */* | *\\*) . $file ;; - *) . ./$file ;; - esac - - # Transform arg to wrapped name. - file="$progdir/$program" - fi - ;; - esac - # Quote arguments (to preserve shell metacharacters). - file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` - args="$args \"$file\"" - done - - if test -z "$run"; then - if test -n "$shlibpath_var"; then - # Export the shlibpath_var. - eval "export $shlibpath_var" - fi - - # Restore saved environment variables - for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES - do - eval "if test \"\${save_$lt_var+set}\" = set; then - $lt_var=\$save_$lt_var; export $lt_var - fi" - done - - # Now prepare to actually exec the command. - exec_cmd="\$cmd$args" - else - # Display what would be done. - if test -n "$shlibpath_var"; then - eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" - $echo "export $shlibpath_var" - fi - $echo "$cmd$args" - exit $EXIT_SUCCESS - fi - ;; - - # libtool clean and uninstall mode - clean | uninstall) - modename="$modename: $mode" - rm="$nonopt" - files= - rmforce= - exit_status=0 - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - for arg - do - case $arg in - -f) rm="$rm $arg"; rmforce=yes ;; - -*) rm="$rm $arg" ;; - *) files="$files $arg" ;; - esac - done - - if test -z "$rm"; then - $echo "$modename: you must specify an RM program" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - rmdirs= - - origobjdir="$objdir" - for file in $files; do - dir=`$echo "X$file" | $Xsed -e 's%/^/*$%%'` - if test "X$dir" = "X$file"; then - dir=. - objdir="$origobjdir" - else - objdir="$dir/$origobjdir" - fi - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - test "$mode" = uninstall && objdir="$dir" - - # Remember objdir for removal later, being careful to avoid duplicates - if test "$mode" = clean; then - case " $rmdirs " in - *" $objdir "*) ;; - *) rmdirs="$rmdirs $objdir" ;; - esac - fi - - # Don't error if the file doesn't exist and rm -f was used. - if (test -L "$file") >/dev/null 2>&1 \ - || (test -h "$file") >/dev/null 2>&1 \ - || test -f "$file"; then - : - elif test -d "$file"; then - exit_status=1 - continue - elif test "$rmforce" = yes; then - continue - fi - - rmfiles="$file" - - case $name in - *.la) - # Possibly a libtool archive, so verify it. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - . $dir/$name - - # Delete the libtool libraries and symlinks. - for n in $library_names; do - rmfiles="$rmfiles $objdir/$n" - done - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" - - case "$mode" in - clean) - case " $library_names " in - # " " in the beginning catches empty $dlname - *" $dlname "*) ;; - *) rmfiles="$rmfiles $objdir/$dlname" ;; - esac - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" - ;; - uninstall) - if test -n "$library_names"; then - # Do each command in the postuninstall commands. - cmds=$postuninstall_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" - if test "$?" -ne 0 && test "$rmforce" != yes; then - exit_status=1 - fi - done - IFS="$save_ifs" - fi - - if test -n "$old_library"; then - # Do each command in the old_postuninstall commands. - cmds=$old_postuninstall_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" - if test "$?" -ne 0 && test "$rmforce" != yes; then - exit_status=1 - fi - done - IFS="$save_ifs" - fi - # FIXME: should reinstall the best remaining shared library. - ;; - esac - fi - ;; - - *.lo) - # Possibly a libtool object, so verify it. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - - # Read the .lo file - . $dir/$name - - # Add PIC object to the list of files to remove. - if test -n "$pic_object" \ - && test "$pic_object" != none; then - rmfiles="$rmfiles $dir/$pic_object" - fi - - # Add non-PIC object to the list of files to remove. - if test -n "$non_pic_object" \ - && test "$non_pic_object" != none; then - rmfiles="$rmfiles $dir/$non_pic_object" - fi - fi - ;; - - *) - if test "$mode" = clean ; then - noexename=$name - case $file in - *.exe) - file=`$echo $file|${SED} 's,.exe$,,'` - noexename=`$echo $name|${SED} 's,.exe$,,'` - # $file with .exe has already been added to rmfiles, - # add $file without .exe - rmfiles="$rmfiles $file" - ;; - esac - # Do a test to see if this is a libtool program. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - relink_command= - . $dir/$noexename - - # note $name still contains .exe if it was in $file originally - # as does the version of $file that was added into $rmfiles - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" - if test "$fast_install" = yes && test -n "$relink_command"; then - rmfiles="$rmfiles $objdir/lt-$name" - fi - if test "X$noexename" != "X$name" ; then - rmfiles="$rmfiles $objdir/lt-${noexename}.c" - fi - fi - fi - ;; - esac - $show "$rm $rmfiles" - $run $rm $rmfiles || exit_status=1 - done - objdir="$origobjdir" - - # Try to remove the ${objdir}s in the directories where we deleted files - for dir in $rmdirs; do - if test -d "$dir"; then - $show "rmdir $dir" - $run rmdir $dir >/dev/null 2>&1 - fi - done - - exit $exit_status - ;; - - "") - $echo "$modename: you must specify a MODE" 1>&2 - $echo "$generic_help" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - if test -z "$exec_cmd"; then - $echo "$modename: invalid operation mode \`$mode'" 1>&2 - $echo "$generic_help" 1>&2 - exit $EXIT_FAILURE - fi -fi # test -z "$show_help" - -if test -n "$exec_cmd"; then - eval exec $exec_cmd - exit $EXIT_FAILURE -fi - -# We need to display help for each of the modes. -case $mode in -"") $echo \ -"Usage: $modename OPTION... MODE-ARG... - -Provide generalized library-building support services. - - --config show all configuration variables - --debug enable verbose shell tracing --n, --dry-run display commands without modifying any files - --features display basic configuration information and exit - --finish same as \`--mode=finish' - --help display this help message and exit - --mode=MODE use operation mode MODE default=inferred from MODE-ARGS - --quiet same as \`--silent' - --silent don't print informational messages - --tag=TAG use configuration variables from tag TAG - --version print version information - -MODE must be one of the following: - - clean remove files from the build directory - compile compile a source file into a libtool object - execute automatically set library path, then run a program - finish complete the installation of libtool libraries - install install libraries or executables - link create a library or an executable - uninstall remove libraries from an installed directory - -MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for -a more detailed description of MODE. - -Report bugs to <bug-libtool@gnu.org>." - exit $EXIT_SUCCESS - ;; - -clean) - $echo \ -"Usage: $modename OPTION... --mode=clean RM RM-OPTION... FILE... - -Remove files from the build directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, object or program, all the files associated -with it are deleted. Otherwise, only FILE itself is deleted using RM." - ;; - -compile) - $echo \ -"Usage: $modename OPTION... --mode=compile COMPILE-COMMAND... SOURCEFILE - -Compile a source file into a libtool library object. - -This mode accepts the following additional options: - - -o OUTPUT-FILE set the output file name to OUTPUT-FILE - -prefer-pic try to building PIC objects only - -prefer-non-pic try to building non-PIC objects only - -static always build a \`.o' file suitable for static linking - -COMPILE-COMMAND is a command to be used in creating a \`standard' object file -from the given SOURCEFILE. - -The output file name is determined by removing the directory component from -SOURCEFILE, then substituting the C source code suffix \`.c' with the -library object suffix, \`.lo'." - ;; - -execute) - $echo \ -"Usage: $modename OPTION... --mode=execute COMMAND ARGS... - -Automatically set library path, then run a program. - -This mode accepts the following additional options: - - -dlopen FILE add the directory containing FILE to the library path - -This mode sets the library path environment variable according to \`-dlopen' -flags. - -If any of the ARGS are libtool executable wrappers, then they are translated -into their corresponding uninstalled binary, and any of their required library -directories are added to the library path. - -Then, COMMAND is executed, with ARGS as arguments." - ;; - -finish) - $echo \ -"Usage: $modename OPTION... --mode=finish LIBDIR... - -Complete the installation of libtool libraries. - -Each LIBDIR is a directory that contains libtool libraries. - -The commands that this mode executes may require superuser privileges. Use -the \`--dry-run' option if you just want to see what would be executed." - ;; - -install) - $echo \ -"Usage: $modename OPTION... --mode=install INSTALL-COMMAND... - -Install executables or libraries. - -INSTALL-COMMAND is the installation command. The first component should be -either the \`install' or \`cp' program. - -The rest of the components are interpreted as arguments to that command (only -BSD-compatible install options are recognized)." - ;; - -link) - $echo \ -"Usage: $modename OPTION... --mode=link LINK-COMMAND... - -Link object files or libraries together to form another library, or to -create an executable program. - -LINK-COMMAND is a command using the C compiler that you would use to create -a program from several object files. - -The following components of LINK-COMMAND are treated specially: - - -all-static do not do any dynamic linking at all - -avoid-version do not add a version suffix if possible - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) - -export-symbols SYMFILE - try to export only the symbols listed in SYMFILE - -export-symbols-regex REGEX - try to export only the symbols matching REGEX - -LLIBDIR search LIBDIR for required installed libraries - -lNAME OUTPUT-FILE requires the installed library libNAME - -module build a library that can dlopened - -no-fast-install disable the fast-install mode - -no-install link a not-installable executable - -no-undefined declare that a library does not refer to external symbols - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects - -objectlist FILE Use a list of object files found in FILE to specify objects - -precious-files-regex REGEX - don't remove output files matching REGEX - -release RELEASE specify package release information - -rpath LIBDIR the created library will eventually be installed in LIBDIR - -R LIBDIR add LIBDIR to the runtime path of programs and libraries - -static do not do any dynamic linking of uninstalled libtool libraries - -static-libtool-libs - do not do any dynamic linking of libtool libraries - -version-info CURRENT:REVISION:AGE - specify library version info each variable defaults to 0 - -All other options (arguments beginning with \`-') are ignored. - -Every other argument is treated as a filename. Files ending in \`.la' are -treated as uninstalled libtool libraries, other files are standard or library -object files. - -If the OUTPUT-FILE ends in \`.la', then a libtool library is created, -only library objects (\`.lo' files) may be specified, and \`-rpath' is -required, except when creating a convenience library. - -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created -using \`ar' and \`ranlib', or on Windows using \`lib'. - -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file -is created, otherwise an executable program is created." - ;; - -uninstall) - $echo \ -"Usage: $modename OPTION... --mode=uninstall RM RM-OPTION... FILE... - -Remove libraries from an installation directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, all the files associated with it are deleted. -Otherwise, only FILE itself is deleted using RM." - ;; - -*) - $echo "$modename: invalid operation mode \`$mode'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - ;; -esac - -$echo -$echo "Try \`$modename --help' for more information about other modes." - -exit $? - -# The TAGs below are defined such that we never get into a situation -# in which we disable both kinds of libraries. Given conflicting -# choices, we go for a static library, that is the most portable, -# since we can't tell whether shared libraries were disabled because -# the user asked for that or because the platform doesn't support -# them. This is particularly important on AIX, because we don't -# support having both static and shared libraries enabled at the same -# time on that platform, so we default to a shared-only configuration. -# If a disable-shared tag is given, we'll fallback to a static-only -# configuration. But we'll never go from static-only to shared-only. - -# ### BEGIN LIBTOOL TAG CONFIG: disable-shared -disable_libs=shared -# ### END LIBTOOL TAG CONFIG: disable-shared - -# ### BEGIN LIBTOOL TAG CONFIG: disable-static -disable_libs=static -# ### END LIBTOOL TAG CONFIG: disable-static - -# Local Variables: -# mode:shell-script -# sh-indentation:2 -# End:
View file
oggvideotools-0.8.tar.bz2/admin/missing
Deleted
@@ -1,376 +0,0 @@ -#! /bin/sh -# Common stub for a few missing GNU programs while installing. - -scriptversion=2009-04-28.21; # UTC - -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, -# 2008, 2009 Free Software Foundation, Inc. -# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program 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 General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -if test $# -eq 0; then - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 -fi - -run=: -sed_output='s/.* --output =\(^ *\).*/\1/p' -sed_minuso='s/.* -o \(^ *\).*/\1/p' - -# In the cases where this matters, `missing' is being run in the -# srcdir already. -if test -f configure.ac; then - configure_ac=configure.ac -else - configure_ac=configure.in -fi - -msg="missing on your system" - -case $1 in ---run) - # Try to run requested program, and just exit if it succeeds. - run= - shift - "$@" && exit 0 - # Exit code 63 means version mismatch. This often happens - # when the user try to use an ancient version of a tool on - # a file that requires a minimum version. In this case we - # we should proceed has if the program had been absent, or - # if --run hadn't been passed. - if test $? = 63; then - run=: - msg="probably too old" - fi - ;; - - -h|--h|--he|--hel|--help) - echo "\ -$0 OPTION... PROGRAM ARGUMENT... - -Handle \`PROGRAM ARGUMENT...' for when PROGRAM is missing, or return an -error status if there is no known handling for PROGRAM. - -Options: - -h, --help display this help and exit - -v, --version output version information and exit - --run try to run the given command, and emulate it if it fails - -Supported PROGRAM values: - aclocal touch file \`aclocal.m4' - autoconf touch file \`configure' - autoheader touch file \`config.h.in' - autom4te touch the output file, or create a stub one - automake touch all \`Makefile.in' files - bison create \`y.tab.ch', if possible, from existing .ch - flex create \`lex.yy.c', if possible, from existing .c - help2man touch the output file - lex create \`lex.yy.c', if possible, from existing .c - makeinfo touch the output file - tar try tar, gnutar, gtar, then tar without non-portable flags - yacc create \`y.tab.ch', if possible, from existing .ch - -Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and -\`g' are ignored when checking the name. - -Send bug reports to <bug-automake@gnu.org>." - exit $? - ;; - - -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing $scriptversion (GNU Automake)" - exit $? - ;; - - -*) - echo 1>&2 "$0: Unknown \`$1' option" - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 - ;; - -esac - -# normalize program name to check for. -program=`echo "$1" | sed ' - s/^gnu-//; t - s/^gnu//; t - s/^g//; t'` - -# Now exit if we have it, but it failed. Also exit now if we -# don't have it and --version was passed (most likely to detect -# the program). This is about non-GNU programs, so use $1 not -# $program. -case $1 in - lex*|yacc*) - # Not GNU programs, they don't have --version. - ;; - - tar*) - if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - exit 1 - fi - ;; - - *) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - # Could not run --version or --help. This is probably someone - # running `$TOOL --version' or `$TOOL --help' to check whether - # $TOOL exists and not knowing $TOOL uses missing. - exit 1 - fi - ;; -esac - -# If it does not exist, or fails to run (possibly an outdated version), -# try to emulate it. -case $program in - aclocal*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acinclude.m4' or \`${configure_ac}'. You might want - to install the \`Automake' and \`Perl' packages. Grab them from - any GNU archive site." - touch aclocal.m4 - ;; - - autoconf*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`${configure_ac}'. You might want to install the - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU - archive site." - touch configure - ;; - - autoheader*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acconfig.h' or \`${configure_ac}'. You might want - to install the \`Autoconf' and \`GNU m4' packages. Grab them - from any GNU archive site." - files=`sed -n 's/^ *ACM_CONFIG_HEADER(\(^)*\)).*/\1/p' ${configure_ac}` - test -z "$files" && files="config.h" - touch_files= - for f in $files; do - case $f in - *:*) touch_files="$touch_files "`echo "$f" | - sed -e 's/^^:*://' -e 's/:.*//'`;; - *) touch_files="$touch_files $f.in";; - esac - done - touch $touch_files - ;; - - automake*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. - You might want to install the \`Automake' and \`Perl' packages. - Grab them from any GNU archive site." - find . -type f -name Makefile.am -print | - sed 's/\.am$/.in/' | - while read f; do touch "$f"; done - ;; - - autom4te*) - echo 1>&2 "\ -WARNING: \`$1' is needed, but is $msg. - You might have modified some files without having the - proper tools for further handling them. - You can get \`$1' as part of \`Autoconf' from any GNU - archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo "#! /bin/sh" - echo "# Created by GNU Automake missing as a replacement of" - echo "# $ $@" - echo "exit 0" - chmod +x $file - exit 1 - fi - ;; - - bison*|yacc*) - echo 1>&2 "\ -WARNING: \`$1' $msg. You should only need it if - you modified a \`.y' file. You may need the \`Bison' package - in order for those modifications to take effect. You can get - \`Bison' from any GNU archive site." - rm -f y.tab.c y.tab.h - if test $# -ne 1; then - eval LASTARG="\${$#}" - case $LASTARG in - *.y) - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.c - fi - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.h - fi - ;; - esac - fi - if test ! -f y.tab.h; then - echo >y.tab.h - fi - if test ! -f y.tab.c; then - echo 'main() { return 0; }' >y.tab.c - fi - ;; - - lex*|flex*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.l' file. You may need the \`Flex' package - in order for those modifications to take effect. You can get - \`Flex' from any GNU archive site." - rm -f lex.yy.c - if test $# -ne 1; then - eval LASTARG="\${$#}" - case $LASTARG in - *.l) - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" lex.yy.c - fi - ;; - esac - fi - if test ! -f lex.yy.c; then - echo 'main() { return 0; }' >lex.yy.c - fi - ;; - - help2man*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a dependency of a manual page. You may need the - \`Help2man' package in order for those modifications to take - effect. You can get \`Help2man' from any GNU archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo ".ab help2man is required to generate this page" - exit $? - fi - ;; - - makeinfo*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.texi' or \`.texinfo' file, or any other file - indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy \`make' (AIX, - DU, IRIX). You might want to install the \`Texinfo' package or - the \`GNU make' package. Grab either from any GNU archive site." - # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -z "$file"; then - # ... or it is the one specified with @setfilename ... - infile=`echo "$*" | sed 's/.* \(^ *\) *$/\1/'` - file=`sed -n ' - /^@setfilename/{ - s/.* \(^ *\) *$/\1/ - p - q - }' $infile` - # ... or it is derived from the source name (dir/f.texi becomes f.info) - test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.^.*$,,'`.info - fi - # If the file does not exist, the user really needs makeinfo; - # let's fail without touching anything. - test -f $file || exit 1 - touch $file - ;; - - tar*) - shift - - # We have already tried tar in the generic part. - # Look for gnutar/gtar before invocation to avoid ugly error - # messages. - if (gnutar --version > /dev/null 2>&1); then - gnutar "$@" && exit 0 - fi - if (gtar --version > /dev/null 2>&1); then - gtar "$@" && exit 0 - fi - firstarg="$1" - if shift; then - case $firstarg in - *o*) - firstarg=`echo "$firstarg" | sed s/o//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - case $firstarg in - *h*) - firstarg=`echo "$firstarg" | sed s/h//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - fi - - echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. - You may want to install GNU tar or Free paxutils, or check the - command line arguments." - exit 1 - ;; - - *) - echo 1>&2 "\ -WARNING: \`$1' is needed, and is $msg. - You might have modified some files without having the - proper tools for further handling them. Check the \`README' file, - it often tells you about the needed prerequisites for installing - this package. You may also peek at any GNU archive site, in case - some other package would contain this missing \`$1' program." - exit 1 - ;; -esac - -exit 0 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End:
View file
oggvideotools-0.8.tar.bz2/configure
Deleted
@@ -1,7771 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for oggvideotools 0.8. -# -# Report bugs to <yorn@gmx.net>. -# -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *\\/* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\(^/^/*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\(^/^/*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi - - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=\$LINENO - as_lineno_2=\$LINENO - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } -") 2> /dev/null; then - : -else - as_candidate_shells= - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - case $as_dir in - /*) - for as_base in sh bash ksh sh5; do - as_candidate_shells="$as_candidate_shells $as_dir/$as_base" - done;; - esac -done -IFS=$as_save_IFS - - - for as_shell in $as_candidate_shells $SHELL; do - # Try only shells that exist, to save several forks. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { ("$as_shell") 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -_ASEOF -}; then - CONFIG_SHELL=$as_shell - as_have_required=yes - if { "$as_shell" 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -(as_func_return () { - (exit $1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = "$1" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test $exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } - -_ASEOF -}; then - break -fi - -fi - - done - - if test "x$CONFIG_SHELL" != x; then - for as_var in BASH_ENV ENV - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - done - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - - if test $as_have_required = no; then - echo This script requires a shell more modern than all the - echo shells that I found on your system. Please install a - echo modern shell, or manually run the script under such a - echo shell if you do have one. - { (exit 1); exit 1; } -fi - - -fi - -fi - - - -(eval "as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0") || { - echo No shell found that supports shell functions. - echo Please tell bug-autoconf@gnu.org about your system, - echo including any error possibly output before this message. - echo This can help us improve future autoconf versions. - echo Configuration will now proceed without shell functions. -} - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /$LINENO/= - ' <$as_myself | - sed ' - s/$LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/$LINENO\(^'$as_cr_alnum'_.*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $0, causing all sort of problems - # (the dirname of $0 is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???sx*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%^_$as_cr_alnum%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%^_$as_cr_alnum%_%g'" - - - -exec 7<&0 </dev/null 6>&1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} - -# Identity of this package. -PACKAGE_NAME='oggvideotools' -PACKAGE_TARNAME='oggvideotools' -PACKAGE_VERSION='0.8' -PACKAGE_STRING='oggvideotools 0.8' -PACKAGE_BUGREPORT='yorn@gmx.net' - -ac_unique_file="src/oggPacket.h" -# Factoring default headers for most tests. -ac_includes_default="\ -#include <stdio.h> -#ifdef HAVE_SYS_TYPES_H -# include <sys/types.h> -#endif -#ifdef HAVE_SYS_STAT_H -# include <sys/stat.h> -#endif -#ifdef STDC_HEADERS -# include <stdlib.h> -# include <stddef.h> -#else -# ifdef HAVE_STDLIB_H -# include <stdlib.h> -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include <memory.h> -# endif -# include <string.h> -#endif -#ifdef HAVE_STRINGS_H -# include <strings.h> -#endif -#ifdef HAVE_INTTYPES_H -# include <inttypes.h> -#endif -#ifdef HAVE_STDINT_H -# include <stdint.h> -#endif -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif" - -ac_subst_vars='am__EXEEXT_FALSE -am__EXEEXT_TRUE -LTLIBOBJS -LIBOBJS -EGREP -GREP -CXXCPP -WANT_OGGSILENCE_FALSE -WANT_OGGSILENCE_TRUE -WANT_OGGTHUMB_FALSE -WANT_OGGTHUMB_TRUE -WANT_OGGRESIZE_FALSE -WANT_OGGRESIZE_TRUE -WANT_OGGSLIDESHOW_FALSE -WANT_OGGSLIDESHOW_TRUE -WANT_OGGSCROLL_FALSE -WANT_OGGSCROLL_TRUE -GD_LIBS -GD_CFLAGS -GD_CONFIG -SDL_LIBS -SDL_CFLAGS -THEORAENC_LIBS -THEORAENC_CFLAGS -THEORADEC_LIBS -THEORADEC_CFLAGS -VORBISENC_LIBS -VORBISENC_CFLAGS -VORBIS_LIBS -VORBIS_CFLAGS -OGG_LIBS -OGG_CFLAGS -PKG_CONFIG -RANLIB -am__fastdepCC_FALSE -am__fastdepCC_TRUE -CCDEPMODE -ac_ct_CC -CFLAGS -CC -am__fastdepCXX_FALSE -am__fastdepCXX_TRUE -CXXDEPMODE -AMDEPBACKSLASH -AMDEP_FALSE -AMDEP_TRUE -am__quote -am__include -DEPDIR -OBJEXT -EXEEXT -ac_ct_CXX -CPPFLAGS -LDFLAGS -CXXFLAGS -CXX -am__untar -am__tar -AMTAR -am__leading_dot -SET_MAKE -AWK -mkdir_p -MKDIR_P -INSTALL_STRIP_PROGRAM -STRIP -install_sh -MAKEINFO -AUTOHEADER -AUTOMAKE -AUTOCONF -ACLOCAL -VERSION -PACKAGE -CYGPATH_W -am__isrc -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_dependency_tracking -' - ac_precious_vars='build_alias -host_alias -target_alias -CXX -CXXFLAGS -LDFLAGS -LIBS -CPPFLAGS -CCC -CC -CFLAGS -PKG_CONFIG -OGG_CFLAGS -OGG_LIBS -VORBIS_CFLAGS -VORBIS_LIBS -VORBISENC_CFLAGS -VORBISENC_LIBS -THEORADEC_CFLAGS -THEORADEC_LIBS -THEORAENC_CFLAGS -THEORAENC_LIBS -SDL_CFLAGS -SDL_LIBS -CXXCPP' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '^=*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*^-+._$as_cr_alnum" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/-+./_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\(^=*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*^-+._$as_cr_alnum" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/-+./_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\(^=*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*^-+._$as_cr_alnum" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/-+./_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*^-+._$as_cr_alnum" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/-+./_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) { $as_echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\(^=*\)='` - # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*^_$as_cr_alnum" >/dev/null && - { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*^-._$as_cr_alnum" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { $as_echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 - { (exit 1); exit 1; }; } ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*^/\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - \\/$* | ?:\\/* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; } -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - { $as_echo "$as_me: error: working directory cannot be determined" >&2 - { (exit 1); exit 1; }; } -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 - { (exit 1); exit 1; }; } - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*^/\)//*^/^/*/*$' \| \ - X"$as_myself" : 'X\(//\)^/' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*^/\)\/\/*^/^/*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)^/.*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 - { (exit 1); exit 1; }; } - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*^/\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures oggvideotools 0.8 to adapt to many kinds of systems. - -Usage: $0 OPTION... VAR=VALUE... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE disabled - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR configure dir or \`..' - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - $ac_default_prefix - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - PREFIX - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables EPREFIX/bin - --sbindir=DIR system admin executables EPREFIX/sbin - --libexecdir=DIR program executables EPREFIX/libexec - --sysconfdir=DIR read-only single-machine data PREFIX/etc - --sharedstatedir=DIR modifiable architecture-independent data PREFIX/com - --localstatedir=DIR modifiable single-machine data PREFIX/var - --libdir=DIR object code libraries EPREFIX/lib - --includedir=DIR C header files PREFIX/include - --oldincludedir=DIR C header files for non-gcc /usr/include - --datarootdir=DIR read-only arch.-independent data root PREFIX/share - --datadir=DIR read-only architecture-independent data DATAROOTDIR - --infodir=DIR info documentation DATAROOTDIR/info - --localedir=DIR locale-dependent data DATAROOTDIR/locale - --mandir=DIR man documentation DATAROOTDIR/man - --docdir=DIR documentation root DATAROOTDIR/doc/oggvideotools - --htmldir=DIR html documentation DOCDIR - --dvidir=DIR dvi documentation DOCDIR - --pdfdir=DIR pdf documentation DOCDIR - --psdir=DIR ps documentation DOCDIR -_ACEOF - - cat <<\_ACEOF - -Program names: - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names -_ACEOF -fi - -if test -n "$ac_init_help"; then - case $ac_init_help in - short | recursive ) echo "Configuration of oggvideotools 0.8:";; - esac - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE=ARG include FEATURE ARG=yes - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors - -Some influential environment variables: - CXX C++ compiler command - CXXFLAGS C++ compiler flags - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a - nonstandard directory <lib dir> - LIBS libraries to pass to the linker, e.g. -l<library> - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if - you have headers in a nonstandard directory <include dir> - CC C compiler command - CFLAGS C compiler flags - PKG_CONFIG path to pkg-config utility - OGG_CFLAGS C compiler flags for OGG, overriding pkg-config - OGG_LIBS linker flags for OGG, overriding pkg-config - VORBIS_CFLAGS - C compiler flags for VORBIS, overriding pkg-config - VORBIS_LIBS linker flags for VORBIS, overriding pkg-config - VORBISENC_CFLAGS - C compiler flags for VORBISENC, overriding pkg-config - VORBISENC_LIBS - linker flags for VORBISENC, overriding pkg-config - THEORADEC_CFLAGS - C compiler flags for THEORADEC, overriding pkg-config - THEORADEC_LIBS - linker flags for THEORADEC, overriding pkg-config - THEORAENC_CFLAGS - C compiler flags for THEORAENC, overriding pkg-config - THEORAENC_LIBS - linker flags for THEORAENC, overriding pkg-config - SDL_CFLAGS C compiler flags for SDL, overriding pkg-config - SDL_LIBS linker flags for SDL, overriding pkg-config - CXXCPP C++ preprocessor - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to <yorn@gmx.net>. -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.\\/||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/^\\/*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - \\/* | ?:\\/* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -oggvideotools configure 0.8 -generated by GNU Autoconf 2.63 - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by oggvideotools $as_me 0.8, which was -generated by GNU Autoconf 2.63. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" -done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; - 2) - ac_configure_args1="$ac_configure_args1 '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - ac_configure_args="$ac_configure_args '$ac_arg'" - ;; - esac - done -done -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\(a-zA-Z_a-zA-Z0-9_*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\(_$as_cr_alnum*_cv__$as_cr_alnum*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^_$as_cr_alnum*_cv__$as_cr_alnum*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## -## File substitutions. ## -## ------------------- ## -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test -r "$ac_site_file"; then - { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - \\/* | ?:\\/* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } -fi - - - - - - - - - - - - - - - - - - - - - - - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -ac_aux_dir= -for ac_dir in admin "$srcdir"/admin; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5 -$as_echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;} - { (exit 1); exit 1; }; } -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -am__api_version='1.11' - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - -done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 -$as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=' -' -case `pwd` in - *\\\"\#\$\&\'\`$am_lf*) - { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 -$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} - { (exit 1); exit 1; }; };; -esac -case $srcdir in - *\\\"\#\$\&\'\`$am_lf\ \ *) - { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 -$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} - { (exit 1); exit 1; }; };; -esac - -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" >&5 -$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" >&2;} - { (exit 1); exit 1; }; } - fi - - test "$2" = conftest.file - ) -then - # Ok. - : -else - { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! -Check your system clock" >&5 -$as_echo "$as_me: error: newly created file is older than distributed files! -Check your system clock" >&2;} - { (exit 1); exit 1; }; } -fi -{ $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. -# By default was `s,x,x', remove it if useless. -ac_script='s/\\$/&&/g;s/;s,x,x,$//' -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` - -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` - -if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} -fi - -if test x"${install_sh}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh="\${SHELL} $am_aux_dir/install-sh" - esac -fi - -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - -{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in mkdir gmkdir; do - for ac_exec_ext in '' $ac_executable_extensions; do - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( - 'mkdir (GNU coreutils) '* | \ - 'mkdir (coreutils) '* | \ - 'mkdir (fileutils) '4.1*) - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext - break 3;; - esac - done - done -done -IFS=$as_save_IFS - -fi - - if test "${ac_cv_path_mkdir+set}" = set; then - MKDIR_P="$ac_cv_path_mkdir -p" - else - # As a last resort, use the slow shell script. Don't cache a - # value for MKDIR_P within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - test -d ./--version && rmdir ./--version - MKDIR_P="$ac_install_sh -d" - fi -fi -{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 -$as_echo "$MKDIR_P" >&6; } - -mkdir_p="$MKDIR_P" -case $mkdir_p in - \\/$* | ?:\\/*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:$LINENO: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - -{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/^a-zA-Z0-9_/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make1: Entering...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null - -if test "`cd $srcdir && pwd`" != "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output - # is not polluted with repeated "-I." - am__isrc=' -I$(srcdir)' - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 -$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} - { (exit 1); exit 1; }; } - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi - - -# Define the identity of the package. - PACKAGE=oggvideotools - VERSION=0.8 - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE "$PACKAGE" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define VERSION "$VERSION" -_ACEOF - -# Some tools Automake needs. - -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - - -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - - -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - - -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -# Always define AMTAR for backward compatibility. - -AMTAR=${AMTAR-"${am_missing_run}tar"} - -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' - - - - - - -ac_config_headers="$ac_config_headers config.h" - - -# Checks for programs. -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:$LINENO: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 -$as_echo_n "checking for C++ compiler default output file name... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest^ *//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { (ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - ab.out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '^.*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi - -{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -if test -z "$ac_file"; then - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C++ compiler cannot create executables -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } -fi - -ac_exeext=$ac_cv_exeext - -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 -$as_echo_n "checking whether the C++ compiler works... " >&6; } -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot run C++ compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - fi - fi -fi -{ $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '^.*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi - -rm -f conftest$ac_cv_exeext -{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi - -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cxx_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CXXFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cxx_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 -$as_echo_n "checking for style of include used by $am_make... " >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi - - -{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 -$as_echo "$_am_result" >&6; } -rm -f confinc confmf - -# Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - -depcc="$CXX" am_compiler_list= - -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CXX_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\(a-zA-Z0-9*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CXX_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CXX_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then - am__fastdepCXX_TRUE= - am__fastdepCXX_FALSE='#' -else - am__fastdepCXX_TRUE='#' - am__fastdepCXX_FALSE= -fi - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - -# Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <stdarg.h> -#include <stdio.h> -#include <sys/types.h> -#include <sys/stat.h> -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return pi; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array '\x00' == 0 ? 1 : -1; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_arrayFOO(a) == 'x' ? 1 : -1; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv0 || f (e, argv, 1) != argv1; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_c89=$ac_arg -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:$LINENO: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:$LINENO: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -depcc="$CC" am_compiler_list= - -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\(a-zA-Z0-9*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_RANLIB" = x; then - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi - - -# GCC 4.3 needs this -# CXXFLAGS="" # -std=c++0x -CXXFLAGS="$CXXFLAGS -D_FILE_OFFSET_BITS=64" - -# set C++ compiling and linkage -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $PKG_CONFIG in - \\/* | ?:\\/*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_PKG_CONFIG"; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $ac_pt_PKG_CONFIG in - \\/* | ?:\\/*) - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_pt_PKG_CONFIG" = x; then - PKG_CONFIG="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -fi - -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=0.9.0 - { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - PKG_CONFIG="" - fi - -fi - -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for OGG" >&5 -$as_echo_n "checking for OGG... " >&6; } - -if test -n "$OGG_CFLAGS"; then - pkg_cv_OGG_CFLAGS="$OGG_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.1.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "ogg >= 1.1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.1.0" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$OGG_LIBS"; then - pkg_cv_OGG_LIBS="$OGG_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.1.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "ogg >= 1.1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.1.0" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ogg >= 1.1.0" 2>&1` - else - OGG_PKG_ERRORS=`$PKG_CONFIG --print-errors "ogg >= 1.1.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$OGG_PKG_ERRORS" >&5 - - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - have_ogg=false -elif test $pkg_failed = untried; then - have_ogg=false -else - OGG_CFLAGS=$pkg_cv_OGG_CFLAGS - OGG_LIBS=$pkg_cv_OGG_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - -cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBOGG 1 -_ACEOF - have_ogg=yes -fi - -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for VORBIS" >&5 -$as_echo_n "checking for VORBIS... " >&6; } - -if test -n "$VORBIS_CFLAGS"; then - pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.1.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "vorbis >= 1.1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "vorbis >= 1.1.0" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$VORBIS_LIBS"; then - pkg_cv_VORBIS_LIBS="$VORBIS_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.1.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "vorbis >= 1.1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "vorbis >= 1.1.0" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - VORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "vorbis >= 1.1.0" 2>&1` - else - VORBIS_PKG_ERRORS=`$PKG_CONFIG --print-errors "vorbis >= 1.1.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$VORBIS_PKG_ERRORS" >&5 - - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - have_vorbis=false -elif test $pkg_failed = untried; then - have_vorbis=false -else - VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS - VORBIS_LIBS=$pkg_cv_VORBIS_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - -cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBVORBIS 1 -_ACEOF - have_vorbis=yes -fi - -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for VORBISENC" >&5 -$as_echo_n "checking for VORBISENC... " >&6; } - -if test -n "$VORBISENC_CFLAGS"; then - pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbisenc >= 1.1.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "vorbisenc >= 1.1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_VORBISENC_CFLAGS=`$PKG_CONFIG --cflags "vorbisenc >= 1.1.0" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$VORBISENC_LIBS"; then - pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbisenc >= 1.1.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "vorbisenc >= 1.1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_VORBISENC_LIBS=`$PKG_CONFIG --libs "vorbisenc >= 1.1.0" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "vorbisenc >= 1.1.0" 2>&1` - else - VORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors "vorbisenc >= 1.1.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$VORBISENC_PKG_ERRORS" >&5 - - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - have_vorbisenc=false -elif test $pkg_failed = untried; then - have_vorbisenc=false -else - VORBISENC_CFLAGS=$pkg_cv_VORBISENC_CFLAGS - VORBISENC_LIBS=$pkg_cv_VORBISENC_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - -cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBVORBISENC 1 -_ACEOF - have_vorbisenc=yes -fi - -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for THEORADEC" >&5 -$as_echo_n "checking for THEORADEC... " >&6; } - -if test -n "$THEORADEC_CFLAGS"; then - pkg_cv_THEORADEC_CFLAGS="$THEORADEC_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"theoradec >= 1.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "theoradec >= 1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_THEORADEC_CFLAGS=`$PKG_CONFIG --cflags "theoradec >= 1.0" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$THEORADEC_LIBS"; then - pkg_cv_THEORADEC_LIBS="$THEORADEC_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"theoradec >= 1.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "theoradec >= 1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_THEORADEC_LIBS=`$PKG_CONFIG --libs "theoradec >= 1.0" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - THEORADEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "theoradec >= 1.0" 2>&1` - else - THEORADEC_PKG_ERRORS=`$PKG_CONFIG --print-errors "theoradec >= 1.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$THEORADEC_PKG_ERRORS" >&5 - - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - have_theoradec=false -elif test $pkg_failed = untried; then - have_theoradec=false -else - THEORADEC_CFLAGS=$pkg_cv_THEORADEC_CFLAGS - THEORADEC_LIBS=$pkg_cv_THEORADEC_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - -cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBTHEORADEC 1 -_ACEOF - have_theoradec=yes -fi - -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for THEORAENC" >&5 -$as_echo_n "checking for THEORAENC... " >&6; } - -if test -n "$THEORAENC_CFLAGS"; then - pkg_cv_THEORAENC_CFLAGS="$THEORAENC_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"theoraenc >= 1.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "theoraenc >= 1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_THEORAENC_CFLAGS=`$PKG_CONFIG --cflags "theoraenc >= 1.0" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$THEORAENC_LIBS"; then - pkg_cv_THEORAENC_LIBS="$THEORAENC_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"theoraenc >= 1.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "theoraenc >= 1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_THEORAENC_LIBS=`$PKG_CONFIG --libs "theoraenc >= 1.0" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - THEORAENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "theoraenc >= 1.0" 2>&1` - else - THEORAENC_PKG_ERRORS=`$PKG_CONFIG --print-errors "theoraenc >= 1.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$THEORAENC_PKG_ERRORS" >&5 - - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - have_theoraenc=false -elif test $pkg_failed = untried; then - have_theoraenc=false -else - THEORAENC_CFLAGS=$pkg_cv_THEORAENC_CFLAGS - THEORAENC_LIBS=$pkg_cv_THEORAENC_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - -cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBTHEORAENC 1 -_ACEOF - have_theoraenc=yes -fi - -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for SDL" >&5 -$as_echo_n "checking for SDL... " >&6; } - -if test -n "$SDL_CFLAGS"; then - pkg_cv_SDL_CFLAGS="$SDL_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.11\"") >&5 - ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.11") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.11" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$SDL_LIBS"; then - pkg_cv_SDL_LIBS="$SDL_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.11\"") >&5 - ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.11") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.11" 2>/dev/null` -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.11" 2>&1` - else - SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.11" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$SDL_PKG_ERRORS" >&5 - - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - have_sdl=false -elif test $pkg_failed = untried; then - have_sdl=false -else - SDL_CFLAGS=$pkg_cv_SDL_CFLAGS - SDL_LIBS=$pkg_cv_SDL_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - -cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBSDL 1 -_ACEOF - have_sdl=yes -fi -#PKG_CHECK_MODULES(GD, gd, AC_DEFINE(HAVE_LIBGD,1,Defined to 1 if gd library has been found) have_gd=yes, have_gd=false) - -# -# add checking message for debug information -# -#AC_MSG_CHECKING(whether to build with debug information) - -# create configure parameter and init variable $debuger -#debuger=no -#AC_ARG_ENABLE(debug, -# AC_HELP_STRING( -# --enable-debug, -# enable debug data generation (def=no) -# ), -# debuger="$enableval" -#) - -# resulting value to screen (to complete checking message) -#AC_MSG_RESULT($debuger) - -# set DEBUG flag and introduce additional compiler flags -#if test x"$debuger" = x"yes"; then -# AC_DEFINE(DEBUG, ,Defined to 1 if debug is enabled) -# CXXFLAGS="$CXXFLAGS -g -O0 -Wall -Werror" -#else -# CXXFLAGS="$CXXFLAGS -O2" -#fi - - if test -n "$GD_DIR"; then - # Extract the first word of "gdlib-config", so it can be a program name with args. -set dummy gdlib-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_GD_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $GD_CONFIG in - \\/* | ?:\\/*) - ac_cv_path_GD_CONFIG="$GD_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_dummy="$GD_DIR/bin:$PATH" -for as_dir in $as_dummy -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_GD_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -GD_CONFIG=$ac_cv_path_GD_CONFIG -if test -n "$GD_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $GD_CONFIG" >&5 -$as_echo "$GD_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - # Extract the first word of "gdlib-config", so it can be a program name with args. -set dummy gdlib-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_GD_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $GD_CONFIG in - \\/* | ?:\\/*) - ac_cv_path_GD_CONFIG="$GD_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_GD_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -GD_CONFIG=$ac_cv_path_GD_CONFIG -if test -n "$GD_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $GD_CONFIG" >&5 -$as_echo "$GD_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi - - if test -n "$GD_CONFIG"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBGD 1 -_ACEOF - - if test -n "$GD_DIR"; then - GD_CFLAGS="`$GD_CONFIG --cflags` -I$GD_DIR/include" - else - GD_CFLAGS=`$GD_CONFIG --cflags` - fi - GD_LIBS="`$GD_CONFIG --ldflags` `$GD_CONFIG --libs` -lgd" -# GD_LIBS=`echo " $GD_LIBS" |sed 's/ -l^ ^ *//g'` - have_gd=yes - else - if test -n "$GD_DIR"; then - GD_CFLAGS="-I$GD_DIR/include/gd -I$GD_DIR/include" - GD_LIBS="-L$GD_DIR/lib" - have_gd=yes - else - GD_CFLAGS="" - GD_LIBS="" - have_gd=no - fi - fi - - - - - - - - - - - - - - - - - if test x$have_ogg = xyes -a x$have_vorbis = xyes -a x$have_theoraenc = xyes -a x$have_theoraenc = xyes -a x$have_sdl = xyes ; then - WANT_OGGSCROLL_TRUE= - WANT_OGGSCROLL_FALSE='#' -else - WANT_OGGSCROLL_TRUE='#' - WANT_OGGSCROLL_FALSE= -fi - - if test x$have_ogg = xyes -a x$have_theoraenc = xyes -a x$have_theoradec = xyes -a x$have_gd = xyes ; then - WANT_OGGSLIDESHOW_TRUE= - WANT_OGGSLIDESHOW_FALSE='#' -else - WANT_OGGSLIDESHOW_TRUE='#' - WANT_OGGSLIDESHOW_FALSE= -fi - - if test x$have_ogg = xyes -a x$have_theoraenc = xyes -a x$have_theoradec = xyes -a x$have_gd = xyes ; then - WANT_OGGRESIZE_TRUE= - WANT_OGGRESIZE_FALSE='#' -else - WANT_OGGRESIZE_TRUE='#' - WANT_OGGRESIZE_FALSE= -fi - - if test x$have_ogg = xyes -a x$have_theoraenc = xyes -a x$have_theoradec = xyes -a x$have_gd = xyes ; then - WANT_OGGTHUMB_TRUE= - WANT_OGGTHUMB_FALSE='#' -else - WANT_OGGTHUMB_TRUE='#' - WANT_OGGTHUMB_FALSE= -fi - - if test x$have_ogg = xyes -a x$have_vorbis = xyes ; then - WANT_OGGSILENCE_TRUE= - WANT_OGGSILENCE_FALSE='#' -else - WANT_OGGSILENCE_TRUE='#' - WANT_OGGSILENCE_FALSE= -fi - - - -# Checks for header files. - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if test "${ac_cv_prog_CXXCPP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <ac_nonexistent.h> -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - # <limits.h> exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <ac_nonexistent.h> -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : -else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - -{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <stdlib.h> -#include <stdarg.h> -#include <string.h> -#include <float.h> - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_header_stdc=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_header_stdc=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <string.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <stdlib.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <ctype.h> -#include <stdlib.h> -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - -fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -as_val=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - - - -for ac_header in stdlib.h string.h stdint.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 -$as_echo_n "checking $ac_header usability... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 -$as_echo_n "checking $ac_header presence... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <$ac_header> -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi - -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in - yes:no: ) - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} - ( cat <<\_ASBOX -## --------------------------- ## -## Report this to yorn@gmx.net ## -## --------------------------- ## -_ASBOX - ) | sed "s/^/$as_me: WARNING: /" >&2 - ;; -esac -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - eval "$as_ac_Header=\$ac_header_preproc" -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - -fi -as_val=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -# Checks for typedefs, structures, and compiler characteristics. -{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 -$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } -if test "${ac_cv_header_stdbool_h+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include <stdbool.h> -#ifndef bool - "error: bool is not defined" -#endif -#ifndef false - "error: false is not defined" -#endif -#if false - "error: false is not 0" -#endif -#ifndef true - "error: true is not defined" -#endif -#if true != 1 - "error: true is not 1" -#endif -#ifndef __bool_true_false_are_defined - "error: __bool_true_false_are_defined is not defined" -#endif - - struct s { _Bool s: 1; _Bool t; } s; - - char atrue == 1 ? 1 : -1; - char bfalse == 0 ? 1 : -1; - char c__bool_true_false_are_defined == 1 ? 1 : -1; - char d(bool) 0.5 == true ? 1 : -1; - bool e = &s; - char f(_Bool) 0.0 == false ? 1 : -1; - char gtrue; - char hsizeof (_Bool); - char isizeof s.t; - enum { j = false, k = true, l = false * true, m = true * 256 }; - /* The following fails for - HP aC++/ANSI C B3910B A.05.55 Dec 04 2003. */ - _Bool nm; - char osizeof n == m * sizeof n0 ? 1 : -1; - char p-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1; -# if defined __xlc__ || defined __GNUC__ - /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 - reported by James Lemley on 2005-10-05; see - http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html - This test is not quite right, since xlc is allowed to - reject this program, as the initializer for xlcbug is - not one of the forms that C requires support for. - However, doing the test right would require a runtime - test, and that would make cross-compilation harder. - Let us hope that IBM fixes the xlc bug, and also adds - support for this kind of constant expression. In the - meantime, this test will reject xlc, which is OK, since - our stdbool.h substitute should suffice. We also test - this with GCC, where it should work, to detect more - quickly whether someone messes up the test in the - future. */ - char digs = "0123456789"; - int xlcbug = 1 / (&(digs + 5)-2 + (bool) 1 == &digs4 ? 1 : -1); -# endif - /* Catch a bug in an HP-UX C compiler. See - http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html - http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html - */ - _Bool q = true; - _Bool *pq = &q; - -int -main () -{ - - *pq |= q; - *pq |= ! q; - /* Refer to every declared value, to avoid compiler optimizations. */ - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l - + !m + !n + !o + !p + !q + !pq); - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_header_stdbool_h=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_header_stdbool_h=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 -$as_echo "$ac_cv_header_stdbool_h" >&6; } -{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5 -$as_echo_n "checking for _Bool... " >&6; } -if test "${ac_cv_type__Bool+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_type__Bool=no -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -if (sizeof (_Bool)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -if (sizeof ((_Bool))) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_type__Bool=yes -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 -$as_echo "$ac_cv_type__Bool" >&6; } -if test "x$ac_cv_type__Bool" = x""yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE__BOOL 1 -_ACEOF - - -fi - -if test $ac_cv_header_stdbool_h = yes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_STDBOOL_H 1 -_ACEOF - -fi - -{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if test "${ac_cv_c_const+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -/* FIXME: Include the comments suggested by Paul. */ -#ifndef __cplusplus - /* Ultrix mips cc rejects this. */ - typedef int charset2; - const charset cs; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *pcpcc; - char **ppc; - /* NEC SVR4.0.2 mips cc rejects this. */ - struct point {int x, y;}; - static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in - an arm of an if-expression whose if-part is not a constant - expression */ - const char *g = "string"; - pcpcc = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++pcpcc; - ppc = (char**) pcpcc; - pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - if (s) return 0; - } - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x = {25, 17}; - const int *foo = &x0; - ++foo; - } - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; - } - { /* AIX XL C 1.02.0.0 rejects this saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap3; }; - struct s *b; b->j = 5; - } - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; - if (!foo) return 0; - } - return !cs0 && !zero.x; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_const=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_c_const=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 -$as_echo "$ac_cv_c_const" >&6; } -if test $ac_cv_c_const = no; then - -cat >>confdefs.h <<\_ACEOF -#define const /**/ -_ACEOF - -fi - -{ $as_echo "$as_me:$LINENO: checking for inline" >&5 -$as_echo_n "checking for inline... " >&6; } -if test "${ac_cv_c_inline+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifndef __cplusplus -typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } -#endif - -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_inline=$ac_kw -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - test "$ac_cv_c_inline" != no && break -done - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 -$as_echo "$ac_cv_c_inline" >&6; } - - -case $ac_cv_c_inline in - inline | yes) ;; - *) - case $ac_cv_c_inline in - no) ac_val=;; - *) ac_val=$ac_cv_c_inline;; - esac - cat >>confdefs.h <<_ACEOF -#ifndef __cplusplus -#define inline $ac_val -#endif -_ACEOF - ;; -esac - -{ $as_echo "$as_me:$LINENO: checking for working volatile" >&5 -$as_echo_n "checking for working volatile... " >&6; } -if test "${ac_cv_c_volatile+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - -volatile int x; -int * volatile y = (int *) 0; -return !x && !y; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_volatile=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_c_volatile=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 -$as_echo "$ac_cv_c_volatile" >&6; } -if test $ac_cv_c_volatile = no; then - -cat >>confdefs.h <<\_ACEOF -#define volatile /**/ -_ACEOF - -fi - - -# Checks for library functions. - - -for ac_func in bzero memset -do -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 -$as_echo_n "checking for $ac_func... " >&6; } -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. - For example, HP-UX 11i <limits.h> declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - -#undef $ac_func - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$ac_func || defined __stub___$ac_func -choke me -#endif - -int -main () -{ -return $ac_func (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - eval "$as_ac_var=yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_var=no" -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -ac_res=`eval 'as_val=${'$as_ac_var'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -as_val=`eval 'as_val=${'$as_ac_var'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - -ac_config_files="$ac_config_files makefile src/makefile docs/makefile scripts/makefile" - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\(a-zA-Z_a-zA-Z0-9_*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\(_$as_cr_alnum*_cv__$as_cr_alnum*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^_$as_cr_alnum*_cv__$as_cr_alnum*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\(^=*\)=\(.*{}.*\)$/test "${\1+set}" = set || &/ - t end - s/^\(^=*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIBOBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - if test -n "$EXEEXT"; then - am__EXEEXT_TRUE= - am__EXEEXT_FALSE='#' -else - am__EXEEXT_TRUE='#' - am__EXEEXT_FALSE= -fi - -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${WANT_OGGSCROLL_TRUE}" && test -z "${WANT_OGGSCROLL_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"WANT_OGGSCROLL\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"WANT_OGGSCROLL\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${WANT_OGGSLIDESHOW_TRUE}" && test -z "${WANT_OGGSLIDESHOW_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"WANT_OGGSLIDESHOW\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"WANT_OGGSLIDESHOW\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${WANT_OGGRESIZE_TRUE}" && test -z "${WANT_OGGRESIZE_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"WANT_OGGRESIZE\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"WANT_OGGRESIZE\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${WANT_OGGTHUMB_TRUE}" && test -z "${WANT_OGGTHUMB_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"WANT_OGGTHUMB\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"WANT_OGGTHUMB\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${WANT_OGGSILENCE_TRUE}" && test -z "${WANT_OGGSILENCE_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"WANT_OGGSILENCE\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"WANT_OGGSILENCE\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi - -: ${CONFIG_STATUS=./config.status} -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *\\/* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\(^/^/*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\(^/^/*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /$LINENO/= - ' <$as_myself | - sed ' - s/$LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/$LINENO\(^'$as_cr_alnum'_.*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $0, causing all sort of problems - # (the dirname of $0 is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???sx*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%^_$as_cr_alnum%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%^_$as_cr_alnum%_%g'" - - -exec 6>&1 - -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by oggvideotools $as_me 0.8, which was -generated by GNU Autoconf 2.63. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 OPTION... FILE... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE:TEMPLATE - instantiate the configuration file FILE - --header=FILE:TEMPLATE - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to <bug-autoconf@gnu.org>." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_version="\\ -oggvideotools config.status 0.8 -configured by $0, generated by GNU Autoconf 2.63, - with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/\\""\`\$/\\\\&/g'`\\" - -Copyright (C) 2008 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -MKDIR_P='$MKDIR_P' -AWK='$AWK' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\(^=*\)='` - ac_optarg=`expr "X$1" : 'X^=*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - { $as_echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; };; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) { $as_echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "makefile") CONFIG_FILES="$CONFIG_FILES makefile" ;; - "src/makefile") CONFIG_FILES="$CONFIG_FILES src/makefile" ;; - "docs/makefile") CONFIG_FILES="$CONFIG_FILES docs/makefile" ;; - "scripts/makefile") CONFIG_FILES="$CONFIG_FILES scripts/makefile" ;; - - *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || -{ - $as_echo "$as_me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=' ' -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S"/; s/!.*/"=/ -p -g -s/^^!*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\).*/\1/ -t more1 -s/"\\/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/"\\/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\).*/\1/ -t more2 -s/"\\/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/"\\/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' <conf$$subs.awk | sed ' -/^^""/{ - N - s/\n// -} -' >>$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_setkey = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field1) - for (i = 2; i < nfields; i++) { - key = fieldi - keylen = length(key) - if (S_is_setkey) { - value = Skey - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field++i) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 -$as_echo "$as_me: error: could not setup config files machinery" >&2;} - { (exit 1); exit 1; }; } -_ACEOF - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^ *VPATH *=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\(^=*= *\):*/\1/ -s/:*$// -s/^^=*= *$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then - break - elif $ac_last_try; then - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=_$as_cr_Letters_$as_cr_alnum* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^ *# *define */ / -t def -d -:def -s/\\$// -t bsnl -s/"\\/\\&/g -s/^ \('"$ac_word_re"'\)\((^()*)\) *\(.*\)/P"\1"="\2"\ -D"\1"=" \3"/p -s/^ \('"$ac_word_re"'\) *\(.*\)/D"\1"=" \2"/p -d -:bsnl -s/"\\/\\&/g -s/^ \('"$ac_word_re"'\)\((^()*)\) *\(.*\)/P"\1"="\2"\ -D"\1"=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\) *\(.*\)/D"\1"=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/"\\/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/"\\/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' <confdefs.h | sed ' -s/'"$ac_delim"'/"\\\ -"/g' >>$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_setkey = 1 - FS = "" -} -/^\t *#\t *(define|undef)\t +$ac_word_re(\t (|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg1 == "#") { - defundef = arg2 - mac1 = arg3 - } else { - defundef = substr(arg1, 2) - mac1 = arg2 - } - split(mac1, mac2, "(") #) - macro = mac21 - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_setmacro) { - # Preserve the white space surrounding the "#". - print prefix "define", macro Pmacro Dmacro - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 -$as_echo "$as_me: error: could not setup config headers machinery" >&2;} - { (exit 1); exit 1; }; } -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :FHLC) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :FHL*:*);; - :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 -$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} - { (exit 1); exit 1; }; };; - :FH-) ac_tag=-:-;; - :FH*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :FH) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - \\/$*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} - { (exit 1); exit 1; }; };; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - ac_file_inputs="$ac_file_inputs '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^^:*/||;s|:^:*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/\\\\&|/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*^/\)//*^/^/*/*$' \| \ - X"$ac_file" : 'X\(//\)^/' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*^/\)\/\/*^/^/*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)^/.*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*^/\)//*^/^/*/*$' \| \ - X"$as_dir" : 'X\(//\)^/' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*^/\)\/\/*^/^/*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)^/.*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.\\/||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/^\\/*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - \\/* | ?:\\/* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - \\/$* | ?:\\/* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - \\/$* | ?:\\/* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= - -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p -' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@a-zA-Z_a-zA-Z_0-9*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^ *datarootdir *:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; - esac \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 -$as_echo "$as_me: error: could not create -" >&2;} - { (exit 1); exit 1; }; } - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*^/\)//*^/^/*/*$' \| \ - X"$_am_arg" : 'X\(//\)^/' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*^/\)\/\/*^/^/*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)^/.*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*^/\)//*^/^/*/*$' \| \ - X"$mf" : 'X\(//\)^/' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*^/\)\/\/*^/^/*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)^/.*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*^/\)//*^/^/*/*$' \| \ - X"$file" : 'X\(//\)^/' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*^/\)\/\/*^/^/*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)^/.*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir=$dirpart/$fdir - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*^/\)//*^/^/*/*$' \| \ - X"$as_dir" : 'X\(//\)^/' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*^/\)\/\/*^/^/*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)^/.*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} - ;; - - esac -done # for ac_tag - - -{ (exit 0); exit 0; } -_ACEOF -chmod +x $CONFIG_STATUS -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - - -echo -echo Creating the following tools: -echo -echo oggJoin -echo oggSplit -echo oggCut -echo oggCat -echo oggDump - -if test x$have_ogg = xyes -a x$have_theoraenc = xyes -a x$have_theoradec = xyes -a x$have_gd = xyes ; then - echo - echo oggSlideshow - echo oggThumb - echo oggResize - echo oggSilence -else - echo - echo to create oggSlideshow and oggThumb, please install the following libraries: ogg >= 1.1.3, theora >= 1.0, libgd2 >= 2.0.34 - echo -fi - -if test x$have_ogg = xyes -a x$have_vorbis = xyes -a x$have_theoraenc = xyes -a x$have_theoraenc = xyes -a x$have_sdl = xyes ; then - echo - echo oggScroll - echo -else - echo - echo to create oggScroll, please install the following libraries: ogg >= 1.1.3, theora >= 1.0, SDL >= 1.2.11 - echo -fi -
View file
oggvideotools-0.8.tar.bz2/configure.ac
Deleted
@@ -1,156 +0,0 @@ -# -*- Autoconf -*- -# Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT(oggvideotools, 0.8, yorn@gmx.net) -AC_CONFIG_AUX_DIR(admin) -AM_INIT_AUTOMAKE(oggvideotools, 0.8) -AC_CONFIG_SRCDIR(src/oggPacket.h) -AC_CONFIG_HEADER(config.h) - -# Checks for programs. -AC_PROG_CXX -AC_PROG_CC -AC_PROG_RANLIB - -# GCC 4.3 needs this -# CXXFLAGS="" # -std=c++0x -CXXFLAGS="$CXXFLAGS -D_FILE_OFFSET_BITS=64" - -# set C++ compiling and linkage -AC_LANG_CPLUSPLUS - -PKG_CHECK_MODULES(OGG, ogg >= 1.1.0, AC_DEFINE(HAVE_LIBOGG,1,Defined to 1 if ogg library has been found) have_ogg=yes, have_ogg=false) -PKG_CHECK_MODULES(VORBIS, vorbis >= 1.1.0, AC_DEFINE(HAVE_LIBVORBIS,1,Defined to 1 if vorbis library has been found) have_vorbis=yes, have_vorbis=false) -PKG_CHECK_MODULES(VORBISENC, vorbisenc >= 1.1.0, AC_DEFINE(HAVE_LIBVORBISENC,1,Defined to 1 if vorbis encoder library has been found) have_vorbisenc=yes, have_vorbisenc=false) -PKG_CHECK_MODULES(THEORADEC, theoradec >= 1.0, AC_DEFINE(HAVE_LIBTHEORADEC,1,Defined to 1 if theora decoder library has been found) have_theoradec=yes, have_theoradec=false) -PKG_CHECK_MODULES(THEORAENC, theoraenc >= 1.0, AC_DEFINE(HAVE_LIBTHEORAENC,1,Defined to 1 if theora encoder library has been found) have_theoraenc=yes, have_theoraenc=false) -PKG_CHECK_MODULES(SDL, sdl >= 1.2.11, AC_DEFINE(HAVE_LIBSDL,1,Defined to 1 if the SDL library has been found) have_sdl=yes, have_sdl=false) -#PKG_CHECK_MODULES(GD, gd, AC_DEFINE(HAVE_LIBGD,1,Defined to 1 if gd library has been found) have_gd=yes, have_gd=false) - -# -# add checking message for debug information -# -#AC_MSG_CHECKING(whether to build with debug information) - -# create configure parameter and init variable $debuger -#debuger=no -#AC_ARG_ENABLE(debug, -# AC_HELP_STRING( -# --enable-debug, -# enable debug data generation (def=no) -# ), -# debuger="$enableval" -#) - -# resulting value to screen (to complete checking message) -#AC_MSG_RESULT($debuger) - -# set DEBUG flag and introduce additional compiler flags -#if test x"$debuger" = x"yes"; then -# AC_DEFINE(DEBUG, ,Defined to 1 if debug is enabled) -# CXXFLAGS="$CXXFLAGS -g -O0 -Wall -Werror" -#else -# CXXFLAGS="$CXXFLAGS -O2" -#fi - - if test -n "$GD_DIR"; then - AC_PATH_PROG(GD_CONFIG,gdlib-config,,$GD_DIR/bin:$PATH) - else - AC_PATH_PROG(GD_CONFIG,gdlib-config) - fi - - if test -n "$GD_CONFIG"; then - AC_DEFINE(HAVE_LIBGD,1,Defined to 1 if gd library has been found) - if test -n "$GD_DIR"; then - GD_CFLAGS="`$GD_CONFIG --cflags` -I$GD_DIR/include" - else - GD_CFLAGS=`$GD_CONFIG --cflags` - fi - GD_LIBS="`$GD_CONFIG --ldflags` `$GD_CONFIG --libs` -lgd" -# GD_LIBS=`echo " $GD_LIBS" |sed 's/ -l^ ^ *//g'` - have_gd=yes - else - if test -n "$GD_DIR"; then - GD_CFLAGS="-I$GD_DIR/include/gd -I$GD_DIR/include" - GD_LIBS="-L$GD_DIR/lib" - have_gd=yes - else - GD_CFLAGS="" - GD_LIBS="" - have_gd=no - fi - fi - -AC_SUBST(OGG_CFLAGS) -AC_SUBST(OGG_LIBS) -AC_SUBST(VORBIS_CFLAGS) -AC_SUBST(VORBIS_LIBS) -AC_SUBST(VORBISENC_CFLAGS) -AC_SUBST(VORBISENC_LIBS) -AC_SUBST(THEORAENC_CFLAGS) -AC_SUBST(THEORAENC_LIBS) -AC_SUBST(THEORADEC_CFLAGS) -AC_SUBST(THEORADEC_LIBS) -AC_SUBST(SDL_CFLAGS) -AC_SUBST(SDL_LIBS) -AC_SUBST(GD_CFLAGS) -AC_SUBST(GD_LIBS) - -AM_CONDITIONAL(WANT_OGGSCROLL, test x$have_ogg = xyes -a x$have_vorbis = xyes -a x$have_theoraenc = xyes -a x$have_theoraenc = xyes -a x$have_sdl = xyes ) -AM_CONDITIONAL(WANT_OGGSLIDESHOW, test x$have_ogg = xyes -a x$have_theoraenc = xyes -a x$have_theoradec = xyes -a x$have_gd = xyes ) -AM_CONDITIONAL(WANT_OGGRESIZE, test x$have_ogg = xyes -a x$have_theoraenc = xyes -a x$have_theoradec = xyes -a x$have_gd = xyes ) -AM_CONDITIONAL(WANT_OGGTHUMB, test x$have_ogg = xyes -a x$have_theoraenc = xyes -a x$have_theoradec = xyes -a x$have_gd = xyes ) -AM_CONDITIONAL(WANT_OGGSILENCE, test x$have_ogg = xyes -a x$have_vorbis = xyes ) - - -# Checks for header files. -AC_HEADER_STDC -AC_CHECK_HEADERS(stdlib.h string.h stdint.h) - -# Checks for typedefs, structures, and compiler characteristics. -AC_HEADER_STDBOOL -AC_C_CONST -AC_C_INLINE -AC_C_VOLATILE - -# Checks for library functions. -AC_CHECK_FUNCS(bzero memset) - -AC_CONFIG_FILES(makefile - src/makefile - docs/makefile - scripts/makefile) -AC_OUTPUT - -echo -echo Creating the following tools: -echo -echo oggJoin -echo oggSplit -echo oggCut -echo oggCat -echo oggDump - -if test x$have_ogg = xyes -a x$have_theoraenc = xyes -a x$have_theoradec = xyes -a x$have_gd = xyes ; then - echo - echo oggSlideshow - echo oggThumb - echo oggResize - echo oggSilence -else - echo - echo to create oggSlideshow and oggThumb, please install the following libraries: ogg >= 1.1.3, theora >= 1.0, libgd2 >= 2.0.34 - echo -fi - -if test x$have_ogg = xyes -a x$have_vorbis = xyes -a x$have_theoraenc = xyes -a x$have_theoraenc = xyes -a x$have_sdl = xyes ; then - echo - echo oggScroll - echo -else - echo - echo to create oggScroll, please install the following libraries: ogg >= 1.1.3, theora >= 1.0, SDL >= 1.2.11 - echo -fi -
View file
oggvideotools-0.8.tar.bz2/docs/makefile.am
Deleted
@@ -1,2 +0,0 @@ -man_MANS = oggResize.1 oggSlideshow.1 oggThumb.1 oggSplit.1 oggJoin.1 \ - oggCut.1 oggCat.1 oggSilence.1
View file
oggvideotools-0.8.tar.bz2/docs/makefile.in
Deleted
@@ -1,418 +0,0 @@ -# makefile.in generated by automake 1.11 from makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -subdir = docs -DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -SOURCES = -DIST_SOURCES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/.^$$\\*|/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/^/*$$,\1,' | \ - $(AWK) 'BEGIN { files"." = "" } { files$$2 = files$$2 " " $$1; \ - if (++n$$2 == $(am__install_max)) \ - { print $$2, files$$2; n$$2 = 0; files$$2 = "" } } \ - END { for (dir in files) print dir, filesdir }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -man1dir = $(mandir)/man1 -am__installdirs = "$(DESTDIR)$(man1dir)" -NROFF = nroff -MANS = $(man_MANS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GD_CFLAGS = @GD_CFLAGS@ -GD_CONFIG = @GD_CONFIG@ -GD_LIBS = @GD_LIBS@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -OBJEXT = @OBJEXT@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SDL_CFLAGS = @SDL_CFLAGS@ -SDL_LIBS = @SDL_LIBS@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -THEORADEC_CFLAGS = @THEORADEC_CFLAGS@ -THEORADEC_LIBS = @THEORADEC_LIBS@ -THEORAENC_CFLAGS = @THEORAENC_CFLAGS@ -THEORAENC_LIBS = @THEORAENC_LIBS@ -VERSION = @VERSION@ -VORBISENC_CFLAGS = @VORBISENC_CFLAGS@ -VORBISENC_LIBS = @VORBISENC_LIBS@ -VORBIS_CFLAGS = @VORBIS_CFLAGS@ -VORBIS_LIBS = @VORBIS_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -man_MANS = oggResize.1 oggSlideshow.1 oggThumb.1 oggSplit.1 oggJoin.1 \ - oggCut.1 oggCat.1 oggSilence.1 - -all: all-am - -.SUFFIXES: -$(srcdir)/makefile.in: $(srcdir)/makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu docs/makefile -.PRECIOUS: makefile -makefile: $(srcdir)/makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-man1: $(man_MANS) - @$(NORMAL_INSTALL) - test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" - @list=''; test -n "$(man1dir)" || exit 0; \ - { for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.1a-z*$$/p'; \ - } | while read p; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; echo "$$p"; \ - done | \ - sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^^10-9a-z*$$,1,;x' \ - -e 's,\.0-9a-z*$$,,;$(transform);G;s,\n,.,' | \ - sed 'N;N;s,\n, ,g' | { \ - list=; while read file base inst; do \ - if test "$$base" = "$$inst"; then list="$$list $$file"; else \ - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ - fi; \ - done; \ - for i in $$list; do echo "$$i"; done | $(am__base_list) | \ - while read files; do \ - test -z "$$files" || { \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ - done; } - -uninstall-man1: - @$(NORMAL_UNINSTALL) - @list=''; test -n "$(man1dir)" || exit 0; \ - files=`{ for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.1a-z*$$/p'; \ - } | sed -e 's,.*/,,;h;s,.*\.,,;s,^^10-9a-z*$$,1,;x' \ - -e 's,\.0-9a-z*$$,,;$(transform);G;s,\n,.,'`; \ - test -z "$$files" || { \ - echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @list='$(MANS)'; if test -n "$$list"; then \ - list=`for p in $$list; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ - if test -n "$$list" && \ - grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ - echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ - grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ - echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ - echo " typically \`make maintainer-clean' will remove them" >&2; \ - exit 1; \ - else :; fi; \ - else :; fi - @srcdirstrip=`echo "$(srcdir)" | sed 's/.^$$\\*/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/.^$$\\*/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/^/*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/^/*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: makefile $(MANS) -installdirs: - for dir in "$(DESTDIR)$(man1dir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic mostlyclean-am - -distclean: distclean-am - -rm -f makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-man - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: install-man1 - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-man - -uninstall-man: uninstall-man1 - -.MAKE: install-am install-strip - -.PHONY: all all-am check check-am clean clean-generic distclean \ - distclean-generic distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-man1 install-pdf install-pdf-am install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ - uninstall-am uninstall-man uninstall-man1 - - -# Tell versions 3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT:
View file
oggvideotools-0.8.tar.bz2/docs/oggResize.1
Deleted
@@ -1,165 +0,0 @@ -.TH OGGRESIZE 1 "JULY 2009" Linux "User Manuals" -.SH NAME -oggResize \- resizes ogg files in multiple ways -.SH SYNOPSIS -.B oggResize options inputfile.ogv outputfile.ogv -.SH DESCRIPTION -.B oggResize -can resize an ogg file (ogg, oga or ogv) in multiple ways: -It can change the video frame size, change datarate for the video and/or audio streams -contained in the ogg file and it can also change the video frame rate or audio sample rate. - -Additionally, since version 0.8 -.B oggResize -can add any ogg comment and png-pictures with an alpha channel can be rendered into the -video at any time period before and after the resizing process. - -.SH OPTIONS -.IP \-s - -Sets the size of the video frame. The size is given as -.B <width>x<height> -The default size is 480x320. - -.I Example: -s 320x240 - -.IP \-d - -Sets the datarate in byte per seconds for the video encoder (theora). This meant -to be a upper threshold. So the file may be smaller than assumed. If not set, -the datarate of the original stream is used. - -.I Example: -d 1024000 - -.IP \-D - -Sets the datarate in byte per seconds for the audio encoder (vorbis). -If not set, the datarate of the original stream is used. - -.I Example: -D 64000 - -.IP \-f - -Sets the frame rate of the video with numinator and demoninator and is the -pictures per second. If only one number is given, the denominator is set to -1. If not set, the framerate of the original video is used. - -.I Example: -f 25:2 - -.IP \-F - -Sets the sample frequency (sample rate) of the audio data in Hertz. If the -sample frequency does not match the one with the original file, resamling is invoked. - -.I Example: -F 32000 - -.IP \-c - -Adds comments to the video (theora) stream. Comments are given by a pair -of type and value in the form 'type=value'. More than one comment can be -concatenated with a semicolon. It is recommended to use apostrophes -as the command line may use the semicolon as a seperator. - -.I Example: -c 'AUTHOR=yorn;DATE=03.07.09' - -.IP \-C - -Adds comments to the audio (vorbis) stream. Comments are given by a pair -of type and value in the form 'type=value'. More than one comment can be -concatenated with a semicolon. It is recommended to use apostrophes -as the command line may use the semicolon as a seperator. - -.I Example: -C 'AUTHOR=yorn;DATE=03.07.09' - -.IP \-q - -Specifies the quality for the resizing process. Values can be chosen between 1 (best -quality, with slight bluring) and 6 (worst quality). The default value is 2. - -.I Example: -q1 - -.IP \-p - -This option is meant to help creating a preview of a film. The number -given with this option defines the number of frames, that are omitted. E.g. -if a film has 24 frames per second and -p24 is given, the newly created -video shows the video 24 times faster as only every 24th frame is used. -This option can be combined with the option -f to control the framerate. -With both options nice video previews can be created. If -p is used, the -audio stream is ignored. - -.I Example: -p 24 - -.IP \-a - -Adds a picture to the video frame before it is resized. -The expression for the picture appearances: - -.B <picture1.png>,<startTime>,<endTime>,s - -default -.B startTime -is 0 - -default -.B endTime -is -1, which is the end of the stream duration - -default -.B s -ist not set. If -.B s -is set, the picture slides in smoothly. - -More than one picture can be included. -To concatenate the expressions use the colon. -If the appearance time overlap, the pictures are placed on one another, -so the last picture is the uppest layer. - -.I Example: -a etwas.png,2,7,s:etwasneues.png,5,10 - -.IP \-A - -Adds a picture to the video frame after it is resized. - -The syntax follows the same expression as with option -a. - -.SH EXAMPLE - -.I oggResize -s320x240 -d512000 orig.ogv new.ogv - -Converts a the video -.B orig.ogv -to the video -.B new.ogv -with the new frame size 320x240. If -there was an audio stream within the orig.ogv file, it is copied into the new -file. - -.I oggResize -D64000 -F16000 -N1 orig.ogv new.ogv - -Converts only the audio stream of file -.B orig.ogv -to a sample rate of 16kHz, a datarate of 64 kBit/s and a mono channel. -The video stream is copied as is. - -.I oggResize -s300x200 -D32000 -d1024000 -A etwas.png,2,7,s:etwasneues.png,5,10 orig.ogv new.ogv - -Converts the audio and video stream and adds the alpha channel picture -.B etwas.png -to the video from second 2 to second 7 with a smooth fade in and fade out. -Additionally the alpha channel picture -.B etwasneues.png -is placed on top of the video frame from second 5 to second 10 without any -fading. - -.SH AUTHOR -Joern Seger <yorn at gmx dot net> -.SH "SEE ALSO" -.BR oggCut (1), -.BR oggCat (1), -.BR oggJoin (1), -.BR oggSplit (1), -.BR oggSlideshow (1), -.BR oggThumb (1), -.BR oggSilence (1) \ No newline at end of file
View file
oggvideotools-0.8.tar.bz2/docs/oggResize.html
Deleted
@@ -1,241 +0,0 @@ -Content-type: text/html - -<HTML><HEAD><TITLE>Manpage of OGGRESIZE</TITLE> -</HEAD><BODY> -<H1>OGGRESIZE</H1> -Section: User Manuals (1)<BR>Updated: JULY 2009<BR><A HREF="#index">Index</A> -<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR> - -<A NAME="lbAB"> </A> -<H2>NAME</H2> - -oggResize - resizes ogg files in multiple ways -<A NAME="lbAC"> </A> -<H2>SYNOPSIS</H2> - -<B>oggResize options inputfile.ogv outputfile.ogv </B> - -<A NAME="lbAD"> </A> -<H2>DESCRIPTION</H2> - -<B>oggResize </B> - -can resize an ogg file (ogg, oga or ogv) in multiple ways: -It can change the video frame size, change datarate for the video and/or audio streams -contained in the ogg file and it can also change the video frame rate or audio sample rate. -<P> -Additionally, since version 0.8 -<B>oggResize </B> - -can add any ogg comment and png-pictures with an alpha channel can be rendered into the -video at any time period before and after the resizing process. -<P> -<A NAME="lbAE"> </A> -<H2>OPTIONS</H2> - -<DL COMPACT> -<DT>-s<DD> -<P> -Sets the size of the video frame. The size is given as -<B><width>x<height></B> - -The default size is 480x320. -<P> -<I>Example: -s 320x240</I> - -<P> -<DT>-d<DD> -<P> -Sets the datarate in byte per seconds for the video encoder (theora). This meant -to be a upper threshold. So the file may be smaller than assumed. If not set, -the datarate of the original stream is used. -<P> -<I>Example: -d 1024000</I> - -<P> -<DT>-D<DD> -<P> -Sets the datarate in byte per seconds for the audio encoder (vorbis). -If not set, the datarate of the original stream is used. -<P> -<I>Example: -D 64000</I> - -<P> -<DT>-f<DD> -<P> -Sets the frame rate of the video with numinator and demoninator and is the -pictures per second. If only one number is given, the denominator is set to -1. If not set, the framerate of the original video is used. -<P> -<I>Example: -f 25:2</I> - -<P> -<DT>-F<DD> -<P> -Sets the sample frequency (sample rate) of the audio data in Hertz. If the -sample frequency does not match the one with the original file, resamling is invoked. -<P> -<I>Example: -F 32000</I> - -<P> -<DT>-c<DD> -<P> -Adds comments to the video (theora) stream. Comments are given by a pair -of type and value in the form 'type=value'. More than one comment can be -concatenated with a semicolon. It is recommended to use apostrophes -as the command line may use the semicolon as a seperator. -<P> -<I>Example: -c 'AUTHOR=yorn;DATE=03.07.09'</I> - -<P> -<DT>-C<DD> -<P> -Adds comments to the audio (vorbis) stream. Comments are given by a pair -of type and value in the form 'type=value'. More than one comment can be -concatenated with a semicolon. It is recommended to use apostrophes -as the command line may use the semicolon as a seperator. -<P> -<I>Example: -C 'AUTHOR=yorn;DATE=03.07.09'</I> - -<P> -<DT>-q<DD> -<P> -Specifies the quality for the resizing process. Values can be chosen between 1 (best -quality, with slight bluring) and 6 (worst quality). The default value is 2. -<P> -<I>Example: -q1</I> - -<P> -<DT>-p<DD> -<P> -This option is meant to help creating a preview of a film. The number -given with this option defines the number of frames, that are omitted. E.g. -if a film has 24 frames per second and -p24 is given, the newly created -video shows the video 24 times faster as only every 24th frame is used. -This option can be combined with the option -f to control the framerate. -With both options nice video previews can be created. If -p is used, the -audio stream is ignored. -<P> -<I>Example: -p 24</I> - -<P> -<DT>-a<DD> -<P> -Adds a picture to the video frame before it is resized. -The expression for the picture appearances: -<P> -<B><picture1.png>,<startTime>,<endTime>,s</B> - -<P> -default -<B>startTime </B> - -is 0 -<P> -default -<B>endTime</B> - -is -1, which is the end of the stream duration -<P> -default -<B>s </B> - -ist not set. If -<B>s </B> - -is set, the picture slides in smoothly. -<P> -More than one picture can be included. -To concatenate the expressions use the colon. -If the appearance time overlap, the pictures are placed on one another, -so the last picture is the uppest layer. -<P> -<I>Example: -a etwas.png,2,7,s:etwasneues.png,5,10</I> - -<P> -<DT>-A<DD> -<P> -Adds a picture to the video frame after it is resized. -<P> -The syntax follows the same expression as with option -a. -<P> -</DL> -<A NAME="lbAF"> </A> -<H2>EXAMPLE</H2> - -<P> -<I>oggResize -s320x240 -d512000 orig.ogv new.ogv</I> - -<P> -Converts a the video -<B>orig.ogv </B> - -to the video -<B>new.ogv </B> - -with the new frame size 320x240. If -there was an audio stream within the orig.ogv file, it is copied into the new -file. -<P> -<I>oggResize -D64000 -F16000 -N1 orig.ogv new.ogv</I> - -<P> -Converts only the audio stream of file -<B>orig.ogv </B> - -to a sample rate of 16kHz, a datarate of 64 kBit/s and a mono channel. -The video stream is copied as is. -<P> -<I>oggResize -s300x200 -D32000 -d1024000 -A etwas.png,2,7,s:etwasneues.png,5,10 orig.ogv new.ogv</I> - -<P> -Converts the audio and video stream and adds the alpha channel picture -<B>etwas.png </B> - -to the video from second 2 to second 7 with a smooth fade in and fade out. -Additionally the alpha channel picture -<B>etwasneues.png</B> - -is placed on top of the video frame from second 5 to second 10 without any -fading. -<P> -<A NAME="lbAG"> </A> -<H2>AUTHOR</H2> - -Joern Seger <yorn at gmx dot net> -<A NAME="lbAH"> </A> -<H2>SEE ALSO</H2> - -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), - -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), - -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), - -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), - -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), - -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), - -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) - - -<HR> -<A NAME="index"> </A><H2>Index</H2> -<DL> -<DT><A HREF="#lbAB">NAME</A><DD> -<DT><A HREF="#lbAC">SYNOPSIS</A><DD> -<DT><A HREF="#lbAD">DESCRIPTION</A><DD> -<DT><A HREF="#lbAE">OPTIONS</A><DD> -<DT><A HREF="#lbAF">EXAMPLE</A><DD> -<DT><A HREF="#lbAG">AUTHOR</A><DD> -<DT><A HREF="#lbAH">SEE ALSO</A><DD> -</DL> -<HR> -This document was created by -<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>, -using the manual pages.<BR> -Time: 03:39:57 GMT, July 17, 2009 -</BODY> -</HTML>
View file
oggvideotools-0.8.tar.bz2/m4
Deleted
-(directory)
View file
oggvideotools-0.8.tar.bz2/m4/pkg.m4
Deleted
@@ -1,155 +0,0 @@ -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# -# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program 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 -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# PKG_PROG_PKG_CONFIG(MIN-VERSION) -# ---------------------------------- -AC_DEFUN(PKG_PROG_PKG_CONFIG, -m4_pattern_forbid(^_?PKG_A-Z_+$) -m4_pattern_allow(^PKG_CONFIG(_PATH)?$) -AC_ARG_VAR(PKG_CONFIG, path to pkg-config utility)dnl -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL(PKG_CONFIG, pkg-config) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default($1, 0.9.0) - AC_MSG_CHECKING(pkg-config is at least version $_pkg_min_version) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - PKG_CONFIG="" - fi - -fidnl -)# PKG_PROG_PKG_CONFIG - -# PKG_CHECK_EXISTS(MODULES, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND) -# -# Check to see whether a particular set of modules exists. Similar -# to PKG_CHECK_MODULES(), but does not set variables or print errors. -# -# -# Similar to PKG_CHECK_MODULES, make sure that the first instance of -# this or PKG_CHECK_MODULES is called, or make sure to call -# PKG_CHECK_EXISTS manually -# -------------------------------------------------------------- -AC_DEFUN(PKG_CHECK_EXISTS, -AC_REQUIRE(PKG_PROG_PKG_CONFIG)dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG($PKG_CONFIG --exists --print-errors "$1"); then - m4_ifval($2, $2, :) -m4_ifvaln($3, else - $3)dnl -fi) - - -# _PKG_CONFIG(VARIABLE, COMMAND, MODULES) -# --------------------------------------------- -m4_define(_PKG_CONFIG, -if test -n "$$1"; then - pkg_cv_$1="$$1" - elif test -n "$PKG_CONFIG"; then - PKG_CHECK_EXISTS($3, - pkg_cv_$1=`$PKG_CONFIG --$2 "$3" 2>/dev/null`, - pkg_failed=yes) - else - pkg_failed=untried -fidnl -)# _PKG_CONFIG - -# _PKG_SHORT_ERRORS_SUPPORTED -# ----------------------------- -AC_DEFUN(_PKG_SHORT_ERRORS_SUPPORTED, -AC_REQUIRE(PKG_PROG_PKG_CONFIG) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fidnl -)# _PKG_SHORT_ERRORS_SUPPORTED - - -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, ACTION-IF-FOUND, -# ACTION-IF-NOT-FOUND) -# -# -# Note that if there is a possibility the first call to -# PKG_CHECK_MODULES might not happen, you should be sure to include an -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -# -# -# -------------------------------------------------------------- -AC_DEFUN(PKG_CHECK_MODULES, -AC_REQUIRE(PKG_PROG_PKG_CONFIG)dnl -AC_ARG_VAR($1_CFLAGS, C compiler flags for $1, overriding pkg-config)dnl -AC_ARG_VAR($1_LIBS, linker flags for $1, overriding pkg-config)dnl - -pkg_failed=no -AC_MSG_CHECKING(for $1) - -_PKG_CONFIG($1_CFLAGS, cflags, $2) -_PKG_CONFIG($1_LIBS, libs, $2) - -m4_define(_PKG_TEXT, Alternatively, you may set the environment variables $1_CFLAGS -and $1_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.) - -if test $pkg_failed = yes; then - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` - else - $1_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - ifelse($4, , AC_MSG_ERROR(dnl -Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT -), - AC_MSG_RESULT(no) - $4) -elif test $pkg_failed = untried; then - ifelse($4, , AC_MSG_FAILURE(dnl -The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see <http://pkg-config.freedesktop.org/>.), - $4) -else - $1_CFLAGS=$pkg_cv_$1_CFLAGS - $1_LIBS=$pkg_cv_$1_LIBS - AC_MSG_RESULT(yes) - ifelse($3, , :, $3) -fidnl -)# PKG_CHECK_MODULES
View file
oggvideotools-0.8.tar.bz2/makefile.am
Deleted
@@ -1,2 +0,0 @@ -SUBDIRS = src docs scripts -
View file
oggvideotools-0.8.tar.bz2/makefile.in
Deleted
@@ -1,695 +0,0 @@ -# makefile.in generated by automake 1.11 from makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -subdir = . -DIST_COMMON = README $(am__configure_deps) $(srcdir)/config.h.in \ - $(srcdir)/makefile.am $(srcdir)/makefile.in \ - $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ - TODO admin/config.guess admin/config.sub admin/depcomp \ - admin/install-sh admin/ltmain.sh admin/missing -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - distdir dist dist-all distcheck -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) -am__remove_distdir = \ - { test ! -d "$(distdir)" \ - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr "$(distdir)"; }; } -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\(^/*\)/.*$$,\1,'; \ - sed_rest='s,^^/*/*,,'; \ - sed_last='s,^.*/\(^/*\)$$,\1,'; \ - sed_butlast='s,/*^/*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -DIST_ARCHIVES = $(distdir).tar.gz -GZIP_ENV = --best -distuninstallcheck_listfiles = find . -type f -print -distcleancheck_listfiles = find . -type f -print -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GD_CFLAGS = @GD_CFLAGS@ -GD_CONFIG = @GD_CONFIG@ -GD_LIBS = @GD_LIBS@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -OBJEXT = @OBJEXT@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SDL_CFLAGS = @SDL_CFLAGS@ -SDL_LIBS = @SDL_LIBS@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -THEORADEC_CFLAGS = @THEORADEC_CFLAGS@ -THEORADEC_LIBS = @THEORADEC_LIBS@ -THEORAENC_CFLAGS = @THEORAENC_CFLAGS@ -THEORAENC_LIBS = @THEORAENC_LIBS@ -VERSION = @VERSION@ -VORBISENC_CFLAGS = @VORBISENC_CFLAGS@ -VORBISENC_LIBS = @VORBISENC_LIBS@ -VORBIS_CFLAGS = @VORBIS_CFLAGS@ -VORBIS_LIBS = @VORBIS_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -SUBDIRS = src docs scripts -all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: -am--refresh: - @: -$(srcdir)/makefile.in: $(srcdir)/makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ - $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu makefile -.PRECIOUS: makefile -makefile: $(srcdir)/makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - echo ' $(SHELL) ./config.status'; \ - $(SHELL) ./config.status;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck - -$(top_srcdir)/configure: $(am__configure_deps) - $(am__cd) $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -$(am__aclocal_m4_deps): - -config.h: stamp-h1 - @if test ! -f $@; then \ - rm -f stamp-h1; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ - else :; fi - -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status config.h -$(srcdir)/config.h.in: $(am__configure_deps) - ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) - rm -f stamp-h1 - touch $@ - -distclean-hdr: - -rm -f config.h stamp-h1 - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --!k*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --!k*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - $(am__remove_distdir) - test -d "$(distdir)" || mkdir "$(distdir)" - @srcdirstrip=`echo "$(srcdir)" | sed 's/.^$$\\*/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/.^$$\\*/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/^/*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/^/*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done - -test -n "$(am__skip_mode_fix)" \ - || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ - || chmod -R a+r "$(distdir)" -dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 - $(am__remove_distdir) - -dist-lzma: distdir - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma - $(am__remove_distdir) - -dist-xz: distdir - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz - $(am__remove_distdir) - -dist-tarZ: distdir - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__remove_distdir) - -dist-shar: distdir - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__remove_distdir) - -dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) - -dist dist-all: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lzma*) \ - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ - *.tar.xz*) \ - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/_build - mkdir $(distdir)/_inst - chmod a-w $(distdir) - test -d $(distdir)/_build || exit 0; \ - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^^:\\/:\\/,/,'` \ - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && am__cwd=`pwd` \ - && $(am__cd) $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ - distuninstallcheck \ - && chmod -R a-w "$$dc_install_base" \ - && ({ \ - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ - } || { rm -rf "$$dc_destdir"; exit 1; }) \ - && rm -rf "$$dc_destdir" \ - && $(MAKE) $(AM_MAKEFLAGS) dist \ - && rm -rf $(DIST_ARCHIVES) \ - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ - && cd "$$am__cwd" \ - || exit 1 - $(am__remove_distdir) - @(echo "$(distdir) archives ready for distribution: "; \ - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' -distuninstallcheck: - @$(am__cd) '$(distuninstallcheck_dir)' \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ - || { echo "ERROR: files left after uninstall:" ; \ - if test -n "$(DESTDIR)"; then \ - echo " (check DESTDIR support)"; \ - fi ; \ - $(distuninstallcheck_listfiles) ; \ - exit 1; } >&2 -distcleancheck: distclean - @if test '$(srcdir)' = . ; then \ - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ - exit 1 ; \ - fi - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left in build directory after distclean:" ; \ - $(distcleancheck_listfiles) ; \ - exit 1; } >&2 -check-am: all-am -check: check-recursive -all-am: makefile config.h -installdirs: installdirs-recursive -installdirs-am: -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic mostlyclean-am - -distclean: distclean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -f makefile -distclean-am: clean-am distclean-generic distclean-hdr distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(top_srcdir)/autom4te.cache - -rm -f makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ - ctags-recursive install-am install-strip tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am am--refresh check check-am clean clean-generic \ - ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ - dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ - distclean distclean-generic distclean-hdr distclean-tags \ - distcleancheck distdir distuninstallcheck dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am tags tags-recursive uninstall uninstall-am - - -# Tell versions 3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT:
View file
oggvideotools-0.8.tar.bz2/scripts/makefile.am
Deleted
@@ -1,1 +0,0 @@ -bin_SCRIPTS = mkThumbs mkSlideshow
View file
oggvideotools-0.8.tar.bz2/scripts/makefile.in
Deleted
@@ -1,396 +0,0 @@ -# makefile.in generated by automake 1.11 from makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -subdir = scripts -DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/.^$$\\*|/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/^/*$$,\1,' | \ - $(AWK) 'BEGIN { files"." = "" } { files$$2 = files$$2 " " $$1; \ - if (++n$$2 == $(am__install_max)) \ - { print $$2, files$$2; n$$2 = 0; files$$2 = "" } } \ - END { for (dir in files) print dir, filesdir }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__installdirs = "$(DESTDIR)$(bindir)" -SCRIPTS = $(bin_SCRIPTS) -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GD_CFLAGS = @GD_CFLAGS@ -GD_CONFIG = @GD_CONFIG@ -GD_LIBS = @GD_LIBS@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -OBJEXT = @OBJEXT@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SDL_CFLAGS = @SDL_CFLAGS@ -SDL_LIBS = @SDL_LIBS@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -THEORADEC_CFLAGS = @THEORADEC_CFLAGS@ -THEORADEC_LIBS = @THEORADEC_LIBS@ -THEORAENC_CFLAGS = @THEORAENC_CFLAGS@ -THEORAENC_LIBS = @THEORAENC_LIBS@ -VERSION = @VERSION@ -VORBISENC_CFLAGS = @VORBISENC_CFLAGS@ -VORBISENC_LIBS = @VORBISENC_LIBS@ -VORBIS_CFLAGS = @VORBIS_CFLAGS@ -VORBIS_LIBS = @VORBIS_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -bin_SCRIPTS = mkThumbs mkSlideshow -all: all-am - -.SUFFIXES: -$(srcdir)/makefile.in: $(srcdir)/makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu scripts/makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu scripts/makefile -.PRECIOUS: makefile -makefile: $(srcdir)/makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-binSCRIPTS: $(bin_SCRIPTS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n' \ - -e 'h;s|.*|.|' \ - -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files"." = ""; dirs"." = 1; } \ - { d=$$3; if (dirsd != 1) { print "d", d; dirsd = 1 } \ - if ($$2 == $$4) { filesd = filesd " " $$1; \ - if (++nd == $(am__install_max)) { \ - print "f", d, filesd; nd = 0; filesd = "" } } \ - else { print "f", d "/" $$4, $$1 } } \ - END { for (d in files) print "f", d, filesd }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 's,.*/,,;$(transform)'`; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/.^$$\\*/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/.^$$\\*/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/^/*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/^/*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: makefile $(SCRIPTS) -installdirs: - for dir in "$(DESTDIR)$(bindir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic mostlyclean-am - -distclean: distclean-am - -rm -f makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-binSCRIPTS - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binSCRIPTS - -.MAKE: install-am install-strip - -.PHONY: all all-am check check-am clean clean-generic distclean \ - distclean-generic distdir dvi dvi-am html html-am info info-am \ - install install-am install-binSCRIPTS install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am uninstall uninstall-am uninstall-binSCRIPTS - - -# Tell versions 3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT:
View file
oggvideotools-0.8.tar.bz2/src/SDLvideoOutput.cpp
Deleted
@@ -1,105 +0,0 @@ -#include <iostream> - -#include "SDLvideoOutput.h" - -SDLvideoOutput::SDLvideoOutput() - : MediaUnit(write, "SDLvideoOutput") -{ -} - -SDLvideoOutput::SDLvideoOutput(VideoInfo& info) - : MediaUnit(write, "SDLvideoOutput") -{ - init(info); -} - -void SDLvideoOutput::init(VideoInfo& info) -{ - videoInfo = info; - - if ( SDL_Init(SDL_INIT_VIDEO) < 0 ) { - std::cerr << "Unable to init SDL: "<< SDL_GetError() << std::endl; - return; - } - - screen = SDL_SetVideoMode(info.frame_width, info.frame_height, 0, SDL_SWSURFACE); - if ( screen == NULL ) { - std::cerr << "Unable to set " << info.frame_width <<" " << info.frame_height - << " video: " << SDL_GetError() << std::endl; - return; - } - - yuv_overlay = SDL_CreateYUVOverlay(info.frame_width, info.frame_height, - SDL_YV12_OVERLAY, - screen); - if ( yuv_overlay == NULL ) { - std::cerr << "SDLvideoOutput::init: Couldn't create SDL_yuv_overlay:" << SDL_GetError(); - return; - } - rect.x = 0; - rect.y = 0; - rect.w = info.frame_width; - rect.h = info.frame_height; - - SDL_DisplayYUVOverlay(yuv_overlay, &rect); - -} - -SDLvideoOutput::~SDLvideoOutput() -{ - SDL_Quit(); - std::cerr << std::endl; -} - -//SDLvideoOutput& SDLvideoOutput::operator<<(TheoraVideoPacket packet) -SDLvideoOutput& SDLvideoOutput::operator<<(th_ycbcr_buffer packet) -{ - int i; -// yuv_buffer yuv = packet.getYuvBuffer(); - int crop_offset; - - /* Lock SDL_yuv_overlay */ - if ( SDL_MUSTLOCK(screen) ) { - if ( SDL_LockSurface(screen) < 0 ) { - std::cerr << "SDLvideoOutput::operator<<: ERROR SDL_LockSurface\n"; - return(*this); - } - } - if (SDL_LockYUVOverlay(yuv_overlay) < 0) { - std::cerr << "SDLvideoOutput::operator<<: ERROR SDL_YUVOverlay\n"; - return(*this); - } - - /* let's draw the data (*yuv3) on a SDL screen (*screen) */ - /* deal with border stride */ - /* reverse u and v for SDL */ - /* and crop input properly, respecting the encoded frame rect */ - crop_offset=videoInfo.offset_x+packet0.stride*videoInfo.offset_y; - for (i=0; i<yuv_overlay->h; i++) - memcpy(yuv_overlay->pixels0+yuv_overlay->pitches0*i, - packet0.data+crop_offset+packet0.stride*i, - yuv_overlay->w); - crop_offset=(videoInfo.offset_x/2)+(packet1.stride)*(videoInfo.offset_y/2); - for (i=0; i<yuv_overlay->h/2; i++) { - memcpy(yuv_overlay->pixels2+yuv_overlay->pitches2*i, - packet1.data+crop_offset+packet1.stride*i, - yuv_overlay->w/2); - memcpy(yuv_overlay->pixels1+yuv_overlay->pitches1*i, - packet2.data+crop_offset+packet2.stride*i, - yuv_overlay->w/2); - } - - std::cerr << "."; - - /* Unlock SDL_yuv_overlay */ - if ( SDL_MUSTLOCK(screen) ) { - SDL_UnlockSurface(screen); - } - SDL_UnlockYUVOverlay(yuv_overlay); - - /* Show, baby, show! */ - SDL_DisplayYUVOverlay(yuv_overlay, &rect); - - return(*this); - -}
View file
oggvideotools-0.8.tar.bz2/src/SDLvideoOutput.h
Deleted
@@ -1,29 +0,0 @@ -#ifndef SDLVIDEOOUTPUT_H_ -#define SDLVIDEOOUTPUT_H_ - -#include "mediaUnit.h" -//#include "theoraVideoPacket.h" -#include "videoInfo.h" -#include <theora/codec.h> -#include <SDL/SDL.h> - -class SDLvideoOutput : public MediaUnit { -protected: - SDL_Surface *screen; - SDL_Overlay *yuv_overlay; - SDL_Rect rect; - - VideoInfo videoInfo; - -public: - SDLvideoOutput(); - SDLvideoOutput(VideoInfo& info); - virtual ~SDLvideoOutput(); - - void init(VideoInfo& info); - -// SDLvideoOutput& operator<<(TheoraVideoPacket packet); - SDLvideoOutput& operator<<(th_ycbcr_buffer packet); -}; - -#endif /*SDLVIDEOOUTPUT_H_*/
View file
oggvideotools-0.8.tar.bz2/src/audioConverter.cpp
Deleted
@@ -1,129 +0,0 @@ -#include "audioConverter.h" - -#include <cmath> -#include <iostream> - -#include "libresample/libresample.h" - -AudioConverter::AudioConverter() - : channelData(0), tmp(0), handle(0), used(0), ratio(0), channels(0) -{ -} - -AudioConverter::~AudioConverter() -{ -} - -void AudioConverter::initResample(uint8 _channels, double _ratio) -{ - - ratio = _ratio; - channels = _channels; - - handle = (void **) new charchannels * sizeof(void *); - - channelData = new float*channels; - tmp = new float*channels; - - for (uint8 c=0; c<channels; c++) { - handlec = resample_open(1, ratio, ratio); - channelDatac = new floatmaxSamples; - tmpc = new floatmaxSamples; - } -} - -void AudioConverter::closeResample() -{ - - for (uint8 c=0; c<channels; c++) { - delete channelDatac; - delete tmpc; - - resample_close(handlec); - } - - delete channelData; - delete tmp; - delete handle; -} - -bool AudioConverter::resample(AudioPacket packet, AudioPacket& resampled) -{ - - uint32 length; - - // upmix -> we want stereo and have mono - if ((channels == 2) && ((*packet)->getChannels() == 1)) { - - for (uint32 pos(0); pos < (*packet)->getLength(); ++pos) - channelData0used+pos = (*packet)->getDataOfChannel(0)pos; - - for (uint32 pos(0); pos < (*packet)->getLength(); ++pos) - channelData1used+pos = (*packet)->getDataOfChannel(0)pos; - - } - - // downmix -> we want mono and have stereo - if ((channels == 1) && ((*packet)->getChannels() == 2)) { - - for (uint32 pos(0); pos < (*packet)->getLength(); ++pos) { - channelData0used+pos = (*packet)->getDataOfChannel(0)pos*0.5 + - (*packet)->getDataOfChannel(1)pos*0.5; - - if (channelData0used+pos> 1.0) - channelData0used+pos = 1.0; - } - } - - // plane copy - if (channels == (*packet)->getChannels()) { - - for (uint32 c(0); c < channels; ++c) - for (uint32 pos(0); pos < (*packet)->getLength(); ++pos) - channelDatacused+pos = (*packet)->getDataOfChannel(c)pos; - - } - - - uint32 availableSamples = used+(*packet)->getLength(); - int32 inUsed=0; - - // do resampling - for (uint32 i(0); i<channels; ++i) { - length = resample_process(handlei, ratio, channelDatai, availableSamples, 0, - &inUsed, tmpi, maxSamples); - } - - AudioPacketInternal* newInternalPacket = new AudioPacketInternal(channels, length); - - for (uint32 i(0); i<channels; ++i) { - newInternalPacket->setDataOfChannel(i,tmpi); - } - - resampled = AudioPacket(newInternalPacket); - - // save data - used = availableSamples-inUsed; - for (uint32 i(0); i < used; ++i) { - for (uint32 ch(0); ch<channels; ++ch) { - channelDatachi = channelDatachinUsed + i; - } - - return (length> 0); - } - - return(true); -} - -bool AudioConverter::resampleflush(AudioPacket & resampled) -{ - - if (used==0) - return(false); - - std::cerr << "CmdlineExtractor::resampleflush: not implemented "<<used<<" original samples are not resampled\n"; - - return(false); - -} -
View file
oggvideotools-0.8.tar.bz2/src/audioPacket.cpp
Deleted
@@ -1,159 +0,0 @@ -#include "audioPacket.h" - -#include <cstring> -#include <iostream> - -AudioPacketInternal::AudioPacketInternal() : - pcmData(0), length(0), channels(0) -{ -} - -AudioPacketInternal::~AudioPacketInternal() -{ - cleanup(); -} - -AudioPacketInternal::AudioPacketInternal(const AudioPacketInternal& packet) : - pcmData(0), length(packet.length), channels(packet.channels) -{ - /* create memory region */ - initMem(channels, length); - - /* copy data */ - for (uint8 i(0); i<channels; ++i) - setDataOfChannel(i, packet.pcmDatai); -} - -AudioPacketInternal::AudioPacketInternal(float** _dataPtr, uint32 _length, - uint8 _channels) : - pcmData(0), length(_length), channels(_channels) -{ - /* create memory region */ - initMem(channels, length); - - /* copy data */ - for (uint8 i(0); i<channels; ++i) - setDataOfChannel(i, _dataPtri); - -} - -AudioPacketInternal::AudioPacketInternal(uint8 _channels, uint32 _length) : - length(_length), channels(_channels) -{ - /* create memory region */ - initMem(channels, length); -} - -void AudioPacketInternal::initMem(uint8 _channels, uint32 _length) -{ - pcmData = new float*_channels; - - for (uint8 ch(0); ch<_channels; ++ch) - pcmDatach = new float_length; - -} - -float** AudioPacketInternal::getAllChannels() const -{ - return (pcmData); -} - -uint32 AudioPacketInternal::getLength() const -{ - return (length); -} - -uint8 AudioPacketInternal::getChannels() const -{ - return (channels); -} - -float* AudioPacketInternal::getDataOfChannel(uint8 channel) const -{ - if (channel < channels) - return (pcmDatachannel); - - return (0); -} - -void AudioPacketInternal::setDataOfChannel(uint8 channel, float* _dataPtr) -{ - if ((pcmData == 0) || (channel >= channels) || (pcmDatachannel == 0)) - return; - - memcpy(pcmDatachannel, _dataPtr, length*sizeof(float)); - -} - -void AudioPacketInternal::cleanup() -{ - - if (pcmData != 0) { - for (uint8 ch(0); ch<channels; ++ch) { - delete pcmDatach; - } - delete pcmData; - - } - - channels = 0; - length = 0; -} - -//---------------------------- - -AudioPacket::AudioPacket() -{ -// std::cerr << "constructor "<<(*refCounter)<<std::endl; -} - -AudioPacket::AudioPacket(const AudioPacket& packet) : - RefObject<AudioPacketInternal>(packet) -{ -// std::cerr << "copy constructor "<<(*refCounter)<<std::endl; -} - -AudioPacket::AudioPacket(AudioPacketInternal* internalPacket) : - RefObject<AudioPacketInternal>(internalPacket) -{ -// std::cerr << "new Instance by internal packet "<<(*refCounter)<<std::endl; - -} - -AudioPacket::~AudioPacket() -{ -} - -AudioPacket& AudioPacket::operator=(const AudioPacket& packet) -{ -// std::cerr << "operator= "<<(*refCounter)<<std::endl; - - if (this == &packet) - return(*this); - - (*refCounter)--; - - if ((*refCounter) == 0) { - delete refCounter; - delete objPtr; - } - - refCounter = packet.refCounter; - objPtr = packet.objPtr; - - (*refCounter)++; - - return(*this); -} - -AudioPacketInternal* AudioPacket::operator*() -{ - return(objPtr); -} - -AudioPacket AudioPacket::clone() -{ - AudioPacketInternal* newPacket = new AudioPacketInternal(*objPtr); - - return (AudioPacket(newPacket)); -}
View file
oggvideotools-0.8.tar.bz2/src/audioPacket.h
Deleted
@@ -1,49 +0,0 @@ -#ifndef audioPacket_h -#define audioPacket_h - -#include "definition.h" -#include "refObject.h" - -class AudioPacketInternal { - -protected: - float** pcmData; - uint32 length; - uint8 channels; - - void initMem(uint8 channels, uint32 length); - -public: - - AudioPacketInternal(); - AudioPacketInternal(const AudioPacketInternal& packet); - AudioPacketInternal(uint8 channels, uint32 length); - AudioPacketInternal(float** dataPtr, uint32 length, uint8 channels); - virtual ~AudioPacketInternal(); - - uint32 getLength() const; - uint8 getChannels() const; - float** getAllChannels() const; - - float* getDataOfChannel(uint8 channel) const; - void setDataOfChannel(uint8 channel, float* data); - - void cleanup(); -}; - -class AudioPacket : public RefObject<AudioPacketInternal> { - -public: - AudioPacket(); - AudioPacket(const AudioPacket& packet); - AudioPacket(AudioPacketInternal* internalPacket); - virtual ~AudioPacket(); - - AudioPacketInternal* operator*(); - AudioPacket& operator=(const AudioPacket& packet); - - AudioPacket clone(); - -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/basePlane.cpp
Deleted
@@ -1,27 +0,0 @@ -// -// C++ Implementation: basePlane -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#include "basePlane.h" - -BasePlane::BasePlane() - : width(0), height(0), plane(0) -{ -} - -BasePlane::BasePlane(uint32 _width, uint32 _height) - : width(_width), height(_height), plane(new uint8_height*_width*4) -{ -} - -BasePlane::~BasePlane() -{ - delete plane; -}
View file
oggvideotools-0.8.tar.bz2/src/basePlane.h
Deleted
@@ -1,40 +0,0 @@ -// -// C++ Interface: basePlane -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#ifndef BASEPLANE_H -#define BASEPLANE_H - -#include "definition.h" - -/** -BasePlane contains the picture information (width, height and picture plane) - - - @author Yorn <yorn@gmx.net> -*/ -class BasePlane { - -public: - uint32 width; - uint32 height; - - uint8* plane; - - - BasePlane(); - - BasePlane(uint32 _width, uint32 _height); - - virtual ~BasePlane(); - -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/blendElement.cpp
Deleted
@@ -1,32 +0,0 @@ -// -// C++ Implementation: blendElement -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#include "blendElement.h" - -BlendElement::BlendElement() - : startTime ( 0 ), endTime ( -1 ), - smooth ( false ), state ( blend_off ), intensity ( 0.0 ) -{ -} - -BlendElement::BlendElement ( RGBPlane _picture, double _startTime, double _endTime, - bool _smooth ) : - picture ( _picture ), startTime ( _startTime ), endTime ( _endTime ), - smooth ( _smooth ), state ( blend_off ), intensity ( 0.0 ) -{ -} - - -BlendElement::~BlendElement() -{ -} - -
View file
oggvideotools-0.8.tar.bz2/src/blendElement.h
Deleted
@@ -1,48 +0,0 @@ -// -// C++ Interface: blendElement -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#ifndef BLENDELEMENT_H -#define BLENDELEMENT_H - -#include "rgbPlane.h" - -/** - @author Yorn <yorn@gmx.net> -*/ -class BlendElement { - -public: - - enum BlendState { - blend_off, - blend_slideIn, - blend_on, - blend_slideOut, - blend_end - }; - - RGBPlane picture; - double startTime; - double endTime; - bool smooth; - - BlendState state; - float intensity; - - BlendElement(); - - BlendElement ( RGBPlane _picture, double _startTime, double _endTime, - bool _smooth ); - - virtual ~BlendElement(); -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/bufferRepository.cpp
Deleted
@@ -1,42 +0,0 @@ -#include "bufferRepository.h" - -BufferRepository::BufferRepository(const std::string& name) - : MediaRepository(MediaUnit::readwrite, name) -{ -} - -BufferRepository::~BufferRepository() -{ -} - -MediaUnit& BufferRepository::operator<<(RawMediaPacket& packet) -{ - buffer.push_back(packet); - - return(*this); -} - -MediaUnit& BufferRepository::operator>>(RawMediaPacket& packet) -{ - if (!buffer.empty()) { - packet = buffer.front(); - buffer.pop_front(); - } - - return(*this); -} - -bool BufferRepository::isAvailable() -{ - return(!buffer.empty()); -} - -uint32 BufferRepository::getBunchSize() -{ - return(0); -} - -void BufferRepository::setBunchSize(uint32 size) -{ - return; -}
View file
oggvideotools-0.8.tar.bz2/src/cmdlineextractor.cpp
Deleted
@@ -1,208 +0,0 @@ -// -// C++ Implementation: cmdlineextractor -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#include "cmdlineextractor.h" - -#include <iostream> -#include <sstream> -#include <vector> -#include <string> - -#include "definition.h" -#include "oggComment.h" -#include "pictureLoader.h" - -CmdlineExtractor::CmdlineExtractor() -{ -} - - -CmdlineExtractor::~CmdlineExtractor() -{ -} - - -void CmdlineExtractor::extractCommentPairs ( std::vector<OggComment>& list, - const std::string& _argument, char tokenSeparator, char commentSeparator ) -{ - std::string argument ( _argument ); - std::stringstream str; - std::string substr; - - // delete all invalid data - std::size_t pos; - while ( ( pos = argument.find_first_not_of ( validTextChars ) ) - != std::string::npos ) { -#ifdef DEBUG - std::cerr << "Erasing sign <"<<argument.at ( pos ) <<"> - it is invalid\n"; -#endif - argument.erase ( pos, 1 ); - } - - // if there is no argument given, the first frame will be created as a thumbnail - if ( argument.empty() ) { - return; - } - - str << argument; - - while ( !str.eof() ) { - getline ( str, substr, tokenSeparator ); - - std::size_t commentSeparatorPos; - if ( ( commentSeparatorPos = substr.find_first_of ( commentSeparator ) ) - != std::string::npos ) { - OggComment comment; - comment.tag = substr.substr ( 0, commentSeparatorPos ); - comment.value = substr.substr ( commentSeparatorPos+1, - std::string::npos ); - list.push_back ( comment ); -// std::cerr << "Found pair "<<comment.tag<<" "<<comment.value -// <<std::endl; - } - - } - -} - -void CmdlineExtractor::extractUint32 ( std::deque<uint32>& list, const std::string& _argument, - char seperator ) -{ - std::string argument ( _argument ); - std::stringstream str; - std::string substr; - - // delete all invalid data - std::size_t pos; - while ( ( pos = argument.find_first_not_of ( validChars ) ) != std::string::npos ) { -#ifdef DEBUG - std::cerr << "erasing <"<<argument.at ( pos ) <<">\n"; -#endif - argument.erase ( pos, 1 ); - } - - // if there is no argument given, the first frame will be created as a thumbnail - if ( argument.empty() ) { - list.push_back ( 0 ); - return; - } - - str << argument; - - uint32 value ( 0 ); - while ( !str.eof() ) { - std::stringstream part; - getline ( str, substr, seperator ); - part << substr; - part >> value; - list.push_back ( value ); - } - -} - -void CmdlineExtractor::extractBlend ( std::vector<BlendElement>& list, const std::string& _argument, - char tokenSeparator, char valueSeparator ) -{ - - std::string argument ( _argument ); - std::stringstream str; - std::string substr; - - // delete all invalid data - std::size_t pos; - while ( ( pos = argument.find_first_not_of ( validTextChars ) ) - != std::string::npos ) { - argument.erase ( pos, 1 ); - } - - // if there is no argument given, the first frame will be created as a thumbnail - if ( argument.empty() ) { - return; - } - - str << argument; - - while ( !str.eof() ) { - getline ( str, substr, tokenSeparator ); - - /* extract picture name */ - std::size_t valueSeparatorPos = substr.find_first_of ( valueSeparator ); - - std::string filename = substr.substr ( 0, valueSeparatorPos ); - - /* extract all extra data if some (start time, end time, smoothing)*/ - double startTime ( 0 ); - double endTime ( -1 ); - bool smooth ( false ); - std::stringstream tmp; - - /* are there any other information given? */ - if ( valueSeparatorPos != std::string::npos ) { - - /* analysing start time */ - substr = substr.substr ( valueSeparatorPos+1 ); - - valueSeparatorPos = substr.find_first_of ( valueSeparator ); - - tmp << substr.substr ( 0, valueSeparatorPos ); - tmp >> startTime; - tmp.clear(); - - if ( valueSeparatorPos != std::string::npos ) { - - /* analysing start time */ - substr = substr.substr ( valueSeparatorPos+1 ); - - valueSeparatorPos = substr.find_first_of ( valueSeparator ); - - tmp << substr.substr ( 0, valueSeparatorPos ); - tmp >> endTime; - - if ( valueSeparatorPos != std::string::npos ) { - - /* analysing start time */ - substr = substr.substr ( valueSeparatorPos+1 ); - - if ( substr.substr ( 0, valueSeparator ) == "s" ) - smooth = true; - } - } - - } - - RGBPlane plane; - try { - - if ( PictureLoader::load (plane, filename ) ) { - BlendElement elem ( plane, startTime, endTime, smooth ); - list.push_back ( elem ); - } - - } catch ( char* data ) { - std::cerr << "Error: "<<data<<std::endl; - } - - } - -#ifdef DEBUG - for ( uint32 i ( 0 ); i<list.size(); ++i ) { - std::cerr << "Info: picture"<<i<<": startTime="<<listi.startTime - <<" endTime="<<listi.endTime<<" smooth="; - if ( listi.smooth == true ) - std::cerr << "true\n"; - else - std::cerr << "false\n"; - - } -#endif -} - -
View file
oggvideotools-0.8.tar.bz2/src/cmdlineextractor.h
Deleted
@@ -1,46 +0,0 @@ -// -// C++ Interface: cmdlineextractor -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#ifndef CMDLINEEXTRACTOR_H -#define CMDLINEEXTRACTOR_H - -#include <deque> -#include <vector> -#include <string> - -#include "definition.h" -#include "oggComment.h" -#include "blendElement.h" - -const std::string validChars ( "0123456789,x" ); -const std::string -validTextChars ( "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 /\\.,=;:-_" ); - -/** - @author Yorn <yorn@gmx.net> -*/ -class CmdlineExtractor { -public: - CmdlineExtractor(); - - ~CmdlineExtractor(); - - static void extractCommentPairs ( std::vector<OggComment>& list, - const std::string& _argument, char tokenSeparator, char commentSeparator ); - - static void extractUint32 ( std::deque<uint32>& list, const std::string& _argument, - char seperator ); - - static void extractBlend ( std::vector<BlendElement>& list, const std::string& _argument, - char tokenSeparator, char valueSeparator ); -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/crossfader.cpp
Deleted
@@ -1,114 +0,0 @@ -// -// C++ Implementation: crossfader -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#include "crossfader.h" - -#include <iostream> -#include <cstring> - -#include "pictureBlend.h" -#include "pictureResize.h" - -Crossfader::Crossfader() - : Effector(), state(unconfigured), framecounter(0) -{ -} - - -Crossfader::~Crossfader() -{ -} - -void Crossfader::configure(CrossfaderConfig& _config) -{ - - framecounter = 0; - - config = _config; - - if (config.first) { - - lastPlane = RGBPlane(config.outputWidth, config.outputHeight); - - /* blank the plane */ - uint32 planesize = config.outputWidth*config.outputHeight*4; // 3 Colors + Alpha channel - memset(lastPlane->plane, 0x00, planesize); - - } - - - /* resize the picture to the correct size */ - presentationPlane = PictureResize::reframe(config.origPlane, config.outputWidth, config.outputHeight); - - std::cerr << "Picture size: "<< presentationPlane->width<<" x "<<presentationPlane->width - <<" -> frame size "<<config.outputWidth <<" x "<<config.outputHeight<<std::endl; - - if (config.first) - state = presentation; - else - state = crossfade; - -} - -void Crossfader::doCrossfade(RGBPlane & plane) -{ - - plane = PictureBlend::crossfade(lastPlane, presentationPlane,(framecounter*1.0)/(config.blindLength*1.0)); - - framecounter++; - if (framecounter > config.blindLength) { - state = presentation; - } - -} - -void Crossfader::doPresentation(RGBPlane & plane) -{ - - plane = presentationPlane; - - framecounter++; - if (framecounter > config.sequenceLength) { - lastPlane = presentationPlane; - - state = unavailable; - } - -} - -bool Crossfader::available() -{ - return((state!=unavailable) && (state!=unconfigured)); -} - -Effector & Crossfader::operator >>(RGBPlane & plane) -{ - - switch (state) { - - case crossfade: { - doCrossfade(plane); - break; - } - - case presentation: { - doPresentation(plane); - break; - } - - default: { - std::cerr << "KenBurnsEffect: no frame available\n"; - break; - } - } - - return(*this); -}
View file
oggvideotools-0.8.tar.bz2/src/crossfader.h
Deleted
@@ -1,67 +0,0 @@ -// -// C++ Interface: crossfader -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#ifndef CROSSFADER_H -#define CROSSFADER_H - -#include "effector.h" - -/** - @author Yorn <yorn@gmx.net> -*/ -class Crossfader : public Effector { -public: - class CrossfaderConfig { - public: - bool first; - - uint32 sequenceLength; /* in frames */ - uint32 blindLength; /* in frames */ - - uint32 outputWidth; - uint32 outputHeight; - - RGBPlane origPlane; - }; - - RGBPlane presentationPlane; - -protected: - enum State { - unconfigured, - crossfade, - presentation, - unavailable - }; - - State state; - - RGBPlane lastPlane; - uint32 framecounter; - - CrossfaderConfig config; - - void doCrossfade(RGBPlane& plane); - void doPresentation(RGBPlane& plane); - -public: - Crossfader(); - ~Crossfader(); - - void configure(CrossfaderConfig& config); - - virtual Effector& operator>>(RGBPlane& plane); - - virtual bool available(); - -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/effector.h
Deleted
@@ -1,33 +0,0 @@ -// -// C++ Interface: effector -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#ifndef EFFECTOR_H -#define EFFECTOR_H - -#include "rgbPlane.h" -/** - @author Yorn <yorn@gmx.net> -*/ -class Effector { - -public: - - Effector(); - - virtual ~Effector(); - - virtual Effector& operator>>(RGBPlane& plane) = 0; - - virtual bool available() = 0; - -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/fileRepository.cpp
Deleted
@@ -1,117 +0,0 @@ -/* - * FileRepository is used to read or write a local file - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> -#include <cstring> -#include <cerrno> - -#include "rawMediaPacket.h" -#include "fileRepository.h" - -FileRepository::FileRepository() - : MediaRepository(read, "FileRepository"), fileDescriptor(0), filename(""), bunchSize(4096), - eof(true) -{ - -} - -FileRepository::FileRepository(const std::string& _filename, MediaDirection_t type) - : MediaRepository(type, "FileRepository"), filename(_filename), bunchSize(4096), eof(false) -{ - eof = true; - if (mediaDirection == write) { - if ((fileDescriptor = fopen(filename.c_str(), "wb")) == 0) - std::cerr << name << "::open failed: " << strerror(errno); - else { - repositoryAvailable = true; - eof = false; - } - } else { - if ((fileDescriptor = fopen(filename.c_str(), "rb")) == 0) - std::cerr << name << "::open failed: " << strerror(errno); - else { - repositoryAvailable = true; - eof = false; - } - } -} - -FileRepository::~FileRepository() -{ -} - -void FileRepository::close() -{ - if (fileDescriptor) { - fclose(fileDescriptor); - fileDescriptor = 0; - } -} - -void FileRepository::setBunchSize(uint32 _bunchSize) -{ - bunchSize = _bunchSize; -} - -uint32 FileRepository::getBunchSize() -{ - return(bunchSize); -} - -bool FileRepository::isEndOfFile() -{ - return(eof); -} - -MediaUnit& FileRepository::operator<<(RawMediaPacket& packet) -{ - if ((mediaDirection == write) && (repositoryAvailable == true)) { - if (fwrite(packet.getData(),1,packet.size(),fileDescriptor) != packet.size()) { - throw std::string(name+"::operator<<: "+strerror(errno)).c_str(); - //exit(-1); - } - } - - return(*this); -} - -MediaUnit& FileRepository::operator>>(RawMediaPacket& packet) -{ - uint32 readBytes; - unsigned char* buffer = new unsigned charbunchSize; - - if (mediaDirection == read) { - - if ((readBytes = fread(buffer,1,bunchSize,fileDescriptor)) < 0) { - std::cerr << name << "::operator>>: "<< strerror(errno); - return(*this); - } - - packet = RawMediaPacket(new RawMediaData(buffer, readBytes, false)); // do not create copy - - if (readBytes < bunchSize) { - repositoryAvailable = false; - eof = true; - } - } - - return (*this); -}
View file
oggvideotools-0.8.tar.bz2/src/granulePosInterpreter.cpp
Deleted
@@ -1,20 +0,0 @@ -#include "granulePosInterpreter.h" - -GranulePosInterpreter::GranulePosInterpreter() - : initialized(false), actualGranulePosition(0) -{ -} - -GranulePosInterpreter::~GranulePosInterpreter() -{ -} - -int64 GranulePosInterpreter::getPosition() -{ - return(actualGranulePosition); -} - -double GranulePosInterpreter::getActTime() -{ - return(getTime(actualGranulePosition)); -}
View file
oggvideotools-0.8.tar.bz2/src/granulePosInterpreter.h
Deleted
@@ -1,83 +0,0 @@ -#ifndef GRANULEPOSINTERPRETER_H_ -#define GRANULEPOSINTERPRETER_H_ - -#include "oggPacket.h" -#include "streamParameter.h" - -//! Class to interprete the granule position of a oggPacket -/*! Every oggPacket carries a granule position within its header information. - * This granule position is a 64 Bit value and is interpreted quite different - * across the available ogg encoders/decoders. - * - * To be able to convert a 64 Bit number into a time position this interpreter - * needs some more information, which are given by the initialize() method. - * - * E.g. an vorbis interpretes the granule position as the audio samples. If - * an audio file has been sample with a rate of 16 kHz, the position 0 is the - * first sample at time 0 ms. The granule Position 1000 would be a time position - * of 62.5 ms. At a sample rate of 32 kHz this would be the time position 31.25 ms. - * So in this case we need to know the sample rate as a basis for the time calculation. - * - * These decoder specific information are given by the corresponding class object - * derived from the abstract StreamParameter. - * - * This class can interpret a given granule position and it is able to caclulate - * new positions by given ones (additions of two positions) -*/ -class GranulePosInterpreter { - -protected: - bool initialized; - - int64 actualGranulePosition; - -public: - GranulePosInterpreter(); - virtual ~GranulePosInterpreter(); - - //! method to initialize the interpreter - /*! The initialization is needed to be able to - * interpret the granule position. E.g. theora splits the - * 64 Bit into a lower and upper part for the last keyframe - * position and a counter for the p-frames. This split - * is depending on the header information in the first page. - */ - virtual void initialize(StreamParameter* parameter) = 0; - - //! method to interpret the time from a granule position - /*! This method interprets the given granule position by the - * information from the first page, with which the interpreter has - * been initialized. The time does not depend on the actual - * internal position counter. - * @param granulePos granuale position, that should be interpreted with the implicite information from the interpreter - * @return the time of the position given by the parameter*/ - virtual double getTime(int64 granulePos) = 0; - - //! Method to interprete the internal position to a time - /*! This method uses the actual internal position information - * to calculate the actual time. For the interpretation the method - * uses the information given by the first page. - * */ - double getActTime(); - - //! method to return the actual granule position - /*! @return returns the actual/calculated granule position - * */ - virtual int64 getPosition(); - - //! Method places the actual stream position into an oggPacket. - /*! @param packet OggPacket to replace the granule position field in the header - * */ - virtual void setStreamPosition(OggPacket& packet) = 0; - - //! Method to add a second position to this position - /*! @param position that should be added to the actual (implicite) position of this object */ -// virtual GranulePosInterpreter& operator+=(GranulePosInterpreter& position) = 0; - - //! Method to substract a second position from this position - /*! @param position that should be substracted from the actual (implicite) position of this object */ -// virtual GranulePosInterpreter& operator-=(GranulePosInterpreter& position) = 0; - -}; - -#endif /*GRANULEPOSINTERPRETER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/kateExtractor.cpp
Deleted
@@ -1,89 +0,0 @@ -#include <iostream> -#include <cstring> - -#include "kateExtractor.h" -#include "definition.h" -#include "oggTypes.h" -#include "oggHeader.h" -#include "kateHeader.h" -#include "kateStreamParameter.h" -#include "katePosInterpreter.h" - -KateExtractor::KateExtractor() -{ -} - -KateExtractor::~KateExtractor() -{ -} - -bool KateExtractor::_extract(uint8* data, ExtractorInformation& info) -{ - - StreamType* streaminfo = (StreamType*) (data); - KateHeader* kateHeader = (KateHeader*) (data + sizeof(StreamType)); - - /* if this is not a kate header, return with an error */ - if ((streaminfo->headerType != 0x80) || - (memcmp(streaminfo->typeName, "kate\0\0\0", 7) != 0)) { - // TODO: no size of the passed data, the above could overflow (on read) - std::cerr << "KatePosInterpreter::initialize: This page is not a kate bos\n"; - return(false); - } - - // first extract the parameters - KateStreamParameter* param = new KateStreamParameter; - - param->granulerateNum = (kateHeader->granulerateNumerator); - param->granulerateDenom = (kateHeader->granulerateDenominator); - param->granuleShift = kateHeader->granuleShift; - - param->language = std::string(kateHeader->language, 16); - param->category = std::string(kateHeader->category, 16); - - /* are there any old info stored, then delete them */ - if (info.parameter) - delete info.parameter; - - info.parameter = param; - - /* set the ogg type and the number of header packets */ - info.type = ogg_kate; - info.numOfHeaderPackets = kateHeader->numHeaders; - - return(true); -} - -bool KateExtractor::extract(OggPage& oggPage, ExtractorInformation& information) -{ - /* if this is not a Begin Of Stream page, return immediately */ - if (!oggPage.isBOS()) { - std::cerr << "KatePosInterpreter::extract: This page is not a BOS (Begin Of Stream) page\n"; - return(false); - } - - /* get the information starting points within the raw data */ - OggHeader* oggHeader = (OggHeader*) (oggPage.data()); - uint8* data = (oggPage.data() + sizeof(OggHeader) + oggHeader->tableSegments); - - if (_extract(data, information) == false) - return(false); - - information.serialNo = oggHeader->serial; - - return(true); -} - -bool KateExtractor::extract(OggPacket& packet, ExtractorInformation& information) -{ - // if this is not a Begin Of Stream page, return immediately - if (!packet.isBOS()) { - std::cerr << "TheoraPosInterpreter::extract: This packet is not a BOS (Begin Of Stream) page\n"; - return(false); - } - - if (_extract(packet.data(), information) == false) - return(false); - - return(true); -}
View file
oggvideotools-0.8.tar.bz2/src/katePosInterpreter.cpp
Deleted
@@ -1,144 +0,0 @@ -#include "katePosInterpreter.h" -#include "kateStreamParameter.h" - -#include <iostream> -#include <typeinfo> - - -KatePosInterpreter::KatePosInterpreter() - : granuleShift(0), granulerateNumerator(1), granulerateDenominator(1) -{ -} - -KatePosInterpreter::~KatePosInterpreter() -{ -} - -uint32 KatePosInterpreter::getGranulerateNumerator() -{ - return(granulerateNumerator); -} - -uint32 KatePosInterpreter::getGranulerateDenominator() -{ - return(granulerateDenominator); -} - -uint8 KatePosInterpreter::getGranuleShift() -{ - return(granuleShift); -} - -void KatePosInterpreter::extractFramePos(int64 granulePosition, int64& base, int64& offset) -{ - - base = granulePosition>>granuleShift; - - uint64 mask(1); - mask <<= granuleShift; - mask -= 1; - offset = (granulePosition&mask); -} - -void KatePosInterpreter::initialize(StreamParameter* _param) -{ - KateStreamParameter* param = dynamic_cast<KateStreamParameter*>(_param); - - if (!param) { - std::cerr << "KatePosInterpreter::initialize: parameter not set correctly\n"; - return; - } - - granuleShift = param->granuleShift; - granulerateNumerator = param->granulerateNum; - granulerateDenominator = param->granulerateDenom; - - initialized = true; - return; -} - -double KatePosInterpreter::getTime(int64 granulePos) -{ - if (!initialized) { - std::cerr << "KatePosInterpreter::initialize: The position interpreter is not initialized yet\n"; - return(-2); - } - - if (granulePos == -1) - return(-1); - - int64 base; - int64 offset; - - extractFramePos(granulePos, base, offset); - - double time = (granulerateDenominator*1.0/granulerateNumerator*1.0)*(base+offset); - - return(time); -} - -#if 0 -KatePosInterpreter& KatePosInterpreter::operator++() -{ - actualGranulePosition+=1; - return(*this); -} -#endif - -#if 0 -GranulePosInterpreter& TheoraPosInterpreter::operator+=(GranulePosInterpreter& _otherPosition) -{ - if (typeid(_otherPosition) != typeid(*this)) { - std::cerr << "GranulePosInterpreter::operator+=: type is not matching\n"; - return(*this); - } - - TheoraPosInterpreter* otherPosition = static_cast<TheoraPosInterpreter*>(&_otherPosition); - - if ((keyframeShift != otherPosition->keyframeShift) || - (framerateNumerator != otherPosition->framerateNumerator) || - (framerateDenominator != otherPosition->framerateDenominator)) { - std::cerr << "GranulePosInterpreter::operator+=: granulePositions does not match in shift value or framerate\n"; - return(*this); - } - - if ((actualGranulePosition < 0) || (otherPosition->actualGranulePosition < 0)) { - std::cerr << "GranulePosInterpreter::operator+=: one or both granulePositions are not valid\n"; - return(*this); - } - - int64 ownPos1; - int32 ownPos2; - - extractFramePos(actualGranulePosition, ownPos1, ownPos2); - - int64 otherPos1; - int32 otherPos2; - - extractFramePos(otherPosition->actualGranulePosition, otherPos1, otherPos2); - - ownPos1 += (otherPos1 + otherPos2); - - actualGranulePosition = ((ownPos1<<keyframeShift)|(ownPos2)); - - return(*this); -} -#endif - -void KatePosInterpreter::setStreamPosition(OggPacket& packet) -{ - int64_t granpos = packet.granulepos(); - if (granpos >= 0) { - actualGranulePosition = packet.granulepos(); - packet.setGranulepos(actualGranulePosition); - } -} - - -GranulePosInterpreter& KatePosInterpreter::operator-=(GranulePosInterpreter& position) -{ - std::cerr << "GranulePosInterpreter& operator-=: not implemented\n"; - - return(*this); -} -
View file
oggvideotools-0.8.tar.bz2/src/kateStreamParameter.cpp
Deleted
@@ -1,79 +0,0 @@ -#include <iostream> -#include <sstream> - -#include "kateStreamParameter.h" - -KateStreamParameter::KateStreamParameter() -{ -} - -KateStreamParameter::~KateStreamParameter() -{ -} - -bool KateStreamParameter::operator==(const StreamParameter& _param) -{ - StreamParameter* _param_unconst = const_cast<StreamParameter*>(&_param); - KateStreamParameter* param = dynamic_cast<KateStreamParameter*>(_param_unconst); - - if (!param) - return(false); - - if (granuleShift != param->granuleShift) { - std::cerr << "kate parameter compare: the granule shift is not matching\n"; - return(false); - } - - if ((granulerateNum != param->granulerateNum) || - (granulerateDenom != param->granulerateDenom)) { - std::cerr << "kate parameter compare: granulerate does not match: " - << granulerateNum << "/" << param->granulerateDenom - << " != " << param->granulerateNum << "/" << param->granulerateDenom - << std::endl; - return(false); - } - - if (language != param->language) { - std::cerr << "kate parameter compare: language does not match: " - << language << param->language - << std::endl; - return(false); - } - - if (category != param->category) { - std::cerr << "kate parameter compare: category does not match: " - << category << param->category - << std::endl; - return(false); - } - - return(true); -} - -std::string KateStreamParameter::toString() -{ - std::stringstream stream; - - stream << std::endl; - stream << "Language : " << language << "\n"; - stream << "Category : " << category << "\n"; - stream << "Granulerate : " << granulerateNum/granulerateDenom << "\n"; - - stream << std::endl; - - return(stream.str()); - -} - -StreamParameter* KateStreamParameter::clone() -{ - // create a clone - KateStreamParameter* streamParameter = new KateStreamParameter(); - - // copy the original data to the clone - (*streamParameter) = (*this); - - // return the clone - return(streamParameter); - -}
View file
oggvideotools-0.8.tar.bz2/src/kenburnseffect.cpp
Deleted
@@ -1,215 +0,0 @@ -// -// C++ Implementation: kenburnseffect -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#include "kenburnseffect.h" - -#include <iostream> -#include <cmath> -#include <cstring> -#include <cstdlib> - -#include "pictureResize.h" -#include "pictureBlend.h" - -KenBurnsEffect::KenBurnsEffect() - : Effector(), state(unconfigured) -{ -} - -KenBurnsEffect::~KenBurnsEffect() -{ -} - -void KenBurnsEffect::configure(KenBurnsEffect::KenBurnsConfig& _config) -{ - - config = _config; - - stepX = ((config.endpointX - config.startpointX)*1.0)/(config.sequenceLength*1.0); - stepY = ((config.endpointY - config.startpointY)*1.0)/(config.sequenceLength*1.0); - stepZoom = ((config.zoomEnd - config.zoomStart)*1.0)/(config.sequenceLength*1.0); - - actX = config.startpointX; - actY = config.startpointY; - actZoom = config.zoomStart; - - blackPlane = RGBPlane(config.outputWidth, config.outputHeight); - presentationPlane = config.origPlane; - - /* blank the plane */ - uint32 planesize = config.outputWidth*config.outputHeight*4; // 3 Colors + Alpha channel - memset(blackPlane->plane, 0x00, planesize); - - frameCounter = 0; - - if (config.first) - state = presentation; - else - state = blindIn; - -} - -void KenBurnsEffect::doBlindIn(RGBPlane& plane) -{ - - std::cerr << " --- Position " << actX <<" x "<< actY <<" "<<( 1.0/actZoom); - - // get the picture to be fade in - plane = PictureResize::subframe(presentationPlane, config.outputWidth, config.outputHeight, actX, actY, 1.0/actZoom); - - // calculate the next fader picture - plane = PictureBlend::crossfade(blackPlane, plane, (frameCounter*1.0)/(config.blindLength*1.0)); - - // let the fading go on - actX += stepX; - actY += stepY; - actZoom += stepZoom; - - frameCounter++; - if (frameCounter > config.blindLength) { - state = presentation; - } -} - -void KenBurnsEffect::doPresentation(RGBPlane& plane) -{ - std::cerr << " --- Position " << actX <<" x "<< actY <<" "<<( 1.0/actZoom); - - // get the picture to be fade in - plane = PictureResize::subframe(presentationPlane, config.outputWidth, config.outputHeight, actX, actY, 1.0/actZoom); - - // let the fading go on - actX += stepX; - actY += stepY; - actZoom += stepZoom; - - frameCounter++; - if (frameCounter > (config.sequenceLength - config.blindLength)) { - if (!config.last) { - state = blindOut; - } else { - if (frameCounter >= config.sequenceLength) { - state = unavailable; - } - } - } - -} - -void KenBurnsEffect::doBlindOut(RGBPlane & plane) -{ - std::cerr << " --- Position " << actX <<" x "<< actY <<" "<<( 1.0/actZoom); - - // get the picture to be fade in - plane = PictureResize::subframe(presentationPlane, config.outputWidth, config.outputHeight, actX, actY, 1.0/actZoom); - - // calculate the next fader picture - plane = PictureBlend::crossfade(blackPlane, plane, ((config.sequenceLength - frameCounter)*1.0)/(config.blindLength*1.0)); - - // let the fading go on - actX += stepX; - actY += stepY; - actZoom += stepZoom; - - frameCounter++; - if (frameCounter >= config.sequenceLength) { - state = unavailable; - } - -} - -bool KenBurnsEffect::available() -{ - return((state != unavailable) && (state != unconfigured)); -} - -Effector & KenBurnsEffect::operator >>(RGBPlane & plane) -{ - switch (state) { - - case blindIn: { - doBlindIn(plane); - break; - } - - case blindOut: { - doBlindOut(plane); - break; - } - - case presentation: { - doPresentation(plane); - break; - } - - default: { - std::cerr << "KenBurnsEffect: no frame available\n"; - break; - } - } - return(*this); -} - -KenBurnsEffect::KenBurnsConfig KenBurnsEffect::createKBconfigRandom(RGBPlane& plane, uint32 pictureWidth, uint32 pictureHeight, uint32 frameWidth, uint32 frameHeight, uint32 sequenceLength, uint32 blindLength) -{ - - KenBurnsConfig config; - - config.origPlane = plane; - config.outputWidth = frameWidth; - config.outputHeight = frameHeight; - config.sequenceLength = sequenceLength; - config.blindLength = blindLength; - - float maxZoomfactor; - if ((pictureWidth*1.0)/(frameWidth*1.0)*(frameHeight*1.0) < (pictureHeight*1.0)) - maxZoomfactor = (pictureWidth*1.0)/(frameWidth*1.0); - else - maxZoomfactor = (pictureHeight*1.0)/(frameHeight*1.0); - - config.zoomStart = maxZoomfactor*0.75+rand()*(maxZoomfactor*0.25)/(RAND_MAX*1.0); - config.zoomEnd = maxZoomfactor*0.75+rand()*(maxZoomfactor*0.25)/(RAND_MAX*1.0); - -#ifdef DEBUG - std::cerr << "Zooming ("<<maxZoomfactor<<") from factor "<<config.zoomStart<<" to "<<config.zoomEnd<<std::endl; -#endif - - float availableXStart = pictureWidth - frameWidth*config.zoomStart; - float availableYStart = pictureHeight - frameHeight*config.zoomStart; - - float availableXEnd = pictureWidth - frameWidth*config.zoomEnd; - float availableYEnd = pictureHeight - frameHeight*config.zoomEnd; - - if ((availableXStart < 0) || (availableYStart < 0) || (availableXEnd < 0) || (availableYEnd < 0)) { - std::cerr<< "KenBurnsSequence: picture to small\n"; -// was machen bei einem Fehler? - } - - float availLengthSqr(powf((availableXStart-availableXEnd),2.0)+powf((availableYStart-availableYEnd),2.0)); - float lengthSqr; - - do { - config.startpointX = (((float)rand())*availableXStart)/(RAND_MAX*1.0); - config.startpointY = (((float)rand())*availableYStart)/(RAND_MAX*1.0); - - config.endpointX = (((float)rand())*availableXEnd)/(RAND_MAX*1.0); - config.endpointY = (((float)rand())*availableYEnd)/(RAND_MAX*1.0); - - // calculate walklength - float lengthX = fabs(config.startpointX - config.endpointX); - float lengthY = fabs(config.startpointY - config.endpointY); - - lengthSqr = powf(lengthX,2.0) + powf(lengthY,2.0); - - } while (lengthSqr < availLengthSqr/4.0); - - return(config); -}
View file
oggvideotools-0.8.tar.bz2/src/kenburnseffect.h
Deleted
@@ -1,85 +0,0 @@ -// -// C++ Interface: kenburnseffect -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#ifndef KENBURNSEFFECT_H -#define KENBURNSEFFECT_H - -#include "effector.h" - -/** - @author Yorn <yorn@gmx.net> -*/ -class KenBurnsEffect : public Effector { - -public: - class KenBurnsConfig { - public: - bool first; - bool last; - - uint32 sequenceLength; /* in frames */ - uint32 blindLength; /* in frames */ - - uint32 outputWidth; - uint32 outputHeight; - - float startpointX; - float startpointY; - float endpointX; - float endpointY; - float zoomStart; - float zoomEnd; - - RGBPlane origPlane; - }; - -protected: - enum State { - unconfigured, - blindIn, - presentation, - blindOut, - unavailable - }; - - KenBurnsConfig config; - uint32 frameCounter; - - State state; - - RGBPlane blackPlane; - RGBPlane presentationPlane; - - float stepX; - float stepY; - float stepZoom; - - float actX; - float actY; - float actZoom; - - void doBlindIn(RGBPlane& plane); - void doPresentation(RGBPlane& plane); - void doBlindOut(RGBPlane& plane); - -public: - KenBurnsEffect(); - ~KenBurnsEffect(); - - void configure(KenBurnsConfig& config); - - virtual Effector& operator>>(RGBPlane& plane); - virtual bool available(); - - static KenBurnsConfig createKBconfigRandom(RGBPlane& plane, uint32 pictureWidth, uint32 pictureHeight, uint32 frameWidth, uint32 frameHeight, uint32 sequenceLength, uint32 blindLength); -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/lowpassEffect.cpp
Deleted
@@ -1,130 +0,0 @@ -// -// C++ Implementation: lowpassEffect -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#include "lowpassEffect.h" - -#include <iostream> -#include <cmath> - -#include "pictureResize.h" - -LowpassEffect::LowpassEffect() - : state(unconfigured) -{ -} - - -LowpassEffect::~LowpassEffect() -{ -} - -void LowpassEffect::configure(LowPassPictureConfig & _config) -{ - - config = _config; - framecounter = 0; - - factor = 0.5; - - presentationPlane = PictureResize::reframe(config.origPlane, config.outputWidth, config.outputHeight); - - if (config.first) - state = presentation; - else - state = blindIn; -} - -Effector & LowpassEffect::operator >>(RGBPlane & plane) -{ - switch (state) { - - case blindIn: { - doBlindIn(plane); - break; - } - - case blindOut: { - doBlindOut(plane); - break; - } - - case presentation: { - doPresentation(plane); - break; - } - - default: { - std::cerr << "LowpassEffect: no frame available\n"; - break; - } - } - - -} - -void LowpassEffect::doBlindIn(RGBPlane & plane) -{ - uint32 n = (config.blindLength - framecounter); - - float filterValue = n*1.0/(config.blindLength*1.0);//1.0/(2.0+(n*1.0/(config.blindLength*1.0)*100.0)); //powf(factor,n); -// std::cerr << " -- blindin - fr "<< framecounter <<" fa "<<factor << " n "<<n <<" fw "<<filterValue<< " "; - - plane = PictureResize::kernelLowpass(presentationPlane, 1.0-filterValue);//lowpassFilter(filterValue); - - framecounter++; - if (framecounter > config.blindLength) { - state = presentation; - } - -} - -void LowpassEffect::doPresentation(RGBPlane & plane) -{ - - plane = presentationPlane; //.reframe(config.outputWidth, config.outputHeight); - - framecounter++; - if (framecounter > (config.sequenceLength - config.blindLength)) { - if (!config.last) { - state = blindOut; - } else { - if (framecounter >= config.sequenceLength) { - state = unavailable; - } - } - - } - -} - -void LowpassEffect::doBlindOut(RGBPlane & plane) -{ - uint32 n = (framecounter - (config.sequenceLength - config.blindLength)); - - float filterValue = n*1.0/(config.blindLength*1.0);//1.0/(2.0+(n*1.0/(config.blindLength*1.0)*100.0)); //powf(factor,n); - - std::cerr << " -- blindout - fr "<< framecounter <<" fa "<<factor << " n "<<n <<" fw "<<filterValue<<" "; - - plane = PictureResize::kernelLowpass(presentationPlane, 1.0-filterValue);//lowpassFilter(filterValue); - - framecounter++; - if (framecounter >= config.sequenceLength) { - state = unavailable; - } - -} - -bool LowpassEffect::available() -{ - return((state != unavailable) && (state != unconfigured)); -} - -
View file
oggvideotools-0.8.tar.bz2/src/lowpassEffect.h
Deleted
@@ -1,72 +0,0 @@ -// -// C++ Interface: lowpassEffect -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#ifndef LOWPASSEFFECT_H -#define LOWPASSEFFECT_H - -#include "effector.h" - -/** - @author Yorn <yorn@gmx.net> -*/ -class LowpassEffect : public Effector { - -public: - class LowPassPictureConfig { - public: - - bool first; - bool last; - - uint32 sequenceLength; /* in frames */ - uint32 blindLength; /* in frames */ - - uint32 outputWidth; - uint32 outputHeight; - - RGBPlane origPlane; - }; - -protected: - - enum State { - unconfigured, - blindIn, - presentation, - blindOut, - unavailable - }; - - State state; - RGBPlane presentationPlane; - uint32 framecounter; - float factor; - - LowPassPictureConfig config; - - void doBlindIn(RGBPlane& plane); - void doBlindOut(RGBPlane& plane); - void doPresentation(RGBPlane& plane); - -public: - LowpassEffect(); - virtual ~LowpassEffect(); - - void configure(LowPassPictureConfig& config); - - virtual Effector& operator>>(RGBPlane& plane); - - virtual bool available(); - -}; - - -#endif
View file
oggvideotools-0.8.tar.bz2/src/makefile.am
Deleted
@@ -1,86 +0,0 @@ -bin_PROGRAMS = oggSplit oggDump oggJoin oggCut oggCat oggLength - -SRC_CORE = mediaUnit.cpp mediaRepository.cpp fileRepository.cpp rawMediaPacket.cpp \ - mediaDecoder.cpp mediaEncoder.cpp mediaConverter.cpp \ - oggDecoder.cpp oggStreamDecoder.cpp \ - oggPage.cpp oggPacket.cpp ringbuffer.cpp oggRingbuffer.cpp crc.cpp \ - granulePosInterpreter.cpp mediaOutputDecoder.cpp mediaInputEncoder.cpp \ - streamSerializer.cpp oggBOSExtractorFactory.cpp \ - oggStreamEncoder.cpp oggEncoder.cpp streamExtractor.cpp streamParameter.cpp \ - streamMux.cpp bufferRepository.cpp oggComment.cpp - -SRC_OUTPUT = SDLvideoOutput.cpp - -# Theora independed information -SRC_THEORA_INDEP = theoraPosInterpreter.cpp theoraStreamParameter.cpp theoraExtractor.cpp -SRC_THEORA_DEP = theoraDecoder.cpp theoraEncoder.cpp - -HDR_THEORA = theoraHeader.h - -SRC_VORBIS_INDEP = vorbisPosInterpreter.cpp vorbisStreamParameter.cpp vorbisExtractor.cpp -# SRC_VORBIS_DEP = vorbisDecoder.cpp audioPacket.cpp - -SRC_VORBIS_DEP = vorbisDecoder.cpp vorbisEncoder.cpp audioPacket.cpp audioConverter.cpp - -HDR_VORBIS = vorbisHeader.h - -SRC_KATE_INDEP = katePosInterpreter.cpp kateStreamParameter.cpp kateExtractor.cpp - -SRC_SDL = SDLvideoOutput.cpp -HDR_SDL = SDLvideoOutput.h - -LIBRESAMPLE = libresample/filterkit.c libresample/resample.c libresample/resamplesubs.c - -EFFECTORS = basePlane.cpp rgbPlane.cpp effector.cpp crossfader.cpp plainPicture.cpp lowpassEffect.cpp kenburnseffect.cpp \ - pictureResize.cpp pictureBlend.cpp pictureLoader.cpp blendElement.cpp - -ADDHEADERS = refObject.h definition.h oggHeader.h oggTypes.h audioPacket.h \ - streamConfig.h $(HDR_VORBIS) $(HDR_THEORA) $(HDR_SDL) - -oggSplit_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggSplit.cpp - -oggDump_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggDump.cpp - -oggJoin_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggJoin.cpp - -oggCut_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggCut.cpp - -oggCat_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggCat.cpp - -oggLength_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggLength.cpp - -if WANT_OGGSCROLL -bin_PROGRAMS += oggScroll -oggScroll_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_THEORA_DEP) $(SRC_KATE_INDEP) $(SRC_SDL) oggScroll.cpp -oggScroll_CXXFLAGS = $(OGG_CFLAGS) $(VORBIS_CFLAGS) $(THEORAENC_CFLAGS) $(THEORADEC_CFLAGS) $(SDL_CFLAGS) -oggScroll_LDADD = $(OGG_LIBS) $(VORBIS_LIBS) $(THEORAENC_LIBS) $(THEORADEC_LIBS) $(SDL_LIBS) -endif - -if WANT_OGGSLIDESHOW -bin_PROGRAMS += oggSlideshow -oggSlideshow_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) $(SRC_THEORA_DEP) $(SRC_GD) $(EFFECTORS) cmdlineextractor.cpp oggSlideshow.cpp -oggSlideshow_CXXFLAGS = $(OGG_CFLAGS) $(THEORAENC_CFLAGS) $(THEORADEC_CFLAGS) $(GD_CFLAGS) -oggSlideshow_LDADD = $(OGG_LIBS) $(THEORAENC_LIBS) $(THEORADEC_LIBS) $(GD_LIBS) -endif - -if WANT_OGGTHUMB -bin_PROGRAMS += oggThumb -oggThumb_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) $(SRC_THEORA_DEP) $(SRC_GD) $(EFFECTORS) cmdlineextractor.cpp oggThumb.cpp -oggThumb_CXXFLAGS = $(OGG_CFLAGS) $(THEORAENC_CFLAGS) $(THEORADEC_CFLAGS) $(GD_CFLAGS) -oggThumb_LDADD = $(OGG_LIBS) $(THEORAENC_LIBS) $(THEORADEC_LIBS) $(GD_LIBS) -endif - -if WANT_OGGRESIZE -bin_PROGRAMS += oggResize -oggResize_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) $(SRC_THEORA_DEP) $(SRC_VORBIS_DEP) $(SRC_GD) $(LIBRESAMPLE) $(EFFECTORS) cmdlineextractor.cpp oggResize.cpp -oggResize_CXXFLAGS = $(OGG_CFLAGS) $(THEORAENC_CFLAGS) $(THEORADEC_CFLAGS) $(VORBIS_CFLAGS) $(VORBISENC_CFLAGS) $(GD_CFLAGS) -oggResize_LDADD = $(OGG_LIBS) $(THEORAENC_LIBS) $(THEORADEC_LIBS) $(VORBIS_LIBS) $(VORBISENC_LIBS) $(GD_LIBS) -endif - -if WANT_OGGSILENCE -bin_PROGRAMS += oggSilence -oggSilence_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) $(SRC_VORBIS_DEP) $(LIBRESAMPLE) oggSilence.cpp -oggSilence_CXXFLAGS = $(OGG_CFLAGS) $(VORBIS_CFLAGS) $(VORBISENC_CFLAGS) -oggSilence_LDADD = $(OGG_LIBS) $(VORBIS_LIBS) $(VORBISENC_LIBS) -endif -
View file
oggvideotools-0.8.tar.bz2/src/makefile.in
Deleted
@@ -1,4583 +0,0 @@ -# makefile.in generated by automake 1.11 from makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -bin_PROGRAMS = oggSplit$(EXEEXT) oggDump$(EXEEXT) oggJoin$(EXEEXT) \ - oggCut$(EXEEXT) oggCat$(EXEEXT) oggLength$(EXEEXT) \ - $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \ - $(am__EXEEXT_4) $(am__EXEEXT_5) -@WANT_OGGSCROLL_TRUE@am__append_1 = oggScroll -@WANT_OGGSLIDESHOW_TRUE@am__append_2 = oggSlideshow -@WANT_OGGTHUMB_TRUE@am__append_3 = oggThumb -@WANT_OGGRESIZE_TRUE@am__append_4 = oggResize -@WANT_OGGSILENCE_TRUE@am__append_5 = oggSilence -subdir = src -DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -@WANT_OGGSCROLL_TRUE@am__EXEEXT_1 = oggScroll$(EXEEXT) -@WANT_OGGSLIDESHOW_TRUE@am__EXEEXT_2 = oggSlideshow$(EXEEXT) -@WANT_OGGTHUMB_TRUE@am__EXEEXT_3 = oggThumb$(EXEEXT) -@WANT_OGGRESIZE_TRUE@am__EXEEXT_4 = oggResize$(EXEEXT) -@WANT_OGGSILENCE_TRUE@am__EXEEXT_5 = oggSilence$(EXEEXT) -am__installdirs = "$(DESTDIR)$(bindir)" -PROGRAMS = $(bin_PROGRAMS) -am__objects_1 = mediaUnit.$(OBJEXT) mediaRepository.$(OBJEXT) \ - fileRepository.$(OBJEXT) rawMediaPacket.$(OBJEXT) \ - mediaDecoder.$(OBJEXT) mediaEncoder.$(OBJEXT) \ - mediaConverter.$(OBJEXT) oggDecoder.$(OBJEXT) \ - oggStreamDecoder.$(OBJEXT) oggPage.$(OBJEXT) \ - oggPacket.$(OBJEXT) ringbuffer.$(OBJEXT) \ - oggRingbuffer.$(OBJEXT) crc.$(OBJEXT) \ - granulePosInterpreter.$(OBJEXT) mediaOutputDecoder.$(OBJEXT) \ - mediaInputEncoder.$(OBJEXT) streamSerializer.$(OBJEXT) \ - oggBOSExtractorFactory.$(OBJEXT) oggStreamEncoder.$(OBJEXT) \ - oggEncoder.$(OBJEXT) streamExtractor.$(OBJEXT) \ - streamParameter.$(OBJEXT) streamMux.$(OBJEXT) \ - bufferRepository.$(OBJEXT) oggComment.$(OBJEXT) -am__objects_2 = theoraPosInterpreter.$(OBJEXT) \ - theoraStreamParameter.$(OBJEXT) theoraExtractor.$(OBJEXT) -am__objects_3 = vorbisPosInterpreter.$(OBJEXT) \ - vorbisStreamParameter.$(OBJEXT) vorbisExtractor.$(OBJEXT) -am__objects_4 = katePosInterpreter.$(OBJEXT) \ - kateStreamParameter.$(OBJEXT) kateExtractor.$(OBJEXT) -am_oggCat_OBJECTS = $(am__objects_1) $(am__objects_2) $(am__objects_3) \ - $(am__objects_4) oggCat.$(OBJEXT) -oggCat_OBJECTS = $(am_oggCat_OBJECTS) -oggCat_LDADD = $(LDADD) -am_oggCut_OBJECTS = $(am__objects_1) $(am__objects_2) $(am__objects_3) \ - $(am__objects_4) oggCut.$(OBJEXT) -oggCut_OBJECTS = $(am_oggCut_OBJECTS) -oggCut_LDADD = $(LDADD) -am_oggDump_OBJECTS = $(am__objects_1) $(am__objects_2) \ - $(am__objects_3) $(am__objects_4) oggDump.$(OBJEXT) -oggDump_OBJECTS = $(am_oggDump_OBJECTS) -oggDump_LDADD = $(LDADD) -am_oggJoin_OBJECTS = $(am__objects_1) $(am__objects_2) \ - $(am__objects_3) $(am__objects_4) oggJoin.$(OBJEXT) -oggJoin_OBJECTS = $(am_oggJoin_OBJECTS) -oggJoin_LDADD = $(LDADD) -am_oggLength_OBJECTS = $(am__objects_1) $(am__objects_2) \ - $(am__objects_3) $(am__objects_4) oggLength.$(OBJEXT) -oggLength_OBJECTS = $(am_oggLength_OBJECTS) -oggLength_LDADD = $(LDADD) -am__oggResize_SOURCES_DIST = mediaUnit.cpp mediaRepository.cpp \ - fileRepository.cpp rawMediaPacket.cpp mediaDecoder.cpp \ - mediaEncoder.cpp mediaConverter.cpp oggDecoder.cpp \ - oggStreamDecoder.cpp oggPage.cpp oggPacket.cpp ringbuffer.cpp \ - oggRingbuffer.cpp crc.cpp granulePosInterpreter.cpp \ - mediaOutputDecoder.cpp mediaInputEncoder.cpp \ - streamSerializer.cpp oggBOSExtractorFactory.cpp \ - oggStreamEncoder.cpp oggEncoder.cpp streamExtractor.cpp \ - streamParameter.cpp streamMux.cpp bufferRepository.cpp \ - oggComment.cpp theoraPosInterpreter.cpp \ - theoraStreamParameter.cpp theoraExtractor.cpp \ - vorbisPosInterpreter.cpp vorbisStreamParameter.cpp \ - vorbisExtractor.cpp katePosInterpreter.cpp \ - kateStreamParameter.cpp kateExtractor.cpp theoraDecoder.cpp \ - theoraEncoder.cpp vorbisDecoder.cpp vorbisEncoder.cpp \ - audioPacket.cpp audioConverter.cpp libresample/filterkit.c \ - libresample/resample.c libresample/resamplesubs.c \ - basePlane.cpp rgbPlane.cpp effector.cpp crossfader.cpp \ - plainPicture.cpp lowpassEffect.cpp kenburnseffect.cpp \ - pictureResize.cpp pictureBlend.cpp pictureLoader.cpp \ - blendElement.cpp cmdlineextractor.cpp oggResize.cpp -am__objects_5 = oggResize-mediaUnit.$(OBJEXT) \ - oggResize-mediaRepository.$(OBJEXT) \ - oggResize-fileRepository.$(OBJEXT) \ - oggResize-rawMediaPacket.$(OBJEXT) \ - oggResize-mediaDecoder.$(OBJEXT) \ - oggResize-mediaEncoder.$(OBJEXT) \ - oggResize-mediaConverter.$(OBJEXT) \ - oggResize-oggDecoder.$(OBJEXT) \ - oggResize-oggStreamDecoder.$(OBJEXT) \ - oggResize-oggPage.$(OBJEXT) oggResize-oggPacket.$(OBJEXT) \ - oggResize-ringbuffer.$(OBJEXT) \ - oggResize-oggRingbuffer.$(OBJEXT) oggResize-crc.$(OBJEXT) \ - oggResize-granulePosInterpreter.$(OBJEXT) \ - oggResize-mediaOutputDecoder.$(OBJEXT) \ - oggResize-mediaInputEncoder.$(OBJEXT) \ - oggResize-streamSerializer.$(OBJEXT) \ - oggResize-oggBOSExtractorFactory.$(OBJEXT) \ - oggResize-oggStreamEncoder.$(OBJEXT) \ - oggResize-oggEncoder.$(OBJEXT) \ - oggResize-streamExtractor.$(OBJEXT) \ - oggResize-streamParameter.$(OBJEXT) \ - oggResize-streamMux.$(OBJEXT) \ - oggResize-bufferRepository.$(OBJEXT) \ - oggResize-oggComment.$(OBJEXT) -am__objects_6 = oggResize-theoraPosInterpreter.$(OBJEXT) \ - oggResize-theoraStreamParameter.$(OBJEXT) \ - oggResize-theoraExtractor.$(OBJEXT) -am__objects_7 = oggResize-vorbisPosInterpreter.$(OBJEXT) \ - oggResize-vorbisStreamParameter.$(OBJEXT) \ - oggResize-vorbisExtractor.$(OBJEXT) -am__objects_8 = oggResize-katePosInterpreter.$(OBJEXT) \ - oggResize-kateStreamParameter.$(OBJEXT) \ - oggResize-kateExtractor.$(OBJEXT) -am__objects_9 = oggResize-theoraDecoder.$(OBJEXT) \ - oggResize-theoraEncoder.$(OBJEXT) -am__objects_10 = oggResize-vorbisDecoder.$(OBJEXT) \ - oggResize-vorbisEncoder.$(OBJEXT) \ - oggResize-audioPacket.$(OBJEXT) \ - oggResize-audioConverter.$(OBJEXT) -am__objects_11 = filterkit.$(OBJEXT) resample.$(OBJEXT) \ - resamplesubs.$(OBJEXT) -am__objects_12 = oggResize-basePlane.$(OBJEXT) \ - oggResize-rgbPlane.$(OBJEXT) oggResize-effector.$(OBJEXT) \ - oggResize-crossfader.$(OBJEXT) \ - oggResize-plainPicture.$(OBJEXT) \ - oggResize-lowpassEffect.$(OBJEXT) \ - oggResize-kenburnseffect.$(OBJEXT) \ - oggResize-pictureResize.$(OBJEXT) \ - oggResize-pictureBlend.$(OBJEXT) \ - oggResize-pictureLoader.$(OBJEXT) \ - oggResize-blendElement.$(OBJEXT) -@WANT_OGGRESIZE_TRUE@am_oggResize_OBJECTS = $(am__objects_5) \ -@WANT_OGGRESIZE_TRUE@ $(am__objects_6) $(am__objects_7) \ -@WANT_OGGRESIZE_TRUE@ $(am__objects_8) $(am__objects_9) \ -@WANT_OGGRESIZE_TRUE@ $(am__objects_10) $(am__objects_11) \ -@WANT_OGGRESIZE_TRUE@ $(am__objects_12) \ -@WANT_OGGRESIZE_TRUE@ oggResize-cmdlineextractor.$(OBJEXT) \ -@WANT_OGGRESIZE_TRUE@ oggResize-oggResize.$(OBJEXT) -oggResize_OBJECTS = $(am_oggResize_OBJECTS) -am__DEPENDENCIES_1 = -@WANT_OGGRESIZE_TRUE@oggResize_DEPENDENCIES = $(am__DEPENDENCIES_1) \ -@WANT_OGGRESIZE_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGRESIZE_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGRESIZE_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGRESIZE_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGRESIZE_TRUE@ $(am__DEPENDENCIES_1) -oggResize_LINK = $(CXXLD) $(oggResize_CXXFLAGS) $(CXXFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -am__oggScroll_SOURCES_DIST = mediaUnit.cpp mediaRepository.cpp \ - fileRepository.cpp rawMediaPacket.cpp mediaDecoder.cpp \ - mediaEncoder.cpp mediaConverter.cpp oggDecoder.cpp \ - oggStreamDecoder.cpp oggPage.cpp oggPacket.cpp ringbuffer.cpp \ - oggRingbuffer.cpp crc.cpp granulePosInterpreter.cpp \ - mediaOutputDecoder.cpp mediaInputEncoder.cpp \ - streamSerializer.cpp oggBOSExtractorFactory.cpp \ - oggStreamEncoder.cpp oggEncoder.cpp streamExtractor.cpp \ - streamParameter.cpp streamMux.cpp bufferRepository.cpp \ - oggComment.cpp theoraPosInterpreter.cpp \ - theoraStreamParameter.cpp theoraExtractor.cpp \ - vorbisPosInterpreter.cpp vorbisStreamParameter.cpp \ - vorbisExtractor.cpp theoraDecoder.cpp theoraEncoder.cpp \ - katePosInterpreter.cpp kateStreamParameter.cpp \ - kateExtractor.cpp SDLvideoOutput.cpp oggScroll.cpp -am__objects_13 = oggScroll-mediaUnit.$(OBJEXT) \ - oggScroll-mediaRepository.$(OBJEXT) \ - oggScroll-fileRepository.$(OBJEXT) \ - oggScroll-rawMediaPacket.$(OBJEXT) \ - oggScroll-mediaDecoder.$(OBJEXT) \ - oggScroll-mediaEncoder.$(OBJEXT) \ - oggScroll-mediaConverter.$(OBJEXT) \ - oggScroll-oggDecoder.$(OBJEXT) \ - oggScroll-oggStreamDecoder.$(OBJEXT) \ - oggScroll-oggPage.$(OBJEXT) oggScroll-oggPacket.$(OBJEXT) \ - oggScroll-ringbuffer.$(OBJEXT) \ - oggScroll-oggRingbuffer.$(OBJEXT) oggScroll-crc.$(OBJEXT) \ - oggScroll-granulePosInterpreter.$(OBJEXT) \ - oggScroll-mediaOutputDecoder.$(OBJEXT) \ - oggScroll-mediaInputEncoder.$(OBJEXT) \ - oggScroll-streamSerializer.$(OBJEXT) \ - oggScroll-oggBOSExtractorFactory.$(OBJEXT) \ - oggScroll-oggStreamEncoder.$(OBJEXT) \ - oggScroll-oggEncoder.$(OBJEXT) \ - oggScroll-streamExtractor.$(OBJEXT) \ - oggScroll-streamParameter.$(OBJEXT) \ - oggScroll-streamMux.$(OBJEXT) \ - oggScroll-bufferRepository.$(OBJEXT) \ - oggScroll-oggComment.$(OBJEXT) -am__objects_14 = oggScroll-theoraPosInterpreter.$(OBJEXT) \ - oggScroll-theoraStreamParameter.$(OBJEXT) \ - oggScroll-theoraExtractor.$(OBJEXT) -am__objects_15 = oggScroll-vorbisPosInterpreter.$(OBJEXT) \ - oggScroll-vorbisStreamParameter.$(OBJEXT) \ - oggScroll-vorbisExtractor.$(OBJEXT) -am__objects_16 = oggScroll-theoraDecoder.$(OBJEXT) \ - oggScroll-theoraEncoder.$(OBJEXT) -am__objects_17 = oggScroll-katePosInterpreter.$(OBJEXT) \ - oggScroll-kateStreamParameter.$(OBJEXT) \ - oggScroll-kateExtractor.$(OBJEXT) -am__objects_18 = oggScroll-SDLvideoOutput.$(OBJEXT) -@WANT_OGGSCROLL_TRUE@am_oggScroll_OBJECTS = $(am__objects_13) \ -@WANT_OGGSCROLL_TRUE@ $(am__objects_14) $(am__objects_15) \ -@WANT_OGGSCROLL_TRUE@ $(am__objects_16) $(am__objects_17) \ -@WANT_OGGSCROLL_TRUE@ $(am__objects_18) \ -@WANT_OGGSCROLL_TRUE@ oggScroll-oggScroll.$(OBJEXT) -oggScroll_OBJECTS = $(am_oggScroll_OBJECTS) -@WANT_OGGSCROLL_TRUE@oggScroll_DEPENDENCIES = $(am__DEPENDENCIES_1) \ -@WANT_OGGSCROLL_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGSCROLL_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGSCROLL_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGSCROLL_TRUE@ $(am__DEPENDENCIES_1) -oggScroll_LINK = $(CXXLD) $(oggScroll_CXXFLAGS) $(CXXFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -am__oggSilence_SOURCES_DIST = mediaUnit.cpp mediaRepository.cpp \ - fileRepository.cpp rawMediaPacket.cpp mediaDecoder.cpp \ - mediaEncoder.cpp mediaConverter.cpp oggDecoder.cpp \ - oggStreamDecoder.cpp oggPage.cpp oggPacket.cpp ringbuffer.cpp \ - oggRingbuffer.cpp crc.cpp granulePosInterpreter.cpp \ - mediaOutputDecoder.cpp mediaInputEncoder.cpp \ - streamSerializer.cpp oggBOSExtractorFactory.cpp \ - oggStreamEncoder.cpp oggEncoder.cpp streamExtractor.cpp \ - streamParameter.cpp streamMux.cpp bufferRepository.cpp \ - oggComment.cpp theoraPosInterpreter.cpp \ - theoraStreamParameter.cpp theoraExtractor.cpp \ - vorbisPosInterpreter.cpp vorbisStreamParameter.cpp \ - vorbisExtractor.cpp katePosInterpreter.cpp \ - kateStreamParameter.cpp kateExtractor.cpp vorbisDecoder.cpp \ - vorbisEncoder.cpp audioPacket.cpp audioConverter.cpp \ - libresample/filterkit.c libresample/resample.c \ - libresample/resamplesubs.c oggSilence.cpp -am__objects_19 = oggSilence-mediaUnit.$(OBJEXT) \ - oggSilence-mediaRepository.$(OBJEXT) \ - oggSilence-fileRepository.$(OBJEXT) \ - oggSilence-rawMediaPacket.$(OBJEXT) \ - oggSilence-mediaDecoder.$(OBJEXT) \ - oggSilence-mediaEncoder.$(OBJEXT) \ - oggSilence-mediaConverter.$(OBJEXT) \ - oggSilence-oggDecoder.$(OBJEXT) \ - oggSilence-oggStreamDecoder.$(OBJEXT) \ - oggSilence-oggPage.$(OBJEXT) oggSilence-oggPacket.$(OBJEXT) \ - oggSilence-ringbuffer.$(OBJEXT) \ - oggSilence-oggRingbuffer.$(OBJEXT) oggSilence-crc.$(OBJEXT) \ - oggSilence-granulePosInterpreter.$(OBJEXT) \ - oggSilence-mediaOutputDecoder.$(OBJEXT) \ - oggSilence-mediaInputEncoder.$(OBJEXT) \ - oggSilence-streamSerializer.$(OBJEXT) \ - oggSilence-oggBOSExtractorFactory.$(OBJEXT) \ - oggSilence-oggStreamEncoder.$(OBJEXT) \ - oggSilence-oggEncoder.$(OBJEXT) \ - oggSilence-streamExtractor.$(OBJEXT) \ - oggSilence-streamParameter.$(OBJEXT) \ - oggSilence-streamMux.$(OBJEXT) \ - oggSilence-bufferRepository.$(OBJEXT) \ - oggSilence-oggComment.$(OBJEXT) -am__objects_20 = oggSilence-theoraPosInterpreter.$(OBJEXT) \ - oggSilence-theoraStreamParameter.$(OBJEXT) \ - oggSilence-theoraExtractor.$(OBJEXT) -am__objects_21 = oggSilence-vorbisPosInterpreter.$(OBJEXT) \ - oggSilence-vorbisStreamParameter.$(OBJEXT) \ - oggSilence-vorbisExtractor.$(OBJEXT) -am__objects_22 = oggSilence-katePosInterpreter.$(OBJEXT) \ - oggSilence-kateStreamParameter.$(OBJEXT) \ - oggSilence-kateExtractor.$(OBJEXT) -am__objects_23 = oggSilence-vorbisDecoder.$(OBJEXT) \ - oggSilence-vorbisEncoder.$(OBJEXT) \ - oggSilence-audioPacket.$(OBJEXT) \ - oggSilence-audioConverter.$(OBJEXT) -@WANT_OGGSILENCE_TRUE@am_oggSilence_OBJECTS = $(am__objects_19) \ -@WANT_OGGSILENCE_TRUE@ $(am__objects_20) $(am__objects_21) \ -@WANT_OGGSILENCE_TRUE@ $(am__objects_22) $(am__objects_23) \ -@WANT_OGGSILENCE_TRUE@ $(am__objects_11) \ -@WANT_OGGSILENCE_TRUE@ oggSilence-oggSilence.$(OBJEXT) -oggSilence_OBJECTS = $(am_oggSilence_OBJECTS) -@WANT_OGGSILENCE_TRUE@oggSilence_DEPENDENCIES = $(am__DEPENDENCIES_1) \ -@WANT_OGGSILENCE_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGSILENCE_TRUE@ $(am__DEPENDENCIES_1) -oggSilence_LINK = $(CXXLD) $(oggSilence_CXXFLAGS) $(CXXFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -am__oggSlideshow_SOURCES_DIST = mediaUnit.cpp mediaRepository.cpp \ - fileRepository.cpp rawMediaPacket.cpp mediaDecoder.cpp \ - mediaEncoder.cpp mediaConverter.cpp oggDecoder.cpp \ - oggStreamDecoder.cpp oggPage.cpp oggPacket.cpp ringbuffer.cpp \ - oggRingbuffer.cpp crc.cpp granulePosInterpreter.cpp \ - mediaOutputDecoder.cpp mediaInputEncoder.cpp \ - streamSerializer.cpp oggBOSExtractorFactory.cpp \ - oggStreamEncoder.cpp oggEncoder.cpp streamExtractor.cpp \ - streamParameter.cpp streamMux.cpp bufferRepository.cpp \ - oggComment.cpp theoraPosInterpreter.cpp \ - theoraStreamParameter.cpp theoraExtractor.cpp \ - vorbisPosInterpreter.cpp vorbisStreamParameter.cpp \ - vorbisExtractor.cpp katePosInterpreter.cpp \ - kateStreamParameter.cpp kateExtractor.cpp theoraDecoder.cpp \ - theoraEncoder.cpp basePlane.cpp rgbPlane.cpp effector.cpp \ - crossfader.cpp plainPicture.cpp lowpassEffect.cpp \ - kenburnseffect.cpp pictureResize.cpp pictureBlend.cpp \ - pictureLoader.cpp blendElement.cpp cmdlineextractor.cpp \ - oggSlideshow.cpp -am__objects_24 = oggSlideshow-mediaUnit.$(OBJEXT) \ - oggSlideshow-mediaRepository.$(OBJEXT) \ - oggSlideshow-fileRepository.$(OBJEXT) \ - oggSlideshow-rawMediaPacket.$(OBJEXT) \ - oggSlideshow-mediaDecoder.$(OBJEXT) \ - oggSlideshow-mediaEncoder.$(OBJEXT) \ - oggSlideshow-mediaConverter.$(OBJEXT) \ - oggSlideshow-oggDecoder.$(OBJEXT) \ - oggSlideshow-oggStreamDecoder.$(OBJEXT) \ - oggSlideshow-oggPage.$(OBJEXT) \ - oggSlideshow-oggPacket.$(OBJEXT) \ - oggSlideshow-ringbuffer.$(OBJEXT) \ - oggSlideshow-oggRingbuffer.$(OBJEXT) \ - oggSlideshow-crc.$(OBJEXT) \ - oggSlideshow-granulePosInterpreter.$(OBJEXT) \ - oggSlideshow-mediaOutputDecoder.$(OBJEXT) \ - oggSlideshow-mediaInputEncoder.$(OBJEXT) \ - oggSlideshow-streamSerializer.$(OBJEXT) \ - oggSlideshow-oggBOSExtractorFactory.$(OBJEXT) \ - oggSlideshow-oggStreamEncoder.$(OBJEXT) \ - oggSlideshow-oggEncoder.$(OBJEXT) \ - oggSlideshow-streamExtractor.$(OBJEXT) \ - oggSlideshow-streamParameter.$(OBJEXT) \ - oggSlideshow-streamMux.$(OBJEXT) \ - oggSlideshow-bufferRepository.$(OBJEXT) \ - oggSlideshow-oggComment.$(OBJEXT) -am__objects_25 = oggSlideshow-theoraPosInterpreter.$(OBJEXT) \ - oggSlideshow-theoraStreamParameter.$(OBJEXT) \ - oggSlideshow-theoraExtractor.$(OBJEXT) -am__objects_26 = oggSlideshow-vorbisPosInterpreter.$(OBJEXT) \ - oggSlideshow-vorbisStreamParameter.$(OBJEXT) \ - oggSlideshow-vorbisExtractor.$(OBJEXT) -am__objects_27 = oggSlideshow-katePosInterpreter.$(OBJEXT) \ - oggSlideshow-kateStreamParameter.$(OBJEXT) \ - oggSlideshow-kateExtractor.$(OBJEXT) -am__objects_28 = oggSlideshow-theoraDecoder.$(OBJEXT) \ - oggSlideshow-theoraEncoder.$(OBJEXT) -am__objects_29 = oggSlideshow-basePlane.$(OBJEXT) \ - oggSlideshow-rgbPlane.$(OBJEXT) \ - oggSlideshow-effector.$(OBJEXT) \ - oggSlideshow-crossfader.$(OBJEXT) \ - oggSlideshow-plainPicture.$(OBJEXT) \ - oggSlideshow-lowpassEffect.$(OBJEXT) \ - oggSlideshow-kenburnseffect.$(OBJEXT) \ - oggSlideshow-pictureResize.$(OBJEXT) \ - oggSlideshow-pictureBlend.$(OBJEXT) \ - oggSlideshow-pictureLoader.$(OBJEXT) \ - oggSlideshow-blendElement.$(OBJEXT) -@WANT_OGGSLIDESHOW_TRUE@am_oggSlideshow_OBJECTS = $(am__objects_24) \ -@WANT_OGGSLIDESHOW_TRUE@ $(am__objects_25) $(am__objects_26) \ -@WANT_OGGSLIDESHOW_TRUE@ $(am__objects_27) $(am__objects_28) \ -@WANT_OGGSLIDESHOW_TRUE@ $(am__objects_29) \ -@WANT_OGGSLIDESHOW_TRUE@ oggSlideshow-cmdlineextractor.$(OBJEXT) \ -@WANT_OGGSLIDESHOW_TRUE@ oggSlideshow-oggSlideshow.$(OBJEXT) -oggSlideshow_OBJECTS = $(am_oggSlideshow_OBJECTS) -@WANT_OGGSLIDESHOW_TRUE@oggSlideshow_DEPENDENCIES = \ -@WANT_OGGSLIDESHOW_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGSLIDESHOW_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGSLIDESHOW_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGSLIDESHOW_TRUE@ $(am__DEPENDENCIES_1) -oggSlideshow_LINK = $(CXXLD) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -am_oggSplit_OBJECTS = $(am__objects_1) $(am__objects_2) \ - $(am__objects_3) $(am__objects_4) oggSplit.$(OBJEXT) -oggSplit_OBJECTS = $(am_oggSplit_OBJECTS) -oggSplit_LDADD = $(LDADD) -am__oggThumb_SOURCES_DIST = mediaUnit.cpp mediaRepository.cpp \ - fileRepository.cpp rawMediaPacket.cpp mediaDecoder.cpp \ - mediaEncoder.cpp mediaConverter.cpp oggDecoder.cpp \ - oggStreamDecoder.cpp oggPage.cpp oggPacket.cpp ringbuffer.cpp \ - oggRingbuffer.cpp crc.cpp granulePosInterpreter.cpp \ - mediaOutputDecoder.cpp mediaInputEncoder.cpp \ - streamSerializer.cpp oggBOSExtractorFactory.cpp \ - oggStreamEncoder.cpp oggEncoder.cpp streamExtractor.cpp \ - streamParameter.cpp streamMux.cpp bufferRepository.cpp \ - oggComment.cpp theoraPosInterpreter.cpp \ - theoraStreamParameter.cpp theoraExtractor.cpp \ - vorbisPosInterpreter.cpp vorbisStreamParameter.cpp \ - vorbisExtractor.cpp katePosInterpreter.cpp \ - kateStreamParameter.cpp kateExtractor.cpp theoraDecoder.cpp \ - theoraEncoder.cpp basePlane.cpp rgbPlane.cpp effector.cpp \ - crossfader.cpp plainPicture.cpp lowpassEffect.cpp \ - kenburnseffect.cpp pictureResize.cpp pictureBlend.cpp \ - pictureLoader.cpp blendElement.cpp cmdlineextractor.cpp \ - oggThumb.cpp -am__objects_30 = oggThumb-mediaUnit.$(OBJEXT) \ - oggThumb-mediaRepository.$(OBJEXT) \ - oggThumb-fileRepository.$(OBJEXT) \ - oggThumb-rawMediaPacket.$(OBJEXT) \ - oggThumb-mediaDecoder.$(OBJEXT) \ - oggThumb-mediaEncoder.$(OBJEXT) \ - oggThumb-mediaConverter.$(OBJEXT) \ - oggThumb-oggDecoder.$(OBJEXT) \ - oggThumb-oggStreamDecoder.$(OBJEXT) oggThumb-oggPage.$(OBJEXT) \ - oggThumb-oggPacket.$(OBJEXT) oggThumb-ringbuffer.$(OBJEXT) \ - oggThumb-oggRingbuffer.$(OBJEXT) oggThumb-crc.$(OBJEXT) \ - oggThumb-granulePosInterpreter.$(OBJEXT) \ - oggThumb-mediaOutputDecoder.$(OBJEXT) \ - oggThumb-mediaInputEncoder.$(OBJEXT) \ - oggThumb-streamSerializer.$(OBJEXT) \ - oggThumb-oggBOSExtractorFactory.$(OBJEXT) \ - oggThumb-oggStreamEncoder.$(OBJEXT) \ - oggThumb-oggEncoder.$(OBJEXT) \ - oggThumb-streamExtractor.$(OBJEXT) \ - oggThumb-streamParameter.$(OBJEXT) \ - oggThumb-streamMux.$(OBJEXT) \ - oggThumb-bufferRepository.$(OBJEXT) \ - oggThumb-oggComment.$(OBJEXT) -am__objects_31 = oggThumb-theoraPosInterpreter.$(OBJEXT) \ - oggThumb-theoraStreamParameter.$(OBJEXT) \ - oggThumb-theoraExtractor.$(OBJEXT) -am__objects_32 = oggThumb-vorbisPosInterpreter.$(OBJEXT) \ - oggThumb-vorbisStreamParameter.$(OBJEXT) \ - oggThumb-vorbisExtractor.$(OBJEXT) -am__objects_33 = oggThumb-katePosInterpreter.$(OBJEXT) \ - oggThumb-kateStreamParameter.$(OBJEXT) \ - oggThumb-kateExtractor.$(OBJEXT) -am__objects_34 = oggThumb-theoraDecoder.$(OBJEXT) \ - oggThumb-theoraEncoder.$(OBJEXT) -am__objects_35 = oggThumb-basePlane.$(OBJEXT) \ - oggThumb-rgbPlane.$(OBJEXT) oggThumb-effector.$(OBJEXT) \ - oggThumb-crossfader.$(OBJEXT) oggThumb-plainPicture.$(OBJEXT) \ - oggThumb-lowpassEffect.$(OBJEXT) \ - oggThumb-kenburnseffect.$(OBJEXT) \ - oggThumb-pictureResize.$(OBJEXT) \ - oggThumb-pictureBlend.$(OBJEXT) \ - oggThumb-pictureLoader.$(OBJEXT) \ - oggThumb-blendElement.$(OBJEXT) -@WANT_OGGTHUMB_TRUE@am_oggThumb_OBJECTS = $(am__objects_30) \ -@WANT_OGGTHUMB_TRUE@ $(am__objects_31) $(am__objects_32) \ -@WANT_OGGTHUMB_TRUE@ $(am__objects_33) $(am__objects_34) \ -@WANT_OGGTHUMB_TRUE@ $(am__objects_35) \ -@WANT_OGGTHUMB_TRUE@ oggThumb-cmdlineextractor.$(OBJEXT) \ -@WANT_OGGTHUMB_TRUE@ oggThumb-oggThumb.$(OBJEXT) -oggThumb_OBJECTS = $(am_oggThumb_OBJECTS) -@WANT_OGGTHUMB_TRUE@oggThumb_DEPENDENCIES = $(am__DEPENDENCIES_1) \ -@WANT_OGGTHUMB_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGTHUMB_TRUE@ $(am__DEPENDENCIES_1) \ -@WANT_OGGTHUMB_TRUE@ $(am__DEPENDENCIES_1) -oggThumb_LINK = $(CXXLD) $(oggThumb_CXXFLAGS) $(CXXFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/admin/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ - -o $@ -SOURCES = $(oggCat_SOURCES) $(oggCut_SOURCES) $(oggDump_SOURCES) \ - $(oggJoin_SOURCES) $(oggLength_SOURCES) $(oggResize_SOURCES) \ - $(oggScroll_SOURCES) $(oggSilence_SOURCES) \ - $(oggSlideshow_SOURCES) $(oggSplit_SOURCES) \ - $(oggThumb_SOURCES) -DIST_SOURCES = $(oggCat_SOURCES) $(oggCut_SOURCES) $(oggDump_SOURCES) \ - $(oggJoin_SOURCES) $(oggLength_SOURCES) \ - $(am__oggResize_SOURCES_DIST) $(am__oggScroll_SOURCES_DIST) \ - $(am__oggSilence_SOURCES_DIST) \ - $(am__oggSlideshow_SOURCES_DIST) $(oggSplit_SOURCES) \ - $(am__oggThumb_SOURCES_DIST) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GD_CFLAGS = @GD_CFLAGS@ -GD_CONFIG = @GD_CONFIG@ -GD_LIBS = @GD_LIBS@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -OBJEXT = @OBJEXT@ -OGG_CFLAGS = @OGG_CFLAGS@ -OGG_LIBS = @OGG_LIBS@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SDL_CFLAGS = @SDL_CFLAGS@ -SDL_LIBS = @SDL_LIBS@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -THEORADEC_CFLAGS = @THEORADEC_CFLAGS@ -THEORADEC_LIBS = @THEORADEC_LIBS@ -THEORAENC_CFLAGS = @THEORAENC_CFLAGS@ -THEORAENC_LIBS = @THEORAENC_LIBS@ -VERSION = @VERSION@ -VORBISENC_CFLAGS = @VORBISENC_CFLAGS@ -VORBISENC_LIBS = @VORBISENC_LIBS@ -VORBIS_CFLAGS = @VORBIS_CFLAGS@ -VORBIS_LIBS = @VORBIS_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -SRC_CORE = mediaUnit.cpp mediaRepository.cpp fileRepository.cpp rawMediaPacket.cpp \ - mediaDecoder.cpp mediaEncoder.cpp mediaConverter.cpp \ - oggDecoder.cpp oggStreamDecoder.cpp \ - oggPage.cpp oggPacket.cpp ringbuffer.cpp oggRingbuffer.cpp crc.cpp \ - granulePosInterpreter.cpp mediaOutputDecoder.cpp mediaInputEncoder.cpp \ - streamSerializer.cpp oggBOSExtractorFactory.cpp \ - oggStreamEncoder.cpp oggEncoder.cpp streamExtractor.cpp streamParameter.cpp \ - streamMux.cpp bufferRepository.cpp oggComment.cpp - -SRC_OUTPUT = SDLvideoOutput.cpp - -# Theora independed information -SRC_THEORA_INDEP = theoraPosInterpreter.cpp theoraStreamParameter.cpp theoraExtractor.cpp -SRC_THEORA_DEP = theoraDecoder.cpp theoraEncoder.cpp -HDR_THEORA = theoraHeader.h -SRC_VORBIS_INDEP = vorbisPosInterpreter.cpp vorbisStreamParameter.cpp vorbisExtractor.cpp -# SRC_VORBIS_DEP = vorbisDecoder.cpp audioPacket.cpp -SRC_VORBIS_DEP = vorbisDecoder.cpp vorbisEncoder.cpp audioPacket.cpp audioConverter.cpp -HDR_VORBIS = vorbisHeader.h -SRC_KATE_INDEP = katePosInterpreter.cpp kateStreamParameter.cpp kateExtractor.cpp -SRC_SDL = SDLvideoOutput.cpp -HDR_SDL = SDLvideoOutput.h -LIBRESAMPLE = libresample/filterkit.c libresample/resample.c libresample/resamplesubs.c -EFFECTORS = basePlane.cpp rgbPlane.cpp effector.cpp crossfader.cpp plainPicture.cpp lowpassEffect.cpp kenburnseffect.cpp \ - pictureResize.cpp pictureBlend.cpp pictureLoader.cpp blendElement.cpp - -ADDHEADERS = refObject.h definition.h oggHeader.h oggTypes.h audioPacket.h \ - streamConfig.h $(HDR_VORBIS) $(HDR_THEORA) $(HDR_SDL) - -oggSplit_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggSplit.cpp -oggDump_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggDump.cpp -oggJoin_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggJoin.cpp -oggCut_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggCut.cpp -oggCat_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggCat.cpp -oggLength_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) oggLength.cpp -@WANT_OGGSCROLL_TRUE@oggScroll_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_THEORA_DEP) $(SRC_KATE_INDEP) $(SRC_SDL) oggScroll.cpp -@WANT_OGGSCROLL_TRUE@oggScroll_CXXFLAGS = $(OGG_CFLAGS) $(VORBIS_CFLAGS) $(THEORAENC_CFLAGS) $(THEORADEC_CFLAGS) $(SDL_CFLAGS) -@WANT_OGGSCROLL_TRUE@oggScroll_LDADD = $(OGG_LIBS) $(VORBIS_LIBS) $(THEORAENC_LIBS) $(THEORADEC_LIBS) $(SDL_LIBS) -@WANT_OGGSLIDESHOW_TRUE@oggSlideshow_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) $(SRC_THEORA_DEP) $(SRC_GD) $(EFFECTORS) cmdlineextractor.cpp oggSlideshow.cpp -@WANT_OGGSLIDESHOW_TRUE@oggSlideshow_CXXFLAGS = $(OGG_CFLAGS) $(THEORAENC_CFLAGS) $(THEORADEC_CFLAGS) $(GD_CFLAGS) -@WANT_OGGSLIDESHOW_TRUE@oggSlideshow_LDADD = $(OGG_LIBS) $(THEORAENC_LIBS) $(THEORADEC_LIBS) $(GD_LIBS) -@WANT_OGGTHUMB_TRUE@oggThumb_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) $(SRC_THEORA_DEP) $(SRC_GD) $(EFFECTORS) cmdlineextractor.cpp oggThumb.cpp -@WANT_OGGTHUMB_TRUE@oggThumb_CXXFLAGS = $(OGG_CFLAGS) $(THEORAENC_CFLAGS) $(THEORADEC_CFLAGS) $(GD_CFLAGS) -@WANT_OGGTHUMB_TRUE@oggThumb_LDADD = $(OGG_LIBS) $(THEORAENC_LIBS) $(THEORADEC_LIBS) $(GD_LIBS) -@WANT_OGGRESIZE_TRUE@oggResize_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) $(SRC_THEORA_DEP) $(SRC_VORBIS_DEP) $(SRC_GD) $(LIBRESAMPLE) $(EFFECTORS) cmdlineextractor.cpp oggResize.cpp -@WANT_OGGRESIZE_TRUE@oggResize_CXXFLAGS = $(OGG_CFLAGS) $(THEORAENC_CFLAGS) $(THEORADEC_CFLAGS) $(VORBIS_CFLAGS) $(VORBISENC_CFLAGS) $(GD_CFLAGS) -@WANT_OGGRESIZE_TRUE@oggResize_LDADD = $(OGG_LIBS) $(THEORAENC_LIBS) $(THEORADEC_LIBS) $(VORBIS_LIBS) $(VORBISENC_LIBS) $(GD_LIBS) -@WANT_OGGSILENCE_TRUE@oggSilence_SOURCES = $(SRC_CORE) $(SRC_THEORA_INDEP) $(SRC_VORBIS_INDEP) $(SRC_KATE_INDEP) $(SRC_VORBIS_DEP) $(LIBRESAMPLE) oggSilence.cpp -@WANT_OGGSILENCE_TRUE@oggSilence_CXXFLAGS = $(OGG_CFLAGS) $(VORBIS_CFLAGS) $(VORBISENC_CFLAGS) -@WANT_OGGSILENCE_TRUE@oggSilence_LDADD = $(OGG_LIBS) $(VORBIS_LIBS) $(VORBISENC_LIBS) -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .cpp .o .obj -$(srcdir)/makefile.in: $(srcdir)/makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu src/makefile -.PRECIOUS: makefile -makefile: $(srcdir)/makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p; \ - then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files"." = ""; dirs"." = 1 } \ - { d=$$3; if (dirsd != 1) { print "d", d; dirsd = 1 } \ - if ($$2 == $$4) filesd = filesd " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, filesd }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) -oggCat$(EXEEXT): $(oggCat_OBJECTS) $(oggCat_DEPENDENCIES) - @rm -f oggCat$(EXEEXT) - $(CXXLINK) $(oggCat_OBJECTS) $(oggCat_LDADD) $(LIBS) -oggCut$(EXEEXT): $(oggCut_OBJECTS) $(oggCut_DEPENDENCIES) - @rm -f oggCut$(EXEEXT) - $(CXXLINK) $(oggCut_OBJECTS) $(oggCut_LDADD) $(LIBS) -oggDump$(EXEEXT): $(oggDump_OBJECTS) $(oggDump_DEPENDENCIES) - @rm -f oggDump$(EXEEXT) - $(CXXLINK) $(oggDump_OBJECTS) $(oggDump_LDADD) $(LIBS) -oggJoin$(EXEEXT): $(oggJoin_OBJECTS) $(oggJoin_DEPENDENCIES) - @rm -f oggJoin$(EXEEXT) - $(CXXLINK) $(oggJoin_OBJECTS) $(oggJoin_LDADD) $(LIBS) -oggLength$(EXEEXT): $(oggLength_OBJECTS) $(oggLength_DEPENDENCIES) - @rm -f oggLength$(EXEEXT) - $(CXXLINK) $(oggLength_OBJECTS) $(oggLength_LDADD) $(LIBS) -oggResize$(EXEEXT): $(oggResize_OBJECTS) $(oggResize_DEPENDENCIES) - @rm -f oggResize$(EXEEXT) - $(oggResize_LINK) $(oggResize_OBJECTS) $(oggResize_LDADD) $(LIBS) -oggScroll$(EXEEXT): $(oggScroll_OBJECTS) $(oggScroll_DEPENDENCIES) - @rm -f oggScroll$(EXEEXT) - $(oggScroll_LINK) $(oggScroll_OBJECTS) $(oggScroll_LDADD) $(LIBS) -oggSilence$(EXEEXT): $(oggSilence_OBJECTS) $(oggSilence_DEPENDENCIES) - @rm -f oggSilence$(EXEEXT) - $(oggSilence_LINK) $(oggSilence_OBJECTS) $(oggSilence_LDADD) $(LIBS) -oggSlideshow$(EXEEXT): $(oggSlideshow_OBJECTS) $(oggSlideshow_DEPENDENCIES) - @rm -f oggSlideshow$(EXEEXT) - $(oggSlideshow_LINK) $(oggSlideshow_OBJECTS) $(oggSlideshow_LDADD) $(LIBS) -oggSplit$(EXEEXT): $(oggSplit_OBJECTS) $(oggSplit_DEPENDENCIES) - @rm -f oggSplit$(EXEEXT) - $(CXXLINK) $(oggSplit_OBJECTS) $(oggSplit_LDADD) $(LIBS) -oggThumb$(EXEEXT): $(oggThumb_OBJECTS) $(oggThumb_DEPENDENCIES) - @rm -f oggThumb$(EXEEXT) - $(oggThumb_LINK) $(oggThumb_OBJECTS) $(oggThumb_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bufferRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filterkit.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/granulePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kateExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/katePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kateStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mediaConverter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mediaDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mediaEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mediaInputEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mediaOutputDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mediaRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mediaUnit.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggBOSExtractorFactory.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggCat.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggComment.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggCut.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggDump.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggJoin.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggLength.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggPage.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-audioConverter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-audioPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-basePlane.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-blendElement.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-bufferRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-cmdlineextractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-crc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-crossfader.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-effector.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-fileRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-granulePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-kateExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-katePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-kateStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-kenburnseffect.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-lowpassEffect.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-mediaConverter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-mediaDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-mediaEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-mediaInputEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-mediaOutputDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-mediaRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-mediaUnit.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-oggBOSExtractorFactory.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-oggComment.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-oggDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-oggEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-oggPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-oggPage.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-oggResize.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-oggRingbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-oggStreamDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-oggStreamEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-pictureBlend.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-pictureLoader.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-pictureResize.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-plainPicture.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-rawMediaPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-rgbPlane.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-ringbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-streamExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-streamMux.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-streamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-streamSerializer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-theoraDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-theoraEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-theoraExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-theoraPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-theoraStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-vorbisDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-vorbisEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-vorbisExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-vorbisPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggResize-vorbisStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggRingbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-SDLvideoOutput.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-bufferRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-crc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-fileRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-granulePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-kateExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-katePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-kateStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-mediaConverter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-mediaDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-mediaEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-mediaInputEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-mediaOutputDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-mediaRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-mediaUnit.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-oggBOSExtractorFactory.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-oggComment.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-oggDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-oggEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-oggPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-oggPage.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-oggRingbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-oggScroll.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-oggStreamDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-oggStreamEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-rawMediaPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-ringbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-streamExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-streamMux.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-streamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-streamSerializer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-theoraDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-theoraEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-theoraExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-theoraPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-theoraStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-vorbisExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-vorbisPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggScroll-vorbisStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-audioConverter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-audioPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-bufferRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-crc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-fileRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-granulePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-kateExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-katePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-kateStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-mediaConverter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-mediaDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-mediaEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-mediaInputEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-mediaOutputDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-mediaRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-mediaUnit.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-oggBOSExtractorFactory.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-oggComment.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-oggDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-oggEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-oggPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-oggPage.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-oggRingbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-oggSilence.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-oggStreamDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-oggStreamEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-rawMediaPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-ringbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-streamExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-streamMux.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-streamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-streamSerializer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-theoraExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-theoraPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-theoraStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-vorbisDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-vorbisEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-vorbisExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-vorbisPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSilence-vorbisStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-basePlane.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-blendElement.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-bufferRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-cmdlineextractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-crc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-crossfader.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-effector.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-fileRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-granulePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-kateExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-katePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-kateStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-kenburnseffect.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-lowpassEffect.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-mediaConverter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-mediaDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-mediaEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-mediaInputEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-mediaOutputDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-mediaRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-mediaUnit.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-oggBOSExtractorFactory.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-oggComment.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-oggDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-oggEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-oggPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-oggPage.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-oggRingbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-oggSlideshow.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-oggStreamDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-oggStreamEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-pictureBlend.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-pictureLoader.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-pictureResize.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-plainPicture.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-rawMediaPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-rgbPlane.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-ringbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-streamExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-streamMux.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-streamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-streamSerializer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-theoraDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-theoraEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-theoraExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-theoraPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-theoraStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-vorbisExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-vorbisPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSlideshow-vorbisStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggSplit.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggStreamDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggStreamEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-basePlane.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-blendElement.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-bufferRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-cmdlineextractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-crc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-crossfader.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-effector.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-fileRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-granulePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-kateExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-katePosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-kateStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-kenburnseffect.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-lowpassEffect.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-mediaConverter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-mediaDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-mediaEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-mediaInputEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-mediaOutputDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-mediaRepository.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-mediaUnit.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-oggBOSExtractorFactory.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-oggComment.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-oggDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-oggEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-oggPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-oggPage.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-oggRingbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-oggStreamDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-oggStreamEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-oggThumb.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-pictureBlend.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-pictureLoader.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-pictureResize.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-plainPicture.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-rawMediaPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-rgbPlane.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-ringbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-streamExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-streamMux.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-streamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-streamSerializer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-theoraDecoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-theoraEncoder.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-theoraExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-theoraPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-theoraStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-vorbisExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-vorbisPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggThumb-vorbisStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rawMediaPacket.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resample.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resamplesubs.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ringbuffer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/streamExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/streamMux.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/streamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/streamSerializer.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/theoraExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/theoraPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/theoraStreamParameter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vorbisExtractor.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vorbisPosInterpreter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vorbisStreamParameter.Po@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` - -filterkit.o: libresample/filterkit.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT filterkit.o -MD -MP -MF $(DEPDIR)/filterkit.Tpo -c -o filterkit.o `test -f 'libresample/filterkit.c' || echo '$(srcdir)/'`libresample/filterkit.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/filterkit.Tpo $(DEPDIR)/filterkit.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libresample/filterkit.c' object='filterkit.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o filterkit.o `test -f 'libresample/filterkit.c' || echo '$(srcdir)/'`libresample/filterkit.c - -filterkit.obj: libresample/filterkit.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT filterkit.obj -MD -MP -MF $(DEPDIR)/filterkit.Tpo -c -o filterkit.obj `if test -f 'libresample/filterkit.c'; then $(CYGPATH_W) 'libresample/filterkit.c'; else $(CYGPATH_W) '$(srcdir)/libresample/filterkit.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/filterkit.Tpo $(DEPDIR)/filterkit.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libresample/filterkit.c' object='filterkit.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o filterkit.obj `if test -f 'libresample/filterkit.c'; then $(CYGPATH_W) 'libresample/filterkit.c'; else $(CYGPATH_W) '$(srcdir)/libresample/filterkit.c'; fi` - -resample.o: libresample/resample.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT resample.o -MD -MP -MF $(DEPDIR)/resample.Tpo -c -o resample.o `test -f 'libresample/resample.c' || echo '$(srcdir)/'`libresample/resample.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/resample.Tpo $(DEPDIR)/resample.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libresample/resample.c' object='resample.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o resample.o `test -f 'libresample/resample.c' || echo '$(srcdir)/'`libresample/resample.c - -resample.obj: libresample/resample.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT resample.obj -MD -MP -MF $(DEPDIR)/resample.Tpo -c -o resample.obj `if test -f 'libresample/resample.c'; then $(CYGPATH_W) 'libresample/resample.c'; else $(CYGPATH_W) '$(srcdir)/libresample/resample.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/resample.Tpo $(DEPDIR)/resample.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libresample/resample.c' object='resample.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o resample.obj `if test -f 'libresample/resample.c'; then $(CYGPATH_W) 'libresample/resample.c'; else $(CYGPATH_W) '$(srcdir)/libresample/resample.c'; fi` - -resamplesubs.o: libresample/resamplesubs.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT resamplesubs.o -MD -MP -MF $(DEPDIR)/resamplesubs.Tpo -c -o resamplesubs.o `test -f 'libresample/resamplesubs.c' || echo '$(srcdir)/'`libresample/resamplesubs.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/resamplesubs.Tpo $(DEPDIR)/resamplesubs.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libresample/resamplesubs.c' object='resamplesubs.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o resamplesubs.o `test -f 'libresample/resamplesubs.c' || echo '$(srcdir)/'`libresample/resamplesubs.c - -resamplesubs.obj: libresample/resamplesubs.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT resamplesubs.obj -MD -MP -MF $(DEPDIR)/resamplesubs.Tpo -c -o resamplesubs.obj `if test -f 'libresample/resamplesubs.c'; then $(CYGPATH_W) 'libresample/resamplesubs.c'; else $(CYGPATH_W) '$(srcdir)/libresample/resamplesubs.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/resamplesubs.Tpo $(DEPDIR)/resamplesubs.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libresample/resamplesubs.c' object='resamplesubs.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o resamplesubs.obj `if test -f 'libresample/resamplesubs.c'; then $(CYGPATH_W) 'libresample/resamplesubs.c'; else $(CYGPATH_W) '$(srcdir)/libresample/resamplesubs.c'; fi` - -.cpp.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -oggResize-mediaUnit.o: mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaUnit.o -MD -MP -MF $(DEPDIR)/oggResize-mediaUnit.Tpo -c -o oggResize-mediaUnit.o `test -f 'mediaUnit.cpp' || echo '$(srcdir)/'`mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaUnit.Tpo $(DEPDIR)/oggResize-mediaUnit.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaUnit.cpp' object='oggResize-mediaUnit.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaUnit.o `test -f 'mediaUnit.cpp' || echo '$(srcdir)/'`mediaUnit.cpp - -oggResize-mediaUnit.obj: mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaUnit.obj -MD -MP -MF $(DEPDIR)/oggResize-mediaUnit.Tpo -c -o oggResize-mediaUnit.obj `if test -f 'mediaUnit.cpp'; then $(CYGPATH_W) 'mediaUnit.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaUnit.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaUnit.Tpo $(DEPDIR)/oggResize-mediaUnit.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaUnit.cpp' object='oggResize-mediaUnit.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaUnit.obj `if test -f 'mediaUnit.cpp'; then $(CYGPATH_W) 'mediaUnit.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaUnit.cpp'; fi` - -oggResize-mediaRepository.o: mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaRepository.o -MD -MP -MF $(DEPDIR)/oggResize-mediaRepository.Tpo -c -o oggResize-mediaRepository.o `test -f 'mediaRepository.cpp' || echo '$(srcdir)/'`mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaRepository.Tpo $(DEPDIR)/oggResize-mediaRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaRepository.cpp' object='oggResize-mediaRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaRepository.o `test -f 'mediaRepository.cpp' || echo '$(srcdir)/'`mediaRepository.cpp - -oggResize-mediaRepository.obj: mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaRepository.obj -MD -MP -MF $(DEPDIR)/oggResize-mediaRepository.Tpo -c -o oggResize-mediaRepository.obj `if test -f 'mediaRepository.cpp'; then $(CYGPATH_W) 'mediaRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaRepository.Tpo $(DEPDIR)/oggResize-mediaRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaRepository.cpp' object='oggResize-mediaRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaRepository.obj `if test -f 'mediaRepository.cpp'; then $(CYGPATH_W) 'mediaRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaRepository.cpp'; fi` - -oggResize-fileRepository.o: fileRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-fileRepository.o -MD -MP -MF $(DEPDIR)/oggResize-fileRepository.Tpo -c -o oggResize-fileRepository.o `test -f 'fileRepository.cpp' || echo '$(srcdir)/'`fileRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-fileRepository.Tpo $(DEPDIR)/oggResize-fileRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fileRepository.cpp' object='oggResize-fileRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-fileRepository.o `test -f 'fileRepository.cpp' || echo '$(srcdir)/'`fileRepository.cpp - -oggResize-fileRepository.obj: fileRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-fileRepository.obj -MD -MP -MF $(DEPDIR)/oggResize-fileRepository.Tpo -c -o oggResize-fileRepository.obj `if test -f 'fileRepository.cpp'; then $(CYGPATH_W) 'fileRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/fileRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-fileRepository.Tpo $(DEPDIR)/oggResize-fileRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fileRepository.cpp' object='oggResize-fileRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-fileRepository.obj `if test -f 'fileRepository.cpp'; then $(CYGPATH_W) 'fileRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/fileRepository.cpp'; fi` - -oggResize-rawMediaPacket.o: rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-rawMediaPacket.o -MD -MP -MF $(DEPDIR)/oggResize-rawMediaPacket.Tpo -c -o oggResize-rawMediaPacket.o `test -f 'rawMediaPacket.cpp' || echo '$(srcdir)/'`rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-rawMediaPacket.Tpo $(DEPDIR)/oggResize-rawMediaPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rawMediaPacket.cpp' object='oggResize-rawMediaPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-rawMediaPacket.o `test -f 'rawMediaPacket.cpp' || echo '$(srcdir)/'`rawMediaPacket.cpp - -oggResize-rawMediaPacket.obj: rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-rawMediaPacket.obj -MD -MP -MF $(DEPDIR)/oggResize-rawMediaPacket.Tpo -c -o oggResize-rawMediaPacket.obj `if test -f 'rawMediaPacket.cpp'; then $(CYGPATH_W) 'rawMediaPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/rawMediaPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-rawMediaPacket.Tpo $(DEPDIR)/oggResize-rawMediaPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rawMediaPacket.cpp' object='oggResize-rawMediaPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-rawMediaPacket.obj `if test -f 'rawMediaPacket.cpp'; then $(CYGPATH_W) 'rawMediaPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/rawMediaPacket.cpp'; fi` - -oggResize-mediaDecoder.o: mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaDecoder.o -MD -MP -MF $(DEPDIR)/oggResize-mediaDecoder.Tpo -c -o oggResize-mediaDecoder.o `test -f 'mediaDecoder.cpp' || echo '$(srcdir)/'`mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaDecoder.Tpo $(DEPDIR)/oggResize-mediaDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaDecoder.cpp' object='oggResize-mediaDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaDecoder.o `test -f 'mediaDecoder.cpp' || echo '$(srcdir)/'`mediaDecoder.cpp - -oggResize-mediaDecoder.obj: mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaDecoder.obj -MD -MP -MF $(DEPDIR)/oggResize-mediaDecoder.Tpo -c -o oggResize-mediaDecoder.obj `if test -f 'mediaDecoder.cpp'; then $(CYGPATH_W) 'mediaDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaDecoder.Tpo $(DEPDIR)/oggResize-mediaDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaDecoder.cpp' object='oggResize-mediaDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaDecoder.obj `if test -f 'mediaDecoder.cpp'; then $(CYGPATH_W) 'mediaDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaDecoder.cpp'; fi` - -oggResize-mediaEncoder.o: mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaEncoder.o -MD -MP -MF $(DEPDIR)/oggResize-mediaEncoder.Tpo -c -o oggResize-mediaEncoder.o `test -f 'mediaEncoder.cpp' || echo '$(srcdir)/'`mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaEncoder.Tpo $(DEPDIR)/oggResize-mediaEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaEncoder.cpp' object='oggResize-mediaEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaEncoder.o `test -f 'mediaEncoder.cpp' || echo '$(srcdir)/'`mediaEncoder.cpp - -oggResize-mediaEncoder.obj: mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaEncoder.obj -MD -MP -MF $(DEPDIR)/oggResize-mediaEncoder.Tpo -c -o oggResize-mediaEncoder.obj `if test -f 'mediaEncoder.cpp'; then $(CYGPATH_W) 'mediaEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaEncoder.Tpo $(DEPDIR)/oggResize-mediaEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaEncoder.cpp' object='oggResize-mediaEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaEncoder.obj `if test -f 'mediaEncoder.cpp'; then $(CYGPATH_W) 'mediaEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaEncoder.cpp'; fi` - -oggResize-mediaConverter.o: mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaConverter.o -MD -MP -MF $(DEPDIR)/oggResize-mediaConverter.Tpo -c -o oggResize-mediaConverter.o `test -f 'mediaConverter.cpp' || echo '$(srcdir)/'`mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaConverter.Tpo $(DEPDIR)/oggResize-mediaConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaConverter.cpp' object='oggResize-mediaConverter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaConverter.o `test -f 'mediaConverter.cpp' || echo '$(srcdir)/'`mediaConverter.cpp - -oggResize-mediaConverter.obj: mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaConverter.obj -MD -MP -MF $(DEPDIR)/oggResize-mediaConverter.Tpo -c -o oggResize-mediaConverter.obj `if test -f 'mediaConverter.cpp'; then $(CYGPATH_W) 'mediaConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaConverter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaConverter.Tpo $(DEPDIR)/oggResize-mediaConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaConverter.cpp' object='oggResize-mediaConverter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaConverter.obj `if test -f 'mediaConverter.cpp'; then $(CYGPATH_W) 'mediaConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaConverter.cpp'; fi` - -oggResize-oggDecoder.o: oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggDecoder.o -MD -MP -MF $(DEPDIR)/oggResize-oggDecoder.Tpo -c -o oggResize-oggDecoder.o `test -f 'oggDecoder.cpp' || echo '$(srcdir)/'`oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggDecoder.Tpo $(DEPDIR)/oggResize-oggDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggDecoder.cpp' object='oggResize-oggDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggDecoder.o `test -f 'oggDecoder.cpp' || echo '$(srcdir)/'`oggDecoder.cpp - -oggResize-oggDecoder.obj: oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggDecoder.obj -MD -MP -MF $(DEPDIR)/oggResize-oggDecoder.Tpo -c -o oggResize-oggDecoder.obj `if test -f 'oggDecoder.cpp'; then $(CYGPATH_W) 'oggDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggDecoder.Tpo $(DEPDIR)/oggResize-oggDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggDecoder.cpp' object='oggResize-oggDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggDecoder.obj `if test -f 'oggDecoder.cpp'; then $(CYGPATH_W) 'oggDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggDecoder.cpp'; fi` - -oggResize-oggStreamDecoder.o: oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggStreamDecoder.o -MD -MP -MF $(DEPDIR)/oggResize-oggStreamDecoder.Tpo -c -o oggResize-oggStreamDecoder.o `test -f 'oggStreamDecoder.cpp' || echo '$(srcdir)/'`oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggStreamDecoder.Tpo $(DEPDIR)/oggResize-oggStreamDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamDecoder.cpp' object='oggResize-oggStreamDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggStreamDecoder.o `test -f 'oggStreamDecoder.cpp' || echo '$(srcdir)/'`oggStreamDecoder.cpp - -oggResize-oggStreamDecoder.obj: oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggStreamDecoder.obj -MD -MP -MF $(DEPDIR)/oggResize-oggStreamDecoder.Tpo -c -o oggResize-oggStreamDecoder.obj `if test -f 'oggStreamDecoder.cpp'; then $(CYGPATH_W) 'oggStreamDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggStreamDecoder.Tpo $(DEPDIR)/oggResize-oggStreamDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamDecoder.cpp' object='oggResize-oggStreamDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggStreamDecoder.obj `if test -f 'oggStreamDecoder.cpp'; then $(CYGPATH_W) 'oggStreamDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamDecoder.cpp'; fi` - -oggResize-oggPage.o: oggPage.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggPage.o -MD -MP -MF $(DEPDIR)/oggResize-oggPage.Tpo -c -o oggResize-oggPage.o `test -f 'oggPage.cpp' || echo '$(srcdir)/'`oggPage.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggPage.Tpo $(DEPDIR)/oggResize-oggPage.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPage.cpp' object='oggResize-oggPage.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggPage.o `test -f 'oggPage.cpp' || echo '$(srcdir)/'`oggPage.cpp - -oggResize-oggPage.obj: oggPage.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggPage.obj -MD -MP -MF $(DEPDIR)/oggResize-oggPage.Tpo -c -o oggResize-oggPage.obj `if test -f 'oggPage.cpp'; then $(CYGPATH_W) 'oggPage.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPage.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggPage.Tpo $(DEPDIR)/oggResize-oggPage.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPage.cpp' object='oggResize-oggPage.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggPage.obj `if test -f 'oggPage.cpp'; then $(CYGPATH_W) 'oggPage.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPage.cpp'; fi` - -oggResize-oggPacket.o: oggPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggPacket.o -MD -MP -MF $(DEPDIR)/oggResize-oggPacket.Tpo -c -o oggResize-oggPacket.o `test -f 'oggPacket.cpp' || echo '$(srcdir)/'`oggPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggPacket.Tpo $(DEPDIR)/oggResize-oggPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPacket.cpp' object='oggResize-oggPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggPacket.o `test -f 'oggPacket.cpp' || echo '$(srcdir)/'`oggPacket.cpp - -oggResize-oggPacket.obj: oggPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggPacket.obj -MD -MP -MF $(DEPDIR)/oggResize-oggPacket.Tpo -c -o oggResize-oggPacket.obj `if test -f 'oggPacket.cpp'; then $(CYGPATH_W) 'oggPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggPacket.Tpo $(DEPDIR)/oggResize-oggPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPacket.cpp' object='oggResize-oggPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggPacket.obj `if test -f 'oggPacket.cpp'; then $(CYGPATH_W) 'oggPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPacket.cpp'; fi` - -oggResize-ringbuffer.o: ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-ringbuffer.o -MD -MP -MF $(DEPDIR)/oggResize-ringbuffer.Tpo -c -o oggResize-ringbuffer.o `test -f 'ringbuffer.cpp' || echo '$(srcdir)/'`ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-ringbuffer.Tpo $(DEPDIR)/oggResize-ringbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ringbuffer.cpp' object='oggResize-ringbuffer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-ringbuffer.o `test -f 'ringbuffer.cpp' || echo '$(srcdir)/'`ringbuffer.cpp - -oggResize-ringbuffer.obj: ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-ringbuffer.obj -MD -MP -MF $(DEPDIR)/oggResize-ringbuffer.Tpo -c -o oggResize-ringbuffer.obj `if test -f 'ringbuffer.cpp'; then $(CYGPATH_W) 'ringbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/ringbuffer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-ringbuffer.Tpo $(DEPDIR)/oggResize-ringbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ringbuffer.cpp' object='oggResize-ringbuffer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-ringbuffer.obj `if test -f 'ringbuffer.cpp'; then $(CYGPATH_W) 'ringbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/ringbuffer.cpp'; fi` - -oggResize-oggRingbuffer.o: oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggRingbuffer.o -MD -MP -MF $(DEPDIR)/oggResize-oggRingbuffer.Tpo -c -o oggResize-oggRingbuffer.o `test -f 'oggRingbuffer.cpp' || echo '$(srcdir)/'`oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggRingbuffer.Tpo $(DEPDIR)/oggResize-oggRingbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggRingbuffer.cpp' object='oggResize-oggRingbuffer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggRingbuffer.o `test -f 'oggRingbuffer.cpp' || echo '$(srcdir)/'`oggRingbuffer.cpp - -oggResize-oggRingbuffer.obj: oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggRingbuffer.obj -MD -MP -MF $(DEPDIR)/oggResize-oggRingbuffer.Tpo -c -o oggResize-oggRingbuffer.obj `if test -f 'oggRingbuffer.cpp'; then $(CYGPATH_W) 'oggRingbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/oggRingbuffer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggRingbuffer.Tpo $(DEPDIR)/oggResize-oggRingbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggRingbuffer.cpp' object='oggResize-oggRingbuffer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggRingbuffer.obj `if test -f 'oggRingbuffer.cpp'; then $(CYGPATH_W) 'oggRingbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/oggRingbuffer.cpp'; fi` - -oggResize-crc.o: crc.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-crc.o -MD -MP -MF $(DEPDIR)/oggResize-crc.Tpo -c -o oggResize-crc.o `test -f 'crc.cpp' || echo '$(srcdir)/'`crc.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-crc.Tpo $(DEPDIR)/oggResize-crc.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crc.cpp' object='oggResize-crc.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-crc.o `test -f 'crc.cpp' || echo '$(srcdir)/'`crc.cpp - -oggResize-crc.obj: crc.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-crc.obj -MD -MP -MF $(DEPDIR)/oggResize-crc.Tpo -c -o oggResize-crc.obj `if test -f 'crc.cpp'; then $(CYGPATH_W) 'crc.cpp'; else $(CYGPATH_W) '$(srcdir)/crc.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-crc.Tpo $(DEPDIR)/oggResize-crc.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crc.cpp' object='oggResize-crc.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-crc.obj `if test -f 'crc.cpp'; then $(CYGPATH_W) 'crc.cpp'; else $(CYGPATH_W) '$(srcdir)/crc.cpp'; fi` - -oggResize-granulePosInterpreter.o: granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-granulePosInterpreter.o -MD -MP -MF $(DEPDIR)/oggResize-granulePosInterpreter.Tpo -c -o oggResize-granulePosInterpreter.o `test -f 'granulePosInterpreter.cpp' || echo '$(srcdir)/'`granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-granulePosInterpreter.Tpo $(DEPDIR)/oggResize-granulePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='granulePosInterpreter.cpp' object='oggResize-granulePosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-granulePosInterpreter.o `test -f 'granulePosInterpreter.cpp' || echo '$(srcdir)/'`granulePosInterpreter.cpp - -oggResize-granulePosInterpreter.obj: granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-granulePosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggResize-granulePosInterpreter.Tpo -c -o oggResize-granulePosInterpreter.obj `if test -f 'granulePosInterpreter.cpp'; then $(CYGPATH_W) 'granulePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/granulePosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-granulePosInterpreter.Tpo $(DEPDIR)/oggResize-granulePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='granulePosInterpreter.cpp' object='oggResize-granulePosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-granulePosInterpreter.obj `if test -f 'granulePosInterpreter.cpp'; then $(CYGPATH_W) 'granulePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/granulePosInterpreter.cpp'; fi` - -oggResize-mediaOutputDecoder.o: mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaOutputDecoder.o -MD -MP -MF $(DEPDIR)/oggResize-mediaOutputDecoder.Tpo -c -o oggResize-mediaOutputDecoder.o `test -f 'mediaOutputDecoder.cpp' || echo '$(srcdir)/'`mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaOutputDecoder.Tpo $(DEPDIR)/oggResize-mediaOutputDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaOutputDecoder.cpp' object='oggResize-mediaOutputDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaOutputDecoder.o `test -f 'mediaOutputDecoder.cpp' || echo '$(srcdir)/'`mediaOutputDecoder.cpp - -oggResize-mediaOutputDecoder.obj: mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaOutputDecoder.obj -MD -MP -MF $(DEPDIR)/oggResize-mediaOutputDecoder.Tpo -c -o oggResize-mediaOutputDecoder.obj `if test -f 'mediaOutputDecoder.cpp'; then $(CYGPATH_W) 'mediaOutputDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaOutputDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaOutputDecoder.Tpo $(DEPDIR)/oggResize-mediaOutputDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaOutputDecoder.cpp' object='oggResize-mediaOutputDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaOutputDecoder.obj `if test -f 'mediaOutputDecoder.cpp'; then $(CYGPATH_W) 'mediaOutputDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaOutputDecoder.cpp'; fi` - -oggResize-mediaInputEncoder.o: mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaInputEncoder.o -MD -MP -MF $(DEPDIR)/oggResize-mediaInputEncoder.Tpo -c -o oggResize-mediaInputEncoder.o `test -f 'mediaInputEncoder.cpp' || echo '$(srcdir)/'`mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaInputEncoder.Tpo $(DEPDIR)/oggResize-mediaInputEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaInputEncoder.cpp' object='oggResize-mediaInputEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaInputEncoder.o `test -f 'mediaInputEncoder.cpp' || echo '$(srcdir)/'`mediaInputEncoder.cpp - -oggResize-mediaInputEncoder.obj: mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-mediaInputEncoder.obj -MD -MP -MF $(DEPDIR)/oggResize-mediaInputEncoder.Tpo -c -o oggResize-mediaInputEncoder.obj `if test -f 'mediaInputEncoder.cpp'; then $(CYGPATH_W) 'mediaInputEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaInputEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-mediaInputEncoder.Tpo $(DEPDIR)/oggResize-mediaInputEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaInputEncoder.cpp' object='oggResize-mediaInputEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-mediaInputEncoder.obj `if test -f 'mediaInputEncoder.cpp'; then $(CYGPATH_W) 'mediaInputEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaInputEncoder.cpp'; fi` - -oggResize-streamSerializer.o: streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-streamSerializer.o -MD -MP -MF $(DEPDIR)/oggResize-streamSerializer.Tpo -c -o oggResize-streamSerializer.o `test -f 'streamSerializer.cpp' || echo '$(srcdir)/'`streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-streamSerializer.Tpo $(DEPDIR)/oggResize-streamSerializer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamSerializer.cpp' object='oggResize-streamSerializer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-streamSerializer.o `test -f 'streamSerializer.cpp' || echo '$(srcdir)/'`streamSerializer.cpp - -oggResize-streamSerializer.obj: streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-streamSerializer.obj -MD -MP -MF $(DEPDIR)/oggResize-streamSerializer.Tpo -c -o oggResize-streamSerializer.obj `if test -f 'streamSerializer.cpp'; then $(CYGPATH_W) 'streamSerializer.cpp'; else $(CYGPATH_W) '$(srcdir)/streamSerializer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-streamSerializer.Tpo $(DEPDIR)/oggResize-streamSerializer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamSerializer.cpp' object='oggResize-streamSerializer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-streamSerializer.obj `if test -f 'streamSerializer.cpp'; then $(CYGPATH_W) 'streamSerializer.cpp'; else $(CYGPATH_W) '$(srcdir)/streamSerializer.cpp'; fi` - -oggResize-oggBOSExtractorFactory.o: oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggBOSExtractorFactory.o -MD -MP -MF $(DEPDIR)/oggResize-oggBOSExtractorFactory.Tpo -c -o oggResize-oggBOSExtractorFactory.o `test -f 'oggBOSExtractorFactory.cpp' || echo '$(srcdir)/'`oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggBOSExtractorFactory.Tpo $(DEPDIR)/oggResize-oggBOSExtractorFactory.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggBOSExtractorFactory.cpp' object='oggResize-oggBOSExtractorFactory.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggBOSExtractorFactory.o `test -f 'oggBOSExtractorFactory.cpp' || echo '$(srcdir)/'`oggBOSExtractorFactory.cpp - -oggResize-oggBOSExtractorFactory.obj: oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggBOSExtractorFactory.obj -MD -MP -MF $(DEPDIR)/oggResize-oggBOSExtractorFactory.Tpo -c -o oggResize-oggBOSExtractorFactory.obj `if test -f 'oggBOSExtractorFactory.cpp'; then $(CYGPATH_W) 'oggBOSExtractorFactory.cpp'; else $(CYGPATH_W) '$(srcdir)/oggBOSExtractorFactory.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggBOSExtractorFactory.Tpo $(DEPDIR)/oggResize-oggBOSExtractorFactory.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggBOSExtractorFactory.cpp' object='oggResize-oggBOSExtractorFactory.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggBOSExtractorFactory.obj `if test -f 'oggBOSExtractorFactory.cpp'; then $(CYGPATH_W) 'oggBOSExtractorFactory.cpp'; else $(CYGPATH_W) '$(srcdir)/oggBOSExtractorFactory.cpp'; fi` - -oggResize-oggStreamEncoder.o: oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggStreamEncoder.o -MD -MP -MF $(DEPDIR)/oggResize-oggStreamEncoder.Tpo -c -o oggResize-oggStreamEncoder.o `test -f 'oggStreamEncoder.cpp' || echo '$(srcdir)/'`oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggStreamEncoder.Tpo $(DEPDIR)/oggResize-oggStreamEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamEncoder.cpp' object='oggResize-oggStreamEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggStreamEncoder.o `test -f 'oggStreamEncoder.cpp' || echo '$(srcdir)/'`oggStreamEncoder.cpp - -oggResize-oggStreamEncoder.obj: oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggStreamEncoder.obj -MD -MP -MF $(DEPDIR)/oggResize-oggStreamEncoder.Tpo -c -o oggResize-oggStreamEncoder.obj `if test -f 'oggStreamEncoder.cpp'; then $(CYGPATH_W) 'oggStreamEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggStreamEncoder.Tpo $(DEPDIR)/oggResize-oggStreamEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamEncoder.cpp' object='oggResize-oggStreamEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggStreamEncoder.obj `if test -f 'oggStreamEncoder.cpp'; then $(CYGPATH_W) 'oggStreamEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamEncoder.cpp'; fi` - -oggResize-oggEncoder.o: oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggEncoder.o -MD -MP -MF $(DEPDIR)/oggResize-oggEncoder.Tpo -c -o oggResize-oggEncoder.o `test -f 'oggEncoder.cpp' || echo '$(srcdir)/'`oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggEncoder.Tpo $(DEPDIR)/oggResize-oggEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggEncoder.cpp' object='oggResize-oggEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggEncoder.o `test -f 'oggEncoder.cpp' || echo '$(srcdir)/'`oggEncoder.cpp - -oggResize-oggEncoder.obj: oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggEncoder.obj -MD -MP -MF $(DEPDIR)/oggResize-oggEncoder.Tpo -c -o oggResize-oggEncoder.obj `if test -f 'oggEncoder.cpp'; then $(CYGPATH_W) 'oggEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggEncoder.Tpo $(DEPDIR)/oggResize-oggEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggEncoder.cpp' object='oggResize-oggEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggEncoder.obj `if test -f 'oggEncoder.cpp'; then $(CYGPATH_W) 'oggEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggEncoder.cpp'; fi` - -oggResize-streamExtractor.o: streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-streamExtractor.o -MD -MP -MF $(DEPDIR)/oggResize-streamExtractor.Tpo -c -o oggResize-streamExtractor.o `test -f 'streamExtractor.cpp' || echo '$(srcdir)/'`streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-streamExtractor.Tpo $(DEPDIR)/oggResize-streamExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamExtractor.cpp' object='oggResize-streamExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-streamExtractor.o `test -f 'streamExtractor.cpp' || echo '$(srcdir)/'`streamExtractor.cpp - -oggResize-streamExtractor.obj: streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-streamExtractor.obj -MD -MP -MF $(DEPDIR)/oggResize-streamExtractor.Tpo -c -o oggResize-streamExtractor.obj `if test -f 'streamExtractor.cpp'; then $(CYGPATH_W) 'streamExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/streamExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-streamExtractor.Tpo $(DEPDIR)/oggResize-streamExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamExtractor.cpp' object='oggResize-streamExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-streamExtractor.obj `if test -f 'streamExtractor.cpp'; then $(CYGPATH_W) 'streamExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/streamExtractor.cpp'; fi` - -oggResize-streamParameter.o: streamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-streamParameter.o -MD -MP -MF $(DEPDIR)/oggResize-streamParameter.Tpo -c -o oggResize-streamParameter.o `test -f 'streamParameter.cpp' || echo '$(srcdir)/'`streamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-streamParameter.Tpo $(DEPDIR)/oggResize-streamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamParameter.cpp' object='oggResize-streamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-streamParameter.o `test -f 'streamParameter.cpp' || echo '$(srcdir)/'`streamParameter.cpp - -oggResize-streamParameter.obj: streamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-streamParameter.obj -MD -MP -MF $(DEPDIR)/oggResize-streamParameter.Tpo -c -o oggResize-streamParameter.obj `if test -f 'streamParameter.cpp'; then $(CYGPATH_W) 'streamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/streamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-streamParameter.Tpo $(DEPDIR)/oggResize-streamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamParameter.cpp' object='oggResize-streamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-streamParameter.obj `if test -f 'streamParameter.cpp'; then $(CYGPATH_W) 'streamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/streamParameter.cpp'; fi` - -oggResize-streamMux.o: streamMux.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-streamMux.o -MD -MP -MF $(DEPDIR)/oggResize-streamMux.Tpo -c -o oggResize-streamMux.o `test -f 'streamMux.cpp' || echo '$(srcdir)/'`streamMux.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-streamMux.Tpo $(DEPDIR)/oggResize-streamMux.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamMux.cpp' object='oggResize-streamMux.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-streamMux.o `test -f 'streamMux.cpp' || echo '$(srcdir)/'`streamMux.cpp - -oggResize-streamMux.obj: streamMux.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-streamMux.obj -MD -MP -MF $(DEPDIR)/oggResize-streamMux.Tpo -c -o oggResize-streamMux.obj `if test -f 'streamMux.cpp'; then $(CYGPATH_W) 'streamMux.cpp'; else $(CYGPATH_W) '$(srcdir)/streamMux.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-streamMux.Tpo $(DEPDIR)/oggResize-streamMux.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamMux.cpp' object='oggResize-streamMux.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-streamMux.obj `if test -f 'streamMux.cpp'; then $(CYGPATH_W) 'streamMux.cpp'; else $(CYGPATH_W) '$(srcdir)/streamMux.cpp'; fi` - -oggResize-bufferRepository.o: bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-bufferRepository.o -MD -MP -MF $(DEPDIR)/oggResize-bufferRepository.Tpo -c -o oggResize-bufferRepository.o `test -f 'bufferRepository.cpp' || echo '$(srcdir)/'`bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-bufferRepository.Tpo $(DEPDIR)/oggResize-bufferRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='bufferRepository.cpp' object='oggResize-bufferRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-bufferRepository.o `test -f 'bufferRepository.cpp' || echo '$(srcdir)/'`bufferRepository.cpp - -oggResize-bufferRepository.obj: bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-bufferRepository.obj -MD -MP -MF $(DEPDIR)/oggResize-bufferRepository.Tpo -c -o oggResize-bufferRepository.obj `if test -f 'bufferRepository.cpp'; then $(CYGPATH_W) 'bufferRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/bufferRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-bufferRepository.Tpo $(DEPDIR)/oggResize-bufferRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='bufferRepository.cpp' object='oggResize-bufferRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-bufferRepository.obj `if test -f 'bufferRepository.cpp'; then $(CYGPATH_W) 'bufferRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/bufferRepository.cpp'; fi` - -oggResize-oggComment.o: oggComment.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggComment.o -MD -MP -MF $(DEPDIR)/oggResize-oggComment.Tpo -c -o oggResize-oggComment.o `test -f 'oggComment.cpp' || echo '$(srcdir)/'`oggComment.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggComment.Tpo $(DEPDIR)/oggResize-oggComment.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggComment.cpp' object='oggResize-oggComment.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggComment.o `test -f 'oggComment.cpp' || echo '$(srcdir)/'`oggComment.cpp - -oggResize-oggComment.obj: oggComment.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggComment.obj -MD -MP -MF $(DEPDIR)/oggResize-oggComment.Tpo -c -o oggResize-oggComment.obj `if test -f 'oggComment.cpp'; then $(CYGPATH_W) 'oggComment.cpp'; else $(CYGPATH_W) '$(srcdir)/oggComment.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggComment.Tpo $(DEPDIR)/oggResize-oggComment.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggComment.cpp' object='oggResize-oggComment.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggComment.obj `if test -f 'oggComment.cpp'; then $(CYGPATH_W) 'oggComment.cpp'; else $(CYGPATH_W) '$(srcdir)/oggComment.cpp'; fi` - -oggResize-theoraPosInterpreter.o: theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-theoraPosInterpreter.o -MD -MP -MF $(DEPDIR)/oggResize-theoraPosInterpreter.Tpo -c -o oggResize-theoraPosInterpreter.o `test -f 'theoraPosInterpreter.cpp' || echo '$(srcdir)/'`theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-theoraPosInterpreter.Tpo $(DEPDIR)/oggResize-theoraPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraPosInterpreter.cpp' object='oggResize-theoraPosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-theoraPosInterpreter.o `test -f 'theoraPosInterpreter.cpp' || echo '$(srcdir)/'`theoraPosInterpreter.cpp - -oggResize-theoraPosInterpreter.obj: theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-theoraPosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggResize-theoraPosInterpreter.Tpo -c -o oggResize-theoraPosInterpreter.obj `if test -f 'theoraPosInterpreter.cpp'; then $(CYGPATH_W) 'theoraPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraPosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-theoraPosInterpreter.Tpo $(DEPDIR)/oggResize-theoraPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraPosInterpreter.cpp' object='oggResize-theoraPosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-theoraPosInterpreter.obj `if test -f 'theoraPosInterpreter.cpp'; then $(CYGPATH_W) 'theoraPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraPosInterpreter.cpp'; fi` - -oggResize-theoraStreamParameter.o: theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-theoraStreamParameter.o -MD -MP -MF $(DEPDIR)/oggResize-theoraStreamParameter.Tpo -c -o oggResize-theoraStreamParameter.o `test -f 'theoraStreamParameter.cpp' || echo '$(srcdir)/'`theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-theoraStreamParameter.Tpo $(DEPDIR)/oggResize-theoraStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraStreamParameter.cpp' object='oggResize-theoraStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-theoraStreamParameter.o `test -f 'theoraStreamParameter.cpp' || echo '$(srcdir)/'`theoraStreamParameter.cpp - -oggResize-theoraStreamParameter.obj: theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-theoraStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggResize-theoraStreamParameter.Tpo -c -o oggResize-theoraStreamParameter.obj `if test -f 'theoraStreamParameter.cpp'; then $(CYGPATH_W) 'theoraStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-theoraStreamParameter.Tpo $(DEPDIR)/oggResize-theoraStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraStreamParameter.cpp' object='oggResize-theoraStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-theoraStreamParameter.obj `if test -f 'theoraStreamParameter.cpp'; then $(CYGPATH_W) 'theoraStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraStreamParameter.cpp'; fi` - -oggResize-theoraExtractor.o: theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-theoraExtractor.o -MD -MP -MF $(DEPDIR)/oggResize-theoraExtractor.Tpo -c -o oggResize-theoraExtractor.o `test -f 'theoraExtractor.cpp' || echo '$(srcdir)/'`theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-theoraExtractor.Tpo $(DEPDIR)/oggResize-theoraExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraExtractor.cpp' object='oggResize-theoraExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-theoraExtractor.o `test -f 'theoraExtractor.cpp' || echo '$(srcdir)/'`theoraExtractor.cpp - -oggResize-theoraExtractor.obj: theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-theoraExtractor.obj -MD -MP -MF $(DEPDIR)/oggResize-theoraExtractor.Tpo -c -o oggResize-theoraExtractor.obj `if test -f 'theoraExtractor.cpp'; then $(CYGPATH_W) 'theoraExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-theoraExtractor.Tpo $(DEPDIR)/oggResize-theoraExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraExtractor.cpp' object='oggResize-theoraExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-theoraExtractor.obj `if test -f 'theoraExtractor.cpp'; then $(CYGPATH_W) 'theoraExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraExtractor.cpp'; fi` - -oggResize-vorbisPosInterpreter.o: vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-vorbisPosInterpreter.o -MD -MP -MF $(DEPDIR)/oggResize-vorbisPosInterpreter.Tpo -c -o oggResize-vorbisPosInterpreter.o `test -f 'vorbisPosInterpreter.cpp' || echo '$(srcdir)/'`vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-vorbisPosInterpreter.Tpo $(DEPDIR)/oggResize-vorbisPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisPosInterpreter.cpp' object='oggResize-vorbisPosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-vorbisPosInterpreter.o `test -f 'vorbisPosInterpreter.cpp' || echo '$(srcdir)/'`vorbisPosInterpreter.cpp - -oggResize-vorbisPosInterpreter.obj: vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-vorbisPosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggResize-vorbisPosInterpreter.Tpo -c -o oggResize-vorbisPosInterpreter.obj `if test -f 'vorbisPosInterpreter.cpp'; then $(CYGPATH_W) 'vorbisPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisPosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-vorbisPosInterpreter.Tpo $(DEPDIR)/oggResize-vorbisPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisPosInterpreter.cpp' object='oggResize-vorbisPosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-vorbisPosInterpreter.obj `if test -f 'vorbisPosInterpreter.cpp'; then $(CYGPATH_W) 'vorbisPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisPosInterpreter.cpp'; fi` - -oggResize-vorbisStreamParameter.o: vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-vorbisStreamParameter.o -MD -MP -MF $(DEPDIR)/oggResize-vorbisStreamParameter.Tpo -c -o oggResize-vorbisStreamParameter.o `test -f 'vorbisStreamParameter.cpp' || echo '$(srcdir)/'`vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-vorbisStreamParameter.Tpo $(DEPDIR)/oggResize-vorbisStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisStreamParameter.cpp' object='oggResize-vorbisStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-vorbisStreamParameter.o `test -f 'vorbisStreamParameter.cpp' || echo '$(srcdir)/'`vorbisStreamParameter.cpp - -oggResize-vorbisStreamParameter.obj: vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-vorbisStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggResize-vorbisStreamParameter.Tpo -c -o oggResize-vorbisStreamParameter.obj `if test -f 'vorbisStreamParameter.cpp'; then $(CYGPATH_W) 'vorbisStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-vorbisStreamParameter.Tpo $(DEPDIR)/oggResize-vorbisStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisStreamParameter.cpp' object='oggResize-vorbisStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-vorbisStreamParameter.obj `if test -f 'vorbisStreamParameter.cpp'; then $(CYGPATH_W) 'vorbisStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisStreamParameter.cpp'; fi` - -oggResize-vorbisExtractor.o: vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-vorbisExtractor.o -MD -MP -MF $(DEPDIR)/oggResize-vorbisExtractor.Tpo -c -o oggResize-vorbisExtractor.o `test -f 'vorbisExtractor.cpp' || echo '$(srcdir)/'`vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-vorbisExtractor.Tpo $(DEPDIR)/oggResize-vorbisExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisExtractor.cpp' object='oggResize-vorbisExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-vorbisExtractor.o `test -f 'vorbisExtractor.cpp' || echo '$(srcdir)/'`vorbisExtractor.cpp - -oggResize-vorbisExtractor.obj: vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-vorbisExtractor.obj -MD -MP -MF $(DEPDIR)/oggResize-vorbisExtractor.Tpo -c -o oggResize-vorbisExtractor.obj `if test -f 'vorbisExtractor.cpp'; then $(CYGPATH_W) 'vorbisExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-vorbisExtractor.Tpo $(DEPDIR)/oggResize-vorbisExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisExtractor.cpp' object='oggResize-vorbisExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-vorbisExtractor.obj `if test -f 'vorbisExtractor.cpp'; then $(CYGPATH_W) 'vorbisExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisExtractor.cpp'; fi` - -oggResize-katePosInterpreter.o: katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-katePosInterpreter.o -MD -MP -MF $(DEPDIR)/oggResize-katePosInterpreter.Tpo -c -o oggResize-katePosInterpreter.o `test -f 'katePosInterpreter.cpp' || echo '$(srcdir)/'`katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-katePosInterpreter.Tpo $(DEPDIR)/oggResize-katePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='katePosInterpreter.cpp' object='oggResize-katePosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-katePosInterpreter.o `test -f 'katePosInterpreter.cpp' || echo '$(srcdir)/'`katePosInterpreter.cpp - -oggResize-katePosInterpreter.obj: katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-katePosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggResize-katePosInterpreter.Tpo -c -o oggResize-katePosInterpreter.obj `if test -f 'katePosInterpreter.cpp'; then $(CYGPATH_W) 'katePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/katePosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-katePosInterpreter.Tpo $(DEPDIR)/oggResize-katePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='katePosInterpreter.cpp' object='oggResize-katePosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-katePosInterpreter.obj `if test -f 'katePosInterpreter.cpp'; then $(CYGPATH_W) 'katePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/katePosInterpreter.cpp'; fi` - -oggResize-kateStreamParameter.o: kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-kateStreamParameter.o -MD -MP -MF $(DEPDIR)/oggResize-kateStreamParameter.Tpo -c -o oggResize-kateStreamParameter.o `test -f 'kateStreamParameter.cpp' || echo '$(srcdir)/'`kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-kateStreamParameter.Tpo $(DEPDIR)/oggResize-kateStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateStreamParameter.cpp' object='oggResize-kateStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-kateStreamParameter.o `test -f 'kateStreamParameter.cpp' || echo '$(srcdir)/'`kateStreamParameter.cpp - -oggResize-kateStreamParameter.obj: kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-kateStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggResize-kateStreamParameter.Tpo -c -o oggResize-kateStreamParameter.obj `if test -f 'kateStreamParameter.cpp'; then $(CYGPATH_W) 'kateStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/kateStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-kateStreamParameter.Tpo $(DEPDIR)/oggResize-kateStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateStreamParameter.cpp' object='oggResize-kateStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-kateStreamParameter.obj `if test -f 'kateStreamParameter.cpp'; then $(CYGPATH_W) 'kateStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/kateStreamParameter.cpp'; fi` - -oggResize-kateExtractor.o: kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-kateExtractor.o -MD -MP -MF $(DEPDIR)/oggResize-kateExtractor.Tpo -c -o oggResize-kateExtractor.o `test -f 'kateExtractor.cpp' || echo '$(srcdir)/'`kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-kateExtractor.Tpo $(DEPDIR)/oggResize-kateExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateExtractor.cpp' object='oggResize-kateExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-kateExtractor.o `test -f 'kateExtractor.cpp' || echo '$(srcdir)/'`kateExtractor.cpp - -oggResize-kateExtractor.obj: kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-kateExtractor.obj -MD -MP -MF $(DEPDIR)/oggResize-kateExtractor.Tpo -c -o oggResize-kateExtractor.obj `if test -f 'kateExtractor.cpp'; then $(CYGPATH_W) 'kateExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/kateExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-kateExtractor.Tpo $(DEPDIR)/oggResize-kateExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateExtractor.cpp' object='oggResize-kateExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-kateExtractor.obj `if test -f 'kateExtractor.cpp'; then $(CYGPATH_W) 'kateExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/kateExtractor.cpp'; fi` - -oggResize-theoraDecoder.o: theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-theoraDecoder.o -MD -MP -MF $(DEPDIR)/oggResize-theoraDecoder.Tpo -c -o oggResize-theoraDecoder.o `test -f 'theoraDecoder.cpp' || echo '$(srcdir)/'`theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-theoraDecoder.Tpo $(DEPDIR)/oggResize-theoraDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraDecoder.cpp' object='oggResize-theoraDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-theoraDecoder.o `test -f 'theoraDecoder.cpp' || echo '$(srcdir)/'`theoraDecoder.cpp - -oggResize-theoraDecoder.obj: theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-theoraDecoder.obj -MD -MP -MF $(DEPDIR)/oggResize-theoraDecoder.Tpo -c -o oggResize-theoraDecoder.obj `if test -f 'theoraDecoder.cpp'; then $(CYGPATH_W) 'theoraDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-theoraDecoder.Tpo $(DEPDIR)/oggResize-theoraDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraDecoder.cpp' object='oggResize-theoraDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-theoraDecoder.obj `if test -f 'theoraDecoder.cpp'; then $(CYGPATH_W) 'theoraDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraDecoder.cpp'; fi` - -oggResize-theoraEncoder.o: theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-theoraEncoder.o -MD -MP -MF $(DEPDIR)/oggResize-theoraEncoder.Tpo -c -o oggResize-theoraEncoder.o `test -f 'theoraEncoder.cpp' || echo '$(srcdir)/'`theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-theoraEncoder.Tpo $(DEPDIR)/oggResize-theoraEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraEncoder.cpp' object='oggResize-theoraEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-theoraEncoder.o `test -f 'theoraEncoder.cpp' || echo '$(srcdir)/'`theoraEncoder.cpp - -oggResize-theoraEncoder.obj: theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-theoraEncoder.obj -MD -MP -MF $(DEPDIR)/oggResize-theoraEncoder.Tpo -c -o oggResize-theoraEncoder.obj `if test -f 'theoraEncoder.cpp'; then $(CYGPATH_W) 'theoraEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-theoraEncoder.Tpo $(DEPDIR)/oggResize-theoraEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraEncoder.cpp' object='oggResize-theoraEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-theoraEncoder.obj `if test -f 'theoraEncoder.cpp'; then $(CYGPATH_W) 'theoraEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraEncoder.cpp'; fi` - -oggResize-vorbisDecoder.o: vorbisDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-vorbisDecoder.o -MD -MP -MF $(DEPDIR)/oggResize-vorbisDecoder.Tpo -c -o oggResize-vorbisDecoder.o `test -f 'vorbisDecoder.cpp' || echo '$(srcdir)/'`vorbisDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-vorbisDecoder.Tpo $(DEPDIR)/oggResize-vorbisDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisDecoder.cpp' object='oggResize-vorbisDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-vorbisDecoder.o `test -f 'vorbisDecoder.cpp' || echo '$(srcdir)/'`vorbisDecoder.cpp - -oggResize-vorbisDecoder.obj: vorbisDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-vorbisDecoder.obj -MD -MP -MF $(DEPDIR)/oggResize-vorbisDecoder.Tpo -c -o oggResize-vorbisDecoder.obj `if test -f 'vorbisDecoder.cpp'; then $(CYGPATH_W) 'vorbisDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-vorbisDecoder.Tpo $(DEPDIR)/oggResize-vorbisDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisDecoder.cpp' object='oggResize-vorbisDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-vorbisDecoder.obj `if test -f 'vorbisDecoder.cpp'; then $(CYGPATH_W) 'vorbisDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisDecoder.cpp'; fi` - -oggResize-vorbisEncoder.o: vorbisEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-vorbisEncoder.o -MD -MP -MF $(DEPDIR)/oggResize-vorbisEncoder.Tpo -c -o oggResize-vorbisEncoder.o `test -f 'vorbisEncoder.cpp' || echo '$(srcdir)/'`vorbisEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-vorbisEncoder.Tpo $(DEPDIR)/oggResize-vorbisEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisEncoder.cpp' object='oggResize-vorbisEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-vorbisEncoder.o `test -f 'vorbisEncoder.cpp' || echo '$(srcdir)/'`vorbisEncoder.cpp - -oggResize-vorbisEncoder.obj: vorbisEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-vorbisEncoder.obj -MD -MP -MF $(DEPDIR)/oggResize-vorbisEncoder.Tpo -c -o oggResize-vorbisEncoder.obj `if test -f 'vorbisEncoder.cpp'; then $(CYGPATH_W) 'vorbisEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-vorbisEncoder.Tpo $(DEPDIR)/oggResize-vorbisEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisEncoder.cpp' object='oggResize-vorbisEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-vorbisEncoder.obj `if test -f 'vorbisEncoder.cpp'; then $(CYGPATH_W) 'vorbisEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisEncoder.cpp'; fi` - -oggResize-audioPacket.o: audioPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-audioPacket.o -MD -MP -MF $(DEPDIR)/oggResize-audioPacket.Tpo -c -o oggResize-audioPacket.o `test -f 'audioPacket.cpp' || echo '$(srcdir)/'`audioPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-audioPacket.Tpo $(DEPDIR)/oggResize-audioPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='audioPacket.cpp' object='oggResize-audioPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-audioPacket.o `test -f 'audioPacket.cpp' || echo '$(srcdir)/'`audioPacket.cpp - -oggResize-audioPacket.obj: audioPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-audioPacket.obj -MD -MP -MF $(DEPDIR)/oggResize-audioPacket.Tpo -c -o oggResize-audioPacket.obj `if test -f 'audioPacket.cpp'; then $(CYGPATH_W) 'audioPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/audioPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-audioPacket.Tpo $(DEPDIR)/oggResize-audioPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='audioPacket.cpp' object='oggResize-audioPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-audioPacket.obj `if test -f 'audioPacket.cpp'; then $(CYGPATH_W) 'audioPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/audioPacket.cpp'; fi` - -oggResize-audioConverter.o: audioConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-audioConverter.o -MD -MP -MF $(DEPDIR)/oggResize-audioConverter.Tpo -c -o oggResize-audioConverter.o `test -f 'audioConverter.cpp' || echo '$(srcdir)/'`audioConverter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-audioConverter.Tpo $(DEPDIR)/oggResize-audioConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='audioConverter.cpp' object='oggResize-audioConverter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-audioConverter.o `test -f 'audioConverter.cpp' || echo '$(srcdir)/'`audioConverter.cpp - -oggResize-audioConverter.obj: audioConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-audioConverter.obj -MD -MP -MF $(DEPDIR)/oggResize-audioConverter.Tpo -c -o oggResize-audioConverter.obj `if test -f 'audioConverter.cpp'; then $(CYGPATH_W) 'audioConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/audioConverter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-audioConverter.Tpo $(DEPDIR)/oggResize-audioConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='audioConverter.cpp' object='oggResize-audioConverter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-audioConverter.obj `if test -f 'audioConverter.cpp'; then $(CYGPATH_W) 'audioConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/audioConverter.cpp'; fi` - -oggResize-basePlane.o: basePlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-basePlane.o -MD -MP -MF $(DEPDIR)/oggResize-basePlane.Tpo -c -o oggResize-basePlane.o `test -f 'basePlane.cpp' || echo '$(srcdir)/'`basePlane.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-basePlane.Tpo $(DEPDIR)/oggResize-basePlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='basePlane.cpp' object='oggResize-basePlane.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-basePlane.o `test -f 'basePlane.cpp' || echo '$(srcdir)/'`basePlane.cpp - -oggResize-basePlane.obj: basePlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-basePlane.obj -MD -MP -MF $(DEPDIR)/oggResize-basePlane.Tpo -c -o oggResize-basePlane.obj `if test -f 'basePlane.cpp'; then $(CYGPATH_W) 'basePlane.cpp'; else $(CYGPATH_W) '$(srcdir)/basePlane.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-basePlane.Tpo $(DEPDIR)/oggResize-basePlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='basePlane.cpp' object='oggResize-basePlane.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-basePlane.obj `if test -f 'basePlane.cpp'; then $(CYGPATH_W) 'basePlane.cpp'; else $(CYGPATH_W) '$(srcdir)/basePlane.cpp'; fi` - -oggResize-rgbPlane.o: rgbPlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-rgbPlane.o -MD -MP -MF $(DEPDIR)/oggResize-rgbPlane.Tpo -c -o oggResize-rgbPlane.o `test -f 'rgbPlane.cpp' || echo '$(srcdir)/'`rgbPlane.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-rgbPlane.Tpo $(DEPDIR)/oggResize-rgbPlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rgbPlane.cpp' object='oggResize-rgbPlane.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-rgbPlane.o `test -f 'rgbPlane.cpp' || echo '$(srcdir)/'`rgbPlane.cpp - -oggResize-rgbPlane.obj: rgbPlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-rgbPlane.obj -MD -MP -MF $(DEPDIR)/oggResize-rgbPlane.Tpo -c -o oggResize-rgbPlane.obj `if test -f 'rgbPlane.cpp'; then $(CYGPATH_W) 'rgbPlane.cpp'; else $(CYGPATH_W) '$(srcdir)/rgbPlane.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-rgbPlane.Tpo $(DEPDIR)/oggResize-rgbPlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rgbPlane.cpp' object='oggResize-rgbPlane.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-rgbPlane.obj `if test -f 'rgbPlane.cpp'; then $(CYGPATH_W) 'rgbPlane.cpp'; else $(CYGPATH_W) '$(srcdir)/rgbPlane.cpp'; fi` - -oggResize-effector.o: effector.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-effector.o -MD -MP -MF $(DEPDIR)/oggResize-effector.Tpo -c -o oggResize-effector.o `test -f 'effector.cpp' || echo '$(srcdir)/'`effector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-effector.Tpo $(DEPDIR)/oggResize-effector.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='effector.cpp' object='oggResize-effector.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-effector.o `test -f 'effector.cpp' || echo '$(srcdir)/'`effector.cpp - -oggResize-effector.obj: effector.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-effector.obj -MD -MP -MF $(DEPDIR)/oggResize-effector.Tpo -c -o oggResize-effector.obj `if test -f 'effector.cpp'; then $(CYGPATH_W) 'effector.cpp'; else $(CYGPATH_W) '$(srcdir)/effector.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-effector.Tpo $(DEPDIR)/oggResize-effector.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='effector.cpp' object='oggResize-effector.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-effector.obj `if test -f 'effector.cpp'; then $(CYGPATH_W) 'effector.cpp'; else $(CYGPATH_W) '$(srcdir)/effector.cpp'; fi` - -oggResize-crossfader.o: crossfader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-crossfader.o -MD -MP -MF $(DEPDIR)/oggResize-crossfader.Tpo -c -o oggResize-crossfader.o `test -f 'crossfader.cpp' || echo '$(srcdir)/'`crossfader.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-crossfader.Tpo $(DEPDIR)/oggResize-crossfader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crossfader.cpp' object='oggResize-crossfader.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-crossfader.o `test -f 'crossfader.cpp' || echo '$(srcdir)/'`crossfader.cpp - -oggResize-crossfader.obj: crossfader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-crossfader.obj -MD -MP -MF $(DEPDIR)/oggResize-crossfader.Tpo -c -o oggResize-crossfader.obj `if test -f 'crossfader.cpp'; then $(CYGPATH_W) 'crossfader.cpp'; else $(CYGPATH_W) '$(srcdir)/crossfader.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-crossfader.Tpo $(DEPDIR)/oggResize-crossfader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crossfader.cpp' object='oggResize-crossfader.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-crossfader.obj `if test -f 'crossfader.cpp'; then $(CYGPATH_W) 'crossfader.cpp'; else $(CYGPATH_W) '$(srcdir)/crossfader.cpp'; fi` - -oggResize-plainPicture.o: plainPicture.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-plainPicture.o -MD -MP -MF $(DEPDIR)/oggResize-plainPicture.Tpo -c -o oggResize-plainPicture.o `test -f 'plainPicture.cpp' || echo '$(srcdir)/'`plainPicture.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-plainPicture.Tpo $(DEPDIR)/oggResize-plainPicture.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='plainPicture.cpp' object='oggResize-plainPicture.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-plainPicture.o `test -f 'plainPicture.cpp' || echo '$(srcdir)/'`plainPicture.cpp - -oggResize-plainPicture.obj: plainPicture.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-plainPicture.obj -MD -MP -MF $(DEPDIR)/oggResize-plainPicture.Tpo -c -o oggResize-plainPicture.obj `if test -f 'plainPicture.cpp'; then $(CYGPATH_W) 'plainPicture.cpp'; else $(CYGPATH_W) '$(srcdir)/plainPicture.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-plainPicture.Tpo $(DEPDIR)/oggResize-plainPicture.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='plainPicture.cpp' object='oggResize-plainPicture.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-plainPicture.obj `if test -f 'plainPicture.cpp'; then $(CYGPATH_W) 'plainPicture.cpp'; else $(CYGPATH_W) '$(srcdir)/plainPicture.cpp'; fi` - -oggResize-lowpassEffect.o: lowpassEffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-lowpassEffect.o -MD -MP -MF $(DEPDIR)/oggResize-lowpassEffect.Tpo -c -o oggResize-lowpassEffect.o `test -f 'lowpassEffect.cpp' || echo '$(srcdir)/'`lowpassEffect.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-lowpassEffect.Tpo $(DEPDIR)/oggResize-lowpassEffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lowpassEffect.cpp' object='oggResize-lowpassEffect.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-lowpassEffect.o `test -f 'lowpassEffect.cpp' || echo '$(srcdir)/'`lowpassEffect.cpp - -oggResize-lowpassEffect.obj: lowpassEffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-lowpassEffect.obj -MD -MP -MF $(DEPDIR)/oggResize-lowpassEffect.Tpo -c -o oggResize-lowpassEffect.obj `if test -f 'lowpassEffect.cpp'; then $(CYGPATH_W) 'lowpassEffect.cpp'; else $(CYGPATH_W) '$(srcdir)/lowpassEffect.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-lowpassEffect.Tpo $(DEPDIR)/oggResize-lowpassEffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lowpassEffect.cpp' object='oggResize-lowpassEffect.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-lowpassEffect.obj `if test -f 'lowpassEffect.cpp'; then $(CYGPATH_W) 'lowpassEffect.cpp'; else $(CYGPATH_W) '$(srcdir)/lowpassEffect.cpp'; fi` - -oggResize-kenburnseffect.o: kenburnseffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-kenburnseffect.o -MD -MP -MF $(DEPDIR)/oggResize-kenburnseffect.Tpo -c -o oggResize-kenburnseffect.o `test -f 'kenburnseffect.cpp' || echo '$(srcdir)/'`kenburnseffect.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-kenburnseffect.Tpo $(DEPDIR)/oggResize-kenburnseffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kenburnseffect.cpp' object='oggResize-kenburnseffect.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-kenburnseffect.o `test -f 'kenburnseffect.cpp' || echo '$(srcdir)/'`kenburnseffect.cpp - -oggResize-kenburnseffect.obj: kenburnseffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-kenburnseffect.obj -MD -MP -MF $(DEPDIR)/oggResize-kenburnseffect.Tpo -c -o oggResize-kenburnseffect.obj `if test -f 'kenburnseffect.cpp'; then $(CYGPATH_W) 'kenburnseffect.cpp'; else $(CYGPATH_W) '$(srcdir)/kenburnseffect.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-kenburnseffect.Tpo $(DEPDIR)/oggResize-kenburnseffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kenburnseffect.cpp' object='oggResize-kenburnseffect.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-kenburnseffect.obj `if test -f 'kenburnseffect.cpp'; then $(CYGPATH_W) 'kenburnseffect.cpp'; else $(CYGPATH_W) '$(srcdir)/kenburnseffect.cpp'; fi` - -oggResize-pictureResize.o: pictureResize.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-pictureResize.o -MD -MP -MF $(DEPDIR)/oggResize-pictureResize.Tpo -c -o oggResize-pictureResize.o `test -f 'pictureResize.cpp' || echo '$(srcdir)/'`pictureResize.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-pictureResize.Tpo $(DEPDIR)/oggResize-pictureResize.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureResize.cpp' object='oggResize-pictureResize.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-pictureResize.o `test -f 'pictureResize.cpp' || echo '$(srcdir)/'`pictureResize.cpp - -oggResize-pictureResize.obj: pictureResize.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-pictureResize.obj -MD -MP -MF $(DEPDIR)/oggResize-pictureResize.Tpo -c -o oggResize-pictureResize.obj `if test -f 'pictureResize.cpp'; then $(CYGPATH_W) 'pictureResize.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureResize.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-pictureResize.Tpo $(DEPDIR)/oggResize-pictureResize.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureResize.cpp' object='oggResize-pictureResize.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-pictureResize.obj `if test -f 'pictureResize.cpp'; then $(CYGPATH_W) 'pictureResize.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureResize.cpp'; fi` - -oggResize-pictureBlend.o: pictureBlend.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-pictureBlend.o -MD -MP -MF $(DEPDIR)/oggResize-pictureBlend.Tpo -c -o oggResize-pictureBlend.o `test -f 'pictureBlend.cpp' || echo '$(srcdir)/'`pictureBlend.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-pictureBlend.Tpo $(DEPDIR)/oggResize-pictureBlend.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureBlend.cpp' object='oggResize-pictureBlend.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-pictureBlend.o `test -f 'pictureBlend.cpp' || echo '$(srcdir)/'`pictureBlend.cpp - -oggResize-pictureBlend.obj: pictureBlend.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-pictureBlend.obj -MD -MP -MF $(DEPDIR)/oggResize-pictureBlend.Tpo -c -o oggResize-pictureBlend.obj `if test -f 'pictureBlend.cpp'; then $(CYGPATH_W) 'pictureBlend.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureBlend.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-pictureBlend.Tpo $(DEPDIR)/oggResize-pictureBlend.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureBlend.cpp' object='oggResize-pictureBlend.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-pictureBlend.obj `if test -f 'pictureBlend.cpp'; then $(CYGPATH_W) 'pictureBlend.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureBlend.cpp'; fi` - -oggResize-pictureLoader.o: pictureLoader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-pictureLoader.o -MD -MP -MF $(DEPDIR)/oggResize-pictureLoader.Tpo -c -o oggResize-pictureLoader.o `test -f 'pictureLoader.cpp' || echo '$(srcdir)/'`pictureLoader.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-pictureLoader.Tpo $(DEPDIR)/oggResize-pictureLoader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureLoader.cpp' object='oggResize-pictureLoader.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-pictureLoader.o `test -f 'pictureLoader.cpp' || echo '$(srcdir)/'`pictureLoader.cpp - -oggResize-pictureLoader.obj: pictureLoader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-pictureLoader.obj -MD -MP -MF $(DEPDIR)/oggResize-pictureLoader.Tpo -c -o oggResize-pictureLoader.obj `if test -f 'pictureLoader.cpp'; then $(CYGPATH_W) 'pictureLoader.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureLoader.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-pictureLoader.Tpo $(DEPDIR)/oggResize-pictureLoader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureLoader.cpp' object='oggResize-pictureLoader.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-pictureLoader.obj `if test -f 'pictureLoader.cpp'; then $(CYGPATH_W) 'pictureLoader.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureLoader.cpp'; fi` - -oggResize-blendElement.o: blendElement.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-blendElement.o -MD -MP -MF $(DEPDIR)/oggResize-blendElement.Tpo -c -o oggResize-blendElement.o `test -f 'blendElement.cpp' || echo '$(srcdir)/'`blendElement.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-blendElement.Tpo $(DEPDIR)/oggResize-blendElement.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='blendElement.cpp' object='oggResize-blendElement.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-blendElement.o `test -f 'blendElement.cpp' || echo '$(srcdir)/'`blendElement.cpp - -oggResize-blendElement.obj: blendElement.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-blendElement.obj -MD -MP -MF $(DEPDIR)/oggResize-blendElement.Tpo -c -o oggResize-blendElement.obj `if test -f 'blendElement.cpp'; then $(CYGPATH_W) 'blendElement.cpp'; else $(CYGPATH_W) '$(srcdir)/blendElement.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-blendElement.Tpo $(DEPDIR)/oggResize-blendElement.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='blendElement.cpp' object='oggResize-blendElement.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-blendElement.obj `if test -f 'blendElement.cpp'; then $(CYGPATH_W) 'blendElement.cpp'; else $(CYGPATH_W) '$(srcdir)/blendElement.cpp'; fi` - -oggResize-cmdlineextractor.o: cmdlineextractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-cmdlineextractor.o -MD -MP -MF $(DEPDIR)/oggResize-cmdlineextractor.Tpo -c -o oggResize-cmdlineextractor.o `test -f 'cmdlineextractor.cpp' || echo '$(srcdir)/'`cmdlineextractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-cmdlineextractor.Tpo $(DEPDIR)/oggResize-cmdlineextractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cmdlineextractor.cpp' object='oggResize-cmdlineextractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-cmdlineextractor.o `test -f 'cmdlineextractor.cpp' || echo '$(srcdir)/'`cmdlineextractor.cpp - -oggResize-cmdlineextractor.obj: cmdlineextractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-cmdlineextractor.obj -MD -MP -MF $(DEPDIR)/oggResize-cmdlineextractor.Tpo -c -o oggResize-cmdlineextractor.obj `if test -f 'cmdlineextractor.cpp'; then $(CYGPATH_W) 'cmdlineextractor.cpp'; else $(CYGPATH_W) '$(srcdir)/cmdlineextractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-cmdlineextractor.Tpo $(DEPDIR)/oggResize-cmdlineextractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cmdlineextractor.cpp' object='oggResize-cmdlineextractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-cmdlineextractor.obj `if test -f 'cmdlineextractor.cpp'; then $(CYGPATH_W) 'cmdlineextractor.cpp'; else $(CYGPATH_W) '$(srcdir)/cmdlineextractor.cpp'; fi` - -oggResize-oggResize.o: oggResize.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggResize.o -MD -MP -MF $(DEPDIR)/oggResize-oggResize.Tpo -c -o oggResize-oggResize.o `test -f 'oggResize.cpp' || echo '$(srcdir)/'`oggResize.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggResize.Tpo $(DEPDIR)/oggResize-oggResize.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggResize.cpp' object='oggResize-oggResize.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggResize.o `test -f 'oggResize.cpp' || echo '$(srcdir)/'`oggResize.cpp - -oggResize-oggResize.obj: oggResize.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -MT oggResize-oggResize.obj -MD -MP -MF $(DEPDIR)/oggResize-oggResize.Tpo -c -o oggResize-oggResize.obj `if test -f 'oggResize.cpp'; then $(CYGPATH_W) 'oggResize.cpp'; else $(CYGPATH_W) '$(srcdir)/oggResize.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggResize-oggResize.Tpo $(DEPDIR)/oggResize-oggResize.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggResize.cpp' object='oggResize-oggResize.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggResize_CXXFLAGS) $(CXXFLAGS) -c -o oggResize-oggResize.obj `if test -f 'oggResize.cpp'; then $(CYGPATH_W) 'oggResize.cpp'; else $(CYGPATH_W) '$(srcdir)/oggResize.cpp'; fi` - -oggScroll-mediaUnit.o: mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaUnit.o -MD -MP -MF $(DEPDIR)/oggScroll-mediaUnit.Tpo -c -o oggScroll-mediaUnit.o `test -f 'mediaUnit.cpp' || echo '$(srcdir)/'`mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaUnit.Tpo $(DEPDIR)/oggScroll-mediaUnit.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaUnit.cpp' object='oggScroll-mediaUnit.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaUnit.o `test -f 'mediaUnit.cpp' || echo '$(srcdir)/'`mediaUnit.cpp - -oggScroll-mediaUnit.obj: mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaUnit.obj -MD -MP -MF $(DEPDIR)/oggScroll-mediaUnit.Tpo -c -o oggScroll-mediaUnit.obj `if test -f 'mediaUnit.cpp'; then $(CYGPATH_W) 'mediaUnit.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaUnit.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaUnit.Tpo $(DEPDIR)/oggScroll-mediaUnit.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaUnit.cpp' object='oggScroll-mediaUnit.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaUnit.obj `if test -f 'mediaUnit.cpp'; then $(CYGPATH_W) 'mediaUnit.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaUnit.cpp'; fi` - -oggScroll-mediaRepository.o: mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaRepository.o -MD -MP -MF $(DEPDIR)/oggScroll-mediaRepository.Tpo -c -o oggScroll-mediaRepository.o `test -f 'mediaRepository.cpp' || echo '$(srcdir)/'`mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaRepository.Tpo $(DEPDIR)/oggScroll-mediaRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaRepository.cpp' object='oggScroll-mediaRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaRepository.o `test -f 'mediaRepository.cpp' || echo '$(srcdir)/'`mediaRepository.cpp - -oggScroll-mediaRepository.obj: mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaRepository.obj -MD -MP -MF $(DEPDIR)/oggScroll-mediaRepository.Tpo -c -o oggScroll-mediaRepository.obj `if test -f 'mediaRepository.cpp'; then $(CYGPATH_W) 'mediaRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaRepository.Tpo $(DEPDIR)/oggScroll-mediaRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaRepository.cpp' object='oggScroll-mediaRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaRepository.obj `if test -f 'mediaRepository.cpp'; then $(CYGPATH_W) 'mediaRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaRepository.cpp'; fi` - -oggScroll-fileRepository.o: fileRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-fileRepository.o -MD -MP -MF $(DEPDIR)/oggScroll-fileRepository.Tpo -c -o oggScroll-fileRepository.o `test -f 'fileRepository.cpp' || echo '$(srcdir)/'`fileRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-fileRepository.Tpo $(DEPDIR)/oggScroll-fileRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fileRepository.cpp' object='oggScroll-fileRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-fileRepository.o `test -f 'fileRepository.cpp' || echo '$(srcdir)/'`fileRepository.cpp - -oggScroll-fileRepository.obj: fileRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-fileRepository.obj -MD -MP -MF $(DEPDIR)/oggScroll-fileRepository.Tpo -c -o oggScroll-fileRepository.obj `if test -f 'fileRepository.cpp'; then $(CYGPATH_W) 'fileRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/fileRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-fileRepository.Tpo $(DEPDIR)/oggScroll-fileRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fileRepository.cpp' object='oggScroll-fileRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-fileRepository.obj `if test -f 'fileRepository.cpp'; then $(CYGPATH_W) 'fileRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/fileRepository.cpp'; fi` - -oggScroll-rawMediaPacket.o: rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-rawMediaPacket.o -MD -MP -MF $(DEPDIR)/oggScroll-rawMediaPacket.Tpo -c -o oggScroll-rawMediaPacket.o `test -f 'rawMediaPacket.cpp' || echo '$(srcdir)/'`rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-rawMediaPacket.Tpo $(DEPDIR)/oggScroll-rawMediaPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rawMediaPacket.cpp' object='oggScroll-rawMediaPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-rawMediaPacket.o `test -f 'rawMediaPacket.cpp' || echo '$(srcdir)/'`rawMediaPacket.cpp - -oggScroll-rawMediaPacket.obj: rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-rawMediaPacket.obj -MD -MP -MF $(DEPDIR)/oggScroll-rawMediaPacket.Tpo -c -o oggScroll-rawMediaPacket.obj `if test -f 'rawMediaPacket.cpp'; then $(CYGPATH_W) 'rawMediaPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/rawMediaPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-rawMediaPacket.Tpo $(DEPDIR)/oggScroll-rawMediaPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rawMediaPacket.cpp' object='oggScroll-rawMediaPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-rawMediaPacket.obj `if test -f 'rawMediaPacket.cpp'; then $(CYGPATH_W) 'rawMediaPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/rawMediaPacket.cpp'; fi` - -oggScroll-mediaDecoder.o: mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaDecoder.o -MD -MP -MF $(DEPDIR)/oggScroll-mediaDecoder.Tpo -c -o oggScroll-mediaDecoder.o `test -f 'mediaDecoder.cpp' || echo '$(srcdir)/'`mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaDecoder.Tpo $(DEPDIR)/oggScroll-mediaDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaDecoder.cpp' object='oggScroll-mediaDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaDecoder.o `test -f 'mediaDecoder.cpp' || echo '$(srcdir)/'`mediaDecoder.cpp - -oggScroll-mediaDecoder.obj: mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaDecoder.obj -MD -MP -MF $(DEPDIR)/oggScroll-mediaDecoder.Tpo -c -o oggScroll-mediaDecoder.obj `if test -f 'mediaDecoder.cpp'; then $(CYGPATH_W) 'mediaDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaDecoder.Tpo $(DEPDIR)/oggScroll-mediaDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaDecoder.cpp' object='oggScroll-mediaDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaDecoder.obj `if test -f 'mediaDecoder.cpp'; then $(CYGPATH_W) 'mediaDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaDecoder.cpp'; fi` - -oggScroll-mediaEncoder.o: mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaEncoder.o -MD -MP -MF $(DEPDIR)/oggScroll-mediaEncoder.Tpo -c -o oggScroll-mediaEncoder.o `test -f 'mediaEncoder.cpp' || echo '$(srcdir)/'`mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaEncoder.Tpo $(DEPDIR)/oggScroll-mediaEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaEncoder.cpp' object='oggScroll-mediaEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaEncoder.o `test -f 'mediaEncoder.cpp' || echo '$(srcdir)/'`mediaEncoder.cpp - -oggScroll-mediaEncoder.obj: mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaEncoder.obj -MD -MP -MF $(DEPDIR)/oggScroll-mediaEncoder.Tpo -c -o oggScroll-mediaEncoder.obj `if test -f 'mediaEncoder.cpp'; then $(CYGPATH_W) 'mediaEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaEncoder.Tpo $(DEPDIR)/oggScroll-mediaEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaEncoder.cpp' object='oggScroll-mediaEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaEncoder.obj `if test -f 'mediaEncoder.cpp'; then $(CYGPATH_W) 'mediaEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaEncoder.cpp'; fi` - -oggScroll-mediaConverter.o: mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaConverter.o -MD -MP -MF $(DEPDIR)/oggScroll-mediaConverter.Tpo -c -o oggScroll-mediaConverter.o `test -f 'mediaConverter.cpp' || echo '$(srcdir)/'`mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaConverter.Tpo $(DEPDIR)/oggScroll-mediaConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaConverter.cpp' object='oggScroll-mediaConverter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaConverter.o `test -f 'mediaConverter.cpp' || echo '$(srcdir)/'`mediaConverter.cpp - -oggScroll-mediaConverter.obj: mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaConverter.obj -MD -MP -MF $(DEPDIR)/oggScroll-mediaConverter.Tpo -c -o oggScroll-mediaConverter.obj `if test -f 'mediaConverter.cpp'; then $(CYGPATH_W) 'mediaConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaConverter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaConverter.Tpo $(DEPDIR)/oggScroll-mediaConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaConverter.cpp' object='oggScroll-mediaConverter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaConverter.obj `if test -f 'mediaConverter.cpp'; then $(CYGPATH_W) 'mediaConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaConverter.cpp'; fi` - -oggScroll-oggDecoder.o: oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggDecoder.o -MD -MP -MF $(DEPDIR)/oggScroll-oggDecoder.Tpo -c -o oggScroll-oggDecoder.o `test -f 'oggDecoder.cpp' || echo '$(srcdir)/'`oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggDecoder.Tpo $(DEPDIR)/oggScroll-oggDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggDecoder.cpp' object='oggScroll-oggDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggDecoder.o `test -f 'oggDecoder.cpp' || echo '$(srcdir)/'`oggDecoder.cpp - -oggScroll-oggDecoder.obj: oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggDecoder.obj -MD -MP -MF $(DEPDIR)/oggScroll-oggDecoder.Tpo -c -o oggScroll-oggDecoder.obj `if test -f 'oggDecoder.cpp'; then $(CYGPATH_W) 'oggDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggDecoder.Tpo $(DEPDIR)/oggScroll-oggDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggDecoder.cpp' object='oggScroll-oggDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggDecoder.obj `if test -f 'oggDecoder.cpp'; then $(CYGPATH_W) 'oggDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggDecoder.cpp'; fi` - -oggScroll-oggStreamDecoder.o: oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggStreamDecoder.o -MD -MP -MF $(DEPDIR)/oggScroll-oggStreamDecoder.Tpo -c -o oggScroll-oggStreamDecoder.o `test -f 'oggStreamDecoder.cpp' || echo '$(srcdir)/'`oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggStreamDecoder.Tpo $(DEPDIR)/oggScroll-oggStreamDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamDecoder.cpp' object='oggScroll-oggStreamDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggStreamDecoder.o `test -f 'oggStreamDecoder.cpp' || echo '$(srcdir)/'`oggStreamDecoder.cpp - -oggScroll-oggStreamDecoder.obj: oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggStreamDecoder.obj -MD -MP -MF $(DEPDIR)/oggScroll-oggStreamDecoder.Tpo -c -o oggScroll-oggStreamDecoder.obj `if test -f 'oggStreamDecoder.cpp'; then $(CYGPATH_W) 'oggStreamDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggStreamDecoder.Tpo $(DEPDIR)/oggScroll-oggStreamDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamDecoder.cpp' object='oggScroll-oggStreamDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggStreamDecoder.obj `if test -f 'oggStreamDecoder.cpp'; then $(CYGPATH_W) 'oggStreamDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamDecoder.cpp'; fi` - -oggScroll-oggPage.o: oggPage.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggPage.o -MD -MP -MF $(DEPDIR)/oggScroll-oggPage.Tpo -c -o oggScroll-oggPage.o `test -f 'oggPage.cpp' || echo '$(srcdir)/'`oggPage.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggPage.Tpo $(DEPDIR)/oggScroll-oggPage.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPage.cpp' object='oggScroll-oggPage.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggPage.o `test -f 'oggPage.cpp' || echo '$(srcdir)/'`oggPage.cpp - -oggScroll-oggPage.obj: oggPage.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggPage.obj -MD -MP -MF $(DEPDIR)/oggScroll-oggPage.Tpo -c -o oggScroll-oggPage.obj `if test -f 'oggPage.cpp'; then $(CYGPATH_W) 'oggPage.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPage.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggPage.Tpo $(DEPDIR)/oggScroll-oggPage.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPage.cpp' object='oggScroll-oggPage.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggPage.obj `if test -f 'oggPage.cpp'; then $(CYGPATH_W) 'oggPage.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPage.cpp'; fi` - -oggScroll-oggPacket.o: oggPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggPacket.o -MD -MP -MF $(DEPDIR)/oggScroll-oggPacket.Tpo -c -o oggScroll-oggPacket.o `test -f 'oggPacket.cpp' || echo '$(srcdir)/'`oggPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggPacket.Tpo $(DEPDIR)/oggScroll-oggPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPacket.cpp' object='oggScroll-oggPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggPacket.o `test -f 'oggPacket.cpp' || echo '$(srcdir)/'`oggPacket.cpp - -oggScroll-oggPacket.obj: oggPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggPacket.obj -MD -MP -MF $(DEPDIR)/oggScroll-oggPacket.Tpo -c -o oggScroll-oggPacket.obj `if test -f 'oggPacket.cpp'; then $(CYGPATH_W) 'oggPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggPacket.Tpo $(DEPDIR)/oggScroll-oggPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPacket.cpp' object='oggScroll-oggPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggPacket.obj `if test -f 'oggPacket.cpp'; then $(CYGPATH_W) 'oggPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPacket.cpp'; fi` - -oggScroll-ringbuffer.o: ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-ringbuffer.o -MD -MP -MF $(DEPDIR)/oggScroll-ringbuffer.Tpo -c -o oggScroll-ringbuffer.o `test -f 'ringbuffer.cpp' || echo '$(srcdir)/'`ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-ringbuffer.Tpo $(DEPDIR)/oggScroll-ringbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ringbuffer.cpp' object='oggScroll-ringbuffer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-ringbuffer.o `test -f 'ringbuffer.cpp' || echo '$(srcdir)/'`ringbuffer.cpp - -oggScroll-ringbuffer.obj: ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-ringbuffer.obj -MD -MP -MF $(DEPDIR)/oggScroll-ringbuffer.Tpo -c -o oggScroll-ringbuffer.obj `if test -f 'ringbuffer.cpp'; then $(CYGPATH_W) 'ringbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/ringbuffer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-ringbuffer.Tpo $(DEPDIR)/oggScroll-ringbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ringbuffer.cpp' object='oggScroll-ringbuffer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-ringbuffer.obj `if test -f 'ringbuffer.cpp'; then $(CYGPATH_W) 'ringbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/ringbuffer.cpp'; fi` - -oggScroll-oggRingbuffer.o: oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggRingbuffer.o -MD -MP -MF $(DEPDIR)/oggScroll-oggRingbuffer.Tpo -c -o oggScroll-oggRingbuffer.o `test -f 'oggRingbuffer.cpp' || echo '$(srcdir)/'`oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggRingbuffer.Tpo $(DEPDIR)/oggScroll-oggRingbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggRingbuffer.cpp' object='oggScroll-oggRingbuffer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggRingbuffer.o `test -f 'oggRingbuffer.cpp' || echo '$(srcdir)/'`oggRingbuffer.cpp - -oggScroll-oggRingbuffer.obj: oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggRingbuffer.obj -MD -MP -MF $(DEPDIR)/oggScroll-oggRingbuffer.Tpo -c -o oggScroll-oggRingbuffer.obj `if test -f 'oggRingbuffer.cpp'; then $(CYGPATH_W) 'oggRingbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/oggRingbuffer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggRingbuffer.Tpo $(DEPDIR)/oggScroll-oggRingbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggRingbuffer.cpp' object='oggScroll-oggRingbuffer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggRingbuffer.obj `if test -f 'oggRingbuffer.cpp'; then $(CYGPATH_W) 'oggRingbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/oggRingbuffer.cpp'; fi` - -oggScroll-crc.o: crc.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-crc.o -MD -MP -MF $(DEPDIR)/oggScroll-crc.Tpo -c -o oggScroll-crc.o `test -f 'crc.cpp' || echo '$(srcdir)/'`crc.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-crc.Tpo $(DEPDIR)/oggScroll-crc.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crc.cpp' object='oggScroll-crc.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-crc.o `test -f 'crc.cpp' || echo '$(srcdir)/'`crc.cpp - -oggScroll-crc.obj: crc.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-crc.obj -MD -MP -MF $(DEPDIR)/oggScroll-crc.Tpo -c -o oggScroll-crc.obj `if test -f 'crc.cpp'; then $(CYGPATH_W) 'crc.cpp'; else $(CYGPATH_W) '$(srcdir)/crc.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-crc.Tpo $(DEPDIR)/oggScroll-crc.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crc.cpp' object='oggScroll-crc.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-crc.obj `if test -f 'crc.cpp'; then $(CYGPATH_W) 'crc.cpp'; else $(CYGPATH_W) '$(srcdir)/crc.cpp'; fi` - -oggScroll-granulePosInterpreter.o: granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-granulePosInterpreter.o -MD -MP -MF $(DEPDIR)/oggScroll-granulePosInterpreter.Tpo -c -o oggScroll-granulePosInterpreter.o `test -f 'granulePosInterpreter.cpp' || echo '$(srcdir)/'`granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-granulePosInterpreter.Tpo $(DEPDIR)/oggScroll-granulePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='granulePosInterpreter.cpp' object='oggScroll-granulePosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-granulePosInterpreter.o `test -f 'granulePosInterpreter.cpp' || echo '$(srcdir)/'`granulePosInterpreter.cpp - -oggScroll-granulePosInterpreter.obj: granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-granulePosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggScroll-granulePosInterpreter.Tpo -c -o oggScroll-granulePosInterpreter.obj `if test -f 'granulePosInterpreter.cpp'; then $(CYGPATH_W) 'granulePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/granulePosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-granulePosInterpreter.Tpo $(DEPDIR)/oggScroll-granulePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='granulePosInterpreter.cpp' object='oggScroll-granulePosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-granulePosInterpreter.obj `if test -f 'granulePosInterpreter.cpp'; then $(CYGPATH_W) 'granulePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/granulePosInterpreter.cpp'; fi` - -oggScroll-mediaOutputDecoder.o: mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaOutputDecoder.o -MD -MP -MF $(DEPDIR)/oggScroll-mediaOutputDecoder.Tpo -c -o oggScroll-mediaOutputDecoder.o `test -f 'mediaOutputDecoder.cpp' || echo '$(srcdir)/'`mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaOutputDecoder.Tpo $(DEPDIR)/oggScroll-mediaOutputDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaOutputDecoder.cpp' object='oggScroll-mediaOutputDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaOutputDecoder.o `test -f 'mediaOutputDecoder.cpp' || echo '$(srcdir)/'`mediaOutputDecoder.cpp - -oggScroll-mediaOutputDecoder.obj: mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaOutputDecoder.obj -MD -MP -MF $(DEPDIR)/oggScroll-mediaOutputDecoder.Tpo -c -o oggScroll-mediaOutputDecoder.obj `if test -f 'mediaOutputDecoder.cpp'; then $(CYGPATH_W) 'mediaOutputDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaOutputDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaOutputDecoder.Tpo $(DEPDIR)/oggScroll-mediaOutputDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaOutputDecoder.cpp' object='oggScroll-mediaOutputDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaOutputDecoder.obj `if test -f 'mediaOutputDecoder.cpp'; then $(CYGPATH_W) 'mediaOutputDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaOutputDecoder.cpp'; fi` - -oggScroll-mediaInputEncoder.o: mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaInputEncoder.o -MD -MP -MF $(DEPDIR)/oggScroll-mediaInputEncoder.Tpo -c -o oggScroll-mediaInputEncoder.o `test -f 'mediaInputEncoder.cpp' || echo '$(srcdir)/'`mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaInputEncoder.Tpo $(DEPDIR)/oggScroll-mediaInputEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaInputEncoder.cpp' object='oggScroll-mediaInputEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaInputEncoder.o `test -f 'mediaInputEncoder.cpp' || echo '$(srcdir)/'`mediaInputEncoder.cpp - -oggScroll-mediaInputEncoder.obj: mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-mediaInputEncoder.obj -MD -MP -MF $(DEPDIR)/oggScroll-mediaInputEncoder.Tpo -c -o oggScroll-mediaInputEncoder.obj `if test -f 'mediaInputEncoder.cpp'; then $(CYGPATH_W) 'mediaInputEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaInputEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-mediaInputEncoder.Tpo $(DEPDIR)/oggScroll-mediaInputEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaInputEncoder.cpp' object='oggScroll-mediaInputEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-mediaInputEncoder.obj `if test -f 'mediaInputEncoder.cpp'; then $(CYGPATH_W) 'mediaInputEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaInputEncoder.cpp'; fi` - -oggScroll-streamSerializer.o: streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-streamSerializer.o -MD -MP -MF $(DEPDIR)/oggScroll-streamSerializer.Tpo -c -o oggScroll-streamSerializer.o `test -f 'streamSerializer.cpp' || echo '$(srcdir)/'`streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-streamSerializer.Tpo $(DEPDIR)/oggScroll-streamSerializer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamSerializer.cpp' object='oggScroll-streamSerializer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-streamSerializer.o `test -f 'streamSerializer.cpp' || echo '$(srcdir)/'`streamSerializer.cpp - -oggScroll-streamSerializer.obj: streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-streamSerializer.obj -MD -MP -MF $(DEPDIR)/oggScroll-streamSerializer.Tpo -c -o oggScroll-streamSerializer.obj `if test -f 'streamSerializer.cpp'; then $(CYGPATH_W) 'streamSerializer.cpp'; else $(CYGPATH_W) '$(srcdir)/streamSerializer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-streamSerializer.Tpo $(DEPDIR)/oggScroll-streamSerializer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamSerializer.cpp' object='oggScroll-streamSerializer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-streamSerializer.obj `if test -f 'streamSerializer.cpp'; then $(CYGPATH_W) 'streamSerializer.cpp'; else $(CYGPATH_W) '$(srcdir)/streamSerializer.cpp'; fi` - -oggScroll-oggBOSExtractorFactory.o: oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggBOSExtractorFactory.o -MD -MP -MF $(DEPDIR)/oggScroll-oggBOSExtractorFactory.Tpo -c -o oggScroll-oggBOSExtractorFactory.o `test -f 'oggBOSExtractorFactory.cpp' || echo '$(srcdir)/'`oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggBOSExtractorFactory.Tpo $(DEPDIR)/oggScroll-oggBOSExtractorFactory.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggBOSExtractorFactory.cpp' object='oggScroll-oggBOSExtractorFactory.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggBOSExtractorFactory.o `test -f 'oggBOSExtractorFactory.cpp' || echo '$(srcdir)/'`oggBOSExtractorFactory.cpp - -oggScroll-oggBOSExtractorFactory.obj: oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggBOSExtractorFactory.obj -MD -MP -MF $(DEPDIR)/oggScroll-oggBOSExtractorFactory.Tpo -c -o oggScroll-oggBOSExtractorFactory.obj `if test -f 'oggBOSExtractorFactory.cpp'; then $(CYGPATH_W) 'oggBOSExtractorFactory.cpp'; else $(CYGPATH_W) '$(srcdir)/oggBOSExtractorFactory.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggBOSExtractorFactory.Tpo $(DEPDIR)/oggScroll-oggBOSExtractorFactory.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggBOSExtractorFactory.cpp' object='oggScroll-oggBOSExtractorFactory.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggBOSExtractorFactory.obj `if test -f 'oggBOSExtractorFactory.cpp'; then $(CYGPATH_W) 'oggBOSExtractorFactory.cpp'; else $(CYGPATH_W) '$(srcdir)/oggBOSExtractorFactory.cpp'; fi` - -oggScroll-oggStreamEncoder.o: oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggStreamEncoder.o -MD -MP -MF $(DEPDIR)/oggScroll-oggStreamEncoder.Tpo -c -o oggScroll-oggStreamEncoder.o `test -f 'oggStreamEncoder.cpp' || echo '$(srcdir)/'`oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggStreamEncoder.Tpo $(DEPDIR)/oggScroll-oggStreamEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamEncoder.cpp' object='oggScroll-oggStreamEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggStreamEncoder.o `test -f 'oggStreamEncoder.cpp' || echo '$(srcdir)/'`oggStreamEncoder.cpp - -oggScroll-oggStreamEncoder.obj: oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggStreamEncoder.obj -MD -MP -MF $(DEPDIR)/oggScroll-oggStreamEncoder.Tpo -c -o oggScroll-oggStreamEncoder.obj `if test -f 'oggStreamEncoder.cpp'; then $(CYGPATH_W) 'oggStreamEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggStreamEncoder.Tpo $(DEPDIR)/oggScroll-oggStreamEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamEncoder.cpp' object='oggScroll-oggStreamEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggStreamEncoder.obj `if test -f 'oggStreamEncoder.cpp'; then $(CYGPATH_W) 'oggStreamEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamEncoder.cpp'; fi` - -oggScroll-oggEncoder.o: oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggEncoder.o -MD -MP -MF $(DEPDIR)/oggScroll-oggEncoder.Tpo -c -o oggScroll-oggEncoder.o `test -f 'oggEncoder.cpp' || echo '$(srcdir)/'`oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggEncoder.Tpo $(DEPDIR)/oggScroll-oggEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggEncoder.cpp' object='oggScroll-oggEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggEncoder.o `test -f 'oggEncoder.cpp' || echo '$(srcdir)/'`oggEncoder.cpp - -oggScroll-oggEncoder.obj: oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggEncoder.obj -MD -MP -MF $(DEPDIR)/oggScroll-oggEncoder.Tpo -c -o oggScroll-oggEncoder.obj `if test -f 'oggEncoder.cpp'; then $(CYGPATH_W) 'oggEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggEncoder.Tpo $(DEPDIR)/oggScroll-oggEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggEncoder.cpp' object='oggScroll-oggEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggEncoder.obj `if test -f 'oggEncoder.cpp'; then $(CYGPATH_W) 'oggEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggEncoder.cpp'; fi` - -oggScroll-streamExtractor.o: streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-streamExtractor.o -MD -MP -MF $(DEPDIR)/oggScroll-streamExtractor.Tpo -c -o oggScroll-streamExtractor.o `test -f 'streamExtractor.cpp' || echo '$(srcdir)/'`streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-streamExtractor.Tpo $(DEPDIR)/oggScroll-streamExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamExtractor.cpp' object='oggScroll-streamExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-streamExtractor.o `test -f 'streamExtractor.cpp' || echo '$(srcdir)/'`streamExtractor.cpp - -oggScroll-streamExtractor.obj: streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-streamExtractor.obj -MD -MP -MF $(DEPDIR)/oggScroll-streamExtractor.Tpo -c -o oggScroll-streamExtractor.obj `if test -f 'streamExtractor.cpp'; then $(CYGPATH_W) 'streamExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/streamExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-streamExtractor.Tpo $(DEPDIR)/oggScroll-streamExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamExtractor.cpp' object='oggScroll-streamExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-streamExtractor.obj `if test -f 'streamExtractor.cpp'; then $(CYGPATH_W) 'streamExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/streamExtractor.cpp'; fi` - -oggScroll-streamParameter.o: streamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-streamParameter.o -MD -MP -MF $(DEPDIR)/oggScroll-streamParameter.Tpo -c -o oggScroll-streamParameter.o `test -f 'streamParameter.cpp' || echo '$(srcdir)/'`streamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-streamParameter.Tpo $(DEPDIR)/oggScroll-streamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamParameter.cpp' object='oggScroll-streamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-streamParameter.o `test -f 'streamParameter.cpp' || echo '$(srcdir)/'`streamParameter.cpp - -oggScroll-streamParameter.obj: streamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-streamParameter.obj -MD -MP -MF $(DEPDIR)/oggScroll-streamParameter.Tpo -c -o oggScroll-streamParameter.obj `if test -f 'streamParameter.cpp'; then $(CYGPATH_W) 'streamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/streamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-streamParameter.Tpo $(DEPDIR)/oggScroll-streamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamParameter.cpp' object='oggScroll-streamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-streamParameter.obj `if test -f 'streamParameter.cpp'; then $(CYGPATH_W) 'streamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/streamParameter.cpp'; fi` - -oggScroll-streamMux.o: streamMux.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-streamMux.o -MD -MP -MF $(DEPDIR)/oggScroll-streamMux.Tpo -c -o oggScroll-streamMux.o `test -f 'streamMux.cpp' || echo '$(srcdir)/'`streamMux.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-streamMux.Tpo $(DEPDIR)/oggScroll-streamMux.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamMux.cpp' object='oggScroll-streamMux.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-streamMux.o `test -f 'streamMux.cpp' || echo '$(srcdir)/'`streamMux.cpp - -oggScroll-streamMux.obj: streamMux.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-streamMux.obj -MD -MP -MF $(DEPDIR)/oggScroll-streamMux.Tpo -c -o oggScroll-streamMux.obj `if test -f 'streamMux.cpp'; then $(CYGPATH_W) 'streamMux.cpp'; else $(CYGPATH_W) '$(srcdir)/streamMux.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-streamMux.Tpo $(DEPDIR)/oggScroll-streamMux.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamMux.cpp' object='oggScroll-streamMux.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-streamMux.obj `if test -f 'streamMux.cpp'; then $(CYGPATH_W) 'streamMux.cpp'; else $(CYGPATH_W) '$(srcdir)/streamMux.cpp'; fi` - -oggScroll-bufferRepository.o: bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-bufferRepository.o -MD -MP -MF $(DEPDIR)/oggScroll-bufferRepository.Tpo -c -o oggScroll-bufferRepository.o `test -f 'bufferRepository.cpp' || echo '$(srcdir)/'`bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-bufferRepository.Tpo $(DEPDIR)/oggScroll-bufferRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='bufferRepository.cpp' object='oggScroll-bufferRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-bufferRepository.o `test -f 'bufferRepository.cpp' || echo '$(srcdir)/'`bufferRepository.cpp - -oggScroll-bufferRepository.obj: bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-bufferRepository.obj -MD -MP -MF $(DEPDIR)/oggScroll-bufferRepository.Tpo -c -o oggScroll-bufferRepository.obj `if test -f 'bufferRepository.cpp'; then $(CYGPATH_W) 'bufferRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/bufferRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-bufferRepository.Tpo $(DEPDIR)/oggScroll-bufferRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='bufferRepository.cpp' object='oggScroll-bufferRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-bufferRepository.obj `if test -f 'bufferRepository.cpp'; then $(CYGPATH_W) 'bufferRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/bufferRepository.cpp'; fi` - -oggScroll-oggComment.o: oggComment.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggComment.o -MD -MP -MF $(DEPDIR)/oggScroll-oggComment.Tpo -c -o oggScroll-oggComment.o `test -f 'oggComment.cpp' || echo '$(srcdir)/'`oggComment.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggComment.Tpo $(DEPDIR)/oggScroll-oggComment.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggComment.cpp' object='oggScroll-oggComment.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggComment.o `test -f 'oggComment.cpp' || echo '$(srcdir)/'`oggComment.cpp - -oggScroll-oggComment.obj: oggComment.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggComment.obj -MD -MP -MF $(DEPDIR)/oggScroll-oggComment.Tpo -c -o oggScroll-oggComment.obj `if test -f 'oggComment.cpp'; then $(CYGPATH_W) 'oggComment.cpp'; else $(CYGPATH_W) '$(srcdir)/oggComment.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggComment.Tpo $(DEPDIR)/oggScroll-oggComment.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggComment.cpp' object='oggScroll-oggComment.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggComment.obj `if test -f 'oggComment.cpp'; then $(CYGPATH_W) 'oggComment.cpp'; else $(CYGPATH_W) '$(srcdir)/oggComment.cpp'; fi` - -oggScroll-theoraPosInterpreter.o: theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-theoraPosInterpreter.o -MD -MP -MF $(DEPDIR)/oggScroll-theoraPosInterpreter.Tpo -c -o oggScroll-theoraPosInterpreter.o `test -f 'theoraPosInterpreter.cpp' || echo '$(srcdir)/'`theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-theoraPosInterpreter.Tpo $(DEPDIR)/oggScroll-theoraPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraPosInterpreter.cpp' object='oggScroll-theoraPosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-theoraPosInterpreter.o `test -f 'theoraPosInterpreter.cpp' || echo '$(srcdir)/'`theoraPosInterpreter.cpp - -oggScroll-theoraPosInterpreter.obj: theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-theoraPosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggScroll-theoraPosInterpreter.Tpo -c -o oggScroll-theoraPosInterpreter.obj `if test -f 'theoraPosInterpreter.cpp'; then $(CYGPATH_W) 'theoraPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraPosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-theoraPosInterpreter.Tpo $(DEPDIR)/oggScroll-theoraPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraPosInterpreter.cpp' object='oggScroll-theoraPosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-theoraPosInterpreter.obj `if test -f 'theoraPosInterpreter.cpp'; then $(CYGPATH_W) 'theoraPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraPosInterpreter.cpp'; fi` - -oggScroll-theoraStreamParameter.o: theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-theoraStreamParameter.o -MD -MP -MF $(DEPDIR)/oggScroll-theoraStreamParameter.Tpo -c -o oggScroll-theoraStreamParameter.o `test -f 'theoraStreamParameter.cpp' || echo '$(srcdir)/'`theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-theoraStreamParameter.Tpo $(DEPDIR)/oggScroll-theoraStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraStreamParameter.cpp' object='oggScroll-theoraStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-theoraStreamParameter.o `test -f 'theoraStreamParameter.cpp' || echo '$(srcdir)/'`theoraStreamParameter.cpp - -oggScroll-theoraStreamParameter.obj: theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-theoraStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggScroll-theoraStreamParameter.Tpo -c -o oggScroll-theoraStreamParameter.obj `if test -f 'theoraStreamParameter.cpp'; then $(CYGPATH_W) 'theoraStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-theoraStreamParameter.Tpo $(DEPDIR)/oggScroll-theoraStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraStreamParameter.cpp' object='oggScroll-theoraStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-theoraStreamParameter.obj `if test -f 'theoraStreamParameter.cpp'; then $(CYGPATH_W) 'theoraStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraStreamParameter.cpp'; fi` - -oggScroll-theoraExtractor.o: theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-theoraExtractor.o -MD -MP -MF $(DEPDIR)/oggScroll-theoraExtractor.Tpo -c -o oggScroll-theoraExtractor.o `test -f 'theoraExtractor.cpp' || echo '$(srcdir)/'`theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-theoraExtractor.Tpo $(DEPDIR)/oggScroll-theoraExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraExtractor.cpp' object='oggScroll-theoraExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-theoraExtractor.o `test -f 'theoraExtractor.cpp' || echo '$(srcdir)/'`theoraExtractor.cpp - -oggScroll-theoraExtractor.obj: theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-theoraExtractor.obj -MD -MP -MF $(DEPDIR)/oggScroll-theoraExtractor.Tpo -c -o oggScroll-theoraExtractor.obj `if test -f 'theoraExtractor.cpp'; then $(CYGPATH_W) 'theoraExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-theoraExtractor.Tpo $(DEPDIR)/oggScroll-theoraExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraExtractor.cpp' object='oggScroll-theoraExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-theoraExtractor.obj `if test -f 'theoraExtractor.cpp'; then $(CYGPATH_W) 'theoraExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraExtractor.cpp'; fi` - -oggScroll-vorbisPosInterpreter.o: vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-vorbisPosInterpreter.o -MD -MP -MF $(DEPDIR)/oggScroll-vorbisPosInterpreter.Tpo -c -o oggScroll-vorbisPosInterpreter.o `test -f 'vorbisPosInterpreter.cpp' || echo '$(srcdir)/'`vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-vorbisPosInterpreter.Tpo $(DEPDIR)/oggScroll-vorbisPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisPosInterpreter.cpp' object='oggScroll-vorbisPosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-vorbisPosInterpreter.o `test -f 'vorbisPosInterpreter.cpp' || echo '$(srcdir)/'`vorbisPosInterpreter.cpp - -oggScroll-vorbisPosInterpreter.obj: vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-vorbisPosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggScroll-vorbisPosInterpreter.Tpo -c -o oggScroll-vorbisPosInterpreter.obj `if test -f 'vorbisPosInterpreter.cpp'; then $(CYGPATH_W) 'vorbisPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisPosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-vorbisPosInterpreter.Tpo $(DEPDIR)/oggScroll-vorbisPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisPosInterpreter.cpp' object='oggScroll-vorbisPosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-vorbisPosInterpreter.obj `if test -f 'vorbisPosInterpreter.cpp'; then $(CYGPATH_W) 'vorbisPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisPosInterpreter.cpp'; fi` - -oggScroll-vorbisStreamParameter.o: vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-vorbisStreamParameter.o -MD -MP -MF $(DEPDIR)/oggScroll-vorbisStreamParameter.Tpo -c -o oggScroll-vorbisStreamParameter.o `test -f 'vorbisStreamParameter.cpp' || echo '$(srcdir)/'`vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-vorbisStreamParameter.Tpo $(DEPDIR)/oggScroll-vorbisStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisStreamParameter.cpp' object='oggScroll-vorbisStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-vorbisStreamParameter.o `test -f 'vorbisStreamParameter.cpp' || echo '$(srcdir)/'`vorbisStreamParameter.cpp - -oggScroll-vorbisStreamParameter.obj: vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-vorbisStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggScroll-vorbisStreamParameter.Tpo -c -o oggScroll-vorbisStreamParameter.obj `if test -f 'vorbisStreamParameter.cpp'; then $(CYGPATH_W) 'vorbisStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-vorbisStreamParameter.Tpo $(DEPDIR)/oggScroll-vorbisStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisStreamParameter.cpp' object='oggScroll-vorbisStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-vorbisStreamParameter.obj `if test -f 'vorbisStreamParameter.cpp'; then $(CYGPATH_W) 'vorbisStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisStreamParameter.cpp'; fi` - -oggScroll-vorbisExtractor.o: vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-vorbisExtractor.o -MD -MP -MF $(DEPDIR)/oggScroll-vorbisExtractor.Tpo -c -o oggScroll-vorbisExtractor.o `test -f 'vorbisExtractor.cpp' || echo '$(srcdir)/'`vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-vorbisExtractor.Tpo $(DEPDIR)/oggScroll-vorbisExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisExtractor.cpp' object='oggScroll-vorbisExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-vorbisExtractor.o `test -f 'vorbisExtractor.cpp' || echo '$(srcdir)/'`vorbisExtractor.cpp - -oggScroll-vorbisExtractor.obj: vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-vorbisExtractor.obj -MD -MP -MF $(DEPDIR)/oggScroll-vorbisExtractor.Tpo -c -o oggScroll-vorbisExtractor.obj `if test -f 'vorbisExtractor.cpp'; then $(CYGPATH_W) 'vorbisExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-vorbisExtractor.Tpo $(DEPDIR)/oggScroll-vorbisExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisExtractor.cpp' object='oggScroll-vorbisExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-vorbisExtractor.obj `if test -f 'vorbisExtractor.cpp'; then $(CYGPATH_W) 'vorbisExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisExtractor.cpp'; fi` - -oggScroll-theoraDecoder.o: theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-theoraDecoder.o -MD -MP -MF $(DEPDIR)/oggScroll-theoraDecoder.Tpo -c -o oggScroll-theoraDecoder.o `test -f 'theoraDecoder.cpp' || echo '$(srcdir)/'`theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-theoraDecoder.Tpo $(DEPDIR)/oggScroll-theoraDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraDecoder.cpp' object='oggScroll-theoraDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-theoraDecoder.o `test -f 'theoraDecoder.cpp' || echo '$(srcdir)/'`theoraDecoder.cpp - -oggScroll-theoraDecoder.obj: theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-theoraDecoder.obj -MD -MP -MF $(DEPDIR)/oggScroll-theoraDecoder.Tpo -c -o oggScroll-theoraDecoder.obj `if test -f 'theoraDecoder.cpp'; then $(CYGPATH_W) 'theoraDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-theoraDecoder.Tpo $(DEPDIR)/oggScroll-theoraDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraDecoder.cpp' object='oggScroll-theoraDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-theoraDecoder.obj `if test -f 'theoraDecoder.cpp'; then $(CYGPATH_W) 'theoraDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraDecoder.cpp'; fi` - -oggScroll-theoraEncoder.o: theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-theoraEncoder.o -MD -MP -MF $(DEPDIR)/oggScroll-theoraEncoder.Tpo -c -o oggScroll-theoraEncoder.o `test -f 'theoraEncoder.cpp' || echo '$(srcdir)/'`theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-theoraEncoder.Tpo $(DEPDIR)/oggScroll-theoraEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraEncoder.cpp' object='oggScroll-theoraEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-theoraEncoder.o `test -f 'theoraEncoder.cpp' || echo '$(srcdir)/'`theoraEncoder.cpp - -oggScroll-theoraEncoder.obj: theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-theoraEncoder.obj -MD -MP -MF $(DEPDIR)/oggScroll-theoraEncoder.Tpo -c -o oggScroll-theoraEncoder.obj `if test -f 'theoraEncoder.cpp'; then $(CYGPATH_W) 'theoraEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-theoraEncoder.Tpo $(DEPDIR)/oggScroll-theoraEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraEncoder.cpp' object='oggScroll-theoraEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-theoraEncoder.obj `if test -f 'theoraEncoder.cpp'; then $(CYGPATH_W) 'theoraEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraEncoder.cpp'; fi` - -oggScroll-katePosInterpreter.o: katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-katePosInterpreter.o -MD -MP -MF $(DEPDIR)/oggScroll-katePosInterpreter.Tpo -c -o oggScroll-katePosInterpreter.o `test -f 'katePosInterpreter.cpp' || echo '$(srcdir)/'`katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-katePosInterpreter.Tpo $(DEPDIR)/oggScroll-katePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='katePosInterpreter.cpp' object='oggScroll-katePosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-katePosInterpreter.o `test -f 'katePosInterpreter.cpp' || echo '$(srcdir)/'`katePosInterpreter.cpp - -oggScroll-katePosInterpreter.obj: katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-katePosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggScroll-katePosInterpreter.Tpo -c -o oggScroll-katePosInterpreter.obj `if test -f 'katePosInterpreter.cpp'; then $(CYGPATH_W) 'katePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/katePosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-katePosInterpreter.Tpo $(DEPDIR)/oggScroll-katePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='katePosInterpreter.cpp' object='oggScroll-katePosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-katePosInterpreter.obj `if test -f 'katePosInterpreter.cpp'; then $(CYGPATH_W) 'katePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/katePosInterpreter.cpp'; fi` - -oggScroll-kateStreamParameter.o: kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-kateStreamParameter.o -MD -MP -MF $(DEPDIR)/oggScroll-kateStreamParameter.Tpo -c -o oggScroll-kateStreamParameter.o `test -f 'kateStreamParameter.cpp' || echo '$(srcdir)/'`kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-kateStreamParameter.Tpo $(DEPDIR)/oggScroll-kateStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateStreamParameter.cpp' object='oggScroll-kateStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-kateStreamParameter.o `test -f 'kateStreamParameter.cpp' || echo '$(srcdir)/'`kateStreamParameter.cpp - -oggScroll-kateStreamParameter.obj: kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-kateStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggScroll-kateStreamParameter.Tpo -c -o oggScroll-kateStreamParameter.obj `if test -f 'kateStreamParameter.cpp'; then $(CYGPATH_W) 'kateStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/kateStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-kateStreamParameter.Tpo $(DEPDIR)/oggScroll-kateStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateStreamParameter.cpp' object='oggScroll-kateStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-kateStreamParameter.obj `if test -f 'kateStreamParameter.cpp'; then $(CYGPATH_W) 'kateStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/kateStreamParameter.cpp'; fi` - -oggScroll-kateExtractor.o: kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-kateExtractor.o -MD -MP -MF $(DEPDIR)/oggScroll-kateExtractor.Tpo -c -o oggScroll-kateExtractor.o `test -f 'kateExtractor.cpp' || echo '$(srcdir)/'`kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-kateExtractor.Tpo $(DEPDIR)/oggScroll-kateExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateExtractor.cpp' object='oggScroll-kateExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-kateExtractor.o `test -f 'kateExtractor.cpp' || echo '$(srcdir)/'`kateExtractor.cpp - -oggScroll-kateExtractor.obj: kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-kateExtractor.obj -MD -MP -MF $(DEPDIR)/oggScroll-kateExtractor.Tpo -c -o oggScroll-kateExtractor.obj `if test -f 'kateExtractor.cpp'; then $(CYGPATH_W) 'kateExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/kateExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-kateExtractor.Tpo $(DEPDIR)/oggScroll-kateExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateExtractor.cpp' object='oggScroll-kateExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-kateExtractor.obj `if test -f 'kateExtractor.cpp'; then $(CYGPATH_W) 'kateExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/kateExtractor.cpp'; fi` - -oggScroll-SDLvideoOutput.o: SDLvideoOutput.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-SDLvideoOutput.o -MD -MP -MF $(DEPDIR)/oggScroll-SDLvideoOutput.Tpo -c -o oggScroll-SDLvideoOutput.o `test -f 'SDLvideoOutput.cpp' || echo '$(srcdir)/'`SDLvideoOutput.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-SDLvideoOutput.Tpo $(DEPDIR)/oggScroll-SDLvideoOutput.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SDLvideoOutput.cpp' object='oggScroll-SDLvideoOutput.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-SDLvideoOutput.o `test -f 'SDLvideoOutput.cpp' || echo '$(srcdir)/'`SDLvideoOutput.cpp - -oggScroll-SDLvideoOutput.obj: SDLvideoOutput.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-SDLvideoOutput.obj -MD -MP -MF $(DEPDIR)/oggScroll-SDLvideoOutput.Tpo -c -o oggScroll-SDLvideoOutput.obj `if test -f 'SDLvideoOutput.cpp'; then $(CYGPATH_W) 'SDLvideoOutput.cpp'; else $(CYGPATH_W) '$(srcdir)/SDLvideoOutput.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-SDLvideoOutput.Tpo $(DEPDIR)/oggScroll-SDLvideoOutput.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SDLvideoOutput.cpp' object='oggScroll-SDLvideoOutput.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-SDLvideoOutput.obj `if test -f 'SDLvideoOutput.cpp'; then $(CYGPATH_W) 'SDLvideoOutput.cpp'; else $(CYGPATH_W) '$(srcdir)/SDLvideoOutput.cpp'; fi` - -oggScroll-oggScroll.o: oggScroll.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggScroll.o -MD -MP -MF $(DEPDIR)/oggScroll-oggScroll.Tpo -c -o oggScroll-oggScroll.o `test -f 'oggScroll.cpp' || echo '$(srcdir)/'`oggScroll.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggScroll.Tpo $(DEPDIR)/oggScroll-oggScroll.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggScroll.cpp' object='oggScroll-oggScroll.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggScroll.o `test -f 'oggScroll.cpp' || echo '$(srcdir)/'`oggScroll.cpp - -oggScroll-oggScroll.obj: oggScroll.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -MT oggScroll-oggScroll.obj -MD -MP -MF $(DEPDIR)/oggScroll-oggScroll.Tpo -c -o oggScroll-oggScroll.obj `if test -f 'oggScroll.cpp'; then $(CYGPATH_W) 'oggScroll.cpp'; else $(CYGPATH_W) '$(srcdir)/oggScroll.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggScroll-oggScroll.Tpo $(DEPDIR)/oggScroll-oggScroll.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggScroll.cpp' object='oggScroll-oggScroll.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggScroll_CXXFLAGS) $(CXXFLAGS) -c -o oggScroll-oggScroll.obj `if test -f 'oggScroll.cpp'; then $(CYGPATH_W) 'oggScroll.cpp'; else $(CYGPATH_W) '$(srcdir)/oggScroll.cpp'; fi` - -oggSilence-mediaUnit.o: mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaUnit.o -MD -MP -MF $(DEPDIR)/oggSilence-mediaUnit.Tpo -c -o oggSilence-mediaUnit.o `test -f 'mediaUnit.cpp' || echo '$(srcdir)/'`mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaUnit.Tpo $(DEPDIR)/oggSilence-mediaUnit.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaUnit.cpp' object='oggSilence-mediaUnit.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaUnit.o `test -f 'mediaUnit.cpp' || echo '$(srcdir)/'`mediaUnit.cpp - -oggSilence-mediaUnit.obj: mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaUnit.obj -MD -MP -MF $(DEPDIR)/oggSilence-mediaUnit.Tpo -c -o oggSilence-mediaUnit.obj `if test -f 'mediaUnit.cpp'; then $(CYGPATH_W) 'mediaUnit.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaUnit.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaUnit.Tpo $(DEPDIR)/oggSilence-mediaUnit.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaUnit.cpp' object='oggSilence-mediaUnit.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaUnit.obj `if test -f 'mediaUnit.cpp'; then $(CYGPATH_W) 'mediaUnit.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaUnit.cpp'; fi` - -oggSilence-mediaRepository.o: mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaRepository.o -MD -MP -MF $(DEPDIR)/oggSilence-mediaRepository.Tpo -c -o oggSilence-mediaRepository.o `test -f 'mediaRepository.cpp' || echo '$(srcdir)/'`mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaRepository.Tpo $(DEPDIR)/oggSilence-mediaRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaRepository.cpp' object='oggSilence-mediaRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaRepository.o `test -f 'mediaRepository.cpp' || echo '$(srcdir)/'`mediaRepository.cpp - -oggSilence-mediaRepository.obj: mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaRepository.obj -MD -MP -MF $(DEPDIR)/oggSilence-mediaRepository.Tpo -c -o oggSilence-mediaRepository.obj `if test -f 'mediaRepository.cpp'; then $(CYGPATH_W) 'mediaRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaRepository.Tpo $(DEPDIR)/oggSilence-mediaRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaRepository.cpp' object='oggSilence-mediaRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaRepository.obj `if test -f 'mediaRepository.cpp'; then $(CYGPATH_W) 'mediaRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaRepository.cpp'; fi` - -oggSilence-fileRepository.o: fileRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-fileRepository.o -MD -MP -MF $(DEPDIR)/oggSilence-fileRepository.Tpo -c -o oggSilence-fileRepository.o `test -f 'fileRepository.cpp' || echo '$(srcdir)/'`fileRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-fileRepository.Tpo $(DEPDIR)/oggSilence-fileRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fileRepository.cpp' object='oggSilence-fileRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-fileRepository.o `test -f 'fileRepository.cpp' || echo '$(srcdir)/'`fileRepository.cpp - -oggSilence-fileRepository.obj: fileRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-fileRepository.obj -MD -MP -MF $(DEPDIR)/oggSilence-fileRepository.Tpo -c -o oggSilence-fileRepository.obj `if test -f 'fileRepository.cpp'; then $(CYGPATH_W) 'fileRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/fileRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-fileRepository.Tpo $(DEPDIR)/oggSilence-fileRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fileRepository.cpp' object='oggSilence-fileRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-fileRepository.obj `if test -f 'fileRepository.cpp'; then $(CYGPATH_W) 'fileRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/fileRepository.cpp'; fi` - -oggSilence-rawMediaPacket.o: rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-rawMediaPacket.o -MD -MP -MF $(DEPDIR)/oggSilence-rawMediaPacket.Tpo -c -o oggSilence-rawMediaPacket.o `test -f 'rawMediaPacket.cpp' || echo '$(srcdir)/'`rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-rawMediaPacket.Tpo $(DEPDIR)/oggSilence-rawMediaPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rawMediaPacket.cpp' object='oggSilence-rawMediaPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-rawMediaPacket.o `test -f 'rawMediaPacket.cpp' || echo '$(srcdir)/'`rawMediaPacket.cpp - -oggSilence-rawMediaPacket.obj: rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-rawMediaPacket.obj -MD -MP -MF $(DEPDIR)/oggSilence-rawMediaPacket.Tpo -c -o oggSilence-rawMediaPacket.obj `if test -f 'rawMediaPacket.cpp'; then $(CYGPATH_W) 'rawMediaPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/rawMediaPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-rawMediaPacket.Tpo $(DEPDIR)/oggSilence-rawMediaPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rawMediaPacket.cpp' object='oggSilence-rawMediaPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-rawMediaPacket.obj `if test -f 'rawMediaPacket.cpp'; then $(CYGPATH_W) 'rawMediaPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/rawMediaPacket.cpp'; fi` - -oggSilence-mediaDecoder.o: mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaDecoder.o -MD -MP -MF $(DEPDIR)/oggSilence-mediaDecoder.Tpo -c -o oggSilence-mediaDecoder.o `test -f 'mediaDecoder.cpp' || echo '$(srcdir)/'`mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaDecoder.Tpo $(DEPDIR)/oggSilence-mediaDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaDecoder.cpp' object='oggSilence-mediaDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaDecoder.o `test -f 'mediaDecoder.cpp' || echo '$(srcdir)/'`mediaDecoder.cpp - -oggSilence-mediaDecoder.obj: mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaDecoder.obj -MD -MP -MF $(DEPDIR)/oggSilence-mediaDecoder.Tpo -c -o oggSilence-mediaDecoder.obj `if test -f 'mediaDecoder.cpp'; then $(CYGPATH_W) 'mediaDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaDecoder.Tpo $(DEPDIR)/oggSilence-mediaDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaDecoder.cpp' object='oggSilence-mediaDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaDecoder.obj `if test -f 'mediaDecoder.cpp'; then $(CYGPATH_W) 'mediaDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaDecoder.cpp'; fi` - -oggSilence-mediaEncoder.o: mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaEncoder.o -MD -MP -MF $(DEPDIR)/oggSilence-mediaEncoder.Tpo -c -o oggSilence-mediaEncoder.o `test -f 'mediaEncoder.cpp' || echo '$(srcdir)/'`mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaEncoder.Tpo $(DEPDIR)/oggSilence-mediaEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaEncoder.cpp' object='oggSilence-mediaEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaEncoder.o `test -f 'mediaEncoder.cpp' || echo '$(srcdir)/'`mediaEncoder.cpp - -oggSilence-mediaEncoder.obj: mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaEncoder.obj -MD -MP -MF $(DEPDIR)/oggSilence-mediaEncoder.Tpo -c -o oggSilence-mediaEncoder.obj `if test -f 'mediaEncoder.cpp'; then $(CYGPATH_W) 'mediaEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaEncoder.Tpo $(DEPDIR)/oggSilence-mediaEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaEncoder.cpp' object='oggSilence-mediaEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaEncoder.obj `if test -f 'mediaEncoder.cpp'; then $(CYGPATH_W) 'mediaEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaEncoder.cpp'; fi` - -oggSilence-mediaConverter.o: mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaConverter.o -MD -MP -MF $(DEPDIR)/oggSilence-mediaConverter.Tpo -c -o oggSilence-mediaConverter.o `test -f 'mediaConverter.cpp' || echo '$(srcdir)/'`mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaConverter.Tpo $(DEPDIR)/oggSilence-mediaConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaConverter.cpp' object='oggSilence-mediaConverter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaConverter.o `test -f 'mediaConverter.cpp' || echo '$(srcdir)/'`mediaConverter.cpp - -oggSilence-mediaConverter.obj: mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaConverter.obj -MD -MP -MF $(DEPDIR)/oggSilence-mediaConverter.Tpo -c -o oggSilence-mediaConverter.obj `if test -f 'mediaConverter.cpp'; then $(CYGPATH_W) 'mediaConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaConverter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaConverter.Tpo $(DEPDIR)/oggSilence-mediaConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaConverter.cpp' object='oggSilence-mediaConverter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaConverter.obj `if test -f 'mediaConverter.cpp'; then $(CYGPATH_W) 'mediaConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaConverter.cpp'; fi` - -oggSilence-oggDecoder.o: oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggDecoder.o -MD -MP -MF $(DEPDIR)/oggSilence-oggDecoder.Tpo -c -o oggSilence-oggDecoder.o `test -f 'oggDecoder.cpp' || echo '$(srcdir)/'`oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggDecoder.Tpo $(DEPDIR)/oggSilence-oggDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggDecoder.cpp' object='oggSilence-oggDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggDecoder.o `test -f 'oggDecoder.cpp' || echo '$(srcdir)/'`oggDecoder.cpp - -oggSilence-oggDecoder.obj: oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggDecoder.obj -MD -MP -MF $(DEPDIR)/oggSilence-oggDecoder.Tpo -c -o oggSilence-oggDecoder.obj `if test -f 'oggDecoder.cpp'; then $(CYGPATH_W) 'oggDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggDecoder.Tpo $(DEPDIR)/oggSilence-oggDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggDecoder.cpp' object='oggSilence-oggDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggDecoder.obj `if test -f 'oggDecoder.cpp'; then $(CYGPATH_W) 'oggDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggDecoder.cpp'; fi` - -oggSilence-oggStreamDecoder.o: oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggStreamDecoder.o -MD -MP -MF $(DEPDIR)/oggSilence-oggStreamDecoder.Tpo -c -o oggSilence-oggStreamDecoder.o `test -f 'oggStreamDecoder.cpp' || echo '$(srcdir)/'`oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggStreamDecoder.Tpo $(DEPDIR)/oggSilence-oggStreamDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamDecoder.cpp' object='oggSilence-oggStreamDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggStreamDecoder.o `test -f 'oggStreamDecoder.cpp' || echo '$(srcdir)/'`oggStreamDecoder.cpp - -oggSilence-oggStreamDecoder.obj: oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggStreamDecoder.obj -MD -MP -MF $(DEPDIR)/oggSilence-oggStreamDecoder.Tpo -c -o oggSilence-oggStreamDecoder.obj `if test -f 'oggStreamDecoder.cpp'; then $(CYGPATH_W) 'oggStreamDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggStreamDecoder.Tpo $(DEPDIR)/oggSilence-oggStreamDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamDecoder.cpp' object='oggSilence-oggStreamDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggStreamDecoder.obj `if test -f 'oggStreamDecoder.cpp'; then $(CYGPATH_W) 'oggStreamDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamDecoder.cpp'; fi` - -oggSilence-oggPage.o: oggPage.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggPage.o -MD -MP -MF $(DEPDIR)/oggSilence-oggPage.Tpo -c -o oggSilence-oggPage.o `test -f 'oggPage.cpp' || echo '$(srcdir)/'`oggPage.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggPage.Tpo $(DEPDIR)/oggSilence-oggPage.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPage.cpp' object='oggSilence-oggPage.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggPage.o `test -f 'oggPage.cpp' || echo '$(srcdir)/'`oggPage.cpp - -oggSilence-oggPage.obj: oggPage.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggPage.obj -MD -MP -MF $(DEPDIR)/oggSilence-oggPage.Tpo -c -o oggSilence-oggPage.obj `if test -f 'oggPage.cpp'; then $(CYGPATH_W) 'oggPage.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPage.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggPage.Tpo $(DEPDIR)/oggSilence-oggPage.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPage.cpp' object='oggSilence-oggPage.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggPage.obj `if test -f 'oggPage.cpp'; then $(CYGPATH_W) 'oggPage.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPage.cpp'; fi` - -oggSilence-oggPacket.o: oggPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggPacket.o -MD -MP -MF $(DEPDIR)/oggSilence-oggPacket.Tpo -c -o oggSilence-oggPacket.o `test -f 'oggPacket.cpp' || echo '$(srcdir)/'`oggPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggPacket.Tpo $(DEPDIR)/oggSilence-oggPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPacket.cpp' object='oggSilence-oggPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggPacket.o `test -f 'oggPacket.cpp' || echo '$(srcdir)/'`oggPacket.cpp - -oggSilence-oggPacket.obj: oggPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggPacket.obj -MD -MP -MF $(DEPDIR)/oggSilence-oggPacket.Tpo -c -o oggSilence-oggPacket.obj `if test -f 'oggPacket.cpp'; then $(CYGPATH_W) 'oggPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggPacket.Tpo $(DEPDIR)/oggSilence-oggPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPacket.cpp' object='oggSilence-oggPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggPacket.obj `if test -f 'oggPacket.cpp'; then $(CYGPATH_W) 'oggPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPacket.cpp'; fi` - -oggSilence-ringbuffer.o: ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-ringbuffer.o -MD -MP -MF $(DEPDIR)/oggSilence-ringbuffer.Tpo -c -o oggSilence-ringbuffer.o `test -f 'ringbuffer.cpp' || echo '$(srcdir)/'`ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-ringbuffer.Tpo $(DEPDIR)/oggSilence-ringbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ringbuffer.cpp' object='oggSilence-ringbuffer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-ringbuffer.o `test -f 'ringbuffer.cpp' || echo '$(srcdir)/'`ringbuffer.cpp - -oggSilence-ringbuffer.obj: ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-ringbuffer.obj -MD -MP -MF $(DEPDIR)/oggSilence-ringbuffer.Tpo -c -o oggSilence-ringbuffer.obj `if test -f 'ringbuffer.cpp'; then $(CYGPATH_W) 'ringbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/ringbuffer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-ringbuffer.Tpo $(DEPDIR)/oggSilence-ringbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ringbuffer.cpp' object='oggSilence-ringbuffer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-ringbuffer.obj `if test -f 'ringbuffer.cpp'; then $(CYGPATH_W) 'ringbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/ringbuffer.cpp'; fi` - -oggSilence-oggRingbuffer.o: oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggRingbuffer.o -MD -MP -MF $(DEPDIR)/oggSilence-oggRingbuffer.Tpo -c -o oggSilence-oggRingbuffer.o `test -f 'oggRingbuffer.cpp' || echo '$(srcdir)/'`oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggRingbuffer.Tpo $(DEPDIR)/oggSilence-oggRingbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggRingbuffer.cpp' object='oggSilence-oggRingbuffer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggRingbuffer.o `test -f 'oggRingbuffer.cpp' || echo '$(srcdir)/'`oggRingbuffer.cpp - -oggSilence-oggRingbuffer.obj: oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggRingbuffer.obj -MD -MP -MF $(DEPDIR)/oggSilence-oggRingbuffer.Tpo -c -o oggSilence-oggRingbuffer.obj `if test -f 'oggRingbuffer.cpp'; then $(CYGPATH_W) 'oggRingbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/oggRingbuffer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggRingbuffer.Tpo $(DEPDIR)/oggSilence-oggRingbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggRingbuffer.cpp' object='oggSilence-oggRingbuffer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggRingbuffer.obj `if test -f 'oggRingbuffer.cpp'; then $(CYGPATH_W) 'oggRingbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/oggRingbuffer.cpp'; fi` - -oggSilence-crc.o: crc.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-crc.o -MD -MP -MF $(DEPDIR)/oggSilence-crc.Tpo -c -o oggSilence-crc.o `test -f 'crc.cpp' || echo '$(srcdir)/'`crc.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-crc.Tpo $(DEPDIR)/oggSilence-crc.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crc.cpp' object='oggSilence-crc.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-crc.o `test -f 'crc.cpp' || echo '$(srcdir)/'`crc.cpp - -oggSilence-crc.obj: crc.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-crc.obj -MD -MP -MF $(DEPDIR)/oggSilence-crc.Tpo -c -o oggSilence-crc.obj `if test -f 'crc.cpp'; then $(CYGPATH_W) 'crc.cpp'; else $(CYGPATH_W) '$(srcdir)/crc.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-crc.Tpo $(DEPDIR)/oggSilence-crc.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crc.cpp' object='oggSilence-crc.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-crc.obj `if test -f 'crc.cpp'; then $(CYGPATH_W) 'crc.cpp'; else $(CYGPATH_W) '$(srcdir)/crc.cpp'; fi` - -oggSilence-granulePosInterpreter.o: granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-granulePosInterpreter.o -MD -MP -MF $(DEPDIR)/oggSilence-granulePosInterpreter.Tpo -c -o oggSilence-granulePosInterpreter.o `test -f 'granulePosInterpreter.cpp' || echo '$(srcdir)/'`granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-granulePosInterpreter.Tpo $(DEPDIR)/oggSilence-granulePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='granulePosInterpreter.cpp' object='oggSilence-granulePosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-granulePosInterpreter.o `test -f 'granulePosInterpreter.cpp' || echo '$(srcdir)/'`granulePosInterpreter.cpp - -oggSilence-granulePosInterpreter.obj: granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-granulePosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggSilence-granulePosInterpreter.Tpo -c -o oggSilence-granulePosInterpreter.obj `if test -f 'granulePosInterpreter.cpp'; then $(CYGPATH_W) 'granulePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/granulePosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-granulePosInterpreter.Tpo $(DEPDIR)/oggSilence-granulePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='granulePosInterpreter.cpp' object='oggSilence-granulePosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-granulePosInterpreter.obj `if test -f 'granulePosInterpreter.cpp'; then $(CYGPATH_W) 'granulePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/granulePosInterpreter.cpp'; fi` - -oggSilence-mediaOutputDecoder.o: mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaOutputDecoder.o -MD -MP -MF $(DEPDIR)/oggSilence-mediaOutputDecoder.Tpo -c -o oggSilence-mediaOutputDecoder.o `test -f 'mediaOutputDecoder.cpp' || echo '$(srcdir)/'`mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaOutputDecoder.Tpo $(DEPDIR)/oggSilence-mediaOutputDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaOutputDecoder.cpp' object='oggSilence-mediaOutputDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaOutputDecoder.o `test -f 'mediaOutputDecoder.cpp' || echo '$(srcdir)/'`mediaOutputDecoder.cpp - -oggSilence-mediaOutputDecoder.obj: mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaOutputDecoder.obj -MD -MP -MF $(DEPDIR)/oggSilence-mediaOutputDecoder.Tpo -c -o oggSilence-mediaOutputDecoder.obj `if test -f 'mediaOutputDecoder.cpp'; then $(CYGPATH_W) 'mediaOutputDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaOutputDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaOutputDecoder.Tpo $(DEPDIR)/oggSilence-mediaOutputDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaOutputDecoder.cpp' object='oggSilence-mediaOutputDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaOutputDecoder.obj `if test -f 'mediaOutputDecoder.cpp'; then $(CYGPATH_W) 'mediaOutputDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaOutputDecoder.cpp'; fi` - -oggSilence-mediaInputEncoder.o: mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaInputEncoder.o -MD -MP -MF $(DEPDIR)/oggSilence-mediaInputEncoder.Tpo -c -o oggSilence-mediaInputEncoder.o `test -f 'mediaInputEncoder.cpp' || echo '$(srcdir)/'`mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaInputEncoder.Tpo $(DEPDIR)/oggSilence-mediaInputEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaInputEncoder.cpp' object='oggSilence-mediaInputEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaInputEncoder.o `test -f 'mediaInputEncoder.cpp' || echo '$(srcdir)/'`mediaInputEncoder.cpp - -oggSilence-mediaInputEncoder.obj: mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-mediaInputEncoder.obj -MD -MP -MF $(DEPDIR)/oggSilence-mediaInputEncoder.Tpo -c -o oggSilence-mediaInputEncoder.obj `if test -f 'mediaInputEncoder.cpp'; then $(CYGPATH_W) 'mediaInputEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaInputEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-mediaInputEncoder.Tpo $(DEPDIR)/oggSilence-mediaInputEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaInputEncoder.cpp' object='oggSilence-mediaInputEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-mediaInputEncoder.obj `if test -f 'mediaInputEncoder.cpp'; then $(CYGPATH_W) 'mediaInputEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaInputEncoder.cpp'; fi` - -oggSilence-streamSerializer.o: streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-streamSerializer.o -MD -MP -MF $(DEPDIR)/oggSilence-streamSerializer.Tpo -c -o oggSilence-streamSerializer.o `test -f 'streamSerializer.cpp' || echo '$(srcdir)/'`streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-streamSerializer.Tpo $(DEPDIR)/oggSilence-streamSerializer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamSerializer.cpp' object='oggSilence-streamSerializer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-streamSerializer.o `test -f 'streamSerializer.cpp' || echo '$(srcdir)/'`streamSerializer.cpp - -oggSilence-streamSerializer.obj: streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-streamSerializer.obj -MD -MP -MF $(DEPDIR)/oggSilence-streamSerializer.Tpo -c -o oggSilence-streamSerializer.obj `if test -f 'streamSerializer.cpp'; then $(CYGPATH_W) 'streamSerializer.cpp'; else $(CYGPATH_W) '$(srcdir)/streamSerializer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-streamSerializer.Tpo $(DEPDIR)/oggSilence-streamSerializer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamSerializer.cpp' object='oggSilence-streamSerializer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-streamSerializer.obj `if test -f 'streamSerializer.cpp'; then $(CYGPATH_W) 'streamSerializer.cpp'; else $(CYGPATH_W) '$(srcdir)/streamSerializer.cpp'; fi` - -oggSilence-oggBOSExtractorFactory.o: oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggBOSExtractorFactory.o -MD -MP -MF $(DEPDIR)/oggSilence-oggBOSExtractorFactory.Tpo -c -o oggSilence-oggBOSExtractorFactory.o `test -f 'oggBOSExtractorFactory.cpp' || echo '$(srcdir)/'`oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggBOSExtractorFactory.Tpo $(DEPDIR)/oggSilence-oggBOSExtractorFactory.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggBOSExtractorFactory.cpp' object='oggSilence-oggBOSExtractorFactory.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggBOSExtractorFactory.o `test -f 'oggBOSExtractorFactory.cpp' || echo '$(srcdir)/'`oggBOSExtractorFactory.cpp - -oggSilence-oggBOSExtractorFactory.obj: oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggBOSExtractorFactory.obj -MD -MP -MF $(DEPDIR)/oggSilence-oggBOSExtractorFactory.Tpo -c -o oggSilence-oggBOSExtractorFactory.obj `if test -f 'oggBOSExtractorFactory.cpp'; then $(CYGPATH_W) 'oggBOSExtractorFactory.cpp'; else $(CYGPATH_W) '$(srcdir)/oggBOSExtractorFactory.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggBOSExtractorFactory.Tpo $(DEPDIR)/oggSilence-oggBOSExtractorFactory.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggBOSExtractorFactory.cpp' object='oggSilence-oggBOSExtractorFactory.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggBOSExtractorFactory.obj `if test -f 'oggBOSExtractorFactory.cpp'; then $(CYGPATH_W) 'oggBOSExtractorFactory.cpp'; else $(CYGPATH_W) '$(srcdir)/oggBOSExtractorFactory.cpp'; fi` - -oggSilence-oggStreamEncoder.o: oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggStreamEncoder.o -MD -MP -MF $(DEPDIR)/oggSilence-oggStreamEncoder.Tpo -c -o oggSilence-oggStreamEncoder.o `test -f 'oggStreamEncoder.cpp' || echo '$(srcdir)/'`oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggStreamEncoder.Tpo $(DEPDIR)/oggSilence-oggStreamEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamEncoder.cpp' object='oggSilence-oggStreamEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggStreamEncoder.o `test -f 'oggStreamEncoder.cpp' || echo '$(srcdir)/'`oggStreamEncoder.cpp - -oggSilence-oggStreamEncoder.obj: oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggStreamEncoder.obj -MD -MP -MF $(DEPDIR)/oggSilence-oggStreamEncoder.Tpo -c -o oggSilence-oggStreamEncoder.obj `if test -f 'oggStreamEncoder.cpp'; then $(CYGPATH_W) 'oggStreamEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggStreamEncoder.Tpo $(DEPDIR)/oggSilence-oggStreamEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamEncoder.cpp' object='oggSilence-oggStreamEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggStreamEncoder.obj `if test -f 'oggStreamEncoder.cpp'; then $(CYGPATH_W) 'oggStreamEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamEncoder.cpp'; fi` - -oggSilence-oggEncoder.o: oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggEncoder.o -MD -MP -MF $(DEPDIR)/oggSilence-oggEncoder.Tpo -c -o oggSilence-oggEncoder.o `test -f 'oggEncoder.cpp' || echo '$(srcdir)/'`oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggEncoder.Tpo $(DEPDIR)/oggSilence-oggEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggEncoder.cpp' object='oggSilence-oggEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggEncoder.o `test -f 'oggEncoder.cpp' || echo '$(srcdir)/'`oggEncoder.cpp - -oggSilence-oggEncoder.obj: oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggEncoder.obj -MD -MP -MF $(DEPDIR)/oggSilence-oggEncoder.Tpo -c -o oggSilence-oggEncoder.obj `if test -f 'oggEncoder.cpp'; then $(CYGPATH_W) 'oggEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggEncoder.Tpo $(DEPDIR)/oggSilence-oggEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggEncoder.cpp' object='oggSilence-oggEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggEncoder.obj `if test -f 'oggEncoder.cpp'; then $(CYGPATH_W) 'oggEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggEncoder.cpp'; fi` - -oggSilence-streamExtractor.o: streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-streamExtractor.o -MD -MP -MF $(DEPDIR)/oggSilence-streamExtractor.Tpo -c -o oggSilence-streamExtractor.o `test -f 'streamExtractor.cpp' || echo '$(srcdir)/'`streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-streamExtractor.Tpo $(DEPDIR)/oggSilence-streamExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamExtractor.cpp' object='oggSilence-streamExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-streamExtractor.o `test -f 'streamExtractor.cpp' || echo '$(srcdir)/'`streamExtractor.cpp - -oggSilence-streamExtractor.obj: streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-streamExtractor.obj -MD -MP -MF $(DEPDIR)/oggSilence-streamExtractor.Tpo -c -o oggSilence-streamExtractor.obj `if test -f 'streamExtractor.cpp'; then $(CYGPATH_W) 'streamExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/streamExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-streamExtractor.Tpo $(DEPDIR)/oggSilence-streamExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamExtractor.cpp' object='oggSilence-streamExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-streamExtractor.obj `if test -f 'streamExtractor.cpp'; then $(CYGPATH_W) 'streamExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/streamExtractor.cpp'; fi` - -oggSilence-streamParameter.o: streamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-streamParameter.o -MD -MP -MF $(DEPDIR)/oggSilence-streamParameter.Tpo -c -o oggSilence-streamParameter.o `test -f 'streamParameter.cpp' || echo '$(srcdir)/'`streamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-streamParameter.Tpo $(DEPDIR)/oggSilence-streamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamParameter.cpp' object='oggSilence-streamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-streamParameter.o `test -f 'streamParameter.cpp' || echo '$(srcdir)/'`streamParameter.cpp - -oggSilence-streamParameter.obj: streamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-streamParameter.obj -MD -MP -MF $(DEPDIR)/oggSilence-streamParameter.Tpo -c -o oggSilence-streamParameter.obj `if test -f 'streamParameter.cpp'; then $(CYGPATH_W) 'streamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/streamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-streamParameter.Tpo $(DEPDIR)/oggSilence-streamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamParameter.cpp' object='oggSilence-streamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-streamParameter.obj `if test -f 'streamParameter.cpp'; then $(CYGPATH_W) 'streamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/streamParameter.cpp'; fi` - -oggSilence-streamMux.o: streamMux.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-streamMux.o -MD -MP -MF $(DEPDIR)/oggSilence-streamMux.Tpo -c -o oggSilence-streamMux.o `test -f 'streamMux.cpp' || echo '$(srcdir)/'`streamMux.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-streamMux.Tpo $(DEPDIR)/oggSilence-streamMux.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamMux.cpp' object='oggSilence-streamMux.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-streamMux.o `test -f 'streamMux.cpp' || echo '$(srcdir)/'`streamMux.cpp - -oggSilence-streamMux.obj: streamMux.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-streamMux.obj -MD -MP -MF $(DEPDIR)/oggSilence-streamMux.Tpo -c -o oggSilence-streamMux.obj `if test -f 'streamMux.cpp'; then $(CYGPATH_W) 'streamMux.cpp'; else $(CYGPATH_W) '$(srcdir)/streamMux.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-streamMux.Tpo $(DEPDIR)/oggSilence-streamMux.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamMux.cpp' object='oggSilence-streamMux.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-streamMux.obj `if test -f 'streamMux.cpp'; then $(CYGPATH_W) 'streamMux.cpp'; else $(CYGPATH_W) '$(srcdir)/streamMux.cpp'; fi` - -oggSilence-bufferRepository.o: bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-bufferRepository.o -MD -MP -MF $(DEPDIR)/oggSilence-bufferRepository.Tpo -c -o oggSilence-bufferRepository.o `test -f 'bufferRepository.cpp' || echo '$(srcdir)/'`bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-bufferRepository.Tpo $(DEPDIR)/oggSilence-bufferRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='bufferRepository.cpp' object='oggSilence-bufferRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-bufferRepository.o `test -f 'bufferRepository.cpp' || echo '$(srcdir)/'`bufferRepository.cpp - -oggSilence-bufferRepository.obj: bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-bufferRepository.obj -MD -MP -MF $(DEPDIR)/oggSilence-bufferRepository.Tpo -c -o oggSilence-bufferRepository.obj `if test -f 'bufferRepository.cpp'; then $(CYGPATH_W) 'bufferRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/bufferRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-bufferRepository.Tpo $(DEPDIR)/oggSilence-bufferRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='bufferRepository.cpp' object='oggSilence-bufferRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-bufferRepository.obj `if test -f 'bufferRepository.cpp'; then $(CYGPATH_W) 'bufferRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/bufferRepository.cpp'; fi` - -oggSilence-oggComment.o: oggComment.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggComment.o -MD -MP -MF $(DEPDIR)/oggSilence-oggComment.Tpo -c -o oggSilence-oggComment.o `test -f 'oggComment.cpp' || echo '$(srcdir)/'`oggComment.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggComment.Tpo $(DEPDIR)/oggSilence-oggComment.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggComment.cpp' object='oggSilence-oggComment.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggComment.o `test -f 'oggComment.cpp' || echo '$(srcdir)/'`oggComment.cpp - -oggSilence-oggComment.obj: oggComment.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggComment.obj -MD -MP -MF $(DEPDIR)/oggSilence-oggComment.Tpo -c -o oggSilence-oggComment.obj `if test -f 'oggComment.cpp'; then $(CYGPATH_W) 'oggComment.cpp'; else $(CYGPATH_W) '$(srcdir)/oggComment.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggComment.Tpo $(DEPDIR)/oggSilence-oggComment.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggComment.cpp' object='oggSilence-oggComment.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggComment.obj `if test -f 'oggComment.cpp'; then $(CYGPATH_W) 'oggComment.cpp'; else $(CYGPATH_W) '$(srcdir)/oggComment.cpp'; fi` - -oggSilence-theoraPosInterpreter.o: theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-theoraPosInterpreter.o -MD -MP -MF $(DEPDIR)/oggSilence-theoraPosInterpreter.Tpo -c -o oggSilence-theoraPosInterpreter.o `test -f 'theoraPosInterpreter.cpp' || echo '$(srcdir)/'`theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-theoraPosInterpreter.Tpo $(DEPDIR)/oggSilence-theoraPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraPosInterpreter.cpp' object='oggSilence-theoraPosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-theoraPosInterpreter.o `test -f 'theoraPosInterpreter.cpp' || echo '$(srcdir)/'`theoraPosInterpreter.cpp - -oggSilence-theoraPosInterpreter.obj: theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-theoraPosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggSilence-theoraPosInterpreter.Tpo -c -o oggSilence-theoraPosInterpreter.obj `if test -f 'theoraPosInterpreter.cpp'; then $(CYGPATH_W) 'theoraPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraPosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-theoraPosInterpreter.Tpo $(DEPDIR)/oggSilence-theoraPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraPosInterpreter.cpp' object='oggSilence-theoraPosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-theoraPosInterpreter.obj `if test -f 'theoraPosInterpreter.cpp'; then $(CYGPATH_W) 'theoraPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraPosInterpreter.cpp'; fi` - -oggSilence-theoraStreamParameter.o: theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-theoraStreamParameter.o -MD -MP -MF $(DEPDIR)/oggSilence-theoraStreamParameter.Tpo -c -o oggSilence-theoraStreamParameter.o `test -f 'theoraStreamParameter.cpp' || echo '$(srcdir)/'`theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-theoraStreamParameter.Tpo $(DEPDIR)/oggSilence-theoraStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraStreamParameter.cpp' object='oggSilence-theoraStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-theoraStreamParameter.o `test -f 'theoraStreamParameter.cpp' || echo '$(srcdir)/'`theoraStreamParameter.cpp - -oggSilence-theoraStreamParameter.obj: theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-theoraStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggSilence-theoraStreamParameter.Tpo -c -o oggSilence-theoraStreamParameter.obj `if test -f 'theoraStreamParameter.cpp'; then $(CYGPATH_W) 'theoraStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-theoraStreamParameter.Tpo $(DEPDIR)/oggSilence-theoraStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraStreamParameter.cpp' object='oggSilence-theoraStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-theoraStreamParameter.obj `if test -f 'theoraStreamParameter.cpp'; then $(CYGPATH_W) 'theoraStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraStreamParameter.cpp'; fi` - -oggSilence-theoraExtractor.o: theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-theoraExtractor.o -MD -MP -MF $(DEPDIR)/oggSilence-theoraExtractor.Tpo -c -o oggSilence-theoraExtractor.o `test -f 'theoraExtractor.cpp' || echo '$(srcdir)/'`theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-theoraExtractor.Tpo $(DEPDIR)/oggSilence-theoraExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraExtractor.cpp' object='oggSilence-theoraExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-theoraExtractor.o `test -f 'theoraExtractor.cpp' || echo '$(srcdir)/'`theoraExtractor.cpp - -oggSilence-theoraExtractor.obj: theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-theoraExtractor.obj -MD -MP -MF $(DEPDIR)/oggSilence-theoraExtractor.Tpo -c -o oggSilence-theoraExtractor.obj `if test -f 'theoraExtractor.cpp'; then $(CYGPATH_W) 'theoraExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-theoraExtractor.Tpo $(DEPDIR)/oggSilence-theoraExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraExtractor.cpp' object='oggSilence-theoraExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-theoraExtractor.obj `if test -f 'theoraExtractor.cpp'; then $(CYGPATH_W) 'theoraExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraExtractor.cpp'; fi` - -oggSilence-vorbisPosInterpreter.o: vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-vorbisPosInterpreter.o -MD -MP -MF $(DEPDIR)/oggSilence-vorbisPosInterpreter.Tpo -c -o oggSilence-vorbisPosInterpreter.o `test -f 'vorbisPosInterpreter.cpp' || echo '$(srcdir)/'`vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-vorbisPosInterpreter.Tpo $(DEPDIR)/oggSilence-vorbisPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisPosInterpreter.cpp' object='oggSilence-vorbisPosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-vorbisPosInterpreter.o `test -f 'vorbisPosInterpreter.cpp' || echo '$(srcdir)/'`vorbisPosInterpreter.cpp - -oggSilence-vorbisPosInterpreter.obj: vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-vorbisPosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggSilence-vorbisPosInterpreter.Tpo -c -o oggSilence-vorbisPosInterpreter.obj `if test -f 'vorbisPosInterpreter.cpp'; then $(CYGPATH_W) 'vorbisPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisPosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-vorbisPosInterpreter.Tpo $(DEPDIR)/oggSilence-vorbisPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisPosInterpreter.cpp' object='oggSilence-vorbisPosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-vorbisPosInterpreter.obj `if test -f 'vorbisPosInterpreter.cpp'; then $(CYGPATH_W) 'vorbisPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisPosInterpreter.cpp'; fi` - -oggSilence-vorbisStreamParameter.o: vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-vorbisStreamParameter.o -MD -MP -MF $(DEPDIR)/oggSilence-vorbisStreamParameter.Tpo -c -o oggSilence-vorbisStreamParameter.o `test -f 'vorbisStreamParameter.cpp' || echo '$(srcdir)/'`vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-vorbisStreamParameter.Tpo $(DEPDIR)/oggSilence-vorbisStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisStreamParameter.cpp' object='oggSilence-vorbisStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-vorbisStreamParameter.o `test -f 'vorbisStreamParameter.cpp' || echo '$(srcdir)/'`vorbisStreamParameter.cpp - -oggSilence-vorbisStreamParameter.obj: vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-vorbisStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggSilence-vorbisStreamParameter.Tpo -c -o oggSilence-vorbisStreamParameter.obj `if test -f 'vorbisStreamParameter.cpp'; then $(CYGPATH_W) 'vorbisStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-vorbisStreamParameter.Tpo $(DEPDIR)/oggSilence-vorbisStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisStreamParameter.cpp' object='oggSilence-vorbisStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-vorbisStreamParameter.obj `if test -f 'vorbisStreamParameter.cpp'; then $(CYGPATH_W) 'vorbisStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisStreamParameter.cpp'; fi` - -oggSilence-vorbisExtractor.o: vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-vorbisExtractor.o -MD -MP -MF $(DEPDIR)/oggSilence-vorbisExtractor.Tpo -c -o oggSilence-vorbisExtractor.o `test -f 'vorbisExtractor.cpp' || echo '$(srcdir)/'`vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-vorbisExtractor.Tpo $(DEPDIR)/oggSilence-vorbisExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisExtractor.cpp' object='oggSilence-vorbisExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-vorbisExtractor.o `test -f 'vorbisExtractor.cpp' || echo '$(srcdir)/'`vorbisExtractor.cpp - -oggSilence-vorbisExtractor.obj: vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-vorbisExtractor.obj -MD -MP -MF $(DEPDIR)/oggSilence-vorbisExtractor.Tpo -c -o oggSilence-vorbisExtractor.obj `if test -f 'vorbisExtractor.cpp'; then $(CYGPATH_W) 'vorbisExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-vorbisExtractor.Tpo $(DEPDIR)/oggSilence-vorbisExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisExtractor.cpp' object='oggSilence-vorbisExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-vorbisExtractor.obj `if test -f 'vorbisExtractor.cpp'; then $(CYGPATH_W) 'vorbisExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisExtractor.cpp'; fi` - -oggSilence-katePosInterpreter.o: katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-katePosInterpreter.o -MD -MP -MF $(DEPDIR)/oggSilence-katePosInterpreter.Tpo -c -o oggSilence-katePosInterpreter.o `test -f 'katePosInterpreter.cpp' || echo '$(srcdir)/'`katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-katePosInterpreter.Tpo $(DEPDIR)/oggSilence-katePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='katePosInterpreter.cpp' object='oggSilence-katePosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-katePosInterpreter.o `test -f 'katePosInterpreter.cpp' || echo '$(srcdir)/'`katePosInterpreter.cpp - -oggSilence-katePosInterpreter.obj: katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-katePosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggSilence-katePosInterpreter.Tpo -c -o oggSilence-katePosInterpreter.obj `if test -f 'katePosInterpreter.cpp'; then $(CYGPATH_W) 'katePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/katePosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-katePosInterpreter.Tpo $(DEPDIR)/oggSilence-katePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='katePosInterpreter.cpp' object='oggSilence-katePosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-katePosInterpreter.obj `if test -f 'katePosInterpreter.cpp'; then $(CYGPATH_W) 'katePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/katePosInterpreter.cpp'; fi` - -oggSilence-kateStreamParameter.o: kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-kateStreamParameter.o -MD -MP -MF $(DEPDIR)/oggSilence-kateStreamParameter.Tpo -c -o oggSilence-kateStreamParameter.o `test -f 'kateStreamParameter.cpp' || echo '$(srcdir)/'`kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-kateStreamParameter.Tpo $(DEPDIR)/oggSilence-kateStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateStreamParameter.cpp' object='oggSilence-kateStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-kateStreamParameter.o `test -f 'kateStreamParameter.cpp' || echo '$(srcdir)/'`kateStreamParameter.cpp - -oggSilence-kateStreamParameter.obj: kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-kateStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggSilence-kateStreamParameter.Tpo -c -o oggSilence-kateStreamParameter.obj `if test -f 'kateStreamParameter.cpp'; then $(CYGPATH_W) 'kateStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/kateStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-kateStreamParameter.Tpo $(DEPDIR)/oggSilence-kateStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateStreamParameter.cpp' object='oggSilence-kateStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-kateStreamParameter.obj `if test -f 'kateStreamParameter.cpp'; then $(CYGPATH_W) 'kateStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/kateStreamParameter.cpp'; fi` - -oggSilence-kateExtractor.o: kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-kateExtractor.o -MD -MP -MF $(DEPDIR)/oggSilence-kateExtractor.Tpo -c -o oggSilence-kateExtractor.o `test -f 'kateExtractor.cpp' || echo '$(srcdir)/'`kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-kateExtractor.Tpo $(DEPDIR)/oggSilence-kateExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateExtractor.cpp' object='oggSilence-kateExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-kateExtractor.o `test -f 'kateExtractor.cpp' || echo '$(srcdir)/'`kateExtractor.cpp - -oggSilence-kateExtractor.obj: kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-kateExtractor.obj -MD -MP -MF $(DEPDIR)/oggSilence-kateExtractor.Tpo -c -o oggSilence-kateExtractor.obj `if test -f 'kateExtractor.cpp'; then $(CYGPATH_W) 'kateExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/kateExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-kateExtractor.Tpo $(DEPDIR)/oggSilence-kateExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateExtractor.cpp' object='oggSilence-kateExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-kateExtractor.obj `if test -f 'kateExtractor.cpp'; then $(CYGPATH_W) 'kateExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/kateExtractor.cpp'; fi` - -oggSilence-vorbisDecoder.o: vorbisDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-vorbisDecoder.o -MD -MP -MF $(DEPDIR)/oggSilence-vorbisDecoder.Tpo -c -o oggSilence-vorbisDecoder.o `test -f 'vorbisDecoder.cpp' || echo '$(srcdir)/'`vorbisDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-vorbisDecoder.Tpo $(DEPDIR)/oggSilence-vorbisDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisDecoder.cpp' object='oggSilence-vorbisDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-vorbisDecoder.o `test -f 'vorbisDecoder.cpp' || echo '$(srcdir)/'`vorbisDecoder.cpp - -oggSilence-vorbisDecoder.obj: vorbisDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-vorbisDecoder.obj -MD -MP -MF $(DEPDIR)/oggSilence-vorbisDecoder.Tpo -c -o oggSilence-vorbisDecoder.obj `if test -f 'vorbisDecoder.cpp'; then $(CYGPATH_W) 'vorbisDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-vorbisDecoder.Tpo $(DEPDIR)/oggSilence-vorbisDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisDecoder.cpp' object='oggSilence-vorbisDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-vorbisDecoder.obj `if test -f 'vorbisDecoder.cpp'; then $(CYGPATH_W) 'vorbisDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisDecoder.cpp'; fi` - -oggSilence-vorbisEncoder.o: vorbisEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-vorbisEncoder.o -MD -MP -MF $(DEPDIR)/oggSilence-vorbisEncoder.Tpo -c -o oggSilence-vorbisEncoder.o `test -f 'vorbisEncoder.cpp' || echo '$(srcdir)/'`vorbisEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-vorbisEncoder.Tpo $(DEPDIR)/oggSilence-vorbisEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisEncoder.cpp' object='oggSilence-vorbisEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-vorbisEncoder.o `test -f 'vorbisEncoder.cpp' || echo '$(srcdir)/'`vorbisEncoder.cpp - -oggSilence-vorbisEncoder.obj: vorbisEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-vorbisEncoder.obj -MD -MP -MF $(DEPDIR)/oggSilence-vorbisEncoder.Tpo -c -o oggSilence-vorbisEncoder.obj `if test -f 'vorbisEncoder.cpp'; then $(CYGPATH_W) 'vorbisEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-vorbisEncoder.Tpo $(DEPDIR)/oggSilence-vorbisEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisEncoder.cpp' object='oggSilence-vorbisEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-vorbisEncoder.obj `if test -f 'vorbisEncoder.cpp'; then $(CYGPATH_W) 'vorbisEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisEncoder.cpp'; fi` - -oggSilence-audioPacket.o: audioPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-audioPacket.o -MD -MP -MF $(DEPDIR)/oggSilence-audioPacket.Tpo -c -o oggSilence-audioPacket.o `test -f 'audioPacket.cpp' || echo '$(srcdir)/'`audioPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-audioPacket.Tpo $(DEPDIR)/oggSilence-audioPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='audioPacket.cpp' object='oggSilence-audioPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-audioPacket.o `test -f 'audioPacket.cpp' || echo '$(srcdir)/'`audioPacket.cpp - -oggSilence-audioPacket.obj: audioPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-audioPacket.obj -MD -MP -MF $(DEPDIR)/oggSilence-audioPacket.Tpo -c -o oggSilence-audioPacket.obj `if test -f 'audioPacket.cpp'; then $(CYGPATH_W) 'audioPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/audioPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-audioPacket.Tpo $(DEPDIR)/oggSilence-audioPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='audioPacket.cpp' object='oggSilence-audioPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-audioPacket.obj `if test -f 'audioPacket.cpp'; then $(CYGPATH_W) 'audioPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/audioPacket.cpp'; fi` - -oggSilence-audioConverter.o: audioConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-audioConverter.o -MD -MP -MF $(DEPDIR)/oggSilence-audioConverter.Tpo -c -o oggSilence-audioConverter.o `test -f 'audioConverter.cpp' || echo '$(srcdir)/'`audioConverter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-audioConverter.Tpo $(DEPDIR)/oggSilence-audioConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='audioConverter.cpp' object='oggSilence-audioConverter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-audioConverter.o `test -f 'audioConverter.cpp' || echo '$(srcdir)/'`audioConverter.cpp - -oggSilence-audioConverter.obj: audioConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-audioConverter.obj -MD -MP -MF $(DEPDIR)/oggSilence-audioConverter.Tpo -c -o oggSilence-audioConverter.obj `if test -f 'audioConverter.cpp'; then $(CYGPATH_W) 'audioConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/audioConverter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-audioConverter.Tpo $(DEPDIR)/oggSilence-audioConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='audioConverter.cpp' object='oggSilence-audioConverter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-audioConverter.obj `if test -f 'audioConverter.cpp'; then $(CYGPATH_W) 'audioConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/audioConverter.cpp'; fi` - -oggSilence-oggSilence.o: oggSilence.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggSilence.o -MD -MP -MF $(DEPDIR)/oggSilence-oggSilence.Tpo -c -o oggSilence-oggSilence.o `test -f 'oggSilence.cpp' || echo '$(srcdir)/'`oggSilence.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggSilence.Tpo $(DEPDIR)/oggSilence-oggSilence.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggSilence.cpp' object='oggSilence-oggSilence.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggSilence.o `test -f 'oggSilence.cpp' || echo '$(srcdir)/'`oggSilence.cpp - -oggSilence-oggSilence.obj: oggSilence.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -MT oggSilence-oggSilence.obj -MD -MP -MF $(DEPDIR)/oggSilence-oggSilence.Tpo -c -o oggSilence-oggSilence.obj `if test -f 'oggSilence.cpp'; then $(CYGPATH_W) 'oggSilence.cpp'; else $(CYGPATH_W) '$(srcdir)/oggSilence.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSilence-oggSilence.Tpo $(DEPDIR)/oggSilence-oggSilence.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggSilence.cpp' object='oggSilence-oggSilence.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSilence_CXXFLAGS) $(CXXFLAGS) -c -o oggSilence-oggSilence.obj `if test -f 'oggSilence.cpp'; then $(CYGPATH_W) 'oggSilence.cpp'; else $(CYGPATH_W) '$(srcdir)/oggSilence.cpp'; fi` - -oggSlideshow-mediaUnit.o: mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaUnit.o -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaUnit.Tpo -c -o oggSlideshow-mediaUnit.o `test -f 'mediaUnit.cpp' || echo '$(srcdir)/'`mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaUnit.Tpo $(DEPDIR)/oggSlideshow-mediaUnit.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaUnit.cpp' object='oggSlideshow-mediaUnit.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaUnit.o `test -f 'mediaUnit.cpp' || echo '$(srcdir)/'`mediaUnit.cpp - -oggSlideshow-mediaUnit.obj: mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaUnit.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaUnit.Tpo -c -o oggSlideshow-mediaUnit.obj `if test -f 'mediaUnit.cpp'; then $(CYGPATH_W) 'mediaUnit.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaUnit.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaUnit.Tpo $(DEPDIR)/oggSlideshow-mediaUnit.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaUnit.cpp' object='oggSlideshow-mediaUnit.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaUnit.obj `if test -f 'mediaUnit.cpp'; then $(CYGPATH_W) 'mediaUnit.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaUnit.cpp'; fi` - -oggSlideshow-mediaRepository.o: mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaRepository.o -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaRepository.Tpo -c -o oggSlideshow-mediaRepository.o `test -f 'mediaRepository.cpp' || echo '$(srcdir)/'`mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaRepository.Tpo $(DEPDIR)/oggSlideshow-mediaRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaRepository.cpp' object='oggSlideshow-mediaRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaRepository.o `test -f 'mediaRepository.cpp' || echo '$(srcdir)/'`mediaRepository.cpp - -oggSlideshow-mediaRepository.obj: mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaRepository.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaRepository.Tpo -c -o oggSlideshow-mediaRepository.obj `if test -f 'mediaRepository.cpp'; then $(CYGPATH_W) 'mediaRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaRepository.Tpo $(DEPDIR)/oggSlideshow-mediaRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaRepository.cpp' object='oggSlideshow-mediaRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaRepository.obj `if test -f 'mediaRepository.cpp'; then $(CYGPATH_W) 'mediaRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaRepository.cpp'; fi` - -oggSlideshow-fileRepository.o: fileRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-fileRepository.o -MD -MP -MF $(DEPDIR)/oggSlideshow-fileRepository.Tpo -c -o oggSlideshow-fileRepository.o `test -f 'fileRepository.cpp' || echo '$(srcdir)/'`fileRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-fileRepository.Tpo $(DEPDIR)/oggSlideshow-fileRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fileRepository.cpp' object='oggSlideshow-fileRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-fileRepository.o `test -f 'fileRepository.cpp' || echo '$(srcdir)/'`fileRepository.cpp - -oggSlideshow-fileRepository.obj: fileRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-fileRepository.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-fileRepository.Tpo -c -o oggSlideshow-fileRepository.obj `if test -f 'fileRepository.cpp'; then $(CYGPATH_W) 'fileRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/fileRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-fileRepository.Tpo $(DEPDIR)/oggSlideshow-fileRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fileRepository.cpp' object='oggSlideshow-fileRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-fileRepository.obj `if test -f 'fileRepository.cpp'; then $(CYGPATH_W) 'fileRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/fileRepository.cpp'; fi` - -oggSlideshow-rawMediaPacket.o: rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-rawMediaPacket.o -MD -MP -MF $(DEPDIR)/oggSlideshow-rawMediaPacket.Tpo -c -o oggSlideshow-rawMediaPacket.o `test -f 'rawMediaPacket.cpp' || echo '$(srcdir)/'`rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-rawMediaPacket.Tpo $(DEPDIR)/oggSlideshow-rawMediaPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rawMediaPacket.cpp' object='oggSlideshow-rawMediaPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-rawMediaPacket.o `test -f 'rawMediaPacket.cpp' || echo '$(srcdir)/'`rawMediaPacket.cpp - -oggSlideshow-rawMediaPacket.obj: rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-rawMediaPacket.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-rawMediaPacket.Tpo -c -o oggSlideshow-rawMediaPacket.obj `if test -f 'rawMediaPacket.cpp'; then $(CYGPATH_W) 'rawMediaPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/rawMediaPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-rawMediaPacket.Tpo $(DEPDIR)/oggSlideshow-rawMediaPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rawMediaPacket.cpp' object='oggSlideshow-rawMediaPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-rawMediaPacket.obj `if test -f 'rawMediaPacket.cpp'; then $(CYGPATH_W) 'rawMediaPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/rawMediaPacket.cpp'; fi` - -oggSlideshow-mediaDecoder.o: mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaDecoder.o -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaDecoder.Tpo -c -o oggSlideshow-mediaDecoder.o `test -f 'mediaDecoder.cpp' || echo '$(srcdir)/'`mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaDecoder.Tpo $(DEPDIR)/oggSlideshow-mediaDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaDecoder.cpp' object='oggSlideshow-mediaDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaDecoder.o `test -f 'mediaDecoder.cpp' || echo '$(srcdir)/'`mediaDecoder.cpp - -oggSlideshow-mediaDecoder.obj: mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaDecoder.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaDecoder.Tpo -c -o oggSlideshow-mediaDecoder.obj `if test -f 'mediaDecoder.cpp'; then $(CYGPATH_W) 'mediaDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaDecoder.Tpo $(DEPDIR)/oggSlideshow-mediaDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaDecoder.cpp' object='oggSlideshow-mediaDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaDecoder.obj `if test -f 'mediaDecoder.cpp'; then $(CYGPATH_W) 'mediaDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaDecoder.cpp'; fi` - -oggSlideshow-mediaEncoder.o: mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaEncoder.o -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaEncoder.Tpo -c -o oggSlideshow-mediaEncoder.o `test -f 'mediaEncoder.cpp' || echo '$(srcdir)/'`mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaEncoder.Tpo $(DEPDIR)/oggSlideshow-mediaEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaEncoder.cpp' object='oggSlideshow-mediaEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaEncoder.o `test -f 'mediaEncoder.cpp' || echo '$(srcdir)/'`mediaEncoder.cpp - -oggSlideshow-mediaEncoder.obj: mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaEncoder.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaEncoder.Tpo -c -o oggSlideshow-mediaEncoder.obj `if test -f 'mediaEncoder.cpp'; then $(CYGPATH_W) 'mediaEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaEncoder.Tpo $(DEPDIR)/oggSlideshow-mediaEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaEncoder.cpp' object='oggSlideshow-mediaEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaEncoder.obj `if test -f 'mediaEncoder.cpp'; then $(CYGPATH_W) 'mediaEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaEncoder.cpp'; fi` - -oggSlideshow-mediaConverter.o: mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaConverter.o -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaConverter.Tpo -c -o oggSlideshow-mediaConverter.o `test -f 'mediaConverter.cpp' || echo '$(srcdir)/'`mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaConverter.Tpo $(DEPDIR)/oggSlideshow-mediaConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaConverter.cpp' object='oggSlideshow-mediaConverter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaConverter.o `test -f 'mediaConverter.cpp' || echo '$(srcdir)/'`mediaConverter.cpp - -oggSlideshow-mediaConverter.obj: mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaConverter.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaConverter.Tpo -c -o oggSlideshow-mediaConverter.obj `if test -f 'mediaConverter.cpp'; then $(CYGPATH_W) 'mediaConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaConverter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaConverter.Tpo $(DEPDIR)/oggSlideshow-mediaConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaConverter.cpp' object='oggSlideshow-mediaConverter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaConverter.obj `if test -f 'mediaConverter.cpp'; then $(CYGPATH_W) 'mediaConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaConverter.cpp'; fi` - -oggSlideshow-oggDecoder.o: oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggDecoder.o -MD -MP -MF $(DEPDIR)/oggSlideshow-oggDecoder.Tpo -c -o oggSlideshow-oggDecoder.o `test -f 'oggDecoder.cpp' || echo '$(srcdir)/'`oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggDecoder.Tpo $(DEPDIR)/oggSlideshow-oggDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggDecoder.cpp' object='oggSlideshow-oggDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggDecoder.o `test -f 'oggDecoder.cpp' || echo '$(srcdir)/'`oggDecoder.cpp - -oggSlideshow-oggDecoder.obj: oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggDecoder.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-oggDecoder.Tpo -c -o oggSlideshow-oggDecoder.obj `if test -f 'oggDecoder.cpp'; then $(CYGPATH_W) 'oggDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggDecoder.Tpo $(DEPDIR)/oggSlideshow-oggDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggDecoder.cpp' object='oggSlideshow-oggDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggDecoder.obj `if test -f 'oggDecoder.cpp'; then $(CYGPATH_W) 'oggDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggDecoder.cpp'; fi` - -oggSlideshow-oggStreamDecoder.o: oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggStreamDecoder.o -MD -MP -MF $(DEPDIR)/oggSlideshow-oggStreamDecoder.Tpo -c -o oggSlideshow-oggStreamDecoder.o `test -f 'oggStreamDecoder.cpp' || echo '$(srcdir)/'`oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggStreamDecoder.Tpo $(DEPDIR)/oggSlideshow-oggStreamDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamDecoder.cpp' object='oggSlideshow-oggStreamDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggStreamDecoder.o `test -f 'oggStreamDecoder.cpp' || echo '$(srcdir)/'`oggStreamDecoder.cpp - -oggSlideshow-oggStreamDecoder.obj: oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggStreamDecoder.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-oggStreamDecoder.Tpo -c -o oggSlideshow-oggStreamDecoder.obj `if test -f 'oggStreamDecoder.cpp'; then $(CYGPATH_W) 'oggStreamDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggStreamDecoder.Tpo $(DEPDIR)/oggSlideshow-oggStreamDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamDecoder.cpp' object='oggSlideshow-oggStreamDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggStreamDecoder.obj `if test -f 'oggStreamDecoder.cpp'; then $(CYGPATH_W) 'oggStreamDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamDecoder.cpp'; fi` - -oggSlideshow-oggPage.o: oggPage.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggPage.o -MD -MP -MF $(DEPDIR)/oggSlideshow-oggPage.Tpo -c -o oggSlideshow-oggPage.o `test -f 'oggPage.cpp' || echo '$(srcdir)/'`oggPage.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggPage.Tpo $(DEPDIR)/oggSlideshow-oggPage.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPage.cpp' object='oggSlideshow-oggPage.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggPage.o `test -f 'oggPage.cpp' || echo '$(srcdir)/'`oggPage.cpp - -oggSlideshow-oggPage.obj: oggPage.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggPage.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-oggPage.Tpo -c -o oggSlideshow-oggPage.obj `if test -f 'oggPage.cpp'; then $(CYGPATH_W) 'oggPage.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPage.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggPage.Tpo $(DEPDIR)/oggSlideshow-oggPage.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPage.cpp' object='oggSlideshow-oggPage.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggPage.obj `if test -f 'oggPage.cpp'; then $(CYGPATH_W) 'oggPage.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPage.cpp'; fi` - -oggSlideshow-oggPacket.o: oggPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggPacket.o -MD -MP -MF $(DEPDIR)/oggSlideshow-oggPacket.Tpo -c -o oggSlideshow-oggPacket.o `test -f 'oggPacket.cpp' || echo '$(srcdir)/'`oggPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggPacket.Tpo $(DEPDIR)/oggSlideshow-oggPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPacket.cpp' object='oggSlideshow-oggPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggPacket.o `test -f 'oggPacket.cpp' || echo '$(srcdir)/'`oggPacket.cpp - -oggSlideshow-oggPacket.obj: oggPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggPacket.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-oggPacket.Tpo -c -o oggSlideshow-oggPacket.obj `if test -f 'oggPacket.cpp'; then $(CYGPATH_W) 'oggPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggPacket.Tpo $(DEPDIR)/oggSlideshow-oggPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPacket.cpp' object='oggSlideshow-oggPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggPacket.obj `if test -f 'oggPacket.cpp'; then $(CYGPATH_W) 'oggPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPacket.cpp'; fi` - -oggSlideshow-ringbuffer.o: ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-ringbuffer.o -MD -MP -MF $(DEPDIR)/oggSlideshow-ringbuffer.Tpo -c -o oggSlideshow-ringbuffer.o `test -f 'ringbuffer.cpp' || echo '$(srcdir)/'`ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-ringbuffer.Tpo $(DEPDIR)/oggSlideshow-ringbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ringbuffer.cpp' object='oggSlideshow-ringbuffer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-ringbuffer.o `test -f 'ringbuffer.cpp' || echo '$(srcdir)/'`ringbuffer.cpp - -oggSlideshow-ringbuffer.obj: ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-ringbuffer.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-ringbuffer.Tpo -c -o oggSlideshow-ringbuffer.obj `if test -f 'ringbuffer.cpp'; then $(CYGPATH_W) 'ringbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/ringbuffer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-ringbuffer.Tpo $(DEPDIR)/oggSlideshow-ringbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ringbuffer.cpp' object='oggSlideshow-ringbuffer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-ringbuffer.obj `if test -f 'ringbuffer.cpp'; then $(CYGPATH_W) 'ringbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/ringbuffer.cpp'; fi` - -oggSlideshow-oggRingbuffer.o: oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggRingbuffer.o -MD -MP -MF $(DEPDIR)/oggSlideshow-oggRingbuffer.Tpo -c -o oggSlideshow-oggRingbuffer.o `test -f 'oggRingbuffer.cpp' || echo '$(srcdir)/'`oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggRingbuffer.Tpo $(DEPDIR)/oggSlideshow-oggRingbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggRingbuffer.cpp' object='oggSlideshow-oggRingbuffer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggRingbuffer.o `test -f 'oggRingbuffer.cpp' || echo '$(srcdir)/'`oggRingbuffer.cpp - -oggSlideshow-oggRingbuffer.obj: oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggRingbuffer.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-oggRingbuffer.Tpo -c -o oggSlideshow-oggRingbuffer.obj `if test -f 'oggRingbuffer.cpp'; then $(CYGPATH_W) 'oggRingbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/oggRingbuffer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggRingbuffer.Tpo $(DEPDIR)/oggSlideshow-oggRingbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggRingbuffer.cpp' object='oggSlideshow-oggRingbuffer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggRingbuffer.obj `if test -f 'oggRingbuffer.cpp'; then $(CYGPATH_W) 'oggRingbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/oggRingbuffer.cpp'; fi` - -oggSlideshow-crc.o: crc.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-crc.o -MD -MP -MF $(DEPDIR)/oggSlideshow-crc.Tpo -c -o oggSlideshow-crc.o `test -f 'crc.cpp' || echo '$(srcdir)/'`crc.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-crc.Tpo $(DEPDIR)/oggSlideshow-crc.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crc.cpp' object='oggSlideshow-crc.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-crc.o `test -f 'crc.cpp' || echo '$(srcdir)/'`crc.cpp - -oggSlideshow-crc.obj: crc.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-crc.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-crc.Tpo -c -o oggSlideshow-crc.obj `if test -f 'crc.cpp'; then $(CYGPATH_W) 'crc.cpp'; else $(CYGPATH_W) '$(srcdir)/crc.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-crc.Tpo $(DEPDIR)/oggSlideshow-crc.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crc.cpp' object='oggSlideshow-crc.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-crc.obj `if test -f 'crc.cpp'; then $(CYGPATH_W) 'crc.cpp'; else $(CYGPATH_W) '$(srcdir)/crc.cpp'; fi` - -oggSlideshow-granulePosInterpreter.o: granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-granulePosInterpreter.o -MD -MP -MF $(DEPDIR)/oggSlideshow-granulePosInterpreter.Tpo -c -o oggSlideshow-granulePosInterpreter.o `test -f 'granulePosInterpreter.cpp' || echo '$(srcdir)/'`granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-granulePosInterpreter.Tpo $(DEPDIR)/oggSlideshow-granulePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='granulePosInterpreter.cpp' object='oggSlideshow-granulePosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-granulePosInterpreter.o `test -f 'granulePosInterpreter.cpp' || echo '$(srcdir)/'`granulePosInterpreter.cpp - -oggSlideshow-granulePosInterpreter.obj: granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-granulePosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-granulePosInterpreter.Tpo -c -o oggSlideshow-granulePosInterpreter.obj `if test -f 'granulePosInterpreter.cpp'; then $(CYGPATH_W) 'granulePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/granulePosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-granulePosInterpreter.Tpo $(DEPDIR)/oggSlideshow-granulePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='granulePosInterpreter.cpp' object='oggSlideshow-granulePosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-granulePosInterpreter.obj `if test -f 'granulePosInterpreter.cpp'; then $(CYGPATH_W) 'granulePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/granulePosInterpreter.cpp'; fi` - -oggSlideshow-mediaOutputDecoder.o: mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaOutputDecoder.o -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaOutputDecoder.Tpo -c -o oggSlideshow-mediaOutputDecoder.o `test -f 'mediaOutputDecoder.cpp' || echo '$(srcdir)/'`mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaOutputDecoder.Tpo $(DEPDIR)/oggSlideshow-mediaOutputDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaOutputDecoder.cpp' object='oggSlideshow-mediaOutputDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaOutputDecoder.o `test -f 'mediaOutputDecoder.cpp' || echo '$(srcdir)/'`mediaOutputDecoder.cpp - -oggSlideshow-mediaOutputDecoder.obj: mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaOutputDecoder.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaOutputDecoder.Tpo -c -o oggSlideshow-mediaOutputDecoder.obj `if test -f 'mediaOutputDecoder.cpp'; then $(CYGPATH_W) 'mediaOutputDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaOutputDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaOutputDecoder.Tpo $(DEPDIR)/oggSlideshow-mediaOutputDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaOutputDecoder.cpp' object='oggSlideshow-mediaOutputDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaOutputDecoder.obj `if test -f 'mediaOutputDecoder.cpp'; then $(CYGPATH_W) 'mediaOutputDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaOutputDecoder.cpp'; fi` - -oggSlideshow-mediaInputEncoder.o: mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaInputEncoder.o -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaInputEncoder.Tpo -c -o oggSlideshow-mediaInputEncoder.o `test -f 'mediaInputEncoder.cpp' || echo '$(srcdir)/'`mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaInputEncoder.Tpo $(DEPDIR)/oggSlideshow-mediaInputEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaInputEncoder.cpp' object='oggSlideshow-mediaInputEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaInputEncoder.o `test -f 'mediaInputEncoder.cpp' || echo '$(srcdir)/'`mediaInputEncoder.cpp - -oggSlideshow-mediaInputEncoder.obj: mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-mediaInputEncoder.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-mediaInputEncoder.Tpo -c -o oggSlideshow-mediaInputEncoder.obj `if test -f 'mediaInputEncoder.cpp'; then $(CYGPATH_W) 'mediaInputEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaInputEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-mediaInputEncoder.Tpo $(DEPDIR)/oggSlideshow-mediaInputEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaInputEncoder.cpp' object='oggSlideshow-mediaInputEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-mediaInputEncoder.obj `if test -f 'mediaInputEncoder.cpp'; then $(CYGPATH_W) 'mediaInputEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaInputEncoder.cpp'; fi` - -oggSlideshow-streamSerializer.o: streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-streamSerializer.o -MD -MP -MF $(DEPDIR)/oggSlideshow-streamSerializer.Tpo -c -o oggSlideshow-streamSerializer.o `test -f 'streamSerializer.cpp' || echo '$(srcdir)/'`streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-streamSerializer.Tpo $(DEPDIR)/oggSlideshow-streamSerializer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamSerializer.cpp' object='oggSlideshow-streamSerializer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-streamSerializer.o `test -f 'streamSerializer.cpp' || echo '$(srcdir)/'`streamSerializer.cpp - -oggSlideshow-streamSerializer.obj: streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-streamSerializer.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-streamSerializer.Tpo -c -o oggSlideshow-streamSerializer.obj `if test -f 'streamSerializer.cpp'; then $(CYGPATH_W) 'streamSerializer.cpp'; else $(CYGPATH_W) '$(srcdir)/streamSerializer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-streamSerializer.Tpo $(DEPDIR)/oggSlideshow-streamSerializer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamSerializer.cpp' object='oggSlideshow-streamSerializer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-streamSerializer.obj `if test -f 'streamSerializer.cpp'; then $(CYGPATH_W) 'streamSerializer.cpp'; else $(CYGPATH_W) '$(srcdir)/streamSerializer.cpp'; fi` - -oggSlideshow-oggBOSExtractorFactory.o: oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggBOSExtractorFactory.o -MD -MP -MF $(DEPDIR)/oggSlideshow-oggBOSExtractorFactory.Tpo -c -o oggSlideshow-oggBOSExtractorFactory.o `test -f 'oggBOSExtractorFactory.cpp' || echo '$(srcdir)/'`oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggBOSExtractorFactory.Tpo $(DEPDIR)/oggSlideshow-oggBOSExtractorFactory.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggBOSExtractorFactory.cpp' object='oggSlideshow-oggBOSExtractorFactory.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggBOSExtractorFactory.o `test -f 'oggBOSExtractorFactory.cpp' || echo '$(srcdir)/'`oggBOSExtractorFactory.cpp - -oggSlideshow-oggBOSExtractorFactory.obj: oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggBOSExtractorFactory.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-oggBOSExtractorFactory.Tpo -c -o oggSlideshow-oggBOSExtractorFactory.obj `if test -f 'oggBOSExtractorFactory.cpp'; then $(CYGPATH_W) 'oggBOSExtractorFactory.cpp'; else $(CYGPATH_W) '$(srcdir)/oggBOSExtractorFactory.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggBOSExtractorFactory.Tpo $(DEPDIR)/oggSlideshow-oggBOSExtractorFactory.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggBOSExtractorFactory.cpp' object='oggSlideshow-oggBOSExtractorFactory.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggBOSExtractorFactory.obj `if test -f 'oggBOSExtractorFactory.cpp'; then $(CYGPATH_W) 'oggBOSExtractorFactory.cpp'; else $(CYGPATH_W) '$(srcdir)/oggBOSExtractorFactory.cpp'; fi` - -oggSlideshow-oggStreamEncoder.o: oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggStreamEncoder.o -MD -MP -MF $(DEPDIR)/oggSlideshow-oggStreamEncoder.Tpo -c -o oggSlideshow-oggStreamEncoder.o `test -f 'oggStreamEncoder.cpp' || echo '$(srcdir)/'`oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggStreamEncoder.Tpo $(DEPDIR)/oggSlideshow-oggStreamEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamEncoder.cpp' object='oggSlideshow-oggStreamEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggStreamEncoder.o `test -f 'oggStreamEncoder.cpp' || echo '$(srcdir)/'`oggStreamEncoder.cpp - -oggSlideshow-oggStreamEncoder.obj: oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggStreamEncoder.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-oggStreamEncoder.Tpo -c -o oggSlideshow-oggStreamEncoder.obj `if test -f 'oggStreamEncoder.cpp'; then $(CYGPATH_W) 'oggStreamEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggStreamEncoder.Tpo $(DEPDIR)/oggSlideshow-oggStreamEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamEncoder.cpp' object='oggSlideshow-oggStreamEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggStreamEncoder.obj `if test -f 'oggStreamEncoder.cpp'; then $(CYGPATH_W) 'oggStreamEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamEncoder.cpp'; fi` - -oggSlideshow-oggEncoder.o: oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggEncoder.o -MD -MP -MF $(DEPDIR)/oggSlideshow-oggEncoder.Tpo -c -o oggSlideshow-oggEncoder.o `test -f 'oggEncoder.cpp' || echo '$(srcdir)/'`oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggEncoder.Tpo $(DEPDIR)/oggSlideshow-oggEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggEncoder.cpp' object='oggSlideshow-oggEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggEncoder.o `test -f 'oggEncoder.cpp' || echo '$(srcdir)/'`oggEncoder.cpp - -oggSlideshow-oggEncoder.obj: oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggEncoder.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-oggEncoder.Tpo -c -o oggSlideshow-oggEncoder.obj `if test -f 'oggEncoder.cpp'; then $(CYGPATH_W) 'oggEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggEncoder.Tpo $(DEPDIR)/oggSlideshow-oggEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggEncoder.cpp' object='oggSlideshow-oggEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggEncoder.obj `if test -f 'oggEncoder.cpp'; then $(CYGPATH_W) 'oggEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggEncoder.cpp'; fi` - -oggSlideshow-streamExtractor.o: streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-streamExtractor.o -MD -MP -MF $(DEPDIR)/oggSlideshow-streamExtractor.Tpo -c -o oggSlideshow-streamExtractor.o `test -f 'streamExtractor.cpp' || echo '$(srcdir)/'`streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-streamExtractor.Tpo $(DEPDIR)/oggSlideshow-streamExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamExtractor.cpp' object='oggSlideshow-streamExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-streamExtractor.o `test -f 'streamExtractor.cpp' || echo '$(srcdir)/'`streamExtractor.cpp - -oggSlideshow-streamExtractor.obj: streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-streamExtractor.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-streamExtractor.Tpo -c -o oggSlideshow-streamExtractor.obj `if test -f 'streamExtractor.cpp'; then $(CYGPATH_W) 'streamExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/streamExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-streamExtractor.Tpo $(DEPDIR)/oggSlideshow-streamExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamExtractor.cpp' object='oggSlideshow-streamExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-streamExtractor.obj `if test -f 'streamExtractor.cpp'; then $(CYGPATH_W) 'streamExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/streamExtractor.cpp'; fi` - -oggSlideshow-streamParameter.o: streamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-streamParameter.o -MD -MP -MF $(DEPDIR)/oggSlideshow-streamParameter.Tpo -c -o oggSlideshow-streamParameter.o `test -f 'streamParameter.cpp' || echo '$(srcdir)/'`streamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-streamParameter.Tpo $(DEPDIR)/oggSlideshow-streamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamParameter.cpp' object='oggSlideshow-streamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-streamParameter.o `test -f 'streamParameter.cpp' || echo '$(srcdir)/'`streamParameter.cpp - -oggSlideshow-streamParameter.obj: streamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-streamParameter.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-streamParameter.Tpo -c -o oggSlideshow-streamParameter.obj `if test -f 'streamParameter.cpp'; then $(CYGPATH_W) 'streamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/streamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-streamParameter.Tpo $(DEPDIR)/oggSlideshow-streamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamParameter.cpp' object='oggSlideshow-streamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-streamParameter.obj `if test -f 'streamParameter.cpp'; then $(CYGPATH_W) 'streamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/streamParameter.cpp'; fi` - -oggSlideshow-streamMux.o: streamMux.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-streamMux.o -MD -MP -MF $(DEPDIR)/oggSlideshow-streamMux.Tpo -c -o oggSlideshow-streamMux.o `test -f 'streamMux.cpp' || echo '$(srcdir)/'`streamMux.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-streamMux.Tpo $(DEPDIR)/oggSlideshow-streamMux.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamMux.cpp' object='oggSlideshow-streamMux.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-streamMux.o `test -f 'streamMux.cpp' || echo '$(srcdir)/'`streamMux.cpp - -oggSlideshow-streamMux.obj: streamMux.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-streamMux.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-streamMux.Tpo -c -o oggSlideshow-streamMux.obj `if test -f 'streamMux.cpp'; then $(CYGPATH_W) 'streamMux.cpp'; else $(CYGPATH_W) '$(srcdir)/streamMux.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-streamMux.Tpo $(DEPDIR)/oggSlideshow-streamMux.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamMux.cpp' object='oggSlideshow-streamMux.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-streamMux.obj `if test -f 'streamMux.cpp'; then $(CYGPATH_W) 'streamMux.cpp'; else $(CYGPATH_W) '$(srcdir)/streamMux.cpp'; fi` - -oggSlideshow-bufferRepository.o: bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-bufferRepository.o -MD -MP -MF $(DEPDIR)/oggSlideshow-bufferRepository.Tpo -c -o oggSlideshow-bufferRepository.o `test -f 'bufferRepository.cpp' || echo '$(srcdir)/'`bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-bufferRepository.Tpo $(DEPDIR)/oggSlideshow-bufferRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='bufferRepository.cpp' object='oggSlideshow-bufferRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-bufferRepository.o `test -f 'bufferRepository.cpp' || echo '$(srcdir)/'`bufferRepository.cpp - -oggSlideshow-bufferRepository.obj: bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-bufferRepository.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-bufferRepository.Tpo -c -o oggSlideshow-bufferRepository.obj `if test -f 'bufferRepository.cpp'; then $(CYGPATH_W) 'bufferRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/bufferRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-bufferRepository.Tpo $(DEPDIR)/oggSlideshow-bufferRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='bufferRepository.cpp' object='oggSlideshow-bufferRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-bufferRepository.obj `if test -f 'bufferRepository.cpp'; then $(CYGPATH_W) 'bufferRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/bufferRepository.cpp'; fi` - -oggSlideshow-oggComment.o: oggComment.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggComment.o -MD -MP -MF $(DEPDIR)/oggSlideshow-oggComment.Tpo -c -o oggSlideshow-oggComment.o `test -f 'oggComment.cpp' || echo '$(srcdir)/'`oggComment.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggComment.Tpo $(DEPDIR)/oggSlideshow-oggComment.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggComment.cpp' object='oggSlideshow-oggComment.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggComment.o `test -f 'oggComment.cpp' || echo '$(srcdir)/'`oggComment.cpp - -oggSlideshow-oggComment.obj: oggComment.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggComment.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-oggComment.Tpo -c -o oggSlideshow-oggComment.obj `if test -f 'oggComment.cpp'; then $(CYGPATH_W) 'oggComment.cpp'; else $(CYGPATH_W) '$(srcdir)/oggComment.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggComment.Tpo $(DEPDIR)/oggSlideshow-oggComment.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggComment.cpp' object='oggSlideshow-oggComment.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggComment.obj `if test -f 'oggComment.cpp'; then $(CYGPATH_W) 'oggComment.cpp'; else $(CYGPATH_W) '$(srcdir)/oggComment.cpp'; fi` - -oggSlideshow-theoraPosInterpreter.o: theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-theoraPosInterpreter.o -MD -MP -MF $(DEPDIR)/oggSlideshow-theoraPosInterpreter.Tpo -c -o oggSlideshow-theoraPosInterpreter.o `test -f 'theoraPosInterpreter.cpp' || echo '$(srcdir)/'`theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-theoraPosInterpreter.Tpo $(DEPDIR)/oggSlideshow-theoraPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraPosInterpreter.cpp' object='oggSlideshow-theoraPosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-theoraPosInterpreter.o `test -f 'theoraPosInterpreter.cpp' || echo '$(srcdir)/'`theoraPosInterpreter.cpp - -oggSlideshow-theoraPosInterpreter.obj: theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-theoraPosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-theoraPosInterpreter.Tpo -c -o oggSlideshow-theoraPosInterpreter.obj `if test -f 'theoraPosInterpreter.cpp'; then $(CYGPATH_W) 'theoraPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraPosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-theoraPosInterpreter.Tpo $(DEPDIR)/oggSlideshow-theoraPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraPosInterpreter.cpp' object='oggSlideshow-theoraPosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-theoraPosInterpreter.obj `if test -f 'theoraPosInterpreter.cpp'; then $(CYGPATH_W) 'theoraPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraPosInterpreter.cpp'; fi` - -oggSlideshow-theoraStreamParameter.o: theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-theoraStreamParameter.o -MD -MP -MF $(DEPDIR)/oggSlideshow-theoraStreamParameter.Tpo -c -o oggSlideshow-theoraStreamParameter.o `test -f 'theoraStreamParameter.cpp' || echo '$(srcdir)/'`theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-theoraStreamParameter.Tpo $(DEPDIR)/oggSlideshow-theoraStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraStreamParameter.cpp' object='oggSlideshow-theoraStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-theoraStreamParameter.o `test -f 'theoraStreamParameter.cpp' || echo '$(srcdir)/'`theoraStreamParameter.cpp - -oggSlideshow-theoraStreamParameter.obj: theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-theoraStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-theoraStreamParameter.Tpo -c -o oggSlideshow-theoraStreamParameter.obj `if test -f 'theoraStreamParameter.cpp'; then $(CYGPATH_W) 'theoraStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-theoraStreamParameter.Tpo $(DEPDIR)/oggSlideshow-theoraStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraStreamParameter.cpp' object='oggSlideshow-theoraStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-theoraStreamParameter.obj `if test -f 'theoraStreamParameter.cpp'; then $(CYGPATH_W) 'theoraStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraStreamParameter.cpp'; fi` - -oggSlideshow-theoraExtractor.o: theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-theoraExtractor.o -MD -MP -MF $(DEPDIR)/oggSlideshow-theoraExtractor.Tpo -c -o oggSlideshow-theoraExtractor.o `test -f 'theoraExtractor.cpp' || echo '$(srcdir)/'`theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-theoraExtractor.Tpo $(DEPDIR)/oggSlideshow-theoraExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraExtractor.cpp' object='oggSlideshow-theoraExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-theoraExtractor.o `test -f 'theoraExtractor.cpp' || echo '$(srcdir)/'`theoraExtractor.cpp - -oggSlideshow-theoraExtractor.obj: theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-theoraExtractor.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-theoraExtractor.Tpo -c -o oggSlideshow-theoraExtractor.obj `if test -f 'theoraExtractor.cpp'; then $(CYGPATH_W) 'theoraExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-theoraExtractor.Tpo $(DEPDIR)/oggSlideshow-theoraExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraExtractor.cpp' object='oggSlideshow-theoraExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-theoraExtractor.obj `if test -f 'theoraExtractor.cpp'; then $(CYGPATH_W) 'theoraExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraExtractor.cpp'; fi` - -oggSlideshow-vorbisPosInterpreter.o: vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-vorbisPosInterpreter.o -MD -MP -MF $(DEPDIR)/oggSlideshow-vorbisPosInterpreter.Tpo -c -o oggSlideshow-vorbisPosInterpreter.o `test -f 'vorbisPosInterpreter.cpp' || echo '$(srcdir)/'`vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-vorbisPosInterpreter.Tpo $(DEPDIR)/oggSlideshow-vorbisPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisPosInterpreter.cpp' object='oggSlideshow-vorbisPosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-vorbisPosInterpreter.o `test -f 'vorbisPosInterpreter.cpp' || echo '$(srcdir)/'`vorbisPosInterpreter.cpp - -oggSlideshow-vorbisPosInterpreter.obj: vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-vorbisPosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-vorbisPosInterpreter.Tpo -c -o oggSlideshow-vorbisPosInterpreter.obj `if test -f 'vorbisPosInterpreter.cpp'; then $(CYGPATH_W) 'vorbisPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisPosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-vorbisPosInterpreter.Tpo $(DEPDIR)/oggSlideshow-vorbisPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisPosInterpreter.cpp' object='oggSlideshow-vorbisPosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-vorbisPosInterpreter.obj `if test -f 'vorbisPosInterpreter.cpp'; then $(CYGPATH_W) 'vorbisPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisPosInterpreter.cpp'; fi` - -oggSlideshow-vorbisStreamParameter.o: vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-vorbisStreamParameter.o -MD -MP -MF $(DEPDIR)/oggSlideshow-vorbisStreamParameter.Tpo -c -o oggSlideshow-vorbisStreamParameter.o `test -f 'vorbisStreamParameter.cpp' || echo '$(srcdir)/'`vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-vorbisStreamParameter.Tpo $(DEPDIR)/oggSlideshow-vorbisStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisStreamParameter.cpp' object='oggSlideshow-vorbisStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-vorbisStreamParameter.o `test -f 'vorbisStreamParameter.cpp' || echo '$(srcdir)/'`vorbisStreamParameter.cpp - -oggSlideshow-vorbisStreamParameter.obj: vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-vorbisStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-vorbisStreamParameter.Tpo -c -o oggSlideshow-vorbisStreamParameter.obj `if test -f 'vorbisStreamParameter.cpp'; then $(CYGPATH_W) 'vorbisStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-vorbisStreamParameter.Tpo $(DEPDIR)/oggSlideshow-vorbisStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisStreamParameter.cpp' object='oggSlideshow-vorbisStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-vorbisStreamParameter.obj `if test -f 'vorbisStreamParameter.cpp'; then $(CYGPATH_W) 'vorbisStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisStreamParameter.cpp'; fi` - -oggSlideshow-vorbisExtractor.o: vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-vorbisExtractor.o -MD -MP -MF $(DEPDIR)/oggSlideshow-vorbisExtractor.Tpo -c -o oggSlideshow-vorbisExtractor.o `test -f 'vorbisExtractor.cpp' || echo '$(srcdir)/'`vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-vorbisExtractor.Tpo $(DEPDIR)/oggSlideshow-vorbisExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisExtractor.cpp' object='oggSlideshow-vorbisExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-vorbisExtractor.o `test -f 'vorbisExtractor.cpp' || echo '$(srcdir)/'`vorbisExtractor.cpp - -oggSlideshow-vorbisExtractor.obj: vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-vorbisExtractor.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-vorbisExtractor.Tpo -c -o oggSlideshow-vorbisExtractor.obj `if test -f 'vorbisExtractor.cpp'; then $(CYGPATH_W) 'vorbisExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-vorbisExtractor.Tpo $(DEPDIR)/oggSlideshow-vorbisExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisExtractor.cpp' object='oggSlideshow-vorbisExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-vorbisExtractor.obj `if test -f 'vorbisExtractor.cpp'; then $(CYGPATH_W) 'vorbisExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisExtractor.cpp'; fi` - -oggSlideshow-katePosInterpreter.o: katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-katePosInterpreter.o -MD -MP -MF $(DEPDIR)/oggSlideshow-katePosInterpreter.Tpo -c -o oggSlideshow-katePosInterpreter.o `test -f 'katePosInterpreter.cpp' || echo '$(srcdir)/'`katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-katePosInterpreter.Tpo $(DEPDIR)/oggSlideshow-katePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='katePosInterpreter.cpp' object='oggSlideshow-katePosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-katePosInterpreter.o `test -f 'katePosInterpreter.cpp' || echo '$(srcdir)/'`katePosInterpreter.cpp - -oggSlideshow-katePosInterpreter.obj: katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-katePosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-katePosInterpreter.Tpo -c -o oggSlideshow-katePosInterpreter.obj `if test -f 'katePosInterpreter.cpp'; then $(CYGPATH_W) 'katePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/katePosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-katePosInterpreter.Tpo $(DEPDIR)/oggSlideshow-katePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='katePosInterpreter.cpp' object='oggSlideshow-katePosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-katePosInterpreter.obj `if test -f 'katePosInterpreter.cpp'; then $(CYGPATH_W) 'katePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/katePosInterpreter.cpp'; fi` - -oggSlideshow-kateStreamParameter.o: kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-kateStreamParameter.o -MD -MP -MF $(DEPDIR)/oggSlideshow-kateStreamParameter.Tpo -c -o oggSlideshow-kateStreamParameter.o `test -f 'kateStreamParameter.cpp' || echo '$(srcdir)/'`kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-kateStreamParameter.Tpo $(DEPDIR)/oggSlideshow-kateStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateStreamParameter.cpp' object='oggSlideshow-kateStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-kateStreamParameter.o `test -f 'kateStreamParameter.cpp' || echo '$(srcdir)/'`kateStreamParameter.cpp - -oggSlideshow-kateStreamParameter.obj: kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-kateStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-kateStreamParameter.Tpo -c -o oggSlideshow-kateStreamParameter.obj `if test -f 'kateStreamParameter.cpp'; then $(CYGPATH_W) 'kateStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/kateStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-kateStreamParameter.Tpo $(DEPDIR)/oggSlideshow-kateStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateStreamParameter.cpp' object='oggSlideshow-kateStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-kateStreamParameter.obj `if test -f 'kateStreamParameter.cpp'; then $(CYGPATH_W) 'kateStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/kateStreamParameter.cpp'; fi` - -oggSlideshow-kateExtractor.o: kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-kateExtractor.o -MD -MP -MF $(DEPDIR)/oggSlideshow-kateExtractor.Tpo -c -o oggSlideshow-kateExtractor.o `test -f 'kateExtractor.cpp' || echo '$(srcdir)/'`kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-kateExtractor.Tpo $(DEPDIR)/oggSlideshow-kateExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateExtractor.cpp' object='oggSlideshow-kateExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-kateExtractor.o `test -f 'kateExtractor.cpp' || echo '$(srcdir)/'`kateExtractor.cpp - -oggSlideshow-kateExtractor.obj: kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-kateExtractor.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-kateExtractor.Tpo -c -o oggSlideshow-kateExtractor.obj `if test -f 'kateExtractor.cpp'; then $(CYGPATH_W) 'kateExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/kateExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-kateExtractor.Tpo $(DEPDIR)/oggSlideshow-kateExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateExtractor.cpp' object='oggSlideshow-kateExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-kateExtractor.obj `if test -f 'kateExtractor.cpp'; then $(CYGPATH_W) 'kateExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/kateExtractor.cpp'; fi` - -oggSlideshow-theoraDecoder.o: theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-theoraDecoder.o -MD -MP -MF $(DEPDIR)/oggSlideshow-theoraDecoder.Tpo -c -o oggSlideshow-theoraDecoder.o `test -f 'theoraDecoder.cpp' || echo '$(srcdir)/'`theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-theoraDecoder.Tpo $(DEPDIR)/oggSlideshow-theoraDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraDecoder.cpp' object='oggSlideshow-theoraDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-theoraDecoder.o `test -f 'theoraDecoder.cpp' || echo '$(srcdir)/'`theoraDecoder.cpp - -oggSlideshow-theoraDecoder.obj: theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-theoraDecoder.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-theoraDecoder.Tpo -c -o oggSlideshow-theoraDecoder.obj `if test -f 'theoraDecoder.cpp'; then $(CYGPATH_W) 'theoraDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-theoraDecoder.Tpo $(DEPDIR)/oggSlideshow-theoraDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraDecoder.cpp' object='oggSlideshow-theoraDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-theoraDecoder.obj `if test -f 'theoraDecoder.cpp'; then $(CYGPATH_W) 'theoraDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraDecoder.cpp'; fi` - -oggSlideshow-theoraEncoder.o: theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-theoraEncoder.o -MD -MP -MF $(DEPDIR)/oggSlideshow-theoraEncoder.Tpo -c -o oggSlideshow-theoraEncoder.o `test -f 'theoraEncoder.cpp' || echo '$(srcdir)/'`theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-theoraEncoder.Tpo $(DEPDIR)/oggSlideshow-theoraEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraEncoder.cpp' object='oggSlideshow-theoraEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-theoraEncoder.o `test -f 'theoraEncoder.cpp' || echo '$(srcdir)/'`theoraEncoder.cpp - -oggSlideshow-theoraEncoder.obj: theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-theoraEncoder.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-theoraEncoder.Tpo -c -o oggSlideshow-theoraEncoder.obj `if test -f 'theoraEncoder.cpp'; then $(CYGPATH_W) 'theoraEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-theoraEncoder.Tpo $(DEPDIR)/oggSlideshow-theoraEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraEncoder.cpp' object='oggSlideshow-theoraEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-theoraEncoder.obj `if test -f 'theoraEncoder.cpp'; then $(CYGPATH_W) 'theoraEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraEncoder.cpp'; fi` - -oggSlideshow-basePlane.o: basePlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-basePlane.o -MD -MP -MF $(DEPDIR)/oggSlideshow-basePlane.Tpo -c -o oggSlideshow-basePlane.o `test -f 'basePlane.cpp' || echo '$(srcdir)/'`basePlane.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-basePlane.Tpo $(DEPDIR)/oggSlideshow-basePlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='basePlane.cpp' object='oggSlideshow-basePlane.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-basePlane.o `test -f 'basePlane.cpp' || echo '$(srcdir)/'`basePlane.cpp - -oggSlideshow-basePlane.obj: basePlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-basePlane.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-basePlane.Tpo -c -o oggSlideshow-basePlane.obj `if test -f 'basePlane.cpp'; then $(CYGPATH_W) 'basePlane.cpp'; else $(CYGPATH_W) '$(srcdir)/basePlane.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-basePlane.Tpo $(DEPDIR)/oggSlideshow-basePlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='basePlane.cpp' object='oggSlideshow-basePlane.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-basePlane.obj `if test -f 'basePlane.cpp'; then $(CYGPATH_W) 'basePlane.cpp'; else $(CYGPATH_W) '$(srcdir)/basePlane.cpp'; fi` - -oggSlideshow-rgbPlane.o: rgbPlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-rgbPlane.o -MD -MP -MF $(DEPDIR)/oggSlideshow-rgbPlane.Tpo -c -o oggSlideshow-rgbPlane.o `test -f 'rgbPlane.cpp' || echo '$(srcdir)/'`rgbPlane.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-rgbPlane.Tpo $(DEPDIR)/oggSlideshow-rgbPlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rgbPlane.cpp' object='oggSlideshow-rgbPlane.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-rgbPlane.o `test -f 'rgbPlane.cpp' || echo '$(srcdir)/'`rgbPlane.cpp - -oggSlideshow-rgbPlane.obj: rgbPlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-rgbPlane.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-rgbPlane.Tpo -c -o oggSlideshow-rgbPlane.obj `if test -f 'rgbPlane.cpp'; then $(CYGPATH_W) 'rgbPlane.cpp'; else $(CYGPATH_W) '$(srcdir)/rgbPlane.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-rgbPlane.Tpo $(DEPDIR)/oggSlideshow-rgbPlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rgbPlane.cpp' object='oggSlideshow-rgbPlane.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-rgbPlane.obj `if test -f 'rgbPlane.cpp'; then $(CYGPATH_W) 'rgbPlane.cpp'; else $(CYGPATH_W) '$(srcdir)/rgbPlane.cpp'; fi` - -oggSlideshow-effector.o: effector.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-effector.o -MD -MP -MF $(DEPDIR)/oggSlideshow-effector.Tpo -c -o oggSlideshow-effector.o `test -f 'effector.cpp' || echo '$(srcdir)/'`effector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-effector.Tpo $(DEPDIR)/oggSlideshow-effector.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='effector.cpp' object='oggSlideshow-effector.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-effector.o `test -f 'effector.cpp' || echo '$(srcdir)/'`effector.cpp - -oggSlideshow-effector.obj: effector.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-effector.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-effector.Tpo -c -o oggSlideshow-effector.obj `if test -f 'effector.cpp'; then $(CYGPATH_W) 'effector.cpp'; else $(CYGPATH_W) '$(srcdir)/effector.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-effector.Tpo $(DEPDIR)/oggSlideshow-effector.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='effector.cpp' object='oggSlideshow-effector.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-effector.obj `if test -f 'effector.cpp'; then $(CYGPATH_W) 'effector.cpp'; else $(CYGPATH_W) '$(srcdir)/effector.cpp'; fi` - -oggSlideshow-crossfader.o: crossfader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-crossfader.o -MD -MP -MF $(DEPDIR)/oggSlideshow-crossfader.Tpo -c -o oggSlideshow-crossfader.o `test -f 'crossfader.cpp' || echo '$(srcdir)/'`crossfader.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-crossfader.Tpo $(DEPDIR)/oggSlideshow-crossfader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crossfader.cpp' object='oggSlideshow-crossfader.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-crossfader.o `test -f 'crossfader.cpp' || echo '$(srcdir)/'`crossfader.cpp - -oggSlideshow-crossfader.obj: crossfader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-crossfader.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-crossfader.Tpo -c -o oggSlideshow-crossfader.obj `if test -f 'crossfader.cpp'; then $(CYGPATH_W) 'crossfader.cpp'; else $(CYGPATH_W) '$(srcdir)/crossfader.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-crossfader.Tpo $(DEPDIR)/oggSlideshow-crossfader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crossfader.cpp' object='oggSlideshow-crossfader.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-crossfader.obj `if test -f 'crossfader.cpp'; then $(CYGPATH_W) 'crossfader.cpp'; else $(CYGPATH_W) '$(srcdir)/crossfader.cpp'; fi` - -oggSlideshow-plainPicture.o: plainPicture.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-plainPicture.o -MD -MP -MF $(DEPDIR)/oggSlideshow-plainPicture.Tpo -c -o oggSlideshow-plainPicture.o `test -f 'plainPicture.cpp' || echo '$(srcdir)/'`plainPicture.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-plainPicture.Tpo $(DEPDIR)/oggSlideshow-plainPicture.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='plainPicture.cpp' object='oggSlideshow-plainPicture.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-plainPicture.o `test -f 'plainPicture.cpp' || echo '$(srcdir)/'`plainPicture.cpp - -oggSlideshow-plainPicture.obj: plainPicture.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-plainPicture.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-plainPicture.Tpo -c -o oggSlideshow-plainPicture.obj `if test -f 'plainPicture.cpp'; then $(CYGPATH_W) 'plainPicture.cpp'; else $(CYGPATH_W) '$(srcdir)/plainPicture.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-plainPicture.Tpo $(DEPDIR)/oggSlideshow-plainPicture.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='plainPicture.cpp' object='oggSlideshow-plainPicture.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-plainPicture.obj `if test -f 'plainPicture.cpp'; then $(CYGPATH_W) 'plainPicture.cpp'; else $(CYGPATH_W) '$(srcdir)/plainPicture.cpp'; fi` - -oggSlideshow-lowpassEffect.o: lowpassEffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-lowpassEffect.o -MD -MP -MF $(DEPDIR)/oggSlideshow-lowpassEffect.Tpo -c -o oggSlideshow-lowpassEffect.o `test -f 'lowpassEffect.cpp' || echo '$(srcdir)/'`lowpassEffect.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-lowpassEffect.Tpo $(DEPDIR)/oggSlideshow-lowpassEffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lowpassEffect.cpp' object='oggSlideshow-lowpassEffect.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-lowpassEffect.o `test -f 'lowpassEffect.cpp' || echo '$(srcdir)/'`lowpassEffect.cpp - -oggSlideshow-lowpassEffect.obj: lowpassEffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-lowpassEffect.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-lowpassEffect.Tpo -c -o oggSlideshow-lowpassEffect.obj `if test -f 'lowpassEffect.cpp'; then $(CYGPATH_W) 'lowpassEffect.cpp'; else $(CYGPATH_W) '$(srcdir)/lowpassEffect.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-lowpassEffect.Tpo $(DEPDIR)/oggSlideshow-lowpassEffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lowpassEffect.cpp' object='oggSlideshow-lowpassEffect.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-lowpassEffect.obj `if test -f 'lowpassEffect.cpp'; then $(CYGPATH_W) 'lowpassEffect.cpp'; else $(CYGPATH_W) '$(srcdir)/lowpassEffect.cpp'; fi` - -oggSlideshow-kenburnseffect.o: kenburnseffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-kenburnseffect.o -MD -MP -MF $(DEPDIR)/oggSlideshow-kenburnseffect.Tpo -c -o oggSlideshow-kenburnseffect.o `test -f 'kenburnseffect.cpp' || echo '$(srcdir)/'`kenburnseffect.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-kenburnseffect.Tpo $(DEPDIR)/oggSlideshow-kenburnseffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kenburnseffect.cpp' object='oggSlideshow-kenburnseffect.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-kenburnseffect.o `test -f 'kenburnseffect.cpp' || echo '$(srcdir)/'`kenburnseffect.cpp - -oggSlideshow-kenburnseffect.obj: kenburnseffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-kenburnseffect.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-kenburnseffect.Tpo -c -o oggSlideshow-kenburnseffect.obj `if test -f 'kenburnseffect.cpp'; then $(CYGPATH_W) 'kenburnseffect.cpp'; else $(CYGPATH_W) '$(srcdir)/kenburnseffect.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-kenburnseffect.Tpo $(DEPDIR)/oggSlideshow-kenburnseffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kenburnseffect.cpp' object='oggSlideshow-kenburnseffect.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-kenburnseffect.obj `if test -f 'kenburnseffect.cpp'; then $(CYGPATH_W) 'kenburnseffect.cpp'; else $(CYGPATH_W) '$(srcdir)/kenburnseffect.cpp'; fi` - -oggSlideshow-pictureResize.o: pictureResize.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-pictureResize.o -MD -MP -MF $(DEPDIR)/oggSlideshow-pictureResize.Tpo -c -o oggSlideshow-pictureResize.o `test -f 'pictureResize.cpp' || echo '$(srcdir)/'`pictureResize.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-pictureResize.Tpo $(DEPDIR)/oggSlideshow-pictureResize.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureResize.cpp' object='oggSlideshow-pictureResize.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-pictureResize.o `test -f 'pictureResize.cpp' || echo '$(srcdir)/'`pictureResize.cpp - -oggSlideshow-pictureResize.obj: pictureResize.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-pictureResize.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-pictureResize.Tpo -c -o oggSlideshow-pictureResize.obj `if test -f 'pictureResize.cpp'; then $(CYGPATH_W) 'pictureResize.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureResize.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-pictureResize.Tpo $(DEPDIR)/oggSlideshow-pictureResize.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureResize.cpp' object='oggSlideshow-pictureResize.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-pictureResize.obj `if test -f 'pictureResize.cpp'; then $(CYGPATH_W) 'pictureResize.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureResize.cpp'; fi` - -oggSlideshow-pictureBlend.o: pictureBlend.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-pictureBlend.o -MD -MP -MF $(DEPDIR)/oggSlideshow-pictureBlend.Tpo -c -o oggSlideshow-pictureBlend.o `test -f 'pictureBlend.cpp' || echo '$(srcdir)/'`pictureBlend.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-pictureBlend.Tpo $(DEPDIR)/oggSlideshow-pictureBlend.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureBlend.cpp' object='oggSlideshow-pictureBlend.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-pictureBlend.o `test -f 'pictureBlend.cpp' || echo '$(srcdir)/'`pictureBlend.cpp - -oggSlideshow-pictureBlend.obj: pictureBlend.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-pictureBlend.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-pictureBlend.Tpo -c -o oggSlideshow-pictureBlend.obj `if test -f 'pictureBlend.cpp'; then $(CYGPATH_W) 'pictureBlend.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureBlend.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-pictureBlend.Tpo $(DEPDIR)/oggSlideshow-pictureBlend.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureBlend.cpp' object='oggSlideshow-pictureBlend.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-pictureBlend.obj `if test -f 'pictureBlend.cpp'; then $(CYGPATH_W) 'pictureBlend.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureBlend.cpp'; fi` - -oggSlideshow-pictureLoader.o: pictureLoader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-pictureLoader.o -MD -MP -MF $(DEPDIR)/oggSlideshow-pictureLoader.Tpo -c -o oggSlideshow-pictureLoader.o `test -f 'pictureLoader.cpp' || echo '$(srcdir)/'`pictureLoader.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-pictureLoader.Tpo $(DEPDIR)/oggSlideshow-pictureLoader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureLoader.cpp' object='oggSlideshow-pictureLoader.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-pictureLoader.o `test -f 'pictureLoader.cpp' || echo '$(srcdir)/'`pictureLoader.cpp - -oggSlideshow-pictureLoader.obj: pictureLoader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-pictureLoader.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-pictureLoader.Tpo -c -o oggSlideshow-pictureLoader.obj `if test -f 'pictureLoader.cpp'; then $(CYGPATH_W) 'pictureLoader.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureLoader.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-pictureLoader.Tpo $(DEPDIR)/oggSlideshow-pictureLoader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureLoader.cpp' object='oggSlideshow-pictureLoader.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-pictureLoader.obj `if test -f 'pictureLoader.cpp'; then $(CYGPATH_W) 'pictureLoader.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureLoader.cpp'; fi` - -oggSlideshow-blendElement.o: blendElement.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-blendElement.o -MD -MP -MF $(DEPDIR)/oggSlideshow-blendElement.Tpo -c -o oggSlideshow-blendElement.o `test -f 'blendElement.cpp' || echo '$(srcdir)/'`blendElement.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-blendElement.Tpo $(DEPDIR)/oggSlideshow-blendElement.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='blendElement.cpp' object='oggSlideshow-blendElement.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-blendElement.o `test -f 'blendElement.cpp' || echo '$(srcdir)/'`blendElement.cpp - -oggSlideshow-blendElement.obj: blendElement.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-blendElement.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-blendElement.Tpo -c -o oggSlideshow-blendElement.obj `if test -f 'blendElement.cpp'; then $(CYGPATH_W) 'blendElement.cpp'; else $(CYGPATH_W) '$(srcdir)/blendElement.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-blendElement.Tpo $(DEPDIR)/oggSlideshow-blendElement.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='blendElement.cpp' object='oggSlideshow-blendElement.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-blendElement.obj `if test -f 'blendElement.cpp'; then $(CYGPATH_W) 'blendElement.cpp'; else $(CYGPATH_W) '$(srcdir)/blendElement.cpp'; fi` - -oggSlideshow-cmdlineextractor.o: cmdlineextractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-cmdlineextractor.o -MD -MP -MF $(DEPDIR)/oggSlideshow-cmdlineextractor.Tpo -c -o oggSlideshow-cmdlineextractor.o `test -f 'cmdlineextractor.cpp' || echo '$(srcdir)/'`cmdlineextractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-cmdlineextractor.Tpo $(DEPDIR)/oggSlideshow-cmdlineextractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cmdlineextractor.cpp' object='oggSlideshow-cmdlineextractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-cmdlineextractor.o `test -f 'cmdlineextractor.cpp' || echo '$(srcdir)/'`cmdlineextractor.cpp - -oggSlideshow-cmdlineextractor.obj: cmdlineextractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-cmdlineextractor.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-cmdlineextractor.Tpo -c -o oggSlideshow-cmdlineextractor.obj `if test -f 'cmdlineextractor.cpp'; then $(CYGPATH_W) 'cmdlineextractor.cpp'; else $(CYGPATH_W) '$(srcdir)/cmdlineextractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-cmdlineextractor.Tpo $(DEPDIR)/oggSlideshow-cmdlineextractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cmdlineextractor.cpp' object='oggSlideshow-cmdlineextractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-cmdlineextractor.obj `if test -f 'cmdlineextractor.cpp'; then $(CYGPATH_W) 'cmdlineextractor.cpp'; else $(CYGPATH_W) '$(srcdir)/cmdlineextractor.cpp'; fi` - -oggSlideshow-oggSlideshow.o: oggSlideshow.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggSlideshow.o -MD -MP -MF $(DEPDIR)/oggSlideshow-oggSlideshow.Tpo -c -o oggSlideshow-oggSlideshow.o `test -f 'oggSlideshow.cpp' || echo '$(srcdir)/'`oggSlideshow.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggSlideshow.Tpo $(DEPDIR)/oggSlideshow-oggSlideshow.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggSlideshow.cpp' object='oggSlideshow-oggSlideshow.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggSlideshow.o `test -f 'oggSlideshow.cpp' || echo '$(srcdir)/'`oggSlideshow.cpp - -oggSlideshow-oggSlideshow.obj: oggSlideshow.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -MT oggSlideshow-oggSlideshow.obj -MD -MP -MF $(DEPDIR)/oggSlideshow-oggSlideshow.Tpo -c -o oggSlideshow-oggSlideshow.obj `if test -f 'oggSlideshow.cpp'; then $(CYGPATH_W) 'oggSlideshow.cpp'; else $(CYGPATH_W) '$(srcdir)/oggSlideshow.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggSlideshow-oggSlideshow.Tpo $(DEPDIR)/oggSlideshow-oggSlideshow.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggSlideshow.cpp' object='oggSlideshow-oggSlideshow.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggSlideshow_CXXFLAGS) $(CXXFLAGS) -c -o oggSlideshow-oggSlideshow.obj `if test -f 'oggSlideshow.cpp'; then $(CYGPATH_W) 'oggSlideshow.cpp'; else $(CYGPATH_W) '$(srcdir)/oggSlideshow.cpp'; fi` - -oggThumb-mediaUnit.o: mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaUnit.o -MD -MP -MF $(DEPDIR)/oggThumb-mediaUnit.Tpo -c -o oggThumb-mediaUnit.o `test -f 'mediaUnit.cpp' || echo '$(srcdir)/'`mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaUnit.Tpo $(DEPDIR)/oggThumb-mediaUnit.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaUnit.cpp' object='oggThumb-mediaUnit.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaUnit.o `test -f 'mediaUnit.cpp' || echo '$(srcdir)/'`mediaUnit.cpp - -oggThumb-mediaUnit.obj: mediaUnit.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaUnit.obj -MD -MP -MF $(DEPDIR)/oggThumb-mediaUnit.Tpo -c -o oggThumb-mediaUnit.obj `if test -f 'mediaUnit.cpp'; then $(CYGPATH_W) 'mediaUnit.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaUnit.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaUnit.Tpo $(DEPDIR)/oggThumb-mediaUnit.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaUnit.cpp' object='oggThumb-mediaUnit.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaUnit.obj `if test -f 'mediaUnit.cpp'; then $(CYGPATH_W) 'mediaUnit.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaUnit.cpp'; fi` - -oggThumb-mediaRepository.o: mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaRepository.o -MD -MP -MF $(DEPDIR)/oggThumb-mediaRepository.Tpo -c -o oggThumb-mediaRepository.o `test -f 'mediaRepository.cpp' || echo '$(srcdir)/'`mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaRepository.Tpo $(DEPDIR)/oggThumb-mediaRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaRepository.cpp' object='oggThumb-mediaRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaRepository.o `test -f 'mediaRepository.cpp' || echo '$(srcdir)/'`mediaRepository.cpp - -oggThumb-mediaRepository.obj: mediaRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaRepository.obj -MD -MP -MF $(DEPDIR)/oggThumb-mediaRepository.Tpo -c -o oggThumb-mediaRepository.obj `if test -f 'mediaRepository.cpp'; then $(CYGPATH_W) 'mediaRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaRepository.Tpo $(DEPDIR)/oggThumb-mediaRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaRepository.cpp' object='oggThumb-mediaRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaRepository.obj `if test -f 'mediaRepository.cpp'; then $(CYGPATH_W) 'mediaRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaRepository.cpp'; fi` - -oggThumb-fileRepository.o: fileRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-fileRepository.o -MD -MP -MF $(DEPDIR)/oggThumb-fileRepository.Tpo -c -o oggThumb-fileRepository.o `test -f 'fileRepository.cpp' || echo '$(srcdir)/'`fileRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-fileRepository.Tpo $(DEPDIR)/oggThumb-fileRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fileRepository.cpp' object='oggThumb-fileRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-fileRepository.o `test -f 'fileRepository.cpp' || echo '$(srcdir)/'`fileRepository.cpp - -oggThumb-fileRepository.obj: fileRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-fileRepository.obj -MD -MP -MF $(DEPDIR)/oggThumb-fileRepository.Tpo -c -o oggThumb-fileRepository.obj `if test -f 'fileRepository.cpp'; then $(CYGPATH_W) 'fileRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/fileRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-fileRepository.Tpo $(DEPDIR)/oggThumb-fileRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fileRepository.cpp' object='oggThumb-fileRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-fileRepository.obj `if test -f 'fileRepository.cpp'; then $(CYGPATH_W) 'fileRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/fileRepository.cpp'; fi` - -oggThumb-rawMediaPacket.o: rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-rawMediaPacket.o -MD -MP -MF $(DEPDIR)/oggThumb-rawMediaPacket.Tpo -c -o oggThumb-rawMediaPacket.o `test -f 'rawMediaPacket.cpp' || echo '$(srcdir)/'`rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-rawMediaPacket.Tpo $(DEPDIR)/oggThumb-rawMediaPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rawMediaPacket.cpp' object='oggThumb-rawMediaPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-rawMediaPacket.o `test -f 'rawMediaPacket.cpp' || echo '$(srcdir)/'`rawMediaPacket.cpp - -oggThumb-rawMediaPacket.obj: rawMediaPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-rawMediaPacket.obj -MD -MP -MF $(DEPDIR)/oggThumb-rawMediaPacket.Tpo -c -o oggThumb-rawMediaPacket.obj `if test -f 'rawMediaPacket.cpp'; then $(CYGPATH_W) 'rawMediaPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/rawMediaPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-rawMediaPacket.Tpo $(DEPDIR)/oggThumb-rawMediaPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rawMediaPacket.cpp' object='oggThumb-rawMediaPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-rawMediaPacket.obj `if test -f 'rawMediaPacket.cpp'; then $(CYGPATH_W) 'rawMediaPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/rawMediaPacket.cpp'; fi` - -oggThumb-mediaDecoder.o: mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaDecoder.o -MD -MP -MF $(DEPDIR)/oggThumb-mediaDecoder.Tpo -c -o oggThumb-mediaDecoder.o `test -f 'mediaDecoder.cpp' || echo '$(srcdir)/'`mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaDecoder.Tpo $(DEPDIR)/oggThumb-mediaDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaDecoder.cpp' object='oggThumb-mediaDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaDecoder.o `test -f 'mediaDecoder.cpp' || echo '$(srcdir)/'`mediaDecoder.cpp - -oggThumb-mediaDecoder.obj: mediaDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaDecoder.obj -MD -MP -MF $(DEPDIR)/oggThumb-mediaDecoder.Tpo -c -o oggThumb-mediaDecoder.obj `if test -f 'mediaDecoder.cpp'; then $(CYGPATH_W) 'mediaDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaDecoder.Tpo $(DEPDIR)/oggThumb-mediaDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaDecoder.cpp' object='oggThumb-mediaDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaDecoder.obj `if test -f 'mediaDecoder.cpp'; then $(CYGPATH_W) 'mediaDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaDecoder.cpp'; fi` - -oggThumb-mediaEncoder.o: mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaEncoder.o -MD -MP -MF $(DEPDIR)/oggThumb-mediaEncoder.Tpo -c -o oggThumb-mediaEncoder.o `test -f 'mediaEncoder.cpp' || echo '$(srcdir)/'`mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaEncoder.Tpo $(DEPDIR)/oggThumb-mediaEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaEncoder.cpp' object='oggThumb-mediaEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaEncoder.o `test -f 'mediaEncoder.cpp' || echo '$(srcdir)/'`mediaEncoder.cpp - -oggThumb-mediaEncoder.obj: mediaEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaEncoder.obj -MD -MP -MF $(DEPDIR)/oggThumb-mediaEncoder.Tpo -c -o oggThumb-mediaEncoder.obj `if test -f 'mediaEncoder.cpp'; then $(CYGPATH_W) 'mediaEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaEncoder.Tpo $(DEPDIR)/oggThumb-mediaEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaEncoder.cpp' object='oggThumb-mediaEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaEncoder.obj `if test -f 'mediaEncoder.cpp'; then $(CYGPATH_W) 'mediaEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaEncoder.cpp'; fi` - -oggThumb-mediaConverter.o: mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaConverter.o -MD -MP -MF $(DEPDIR)/oggThumb-mediaConverter.Tpo -c -o oggThumb-mediaConverter.o `test -f 'mediaConverter.cpp' || echo '$(srcdir)/'`mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaConverter.Tpo $(DEPDIR)/oggThumb-mediaConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaConverter.cpp' object='oggThumb-mediaConverter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaConverter.o `test -f 'mediaConverter.cpp' || echo '$(srcdir)/'`mediaConverter.cpp - -oggThumb-mediaConverter.obj: mediaConverter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaConverter.obj -MD -MP -MF $(DEPDIR)/oggThumb-mediaConverter.Tpo -c -o oggThumb-mediaConverter.obj `if test -f 'mediaConverter.cpp'; then $(CYGPATH_W) 'mediaConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaConverter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaConverter.Tpo $(DEPDIR)/oggThumb-mediaConverter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaConverter.cpp' object='oggThumb-mediaConverter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaConverter.obj `if test -f 'mediaConverter.cpp'; then $(CYGPATH_W) 'mediaConverter.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaConverter.cpp'; fi` - -oggThumb-oggDecoder.o: oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggDecoder.o -MD -MP -MF $(DEPDIR)/oggThumb-oggDecoder.Tpo -c -o oggThumb-oggDecoder.o `test -f 'oggDecoder.cpp' || echo '$(srcdir)/'`oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggDecoder.Tpo $(DEPDIR)/oggThumb-oggDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggDecoder.cpp' object='oggThumb-oggDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggDecoder.o `test -f 'oggDecoder.cpp' || echo '$(srcdir)/'`oggDecoder.cpp - -oggThumb-oggDecoder.obj: oggDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggDecoder.obj -MD -MP -MF $(DEPDIR)/oggThumb-oggDecoder.Tpo -c -o oggThumb-oggDecoder.obj `if test -f 'oggDecoder.cpp'; then $(CYGPATH_W) 'oggDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggDecoder.Tpo $(DEPDIR)/oggThumb-oggDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggDecoder.cpp' object='oggThumb-oggDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggDecoder.obj `if test -f 'oggDecoder.cpp'; then $(CYGPATH_W) 'oggDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggDecoder.cpp'; fi` - -oggThumb-oggStreamDecoder.o: oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggStreamDecoder.o -MD -MP -MF $(DEPDIR)/oggThumb-oggStreamDecoder.Tpo -c -o oggThumb-oggStreamDecoder.o `test -f 'oggStreamDecoder.cpp' || echo '$(srcdir)/'`oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggStreamDecoder.Tpo $(DEPDIR)/oggThumb-oggStreamDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamDecoder.cpp' object='oggThumb-oggStreamDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggStreamDecoder.o `test -f 'oggStreamDecoder.cpp' || echo '$(srcdir)/'`oggStreamDecoder.cpp - -oggThumb-oggStreamDecoder.obj: oggStreamDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggStreamDecoder.obj -MD -MP -MF $(DEPDIR)/oggThumb-oggStreamDecoder.Tpo -c -o oggThumb-oggStreamDecoder.obj `if test -f 'oggStreamDecoder.cpp'; then $(CYGPATH_W) 'oggStreamDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggStreamDecoder.Tpo $(DEPDIR)/oggThumb-oggStreamDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamDecoder.cpp' object='oggThumb-oggStreamDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggStreamDecoder.obj `if test -f 'oggStreamDecoder.cpp'; then $(CYGPATH_W) 'oggStreamDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamDecoder.cpp'; fi` - -oggThumb-oggPage.o: oggPage.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggPage.o -MD -MP -MF $(DEPDIR)/oggThumb-oggPage.Tpo -c -o oggThumb-oggPage.o `test -f 'oggPage.cpp' || echo '$(srcdir)/'`oggPage.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggPage.Tpo $(DEPDIR)/oggThumb-oggPage.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPage.cpp' object='oggThumb-oggPage.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggPage.o `test -f 'oggPage.cpp' || echo '$(srcdir)/'`oggPage.cpp - -oggThumb-oggPage.obj: oggPage.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggPage.obj -MD -MP -MF $(DEPDIR)/oggThumb-oggPage.Tpo -c -o oggThumb-oggPage.obj `if test -f 'oggPage.cpp'; then $(CYGPATH_W) 'oggPage.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPage.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggPage.Tpo $(DEPDIR)/oggThumb-oggPage.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPage.cpp' object='oggThumb-oggPage.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggPage.obj `if test -f 'oggPage.cpp'; then $(CYGPATH_W) 'oggPage.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPage.cpp'; fi` - -oggThumb-oggPacket.o: oggPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggPacket.o -MD -MP -MF $(DEPDIR)/oggThumb-oggPacket.Tpo -c -o oggThumb-oggPacket.o `test -f 'oggPacket.cpp' || echo '$(srcdir)/'`oggPacket.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggPacket.Tpo $(DEPDIR)/oggThumb-oggPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPacket.cpp' object='oggThumb-oggPacket.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggPacket.o `test -f 'oggPacket.cpp' || echo '$(srcdir)/'`oggPacket.cpp - -oggThumb-oggPacket.obj: oggPacket.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggPacket.obj -MD -MP -MF $(DEPDIR)/oggThumb-oggPacket.Tpo -c -o oggThumb-oggPacket.obj `if test -f 'oggPacket.cpp'; then $(CYGPATH_W) 'oggPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPacket.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggPacket.Tpo $(DEPDIR)/oggThumb-oggPacket.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggPacket.cpp' object='oggThumb-oggPacket.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggPacket.obj `if test -f 'oggPacket.cpp'; then $(CYGPATH_W) 'oggPacket.cpp'; else $(CYGPATH_W) '$(srcdir)/oggPacket.cpp'; fi` - -oggThumb-ringbuffer.o: ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-ringbuffer.o -MD -MP -MF $(DEPDIR)/oggThumb-ringbuffer.Tpo -c -o oggThumb-ringbuffer.o `test -f 'ringbuffer.cpp' || echo '$(srcdir)/'`ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-ringbuffer.Tpo $(DEPDIR)/oggThumb-ringbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ringbuffer.cpp' object='oggThumb-ringbuffer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-ringbuffer.o `test -f 'ringbuffer.cpp' || echo '$(srcdir)/'`ringbuffer.cpp - -oggThumb-ringbuffer.obj: ringbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-ringbuffer.obj -MD -MP -MF $(DEPDIR)/oggThumb-ringbuffer.Tpo -c -o oggThumb-ringbuffer.obj `if test -f 'ringbuffer.cpp'; then $(CYGPATH_W) 'ringbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/ringbuffer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-ringbuffer.Tpo $(DEPDIR)/oggThumb-ringbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ringbuffer.cpp' object='oggThumb-ringbuffer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-ringbuffer.obj `if test -f 'ringbuffer.cpp'; then $(CYGPATH_W) 'ringbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/ringbuffer.cpp'; fi` - -oggThumb-oggRingbuffer.o: oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggRingbuffer.o -MD -MP -MF $(DEPDIR)/oggThumb-oggRingbuffer.Tpo -c -o oggThumb-oggRingbuffer.o `test -f 'oggRingbuffer.cpp' || echo '$(srcdir)/'`oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggRingbuffer.Tpo $(DEPDIR)/oggThumb-oggRingbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggRingbuffer.cpp' object='oggThumb-oggRingbuffer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggRingbuffer.o `test -f 'oggRingbuffer.cpp' || echo '$(srcdir)/'`oggRingbuffer.cpp - -oggThumb-oggRingbuffer.obj: oggRingbuffer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggRingbuffer.obj -MD -MP -MF $(DEPDIR)/oggThumb-oggRingbuffer.Tpo -c -o oggThumb-oggRingbuffer.obj `if test -f 'oggRingbuffer.cpp'; then $(CYGPATH_W) 'oggRingbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/oggRingbuffer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggRingbuffer.Tpo $(DEPDIR)/oggThumb-oggRingbuffer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggRingbuffer.cpp' object='oggThumb-oggRingbuffer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggRingbuffer.obj `if test -f 'oggRingbuffer.cpp'; then $(CYGPATH_W) 'oggRingbuffer.cpp'; else $(CYGPATH_W) '$(srcdir)/oggRingbuffer.cpp'; fi` - -oggThumb-crc.o: crc.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-crc.o -MD -MP -MF $(DEPDIR)/oggThumb-crc.Tpo -c -o oggThumb-crc.o `test -f 'crc.cpp' || echo '$(srcdir)/'`crc.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-crc.Tpo $(DEPDIR)/oggThumb-crc.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crc.cpp' object='oggThumb-crc.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-crc.o `test -f 'crc.cpp' || echo '$(srcdir)/'`crc.cpp - -oggThumb-crc.obj: crc.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-crc.obj -MD -MP -MF $(DEPDIR)/oggThumb-crc.Tpo -c -o oggThumb-crc.obj `if test -f 'crc.cpp'; then $(CYGPATH_W) 'crc.cpp'; else $(CYGPATH_W) '$(srcdir)/crc.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-crc.Tpo $(DEPDIR)/oggThumb-crc.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crc.cpp' object='oggThumb-crc.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-crc.obj `if test -f 'crc.cpp'; then $(CYGPATH_W) 'crc.cpp'; else $(CYGPATH_W) '$(srcdir)/crc.cpp'; fi` - -oggThumb-granulePosInterpreter.o: granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-granulePosInterpreter.o -MD -MP -MF $(DEPDIR)/oggThumb-granulePosInterpreter.Tpo -c -o oggThumb-granulePosInterpreter.o `test -f 'granulePosInterpreter.cpp' || echo '$(srcdir)/'`granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-granulePosInterpreter.Tpo $(DEPDIR)/oggThumb-granulePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='granulePosInterpreter.cpp' object='oggThumb-granulePosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-granulePosInterpreter.o `test -f 'granulePosInterpreter.cpp' || echo '$(srcdir)/'`granulePosInterpreter.cpp - -oggThumb-granulePosInterpreter.obj: granulePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-granulePosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggThumb-granulePosInterpreter.Tpo -c -o oggThumb-granulePosInterpreter.obj `if test -f 'granulePosInterpreter.cpp'; then $(CYGPATH_W) 'granulePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/granulePosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-granulePosInterpreter.Tpo $(DEPDIR)/oggThumb-granulePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='granulePosInterpreter.cpp' object='oggThumb-granulePosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-granulePosInterpreter.obj `if test -f 'granulePosInterpreter.cpp'; then $(CYGPATH_W) 'granulePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/granulePosInterpreter.cpp'; fi` - -oggThumb-mediaOutputDecoder.o: mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaOutputDecoder.o -MD -MP -MF $(DEPDIR)/oggThumb-mediaOutputDecoder.Tpo -c -o oggThumb-mediaOutputDecoder.o `test -f 'mediaOutputDecoder.cpp' || echo '$(srcdir)/'`mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaOutputDecoder.Tpo $(DEPDIR)/oggThumb-mediaOutputDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaOutputDecoder.cpp' object='oggThumb-mediaOutputDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaOutputDecoder.o `test -f 'mediaOutputDecoder.cpp' || echo '$(srcdir)/'`mediaOutputDecoder.cpp - -oggThumb-mediaOutputDecoder.obj: mediaOutputDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaOutputDecoder.obj -MD -MP -MF $(DEPDIR)/oggThumb-mediaOutputDecoder.Tpo -c -o oggThumb-mediaOutputDecoder.obj `if test -f 'mediaOutputDecoder.cpp'; then $(CYGPATH_W) 'mediaOutputDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaOutputDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaOutputDecoder.Tpo $(DEPDIR)/oggThumb-mediaOutputDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaOutputDecoder.cpp' object='oggThumb-mediaOutputDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaOutputDecoder.obj `if test -f 'mediaOutputDecoder.cpp'; then $(CYGPATH_W) 'mediaOutputDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaOutputDecoder.cpp'; fi` - -oggThumb-mediaInputEncoder.o: mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaInputEncoder.o -MD -MP -MF $(DEPDIR)/oggThumb-mediaInputEncoder.Tpo -c -o oggThumb-mediaInputEncoder.o `test -f 'mediaInputEncoder.cpp' || echo '$(srcdir)/'`mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaInputEncoder.Tpo $(DEPDIR)/oggThumb-mediaInputEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaInputEncoder.cpp' object='oggThumb-mediaInputEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaInputEncoder.o `test -f 'mediaInputEncoder.cpp' || echo '$(srcdir)/'`mediaInputEncoder.cpp - -oggThumb-mediaInputEncoder.obj: mediaInputEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-mediaInputEncoder.obj -MD -MP -MF $(DEPDIR)/oggThumb-mediaInputEncoder.Tpo -c -o oggThumb-mediaInputEncoder.obj `if test -f 'mediaInputEncoder.cpp'; then $(CYGPATH_W) 'mediaInputEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaInputEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-mediaInputEncoder.Tpo $(DEPDIR)/oggThumb-mediaInputEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mediaInputEncoder.cpp' object='oggThumb-mediaInputEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-mediaInputEncoder.obj `if test -f 'mediaInputEncoder.cpp'; then $(CYGPATH_W) 'mediaInputEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/mediaInputEncoder.cpp'; fi` - -oggThumb-streamSerializer.o: streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-streamSerializer.o -MD -MP -MF $(DEPDIR)/oggThumb-streamSerializer.Tpo -c -o oggThumb-streamSerializer.o `test -f 'streamSerializer.cpp' || echo '$(srcdir)/'`streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-streamSerializer.Tpo $(DEPDIR)/oggThumb-streamSerializer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamSerializer.cpp' object='oggThumb-streamSerializer.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-streamSerializer.o `test -f 'streamSerializer.cpp' || echo '$(srcdir)/'`streamSerializer.cpp - -oggThumb-streamSerializer.obj: streamSerializer.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-streamSerializer.obj -MD -MP -MF $(DEPDIR)/oggThumb-streamSerializer.Tpo -c -o oggThumb-streamSerializer.obj `if test -f 'streamSerializer.cpp'; then $(CYGPATH_W) 'streamSerializer.cpp'; else $(CYGPATH_W) '$(srcdir)/streamSerializer.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-streamSerializer.Tpo $(DEPDIR)/oggThumb-streamSerializer.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamSerializer.cpp' object='oggThumb-streamSerializer.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-streamSerializer.obj `if test -f 'streamSerializer.cpp'; then $(CYGPATH_W) 'streamSerializer.cpp'; else $(CYGPATH_W) '$(srcdir)/streamSerializer.cpp'; fi` - -oggThumb-oggBOSExtractorFactory.o: oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggBOSExtractorFactory.o -MD -MP -MF $(DEPDIR)/oggThumb-oggBOSExtractorFactory.Tpo -c -o oggThumb-oggBOSExtractorFactory.o `test -f 'oggBOSExtractorFactory.cpp' || echo '$(srcdir)/'`oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggBOSExtractorFactory.Tpo $(DEPDIR)/oggThumb-oggBOSExtractorFactory.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggBOSExtractorFactory.cpp' object='oggThumb-oggBOSExtractorFactory.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggBOSExtractorFactory.o `test -f 'oggBOSExtractorFactory.cpp' || echo '$(srcdir)/'`oggBOSExtractorFactory.cpp - -oggThumb-oggBOSExtractorFactory.obj: oggBOSExtractorFactory.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggBOSExtractorFactory.obj -MD -MP -MF $(DEPDIR)/oggThumb-oggBOSExtractorFactory.Tpo -c -o oggThumb-oggBOSExtractorFactory.obj `if test -f 'oggBOSExtractorFactory.cpp'; then $(CYGPATH_W) 'oggBOSExtractorFactory.cpp'; else $(CYGPATH_W) '$(srcdir)/oggBOSExtractorFactory.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggBOSExtractorFactory.Tpo $(DEPDIR)/oggThumb-oggBOSExtractorFactory.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggBOSExtractorFactory.cpp' object='oggThumb-oggBOSExtractorFactory.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggBOSExtractorFactory.obj `if test -f 'oggBOSExtractorFactory.cpp'; then $(CYGPATH_W) 'oggBOSExtractorFactory.cpp'; else $(CYGPATH_W) '$(srcdir)/oggBOSExtractorFactory.cpp'; fi` - -oggThumb-oggStreamEncoder.o: oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggStreamEncoder.o -MD -MP -MF $(DEPDIR)/oggThumb-oggStreamEncoder.Tpo -c -o oggThumb-oggStreamEncoder.o `test -f 'oggStreamEncoder.cpp' || echo '$(srcdir)/'`oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggStreamEncoder.Tpo $(DEPDIR)/oggThumb-oggStreamEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamEncoder.cpp' object='oggThumb-oggStreamEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggStreamEncoder.o `test -f 'oggStreamEncoder.cpp' || echo '$(srcdir)/'`oggStreamEncoder.cpp - -oggThumb-oggStreamEncoder.obj: oggStreamEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggStreamEncoder.obj -MD -MP -MF $(DEPDIR)/oggThumb-oggStreamEncoder.Tpo -c -o oggThumb-oggStreamEncoder.obj `if test -f 'oggStreamEncoder.cpp'; then $(CYGPATH_W) 'oggStreamEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggStreamEncoder.Tpo $(DEPDIR)/oggThumb-oggStreamEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggStreamEncoder.cpp' object='oggThumb-oggStreamEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggStreamEncoder.obj `if test -f 'oggStreamEncoder.cpp'; then $(CYGPATH_W) 'oggStreamEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggStreamEncoder.cpp'; fi` - -oggThumb-oggEncoder.o: oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggEncoder.o -MD -MP -MF $(DEPDIR)/oggThumb-oggEncoder.Tpo -c -o oggThumb-oggEncoder.o `test -f 'oggEncoder.cpp' || echo '$(srcdir)/'`oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggEncoder.Tpo $(DEPDIR)/oggThumb-oggEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggEncoder.cpp' object='oggThumb-oggEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggEncoder.o `test -f 'oggEncoder.cpp' || echo '$(srcdir)/'`oggEncoder.cpp - -oggThumb-oggEncoder.obj: oggEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggEncoder.obj -MD -MP -MF $(DEPDIR)/oggThumb-oggEncoder.Tpo -c -o oggThumb-oggEncoder.obj `if test -f 'oggEncoder.cpp'; then $(CYGPATH_W) 'oggEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggEncoder.Tpo $(DEPDIR)/oggThumb-oggEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggEncoder.cpp' object='oggThumb-oggEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggEncoder.obj `if test -f 'oggEncoder.cpp'; then $(CYGPATH_W) 'oggEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/oggEncoder.cpp'; fi` - -oggThumb-streamExtractor.o: streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-streamExtractor.o -MD -MP -MF $(DEPDIR)/oggThumb-streamExtractor.Tpo -c -o oggThumb-streamExtractor.o `test -f 'streamExtractor.cpp' || echo '$(srcdir)/'`streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-streamExtractor.Tpo $(DEPDIR)/oggThumb-streamExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamExtractor.cpp' object='oggThumb-streamExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-streamExtractor.o `test -f 'streamExtractor.cpp' || echo '$(srcdir)/'`streamExtractor.cpp - -oggThumb-streamExtractor.obj: streamExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-streamExtractor.obj -MD -MP -MF $(DEPDIR)/oggThumb-streamExtractor.Tpo -c -o oggThumb-streamExtractor.obj `if test -f 'streamExtractor.cpp'; then $(CYGPATH_W) 'streamExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/streamExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-streamExtractor.Tpo $(DEPDIR)/oggThumb-streamExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamExtractor.cpp' object='oggThumb-streamExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-streamExtractor.obj `if test -f 'streamExtractor.cpp'; then $(CYGPATH_W) 'streamExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/streamExtractor.cpp'; fi` - -oggThumb-streamParameter.o: streamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-streamParameter.o -MD -MP -MF $(DEPDIR)/oggThumb-streamParameter.Tpo -c -o oggThumb-streamParameter.o `test -f 'streamParameter.cpp' || echo '$(srcdir)/'`streamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-streamParameter.Tpo $(DEPDIR)/oggThumb-streamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamParameter.cpp' object='oggThumb-streamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-streamParameter.o `test -f 'streamParameter.cpp' || echo '$(srcdir)/'`streamParameter.cpp - -oggThumb-streamParameter.obj: streamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-streamParameter.obj -MD -MP -MF $(DEPDIR)/oggThumb-streamParameter.Tpo -c -o oggThumb-streamParameter.obj `if test -f 'streamParameter.cpp'; then $(CYGPATH_W) 'streamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/streamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-streamParameter.Tpo $(DEPDIR)/oggThumb-streamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamParameter.cpp' object='oggThumb-streamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-streamParameter.obj `if test -f 'streamParameter.cpp'; then $(CYGPATH_W) 'streamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/streamParameter.cpp'; fi` - -oggThumb-streamMux.o: streamMux.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-streamMux.o -MD -MP -MF $(DEPDIR)/oggThumb-streamMux.Tpo -c -o oggThumb-streamMux.o `test -f 'streamMux.cpp' || echo '$(srcdir)/'`streamMux.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-streamMux.Tpo $(DEPDIR)/oggThumb-streamMux.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamMux.cpp' object='oggThumb-streamMux.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-streamMux.o `test -f 'streamMux.cpp' || echo '$(srcdir)/'`streamMux.cpp - -oggThumb-streamMux.obj: streamMux.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-streamMux.obj -MD -MP -MF $(DEPDIR)/oggThumb-streamMux.Tpo -c -o oggThumb-streamMux.obj `if test -f 'streamMux.cpp'; then $(CYGPATH_W) 'streamMux.cpp'; else $(CYGPATH_W) '$(srcdir)/streamMux.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-streamMux.Tpo $(DEPDIR)/oggThumb-streamMux.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamMux.cpp' object='oggThumb-streamMux.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-streamMux.obj `if test -f 'streamMux.cpp'; then $(CYGPATH_W) 'streamMux.cpp'; else $(CYGPATH_W) '$(srcdir)/streamMux.cpp'; fi` - -oggThumb-bufferRepository.o: bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-bufferRepository.o -MD -MP -MF $(DEPDIR)/oggThumb-bufferRepository.Tpo -c -o oggThumb-bufferRepository.o `test -f 'bufferRepository.cpp' || echo '$(srcdir)/'`bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-bufferRepository.Tpo $(DEPDIR)/oggThumb-bufferRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='bufferRepository.cpp' object='oggThumb-bufferRepository.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-bufferRepository.o `test -f 'bufferRepository.cpp' || echo '$(srcdir)/'`bufferRepository.cpp - -oggThumb-bufferRepository.obj: bufferRepository.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-bufferRepository.obj -MD -MP -MF $(DEPDIR)/oggThumb-bufferRepository.Tpo -c -o oggThumb-bufferRepository.obj `if test -f 'bufferRepository.cpp'; then $(CYGPATH_W) 'bufferRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/bufferRepository.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-bufferRepository.Tpo $(DEPDIR)/oggThumb-bufferRepository.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='bufferRepository.cpp' object='oggThumb-bufferRepository.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-bufferRepository.obj `if test -f 'bufferRepository.cpp'; then $(CYGPATH_W) 'bufferRepository.cpp'; else $(CYGPATH_W) '$(srcdir)/bufferRepository.cpp'; fi` - -oggThumb-oggComment.o: oggComment.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggComment.o -MD -MP -MF $(DEPDIR)/oggThumb-oggComment.Tpo -c -o oggThumb-oggComment.o `test -f 'oggComment.cpp' || echo '$(srcdir)/'`oggComment.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggComment.Tpo $(DEPDIR)/oggThumb-oggComment.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggComment.cpp' object='oggThumb-oggComment.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggComment.o `test -f 'oggComment.cpp' || echo '$(srcdir)/'`oggComment.cpp - -oggThumb-oggComment.obj: oggComment.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggComment.obj -MD -MP -MF $(DEPDIR)/oggThumb-oggComment.Tpo -c -o oggThumb-oggComment.obj `if test -f 'oggComment.cpp'; then $(CYGPATH_W) 'oggComment.cpp'; else $(CYGPATH_W) '$(srcdir)/oggComment.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggComment.Tpo $(DEPDIR)/oggThumb-oggComment.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggComment.cpp' object='oggThumb-oggComment.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggComment.obj `if test -f 'oggComment.cpp'; then $(CYGPATH_W) 'oggComment.cpp'; else $(CYGPATH_W) '$(srcdir)/oggComment.cpp'; fi` - -oggThumb-theoraPosInterpreter.o: theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-theoraPosInterpreter.o -MD -MP -MF $(DEPDIR)/oggThumb-theoraPosInterpreter.Tpo -c -o oggThumb-theoraPosInterpreter.o `test -f 'theoraPosInterpreter.cpp' || echo '$(srcdir)/'`theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-theoraPosInterpreter.Tpo $(DEPDIR)/oggThumb-theoraPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraPosInterpreter.cpp' object='oggThumb-theoraPosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-theoraPosInterpreter.o `test -f 'theoraPosInterpreter.cpp' || echo '$(srcdir)/'`theoraPosInterpreter.cpp - -oggThumb-theoraPosInterpreter.obj: theoraPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-theoraPosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggThumb-theoraPosInterpreter.Tpo -c -o oggThumb-theoraPosInterpreter.obj `if test -f 'theoraPosInterpreter.cpp'; then $(CYGPATH_W) 'theoraPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraPosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-theoraPosInterpreter.Tpo $(DEPDIR)/oggThumb-theoraPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraPosInterpreter.cpp' object='oggThumb-theoraPosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-theoraPosInterpreter.obj `if test -f 'theoraPosInterpreter.cpp'; then $(CYGPATH_W) 'theoraPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraPosInterpreter.cpp'; fi` - -oggThumb-theoraStreamParameter.o: theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-theoraStreamParameter.o -MD -MP -MF $(DEPDIR)/oggThumb-theoraStreamParameter.Tpo -c -o oggThumb-theoraStreamParameter.o `test -f 'theoraStreamParameter.cpp' || echo '$(srcdir)/'`theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-theoraStreamParameter.Tpo $(DEPDIR)/oggThumb-theoraStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraStreamParameter.cpp' object='oggThumb-theoraStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-theoraStreamParameter.o `test -f 'theoraStreamParameter.cpp' || echo '$(srcdir)/'`theoraStreamParameter.cpp - -oggThumb-theoraStreamParameter.obj: theoraStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-theoraStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggThumb-theoraStreamParameter.Tpo -c -o oggThumb-theoraStreamParameter.obj `if test -f 'theoraStreamParameter.cpp'; then $(CYGPATH_W) 'theoraStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-theoraStreamParameter.Tpo $(DEPDIR)/oggThumb-theoraStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraStreamParameter.cpp' object='oggThumb-theoraStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-theoraStreamParameter.obj `if test -f 'theoraStreamParameter.cpp'; then $(CYGPATH_W) 'theoraStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraStreamParameter.cpp'; fi` - -oggThumb-theoraExtractor.o: theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-theoraExtractor.o -MD -MP -MF $(DEPDIR)/oggThumb-theoraExtractor.Tpo -c -o oggThumb-theoraExtractor.o `test -f 'theoraExtractor.cpp' || echo '$(srcdir)/'`theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-theoraExtractor.Tpo $(DEPDIR)/oggThumb-theoraExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraExtractor.cpp' object='oggThumb-theoraExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-theoraExtractor.o `test -f 'theoraExtractor.cpp' || echo '$(srcdir)/'`theoraExtractor.cpp - -oggThumb-theoraExtractor.obj: theoraExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-theoraExtractor.obj -MD -MP -MF $(DEPDIR)/oggThumb-theoraExtractor.Tpo -c -o oggThumb-theoraExtractor.obj `if test -f 'theoraExtractor.cpp'; then $(CYGPATH_W) 'theoraExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-theoraExtractor.Tpo $(DEPDIR)/oggThumb-theoraExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraExtractor.cpp' object='oggThumb-theoraExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-theoraExtractor.obj `if test -f 'theoraExtractor.cpp'; then $(CYGPATH_W) 'theoraExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraExtractor.cpp'; fi` - -oggThumb-vorbisPosInterpreter.o: vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-vorbisPosInterpreter.o -MD -MP -MF $(DEPDIR)/oggThumb-vorbisPosInterpreter.Tpo -c -o oggThumb-vorbisPosInterpreter.o `test -f 'vorbisPosInterpreter.cpp' || echo '$(srcdir)/'`vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-vorbisPosInterpreter.Tpo $(DEPDIR)/oggThumb-vorbisPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisPosInterpreter.cpp' object='oggThumb-vorbisPosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-vorbisPosInterpreter.o `test -f 'vorbisPosInterpreter.cpp' || echo '$(srcdir)/'`vorbisPosInterpreter.cpp - -oggThumb-vorbisPosInterpreter.obj: vorbisPosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-vorbisPosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggThumb-vorbisPosInterpreter.Tpo -c -o oggThumb-vorbisPosInterpreter.obj `if test -f 'vorbisPosInterpreter.cpp'; then $(CYGPATH_W) 'vorbisPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisPosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-vorbisPosInterpreter.Tpo $(DEPDIR)/oggThumb-vorbisPosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisPosInterpreter.cpp' object='oggThumb-vorbisPosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-vorbisPosInterpreter.obj `if test -f 'vorbisPosInterpreter.cpp'; then $(CYGPATH_W) 'vorbisPosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisPosInterpreter.cpp'; fi` - -oggThumb-vorbisStreamParameter.o: vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-vorbisStreamParameter.o -MD -MP -MF $(DEPDIR)/oggThumb-vorbisStreamParameter.Tpo -c -o oggThumb-vorbisStreamParameter.o `test -f 'vorbisStreamParameter.cpp' || echo '$(srcdir)/'`vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-vorbisStreamParameter.Tpo $(DEPDIR)/oggThumb-vorbisStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisStreamParameter.cpp' object='oggThumb-vorbisStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-vorbisStreamParameter.o `test -f 'vorbisStreamParameter.cpp' || echo '$(srcdir)/'`vorbisStreamParameter.cpp - -oggThumb-vorbisStreamParameter.obj: vorbisStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-vorbisStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggThumb-vorbisStreamParameter.Tpo -c -o oggThumb-vorbisStreamParameter.obj `if test -f 'vorbisStreamParameter.cpp'; then $(CYGPATH_W) 'vorbisStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-vorbisStreamParameter.Tpo $(DEPDIR)/oggThumb-vorbisStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisStreamParameter.cpp' object='oggThumb-vorbisStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-vorbisStreamParameter.obj `if test -f 'vorbisStreamParameter.cpp'; then $(CYGPATH_W) 'vorbisStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisStreamParameter.cpp'; fi` - -oggThumb-vorbisExtractor.o: vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-vorbisExtractor.o -MD -MP -MF $(DEPDIR)/oggThumb-vorbisExtractor.Tpo -c -o oggThumb-vorbisExtractor.o `test -f 'vorbisExtractor.cpp' || echo '$(srcdir)/'`vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-vorbisExtractor.Tpo $(DEPDIR)/oggThumb-vorbisExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisExtractor.cpp' object='oggThumb-vorbisExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-vorbisExtractor.o `test -f 'vorbisExtractor.cpp' || echo '$(srcdir)/'`vorbisExtractor.cpp - -oggThumb-vorbisExtractor.obj: vorbisExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-vorbisExtractor.obj -MD -MP -MF $(DEPDIR)/oggThumb-vorbisExtractor.Tpo -c -o oggThumb-vorbisExtractor.obj `if test -f 'vorbisExtractor.cpp'; then $(CYGPATH_W) 'vorbisExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-vorbisExtractor.Tpo $(DEPDIR)/oggThumb-vorbisExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='vorbisExtractor.cpp' object='oggThumb-vorbisExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-vorbisExtractor.obj `if test -f 'vorbisExtractor.cpp'; then $(CYGPATH_W) 'vorbisExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/vorbisExtractor.cpp'; fi` - -oggThumb-katePosInterpreter.o: katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-katePosInterpreter.o -MD -MP -MF $(DEPDIR)/oggThumb-katePosInterpreter.Tpo -c -o oggThumb-katePosInterpreter.o `test -f 'katePosInterpreter.cpp' || echo '$(srcdir)/'`katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-katePosInterpreter.Tpo $(DEPDIR)/oggThumb-katePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='katePosInterpreter.cpp' object='oggThumb-katePosInterpreter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-katePosInterpreter.o `test -f 'katePosInterpreter.cpp' || echo '$(srcdir)/'`katePosInterpreter.cpp - -oggThumb-katePosInterpreter.obj: katePosInterpreter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-katePosInterpreter.obj -MD -MP -MF $(DEPDIR)/oggThumb-katePosInterpreter.Tpo -c -o oggThumb-katePosInterpreter.obj `if test -f 'katePosInterpreter.cpp'; then $(CYGPATH_W) 'katePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/katePosInterpreter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-katePosInterpreter.Tpo $(DEPDIR)/oggThumb-katePosInterpreter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='katePosInterpreter.cpp' object='oggThumb-katePosInterpreter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-katePosInterpreter.obj `if test -f 'katePosInterpreter.cpp'; then $(CYGPATH_W) 'katePosInterpreter.cpp'; else $(CYGPATH_W) '$(srcdir)/katePosInterpreter.cpp'; fi` - -oggThumb-kateStreamParameter.o: kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-kateStreamParameter.o -MD -MP -MF $(DEPDIR)/oggThumb-kateStreamParameter.Tpo -c -o oggThumb-kateStreamParameter.o `test -f 'kateStreamParameter.cpp' || echo '$(srcdir)/'`kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-kateStreamParameter.Tpo $(DEPDIR)/oggThumb-kateStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateStreamParameter.cpp' object='oggThumb-kateStreamParameter.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-kateStreamParameter.o `test -f 'kateStreamParameter.cpp' || echo '$(srcdir)/'`kateStreamParameter.cpp - -oggThumb-kateStreamParameter.obj: kateStreamParameter.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-kateStreamParameter.obj -MD -MP -MF $(DEPDIR)/oggThumb-kateStreamParameter.Tpo -c -o oggThumb-kateStreamParameter.obj `if test -f 'kateStreamParameter.cpp'; then $(CYGPATH_W) 'kateStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/kateStreamParameter.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-kateStreamParameter.Tpo $(DEPDIR)/oggThumb-kateStreamParameter.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateStreamParameter.cpp' object='oggThumb-kateStreamParameter.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-kateStreamParameter.obj `if test -f 'kateStreamParameter.cpp'; then $(CYGPATH_W) 'kateStreamParameter.cpp'; else $(CYGPATH_W) '$(srcdir)/kateStreamParameter.cpp'; fi` - -oggThumb-kateExtractor.o: kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-kateExtractor.o -MD -MP -MF $(DEPDIR)/oggThumb-kateExtractor.Tpo -c -o oggThumb-kateExtractor.o `test -f 'kateExtractor.cpp' || echo '$(srcdir)/'`kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-kateExtractor.Tpo $(DEPDIR)/oggThumb-kateExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateExtractor.cpp' object='oggThumb-kateExtractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-kateExtractor.o `test -f 'kateExtractor.cpp' || echo '$(srcdir)/'`kateExtractor.cpp - -oggThumb-kateExtractor.obj: kateExtractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-kateExtractor.obj -MD -MP -MF $(DEPDIR)/oggThumb-kateExtractor.Tpo -c -o oggThumb-kateExtractor.obj `if test -f 'kateExtractor.cpp'; then $(CYGPATH_W) 'kateExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/kateExtractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-kateExtractor.Tpo $(DEPDIR)/oggThumb-kateExtractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kateExtractor.cpp' object='oggThumb-kateExtractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-kateExtractor.obj `if test -f 'kateExtractor.cpp'; then $(CYGPATH_W) 'kateExtractor.cpp'; else $(CYGPATH_W) '$(srcdir)/kateExtractor.cpp'; fi` - -oggThumb-theoraDecoder.o: theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-theoraDecoder.o -MD -MP -MF $(DEPDIR)/oggThumb-theoraDecoder.Tpo -c -o oggThumb-theoraDecoder.o `test -f 'theoraDecoder.cpp' || echo '$(srcdir)/'`theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-theoraDecoder.Tpo $(DEPDIR)/oggThumb-theoraDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraDecoder.cpp' object='oggThumb-theoraDecoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-theoraDecoder.o `test -f 'theoraDecoder.cpp' || echo '$(srcdir)/'`theoraDecoder.cpp - -oggThumb-theoraDecoder.obj: theoraDecoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-theoraDecoder.obj -MD -MP -MF $(DEPDIR)/oggThumb-theoraDecoder.Tpo -c -o oggThumb-theoraDecoder.obj `if test -f 'theoraDecoder.cpp'; then $(CYGPATH_W) 'theoraDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraDecoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-theoraDecoder.Tpo $(DEPDIR)/oggThumb-theoraDecoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraDecoder.cpp' object='oggThumb-theoraDecoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-theoraDecoder.obj `if test -f 'theoraDecoder.cpp'; then $(CYGPATH_W) 'theoraDecoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraDecoder.cpp'; fi` - -oggThumb-theoraEncoder.o: theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-theoraEncoder.o -MD -MP -MF $(DEPDIR)/oggThumb-theoraEncoder.Tpo -c -o oggThumb-theoraEncoder.o `test -f 'theoraEncoder.cpp' || echo '$(srcdir)/'`theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-theoraEncoder.Tpo $(DEPDIR)/oggThumb-theoraEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraEncoder.cpp' object='oggThumb-theoraEncoder.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-theoraEncoder.o `test -f 'theoraEncoder.cpp' || echo '$(srcdir)/'`theoraEncoder.cpp - -oggThumb-theoraEncoder.obj: theoraEncoder.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-theoraEncoder.obj -MD -MP -MF $(DEPDIR)/oggThumb-theoraEncoder.Tpo -c -o oggThumb-theoraEncoder.obj `if test -f 'theoraEncoder.cpp'; then $(CYGPATH_W) 'theoraEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraEncoder.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-theoraEncoder.Tpo $(DEPDIR)/oggThumb-theoraEncoder.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='theoraEncoder.cpp' object='oggThumb-theoraEncoder.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-theoraEncoder.obj `if test -f 'theoraEncoder.cpp'; then $(CYGPATH_W) 'theoraEncoder.cpp'; else $(CYGPATH_W) '$(srcdir)/theoraEncoder.cpp'; fi` - -oggThumb-basePlane.o: basePlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-basePlane.o -MD -MP -MF $(DEPDIR)/oggThumb-basePlane.Tpo -c -o oggThumb-basePlane.o `test -f 'basePlane.cpp' || echo '$(srcdir)/'`basePlane.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-basePlane.Tpo $(DEPDIR)/oggThumb-basePlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='basePlane.cpp' object='oggThumb-basePlane.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-basePlane.o `test -f 'basePlane.cpp' || echo '$(srcdir)/'`basePlane.cpp - -oggThumb-basePlane.obj: basePlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-basePlane.obj -MD -MP -MF $(DEPDIR)/oggThumb-basePlane.Tpo -c -o oggThumb-basePlane.obj `if test -f 'basePlane.cpp'; then $(CYGPATH_W) 'basePlane.cpp'; else $(CYGPATH_W) '$(srcdir)/basePlane.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-basePlane.Tpo $(DEPDIR)/oggThumb-basePlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='basePlane.cpp' object='oggThumb-basePlane.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-basePlane.obj `if test -f 'basePlane.cpp'; then $(CYGPATH_W) 'basePlane.cpp'; else $(CYGPATH_W) '$(srcdir)/basePlane.cpp'; fi` - -oggThumb-rgbPlane.o: rgbPlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-rgbPlane.o -MD -MP -MF $(DEPDIR)/oggThumb-rgbPlane.Tpo -c -o oggThumb-rgbPlane.o `test -f 'rgbPlane.cpp' || echo '$(srcdir)/'`rgbPlane.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-rgbPlane.Tpo $(DEPDIR)/oggThumb-rgbPlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rgbPlane.cpp' object='oggThumb-rgbPlane.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-rgbPlane.o `test -f 'rgbPlane.cpp' || echo '$(srcdir)/'`rgbPlane.cpp - -oggThumb-rgbPlane.obj: rgbPlane.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-rgbPlane.obj -MD -MP -MF $(DEPDIR)/oggThumb-rgbPlane.Tpo -c -o oggThumb-rgbPlane.obj `if test -f 'rgbPlane.cpp'; then $(CYGPATH_W) 'rgbPlane.cpp'; else $(CYGPATH_W) '$(srcdir)/rgbPlane.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-rgbPlane.Tpo $(DEPDIR)/oggThumb-rgbPlane.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rgbPlane.cpp' object='oggThumb-rgbPlane.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-rgbPlane.obj `if test -f 'rgbPlane.cpp'; then $(CYGPATH_W) 'rgbPlane.cpp'; else $(CYGPATH_W) '$(srcdir)/rgbPlane.cpp'; fi` - -oggThumb-effector.o: effector.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-effector.o -MD -MP -MF $(DEPDIR)/oggThumb-effector.Tpo -c -o oggThumb-effector.o `test -f 'effector.cpp' || echo '$(srcdir)/'`effector.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-effector.Tpo $(DEPDIR)/oggThumb-effector.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='effector.cpp' object='oggThumb-effector.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-effector.o `test -f 'effector.cpp' || echo '$(srcdir)/'`effector.cpp - -oggThumb-effector.obj: effector.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-effector.obj -MD -MP -MF $(DEPDIR)/oggThumb-effector.Tpo -c -o oggThumb-effector.obj `if test -f 'effector.cpp'; then $(CYGPATH_W) 'effector.cpp'; else $(CYGPATH_W) '$(srcdir)/effector.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-effector.Tpo $(DEPDIR)/oggThumb-effector.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='effector.cpp' object='oggThumb-effector.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-effector.obj `if test -f 'effector.cpp'; then $(CYGPATH_W) 'effector.cpp'; else $(CYGPATH_W) '$(srcdir)/effector.cpp'; fi` - -oggThumb-crossfader.o: crossfader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-crossfader.o -MD -MP -MF $(DEPDIR)/oggThumb-crossfader.Tpo -c -o oggThumb-crossfader.o `test -f 'crossfader.cpp' || echo '$(srcdir)/'`crossfader.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-crossfader.Tpo $(DEPDIR)/oggThumb-crossfader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crossfader.cpp' object='oggThumb-crossfader.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-crossfader.o `test -f 'crossfader.cpp' || echo '$(srcdir)/'`crossfader.cpp - -oggThumb-crossfader.obj: crossfader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-crossfader.obj -MD -MP -MF $(DEPDIR)/oggThumb-crossfader.Tpo -c -o oggThumb-crossfader.obj `if test -f 'crossfader.cpp'; then $(CYGPATH_W) 'crossfader.cpp'; else $(CYGPATH_W) '$(srcdir)/crossfader.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-crossfader.Tpo $(DEPDIR)/oggThumb-crossfader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='crossfader.cpp' object='oggThumb-crossfader.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-crossfader.obj `if test -f 'crossfader.cpp'; then $(CYGPATH_W) 'crossfader.cpp'; else $(CYGPATH_W) '$(srcdir)/crossfader.cpp'; fi` - -oggThumb-plainPicture.o: plainPicture.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-plainPicture.o -MD -MP -MF $(DEPDIR)/oggThumb-plainPicture.Tpo -c -o oggThumb-plainPicture.o `test -f 'plainPicture.cpp' || echo '$(srcdir)/'`plainPicture.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-plainPicture.Tpo $(DEPDIR)/oggThumb-plainPicture.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='plainPicture.cpp' object='oggThumb-plainPicture.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-plainPicture.o `test -f 'plainPicture.cpp' || echo '$(srcdir)/'`plainPicture.cpp - -oggThumb-plainPicture.obj: plainPicture.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-plainPicture.obj -MD -MP -MF $(DEPDIR)/oggThumb-plainPicture.Tpo -c -o oggThumb-plainPicture.obj `if test -f 'plainPicture.cpp'; then $(CYGPATH_W) 'plainPicture.cpp'; else $(CYGPATH_W) '$(srcdir)/plainPicture.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-plainPicture.Tpo $(DEPDIR)/oggThumb-plainPicture.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='plainPicture.cpp' object='oggThumb-plainPicture.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-plainPicture.obj `if test -f 'plainPicture.cpp'; then $(CYGPATH_W) 'plainPicture.cpp'; else $(CYGPATH_W) '$(srcdir)/plainPicture.cpp'; fi` - -oggThumb-lowpassEffect.o: lowpassEffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-lowpassEffect.o -MD -MP -MF $(DEPDIR)/oggThumb-lowpassEffect.Tpo -c -o oggThumb-lowpassEffect.o `test -f 'lowpassEffect.cpp' || echo '$(srcdir)/'`lowpassEffect.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-lowpassEffect.Tpo $(DEPDIR)/oggThumb-lowpassEffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lowpassEffect.cpp' object='oggThumb-lowpassEffect.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-lowpassEffect.o `test -f 'lowpassEffect.cpp' || echo '$(srcdir)/'`lowpassEffect.cpp - -oggThumb-lowpassEffect.obj: lowpassEffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-lowpassEffect.obj -MD -MP -MF $(DEPDIR)/oggThumb-lowpassEffect.Tpo -c -o oggThumb-lowpassEffect.obj `if test -f 'lowpassEffect.cpp'; then $(CYGPATH_W) 'lowpassEffect.cpp'; else $(CYGPATH_W) '$(srcdir)/lowpassEffect.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-lowpassEffect.Tpo $(DEPDIR)/oggThumb-lowpassEffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lowpassEffect.cpp' object='oggThumb-lowpassEffect.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-lowpassEffect.obj `if test -f 'lowpassEffect.cpp'; then $(CYGPATH_W) 'lowpassEffect.cpp'; else $(CYGPATH_W) '$(srcdir)/lowpassEffect.cpp'; fi` - -oggThumb-kenburnseffect.o: kenburnseffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-kenburnseffect.o -MD -MP -MF $(DEPDIR)/oggThumb-kenburnseffect.Tpo -c -o oggThumb-kenburnseffect.o `test -f 'kenburnseffect.cpp' || echo '$(srcdir)/'`kenburnseffect.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-kenburnseffect.Tpo $(DEPDIR)/oggThumb-kenburnseffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kenburnseffect.cpp' object='oggThumb-kenburnseffect.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-kenburnseffect.o `test -f 'kenburnseffect.cpp' || echo '$(srcdir)/'`kenburnseffect.cpp - -oggThumb-kenburnseffect.obj: kenburnseffect.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-kenburnseffect.obj -MD -MP -MF $(DEPDIR)/oggThumb-kenburnseffect.Tpo -c -o oggThumb-kenburnseffect.obj `if test -f 'kenburnseffect.cpp'; then $(CYGPATH_W) 'kenburnseffect.cpp'; else $(CYGPATH_W) '$(srcdir)/kenburnseffect.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-kenburnseffect.Tpo $(DEPDIR)/oggThumb-kenburnseffect.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='kenburnseffect.cpp' object='oggThumb-kenburnseffect.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-kenburnseffect.obj `if test -f 'kenburnseffect.cpp'; then $(CYGPATH_W) 'kenburnseffect.cpp'; else $(CYGPATH_W) '$(srcdir)/kenburnseffect.cpp'; fi` - -oggThumb-pictureResize.o: pictureResize.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-pictureResize.o -MD -MP -MF $(DEPDIR)/oggThumb-pictureResize.Tpo -c -o oggThumb-pictureResize.o `test -f 'pictureResize.cpp' || echo '$(srcdir)/'`pictureResize.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-pictureResize.Tpo $(DEPDIR)/oggThumb-pictureResize.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureResize.cpp' object='oggThumb-pictureResize.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-pictureResize.o `test -f 'pictureResize.cpp' || echo '$(srcdir)/'`pictureResize.cpp - -oggThumb-pictureResize.obj: pictureResize.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-pictureResize.obj -MD -MP -MF $(DEPDIR)/oggThumb-pictureResize.Tpo -c -o oggThumb-pictureResize.obj `if test -f 'pictureResize.cpp'; then $(CYGPATH_W) 'pictureResize.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureResize.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-pictureResize.Tpo $(DEPDIR)/oggThumb-pictureResize.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureResize.cpp' object='oggThumb-pictureResize.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-pictureResize.obj `if test -f 'pictureResize.cpp'; then $(CYGPATH_W) 'pictureResize.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureResize.cpp'; fi` - -oggThumb-pictureBlend.o: pictureBlend.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-pictureBlend.o -MD -MP -MF $(DEPDIR)/oggThumb-pictureBlend.Tpo -c -o oggThumb-pictureBlend.o `test -f 'pictureBlend.cpp' || echo '$(srcdir)/'`pictureBlend.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-pictureBlend.Tpo $(DEPDIR)/oggThumb-pictureBlend.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureBlend.cpp' object='oggThumb-pictureBlend.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-pictureBlend.o `test -f 'pictureBlend.cpp' || echo '$(srcdir)/'`pictureBlend.cpp - -oggThumb-pictureBlend.obj: pictureBlend.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-pictureBlend.obj -MD -MP -MF $(DEPDIR)/oggThumb-pictureBlend.Tpo -c -o oggThumb-pictureBlend.obj `if test -f 'pictureBlend.cpp'; then $(CYGPATH_W) 'pictureBlend.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureBlend.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-pictureBlend.Tpo $(DEPDIR)/oggThumb-pictureBlend.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureBlend.cpp' object='oggThumb-pictureBlend.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-pictureBlend.obj `if test -f 'pictureBlend.cpp'; then $(CYGPATH_W) 'pictureBlend.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureBlend.cpp'; fi` - -oggThumb-pictureLoader.o: pictureLoader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-pictureLoader.o -MD -MP -MF $(DEPDIR)/oggThumb-pictureLoader.Tpo -c -o oggThumb-pictureLoader.o `test -f 'pictureLoader.cpp' || echo '$(srcdir)/'`pictureLoader.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-pictureLoader.Tpo $(DEPDIR)/oggThumb-pictureLoader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureLoader.cpp' object='oggThumb-pictureLoader.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-pictureLoader.o `test -f 'pictureLoader.cpp' || echo '$(srcdir)/'`pictureLoader.cpp - -oggThumb-pictureLoader.obj: pictureLoader.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-pictureLoader.obj -MD -MP -MF $(DEPDIR)/oggThumb-pictureLoader.Tpo -c -o oggThumb-pictureLoader.obj `if test -f 'pictureLoader.cpp'; then $(CYGPATH_W) 'pictureLoader.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureLoader.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-pictureLoader.Tpo $(DEPDIR)/oggThumb-pictureLoader.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pictureLoader.cpp' object='oggThumb-pictureLoader.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-pictureLoader.obj `if test -f 'pictureLoader.cpp'; then $(CYGPATH_W) 'pictureLoader.cpp'; else $(CYGPATH_W) '$(srcdir)/pictureLoader.cpp'; fi` - -oggThumb-blendElement.o: blendElement.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-blendElement.o -MD -MP -MF $(DEPDIR)/oggThumb-blendElement.Tpo -c -o oggThumb-blendElement.o `test -f 'blendElement.cpp' || echo '$(srcdir)/'`blendElement.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-blendElement.Tpo $(DEPDIR)/oggThumb-blendElement.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='blendElement.cpp' object='oggThumb-blendElement.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-blendElement.o `test -f 'blendElement.cpp' || echo '$(srcdir)/'`blendElement.cpp - -oggThumb-blendElement.obj: blendElement.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-blendElement.obj -MD -MP -MF $(DEPDIR)/oggThumb-blendElement.Tpo -c -o oggThumb-blendElement.obj `if test -f 'blendElement.cpp'; then $(CYGPATH_W) 'blendElement.cpp'; else $(CYGPATH_W) '$(srcdir)/blendElement.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-blendElement.Tpo $(DEPDIR)/oggThumb-blendElement.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='blendElement.cpp' object='oggThumb-blendElement.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-blendElement.obj `if test -f 'blendElement.cpp'; then $(CYGPATH_W) 'blendElement.cpp'; else $(CYGPATH_W) '$(srcdir)/blendElement.cpp'; fi` - -oggThumb-cmdlineextractor.o: cmdlineextractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-cmdlineextractor.o -MD -MP -MF $(DEPDIR)/oggThumb-cmdlineextractor.Tpo -c -o oggThumb-cmdlineextractor.o `test -f 'cmdlineextractor.cpp' || echo '$(srcdir)/'`cmdlineextractor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-cmdlineextractor.Tpo $(DEPDIR)/oggThumb-cmdlineextractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cmdlineextractor.cpp' object='oggThumb-cmdlineextractor.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-cmdlineextractor.o `test -f 'cmdlineextractor.cpp' || echo '$(srcdir)/'`cmdlineextractor.cpp - -oggThumb-cmdlineextractor.obj: cmdlineextractor.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-cmdlineextractor.obj -MD -MP -MF $(DEPDIR)/oggThumb-cmdlineextractor.Tpo -c -o oggThumb-cmdlineextractor.obj `if test -f 'cmdlineextractor.cpp'; then $(CYGPATH_W) 'cmdlineextractor.cpp'; else $(CYGPATH_W) '$(srcdir)/cmdlineextractor.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-cmdlineextractor.Tpo $(DEPDIR)/oggThumb-cmdlineextractor.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cmdlineextractor.cpp' object='oggThumb-cmdlineextractor.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-cmdlineextractor.obj `if test -f 'cmdlineextractor.cpp'; then $(CYGPATH_W) 'cmdlineextractor.cpp'; else $(CYGPATH_W) '$(srcdir)/cmdlineextractor.cpp'; fi` - -oggThumb-oggThumb.o: oggThumb.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggThumb.o -MD -MP -MF $(DEPDIR)/oggThumb-oggThumb.Tpo -c -o oggThumb-oggThumb.o `test -f 'oggThumb.cpp' || echo '$(srcdir)/'`oggThumb.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggThumb.Tpo $(DEPDIR)/oggThumb-oggThumb.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggThumb.cpp' object='oggThumb-oggThumb.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggThumb.o `test -f 'oggThumb.cpp' || echo '$(srcdir)/'`oggThumb.cpp - -oggThumb-oggThumb.obj: oggThumb.cpp -@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -MT oggThumb-oggThumb.obj -MD -MP -MF $(DEPDIR)/oggThumb-oggThumb.Tpo -c -o oggThumb-oggThumb.obj `if test -f 'oggThumb.cpp'; then $(CYGPATH_W) 'oggThumb.cpp'; else $(CYGPATH_W) '$(srcdir)/oggThumb.cpp'; fi` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/oggThumb-oggThumb.Tpo $(DEPDIR)/oggThumb-oggThumb.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='oggThumb.cpp' object='oggThumb-oggThumb.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(oggThumb_CXXFLAGS) $(CXXFLAGS) -c -o oggThumb-oggThumb.obj `if test -f 'oggThumb.cpp'; then $(CYGPATH_W) 'oggThumb.cpp'; else $(CYGPATH_W) '$(srcdir)/oggThumb.cpp'; fi` - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files$$0 = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/.^$$\\*/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/.^$$\\*/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/^/*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/^/*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: makefile $(PROGRAMS) -installdirs: - for dir in "$(DESTDIR)$(bindir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-binPROGRAMS clean-generic mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-binPROGRAMS - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binPROGRAMS - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ - clean-generic ctags distclean distclean-compile \ - distclean-generic distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-binPROGRAMS \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-binPROGRAMS - - -# Tell versions 3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT:
View file
oggvideotools-0.8.tar.bz2/src/mediaConverter.cpp
Deleted
@@ -1,102 +0,0 @@ -/* - * MediaConverter is the base class for all subsequent decoders - * and encoders - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> -#include "mediaConverter.h" - -MediaConverter::MediaConverter() - : mediaConverterState(mdec_free) -{ -} - -MediaConverter::~MediaConverter() -{ -} - -void MediaConverter::setInitialized() -{ - if (mediaConverterState == mdec_free) - mediaConverterState = mdec_initialized; - else - std::cerr << "MediaConverter::setInitialized(): double initalization\n"; -} - -void MediaConverter::setConfigured() -{ - if (mediaConverterState < mdec_configured) - mediaConverterState = mdec_configured; - else - std::cerr << "MediaConverter::setConfigured(): decoder is configured\n"; -} - -void MediaConverter::setAvailable() -{ - if ((mediaConverterState >= mdec_configured) && - (mediaConverterState <= mdec_available)) - mediaConverterState = mdec_available; - else - std::cerr << "MediaConverter::setAvailable(): decoder is not configured or has ended\n"; -} - -void MediaConverter::setEmpty() -{ - if ((mediaConverterState == mdec_configured) || - (mediaConverterState == mdec_available) || - (mediaConverterState == mdec_empty)) - mediaConverterState = mdec_empty; - else - std::cerr << "MediaConverter::setEmpty(): decoder not configured correctly\n"; -} - -void MediaConverter::setEndOfStream() -{ - if (mediaConverterState > mdec_initialized) - mediaConverterState = mdec_endofStream; - else - std::cerr << "MediaConverter::setEndOfStream(): decoder not initialized\n"; -} - -bool MediaConverter::isInitialized() -{ - return(mediaConverterState > mdec_free); -} - -bool MediaConverter::isConfigured() -{ - return(mediaConverterState > mdec_initialized); -} - -bool MediaConverter::isAvailable() -{ - return(mediaConverterState == mdec_available); -} - -bool MediaConverter::isEmpty() -{ - return((mediaConverterState == mdec_empty) || - (mediaConverterState == mdec_configured)); -} - -bool MediaConverter::isEndOfStream() -{ - return(mediaConverterState == mdec_endofStream); -}
View file
oggvideotools-0.8.tar.bz2/src/mediaConverter.h
Deleted
@@ -1,72 +0,0 @@ -/* - * MediaConverter is the base class for all subsequent decoders - * and encoders - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef MEDIACONVERTER_H_ -#define MEDIACONVERTER_H_ - -//! MediaConverter is a baseclass for all decoders -/*! The MediaConverter class is used with a defined decoder or encoder. It mainly implements a state machine, - which holds the actual decoder/encoder state information: - #- mdec_free: the decoder is uninitialized - #- mdec_initialized: the decoder is initialized, i.e. the stream has a defined stream type or stream ID - #- mdec_configured: the stream is able to give information about the stream, that is processed (stream header is read) - #- mdec_available: the stream is able to provide output data (e.g. a video picture etc.) - #- mdec_empty: there is actually no data available for output - #- mdec_endofStream: the end of a stream has been detected - */ -class MediaConverter { -protected: - enum MediaConverterState { - mdec_free, - mdec_initialized, - mdec_configured, - mdec_empty, - mdec_available, - mdec_endofStream - }; - -private: - MediaConverterState mediaConverterState; - -protected: - - void setInitialized(); - void setConfigured(); - void setAvailable(); - void setEmpty(); - void setFree(); - -public: - MediaConverter(); - virtual ~MediaConverter(); - - void setEndOfStream(); - - bool isInitialized(); - bool isConfigured(); - bool isAvailable(); - bool isEmpty(); - bool isEndOfStream(); - -}; - -#endif /*MEDIACONVERTER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/mediaEncoder.cpp
Deleted
@@ -1,21 +0,0 @@ -#include "mediaEncoder.h" - -MediaEncoder::MediaEncoder() - : useFixBunches(0), bunchsize(false) -{ -} - -MediaEncoder::~MediaEncoder() -{ -} - -void MediaEncoder::setBunchsize(uint32 _bunchsize) -{ - bunchsize = _bunchsize; - useFixBunches = true; -} - -void MediaEncoder::useVariableBunches() -{ - useFixBunches = false; -}
View file
oggvideotools-0.8.tar.bz2/src/mediaInputEncoder.cpp
Deleted
@@ -1,9 +0,0 @@ -#include "mediaInputEncoder.h" - -MediaInputEncoder::MediaInputEncoder() -{ -} - -MediaInputEncoder::~MediaInputEncoder() -{ -}
View file
oggvideotools-0.8.tar.bz2/src/mediaInputEncoder.h
Deleted
@@ -1,18 +0,0 @@ -#ifndef MEDIAINPUTENCODER_H_ -#define MEDIAINPUTENCODER_H_ - -#include "mediaEncoder.h" - -#include "oggPacket.h" - -class MediaInputEncoder : public MediaEncoder { - -public: - MediaInputEncoder(); - virtual ~MediaInputEncoder(); - - virtual MediaInputEncoder& operator>>(OggPacket& packet) = 0; - -}; - -#endif /*MEDIAINPUTENCODER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/mediaOutputDecoder.cpp
Deleted
@@ -1,15 +0,0 @@ -#include "mediaOutputDecoder.h" - -MediaOutputDecoder::MediaOutputDecoder(int8 _streamNo) - : streamID(_streamNo) -{ -} - -MediaOutputDecoder::~MediaOutputDecoder() -{ -} - -int8 MediaOutputDecoder::getStreamNo() -{ - return(streamID); -}
View file
oggvideotools-0.8.tar.bz2/src/mediaOutputDecoder.h
Deleted
@@ -1,26 +0,0 @@ -#ifndef MEDIAOUTPUTDECODER_H_ -#define MEDIAOUTPUTDECODER_H_ - -#include "definition.h" - -#include "oggPacket.h" -#include "mediaDecoder.h" - -class MediaOutputDecoder : public MediaDecoder { - -protected: - int8 streamID; - -public: - MediaOutputDecoder(int8 _streamID = 0); - virtual ~MediaOutputDecoder(); - - virtual MediaOutputDecoder& operator<<(OggPacket packet) = 0; - - virtual uint32 getPositionOfNextPacket() = 0; - - int8 getStreamNo(); - -}; - -#endif /*MEDIAOUTPUTDECODER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/mediaRepository.cpp
Deleted
@@ -1,42 +0,0 @@ -/* - * MediaRepository is a baseclass for all communication interfaces - * (e.g. files, tcp, rtp and http streams) - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include "mediaRepository.h" - -MediaRepository::MediaRepository() - : MediaUnit(MediaUnit::read, std::string("")), repositoryAvailable(false) -{ -} - -MediaRepository::MediaRepository(MediaDirection_t type, const std::string name) - : MediaUnit(type, name), repositoryAvailable(false) -{ -} - -MediaRepository::~MediaRepository() -{ -} - -bool MediaRepository::isAvailable() -{ - return(repositoryAvailable); -}
View file
oggvideotools-0.8.tar.bz2/src/mediaRepository.h
Deleted
@@ -1,81 +0,0 @@ -/* - * MediaRepository is a baseclass for all communication interfaces - * (e.g. files, tcp, rtp and http streams) - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef MEDIAREPOSITORY_H_ -#define MEDIAREPOSITORY_H_ - -#include "definition.h" -#include "mediaUnit.h" -#include "rawMediaPacket.h" - -//! Baseclass for all communication interfaces. -/*! This class is used as a basis for subsequent derived classes that are able to - * handle raw data from any source. - * - * Actually the only implementation is the FileRepository class. One of - * the next implementations will be a http repository, that creates raw packets - * from an http media source or throughs out an http media stream. - * - * */ -class MediaRepository : public MediaUnit { - -protected: - bool repositoryAvailable; - -public: - MediaRepository(); - - //! Constructor to create a new MediaRepository object - /*! @param type The media direction - * - MediaUnit::read for opening the repository for reading - * - MediaUnit::write for opening the repository for writing - * @param name The name of the media repository, this could be a filename, a url etc. - * - * */ - MediaRepository(MediaDirection_t type,const std::string name); - - virtual ~MediaRepository(); - - //! Find out, if data is available - /*! @return true, if any data is available, false if not */ - virtual bool isAvailable(); - - //! Insert a new raw data packet into the repository - virtual MediaUnit& operator<<(RawMediaPacket& packet) = 0; - - //! Receive a new raw data packet from the repository - virtual MediaUnit& operator>>(RawMediaPacket& packet) = 0; - - //! Request the actual size of a raw media packet that this repository creates - /*! @return Returns the bunch size, that is actually used. - * */ - virtual uint32 getBunchSize() = 0; - - //! Configures the size of the raw media packet size - /*! @param size The size to which all packets should be filled */ - virtual void setBunchSize(uint32 size) = 0; - - virtual void close() = 0; - -}; - -#endif /*MEDIAREPOSITORY_H_*/
View file
oggvideotools-0.8.tar.bz2/src/mediaUnit.cpp
Deleted
@@ -1,45 +0,0 @@ -/* - * MediaUnit is a baseclass for all media transfer units - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include "mediaUnit.h" - -#include <iostream> - -MediaUnit::MediaUnit(MediaDirection_t type, const std::string _name) - : name(_name), mediaDirection(type) -{ -} - -MediaUnit::~MediaUnit() -{ -} - -/* -void MediaUnit::setConfig(MediaConfig* _config) -{ - config = _config->clone(); -} - -MediaConfig* MediaUnit::getConfig() -{ - return(config->clone()); -} -*/
View file
oggvideotools-0.8.tar.bz2/src/memFactory.h
Deleted
@@ -1,96 +0,0 @@ -#ifndef MEMFACTORY_H_ -#define MEMFACTORY_H_ - -#include <list> -#include <iostream> - -#include "definition.h" - -template <class C> class MemFactory { -private: - - static const uint32 maxElements = 20; - - template <class T> class MemElem { - public: - bool used; - T* memRegion; - uint32 size; - }; - - std::list<MemElem<C> > list; - typename std::list<MemElem<C> >::iterator it; - -public: - MemFactory(); - virtual ~MemFactory(); - - C* getMemElement(uint32 size); - void returnMemElement(C* elem); - -}; - -template <class C> inline MemFactory<C>::MemFactory() -{ -} - -template <class C> inline MemFactory<C>::~MemFactory() -{ - - it = list.begin(); - - for (; it != list.end(); it++) - delete it->memRegion; -} - -template <class C> inline C* MemFactory<C>::getMemElement(uint32 size) -{ - /* is there an unused data portion available, then use it */ - it = list.begin(); - - for (; it != list.end(); it++) - if ((!it->used) && (it->size == size)) - break; - - MemElem<C> elem; - if (it ==list.end()) { - // std::cerr << "Create new Element\n"; - elem.used = true; - elem.size = size; - elem.memRegion = new Csize; - } else { - elem = (*it); - elem.used = true; - list.erase(it); - } - - list.push_back(elem); - - if (list.size() > maxElements) - for (it = list.begin(); it != list.end(); it++) { - if (!it->used) { - // std::cerr << "Delete an Element\n"; - delete it->memRegion; - list.erase(it); - break; - } - } - - return (elem.memRegion); - -} - -template <class C> inline void MemFactory<C>::returnMemElement(C* elem) -{ - it = list.begin(); - - for (; it != list.end(); it++) - if (it->memRegion == elem) { - it->used = false; - // std::cerr << "Free new Element\n"; - break; - } - -} - -#endif /*MEMFACTORY_H_*/
View file
oggvideotools-0.8.tar.bz2/src/oggBOSExtractorFactory.cpp
Deleted
@@ -1,142 +0,0 @@ -#include <string.h> -#include "oggBOSExtractorFactory.h" -#include "theoraExtractor.h" -#include "vorbisExtractor.h" -#include "kateExtractor.h" -#include "theoraPosInterpreter.h" -#include "vorbisPosInterpreter.h" -#include "katePosInterpreter.h" -//#include "theoraDecoder.h" -//#include "vorbisEncoder.h" - -OggBOSExtractorFactory::OggBOSExtractorFactory() -{ -} - -OggBOSExtractorFactory::~OggBOSExtractorFactory() -{ -} - -/* -static MediaDecoder* OggBOSExtractorFactory::createDecoder(OggPage& page) -{ - -} - -static MediaDecoder* OggBOSExtractorFactory::createEncoder(OggPacket& packet) -{ - -} -*/ - -bool OggBOSExtractorFactory::extractInformation(OggPage& page, ExtractorInformation& information) -{ - switch (getStreamType(page)) { - - case ogg_theora: { - TheoraExtractor extractor; - return(extractor.extract(page, information)); - } - - case ogg_vorbis: { - VorbisExtractor extractor; - return(extractor.extract(page, information)); - } - - case ogg_kate: { - KateExtractor extractor; - return(extractor.extract(page, information)); - } - - default: - break; - - } - - /* could not interpret the bos page */ - return(false); -} - -bool OggBOSExtractorFactory::extractInformation(OggPacket& packet, ExtractorInformation& information) -{ - switch (getStreamType(packet)) { - - case ogg_theora: { - TheoraExtractor extractor; - return(extractor.extract(packet, information)); - } - - case ogg_vorbis: { - VorbisExtractor extractor; - return(extractor.extract(packet, information)); - } - - case ogg_kate: { - KateExtractor extractor; - return(extractor.extract(packet, information)); - } - - default: - break; - - } - - /* could not interpret the bos page */ - return(false); -} - -GranulePosInterpreter* OggBOSExtractorFactory::extractPositionInterpreter(ExtractorInformation& info) -{ - GranulePosInterpreter* retPosInterpreter(0); - - switch (info.type) { - case ogg_theora: - retPosInterpreter = new TheoraPosInterpreter; - break; - - case ogg_vorbis: - retPosInterpreter = new VorbisPosInterpreter; - break; - - case ogg_kate: - retPosInterpreter = new KatePosInterpreter; - break; - - default: - break; - } - - if (retPosInterpreter) - retPosInterpreter->initialize(info.parameter); - - return(retPosInterpreter); -} - -OggType OggBOSExtractorFactory::getStreamType(OggPage& page) -{ - uint8* type = page.obj()->data+page.obj()->headerLength; - - uint8 i=1; - for (; i< ogg_maxOggType; ++i) { - if (memcmp(type, OggTypeMapi, MAXIDCHARS) == 0) -// if ((*type) == OggTypeMapi) - return ((OggType)i); - } - - return (ogg_unknown); - -} - -OggType OggBOSExtractorFactory::getStreamType(OggPacket& packet) -{ - uint8* type = packet.data(); - - uint8 i=1; - for (; i< ogg_maxOggType; ++i) { - if (memcmp(type, OggTypeMapi, MAXIDCHARS) == 0) -// if ((*type) == OggTypeMapi) - return ((OggType)i); - } - - return (ogg_unknown); -}
View file
oggvideotools-0.8.tar.bz2/src/oggCat.cpp
Deleted
@@ -1,212 +0,0 @@ -/* - * oggCat is a command line tool, to concatenate video streams - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifdef __WIN32 -#define __GNU_LIBRARY__ -#include "../win32/getopt_win.h" -#endif - -#include <iostream> -#include <map> -#include <vector> -#include <string> - -#include <cstdlib> -#include <ctime> - -#include "definition.h" -#include "fileRepository.h" -#include "oggPacket.h" -#include "streamMux.h" -#include "streamSerializer.h" -#include "streamConfig.h" -#include "oggTypes.h" - -/* get the next file - * within this function, the next stream serializer is created. - * The configuration of this serializer is compared with the - * configuration of the given configuration, and a matching table - * is created (i.e. a theora stream with a certain configuration - * may be on an other stream position, than on the first stream) - * if there is no match found, the function returns false. - * If there is a match found, the packets created by the serializer - * should be remarked from the actual stream ID to the stream ID - * of the output file. - * */ -bool getNextFile(std::string& fileName, StreamSerializer* &serializer, - std::vector<StreamConfig>& origConfigList, std::vector<uint8>& streamMap) -{ - serializer = new StreamSerializer; - - if (!serializer->open(fileName)) { - std::cerr << "Unable to open file <" << fileName << "> \n"; - delete serializer; - serializer = 0; - return (false); - } - - std::vector<StreamConfig> actConfigList; - - serializer->getStreamConfig(actConfigList); - - uint32 matchCounter(0); - uint32 origCounter(0); - - streamMap.resize(actConfigList.size(), 255); - - for (uint32 i(0); i<origConfigList.size(); ++i) { - - if (origConfigListi.type == ogg_unknown) - continue; - - origCounter++; - - for (uint32 j(0); j<actConfigList.size(); ++j) { - - if (actConfigListj.type == ogg_unknown) - continue; - - if ((*origConfigListi.parameter) == (*actConfigListj.parameter)) { - streamMapj = i; - matchCounter++; - } - } - - } - - if (matchCounter != origCounter) { - std::cerr - << "I could not find enough matching streams for file <fileName>\n"; - delete serializer; - serializer = 0; - return (false); - } - // detele the config list explicitly - - return (true); -} - -void printHelpScreen(const std::string& progName) -{ - std::cerr << "usage: " << progName - << " <outputFile> <inputFile1> <inputFile2> <inputFile3> ... \n" - << " -- package and version \"" << PACKAGE_STRING << "\"\n\n" - << "oggCat concatenates a number of ogg files. The files will only\n" - << "be concatenated, if they match in the video and audio stream.\n" - << "E.g. framerate and samplerate.\n\n"; -} - -int main(int argc, char* argv) -{ - - srand(time(0)); - - std::string help("-h"); - if ((argc > 1) && (help == argv1)) { - printHelpScreen(argv0); - exit(-1); - } - - if (argc < 4) { - printHelpScreen(argv0); - exit(-1); - } - - std::string baseFile(argv2); - - /* open the first file to be read */ - std::vector<StreamConfig> originalConfigList; - StreamSerializer* serializer = new StreamSerializer; - - if (!serializer->open(baseFile)) { - std::cerr << "Can not open file <" << baseFile << ">\n"; - exit (-1); - } - - serializer->getStreamConfig(originalConfigList); - - for (uint32 i(0); i<originalConfigList.size(); ++i) - if (originalConfigListi.type == ogg_unknown) - std::cerr - << "Warning: found unknown stream, this stream will be ignored\n"; - - if (originalConfigList.empty()) { - std::cerr - << "Can not extract a valid configuration - is this not an ogg file?\n"; - exit (-1); - } - - /* open the repository to write the file to */ - std::string outputFile(argv1); - FileRepository* repository = new FileRepository(outputFile, MediaUnit::write); - - if (repository->isEndOfFile()) { - std::cerr << "Can not open repository <"<<outputFile<<">\n"; - exit (-1); - } - - StreamMux encoder(repository); - - encoder.configureStreams(originalConfigList); - - // write the first file to the output - OggPacket packet; - - while (serializer->getNextPacket(packet) > -1) { - packet.unsetEOS(); - encoder << packet; - } - - // handle the other files - for (uint32 i(3); i<(uint32)argc; ++i) { - - std::string fileName(argvi); - StreamSerializer* serializer(0); - std::vector<uint8> streamMap; - - if (!getNextFile(fileName, serializer, originalConfigList, streamMap)) - continue; - - while (serializer->getNextPacket(packet) > -1) { - - uint8 actualStreamID = packet.getStreamNo(); - - if ((actualStreamID < streamMap.size()) - && (streamMapactualStreamID < 255)) { - packet.unsetEOS(); - packet.setStreamNo(streamMapactualStreamID); - encoder << packet; - } - } - - serializer->close(); - delete serializer; - } - - encoder.setEndOfStream(); - - serializer->close(); - encoder.close(); - - delete serializer; - - return (0); -}
View file
oggvideotools-0.8.tar.bz2/src/oggConfig.cpp
Deleted
@@ -1,9 +0,0 @@ -#include "oggConfig.h" - -OggConfig::OggConfig() -{ -} - -OggConfig::~OggConfig() -{ -}
View file
oggvideotools-0.8.tar.bz2/src/oggConfig.h
Deleted
@@ -1,15 +0,0 @@ -#ifndef OGGCONFIG_H_ -#define OGGCONFIG_H_ - -#include "mediaConfig.h" - -class OggConfig : public MediaConfig { -public: - OggConfig(); - virtual ~OggConfig(); - - - -}; - -#endif /*OGGCONFIG_H_*/
View file
oggvideotools-0.8.tar.bz2/src/oggCut.cpp
Deleted
@@ -1,309 +0,0 @@ -/* - * oggCut is a command line tool, to cut a video stream - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifdef __WIN32 -#define __GNU_LIBRARY__ -#include "../win32/getopt_win.h" -#endif - -#include <iostream> -#include <sstream> -#include <map> -#include <cstdlib> -#include <ctime> - -#include "fileRepository.h" -#include "streamSerializer.h" -#include "streamMux.h" -#include "oggEncoder.h" -#include "oggStreamEncoder.h" - -struct ListElement { - double time; - OggPacket packet; - ListElement(double _time, OggPacket _packet) : - time(_time), packet(_packet) { - } -}; - -static std::list<ListElement> packetList; -static double bufferTime(0.5); // buffer 500 ms - -uint32 _atoi(const char* data) -{ - std::stringstream stream; - uint32 value; - - stream << data; - stream >> value; - - return(value); -} - -void printHelpScreen(const std::string& progName) -{ - std::cerr << "usage: "<< progName << "options <input.ogv> <output.ogv> \n" - << " -- package and version \"" << PACKAGE_STRING << "\"\n\n" - << "Options are:\n" - << " -s time : Start time in milliseconds from start\n" - << " if no start time is given, 0 is assumed\n" - << " -e time : End time in milliseconds\n" - << " if no end time or -1 is given, the end of the\n" - << " file is assumed\n" - << " -l length : Length of the cut area\n" - << " -i input : Input file (alternative) \n" - << " -o output : Output file (alternative) \n"; -} - -void bufferedOutput(StreamMux& streamMux, double time, OggPacket packet) -{ - ListElement elem(time, packet); - - std::list<ListElement>::iterator iter(packetList.begin()); - while ((iter != packetList.end()) && (elem.time < iter->time)) - ++iter; - packetList.insert(iter, elem); - - double lastTime(packetList.front().time); - while ((lastTime - packetList.back().time) > bufferTime) { - streamMux << packetList.back().packet; - packetList.pop_back(); - } -} - -void flushBuffer(StreamMux& streamMux) -{ - while (!packetList.empty()) { - streamMux << packetList.back().packet; - packetList.pop_back(); - } -} - -/* TODO: take offset into account - * The offset should be taken into account, so that the audio stream is - * exactly as long as the video. - * - */ - -int main(int argc, char* argv) -{ - int32 startTime(0); - int32 endTime(-1); - int32 length(-1); - - std::string inputFile; - std::string outputFile; - std::string programName(argv0); - - srand(time(0)); - - int opt; - while ((opt = getopt(argc, argv, "hi:o:s:e:l:")) != EOF) - - switch (opt) { - - case 'h': - printHelpScreen(programName); - exit(-1); - - case 'i': - inputFile = std::string(optarg); - break; - - case 'o': - outputFile = std::string(optarg); - break; - - case 's': - startTime = _atoi(optarg); - break; - - case 'e': - endTime = _atoi(optarg); - break; - - case 'l': - length = _atoi(optarg); // yes, I know the atoi bug - break; - - } - - argc -= optind; - argv += optind; - - if ((argc > 2)) { - printHelpScreen(programName); - exit (-1); - } - - if (argc > 0) { - inputFile = std::string(argv0); - } - - if (argc > 1) { - outputFile = std::string(argv1); - } - - /* Handle wrong parameter and parameter combinations */ - if (inputFile.empty() || outputFile.empty()) { - printHelpScreen(programName); - exit (-1); - } - - if (startTime < 0) { - std::cerr << "Error: start time is invalid\n"; - exit (-1); - } - - if ((endTime > 0) && (length > 0)) { - std::cerr << "Warning: end time and length set, ignoring length\n"; - } - - if (endTime == -1) { - if (length > 0) { - endTime = startTime + length; - } else { - if (startTime == 0) { - std::cerr << "No need to cut, just use copy!\n"; - exit (-1); - } - } - } - - double startTimeSec(startTime*1.0/1000.0); - double endTimeSec(endTime*1.0/1000.0); - - /* create a stream serializer */ - StreamSerializer streamSerializer; - bool foundTheora(false); - - /* try to open the file. If there is no such file, abort with a message */ - if (!streamSerializer.open(inputFile)) { - std::cerr << "Error: can not open file <"<<inputFile<<">\n"; - exit (-1); - } - - /* create a repository for the new files and give the repository to the stream Muxer */ - FileRepository* outfile = new FileRepository(outputFile, MediaUnit::write); - StreamMux streamMux(outfile); - - /* grep the configuration for all streams */ - std::vector<StreamConfig> streamConfigList; - streamSerializer.getStreamConfig(streamConfigList); - - /* create the time synchronizer, which holds the time offset for every stream */ - std::vector<double> offset; - offset.resize(streamConfigList.size()); - - /* Output some stream information and reset the offset */ - for (uint32 i(0); i<streamConfigList.size(); ++i) { - StreamConfig& conf(streamConfigListi); - std::cerr << "Stream No: "<<(int)conf.streamNo<<"(0x"<<std::hex - << conf.serialNo<<std::dec<<")\n"; - if (streamConfigListi.parameter) - std::cerr << streamConfigListi.parameter->toString(); - if (streamConfigListi.type == ogg_theora) - foundTheora = true; - offseti = -1; - } - - /* configure the output streams */ - streamMux.configureStreams(streamConfigList); - - /* */ - OggPacket packet; - double time; - double beginTime(0); - bool startMarker(false); - - /* copy the stream if the packets are within the cut area - * and the first video keyframe has been found */ - while (streamSerializer.available()) { - - /* get the actual packet and it's time information */ - /* the time is meant to be the presentation start time */ - time = streamSerializer.getNextPacket(packet); - -#ifdef DEBUG - if (packet.getStreamType() == ogg_theora) { - std::cerr << "theora "; - } - - if (packet.getStreamType() == ogg_vorbis) { - std::cerr << "vorbis "; - } - - std::cerr << time << std::endl; -#endif - - /* look deeper into the packets, if the belong into the cutting - * area */ - if ((time >= startTimeSec) && (time < endTimeSec)) { - - /* are we within our cut interval and found the first keyframe? */ - if (!startMarker) { - - /* we are doing packet analysation by ourselfs - may be changed */ - if ((!foundTheora) || ((packet.getStreamType() == ogg_theora) - &&(!(packet.data()0 & 0x40)))) { - startMarker = true; - beginTime = time; - offsetpacket.getStreamNo() = time; - } - } - - /* have we found the real starting position? */ - if (startMarker) { - - /* if this stream has no offset calculated, do it now */ - if (offsetpacket.getStreamNo() < 0) { - offsetpacket.getStreamNo() = time; -#ifdef DEBUG - std::cout << "offset for stream No <"<<(int)packet.getStreamNo() - <<"> is "<<offsetpacket.getStreamNo() - beginTime <<std::endl; -#endif // DEBUG - } - - /* we need to bufferd the output to the stream, as the streams are not 100% in sync */ - bufferedOutput(streamMux, (time - offsetpacket.getStreamNo()), packet); - } - - } - - /* the end of the cut area has reached */ - if (time >= endTimeSec) { - break; - } - } - - /* first flush all buffers to be ordered correct */ - flushBuffer(streamMux); - - /* set the end of the stream and close the file, - * which flushed the all internal stream encoder to flush all pages */ - streamMux.setEndOfStream(); - streamMux.close(); - - /* close the stream serializer with a big thank you */ - streamSerializer.close(); - - return(0); -}
View file
oggvideotools-0.8.tar.bz2/src/oggDecoder.cpp
Deleted
@@ -1,88 +0,0 @@ -/* - * OggDecoder - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> -#include <string.h> -#include <stdlib.h> - -#include "oggDecoder.h" -#include "oggHeader.h" - -#define min(a,b) (((a)<(b))?(a):(b)); - -OggDecoder::OggDecoder() - : oggRingbuffer(20000) -{ - setConfigured(); -} - -OggDecoder::~OggDecoder() -{ -} - -void OggDecoder::clear() -{ - /* nothing to be done here */ -} - -void OggDecoder::getNextPages() -{ - uint8* data(0); - uint32 length(0); - - while (oggRingbuffer.getNextPage(data, length)) { - - uint32 headerLength = sizeof(OggHeader) + ((OggHeader*)data)->tableSegments; - uint32 bodyLength = length - headerLength; - OggPage page(new OggPageInternal(data, headerLength, bodyLength)); - - oggPageList.push_back(page); - - data = 0; - - setAvailable(); - } -} - -OggDecoder& OggDecoder::operator<<(RawMediaPacket& mediaPacket) -{ - /* insert the raw data into the ring buffer*/ - oggRingbuffer.addData(mediaPacket.getData(), mediaPacket.size()); - - /* extract ogg pages */ - getNextPages(); - - return(*this); -} - -OggDecoder& OggDecoder::operator>>(OggPage& page) -{ - - if (isAvailable()) { - page = oggPageList.front(); - oggPageList.pop_front(); - if (oggPageList.empty()) - setEmpty(); - } else - std::cerr << "OggDecoder::operator>>: no page available, insert a packet first\n"; - - return(*this); -}
View file
oggvideotools-0.8.tar.bz2/src/oggDecoder.h
Deleted
@@ -1,94 +0,0 @@ -/* - * OggDecoder - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef OGGDECODER_H_ -#define OGGDECODER_H_ - -#include <list> -#include <vector> - -#include "mediaDecoder.h" -#include "rawMediaPacket.h" -#include "oggPage.h" -#include "oggRingbuffer.h" - -//! class to decode a raw bytestream into Ogg packets -/*! This class awaits raw packets (in form of a RawMediaPacket). These - * raw packets were inserted into a ringbuffer, from which the Ogg packets - * are extracted. - * - * When a raw packet has been inserted into the ring buffer, the OggDecoder - * tries to extract one or more Ogg packets immediately. Therefor in normal - * operations, the ring buffer can not overflow, if the ring buffer size is - * big enough to hold a full Ogg Packet. - * - * - * Example: - \code -RawMediaPacket rawPacket; -OggPage oggPage; - -FileRepository repository("myfile.ogg", MediaUnit::read); -OggDecoder oggDecoder; - -repository >> rawPacket; -oggDecoder << rawPacket; - -if (oggDecoder.isAvailable()) - oggDecoder >> oggPage; -\endcode - * */ -class OggDecoder : public MediaDecoder { - -protected: - OggRingbuffer oggRingbuffer; - std::list<OggPage> oggPageList; - - void getNextPages(); - -public: - OggDecoder(); - virtual ~OggDecoder(); - - //! Stream input method - /*! This method inserts a RawMediaPacket, which is just a bunch of - * raw bytes, into the decoder. When a new packet arrives, the - * decoder tries to extract the oggPages, which are fully available. - * The oggPages will then be buffered within a oggPageList. - * The uninterpreted data is stored until the next rawdata is received. - * @param mediaPacket This is the raw media packet, created by a repository. - * @return A reference to the actual OggDecoder object. - * */ - virtual OggDecoder& operator<<(RawMediaPacket& mediaPacket); - - //! Stream output method - /*! This method returns the next oggPage within the list of OggPages. - * If there is no page availabe, this method leaves the OggPage object untoched. - * @param oggPage the oggPage to be filled. - * @return A reference to the actual OggDecoder object. - * */ - virtual OggDecoder& operator>>(OggPage& page); - - virtual void clear(); - -}; - -#endif /*OGGDECODER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/oggDecoderFactory.cpp
Deleted
@@ -1,29 +0,0 @@ -#include "oggDecoderFactory.h" - -OggDecoderFactory::OggDecoderFactory() -{ -} - -OggDecoderFactory::~OggDecoderFactory() -{ -} - - -OggStreamDecoder* OggDecoderFactory::getOggStreamDecoder(OggPage& page) -{ - if (oggPage.bos()) { - switch (getStreamType(OggPage)) { - case ogg_theora: - return() - } - } else - return(0); -} - - - -OggStreamDecoder* OggDecoderFactory::getOggStreamDecoder(OggPacket& packet) -{ - -} -
View file
oggvideotools-0.8.tar.bz2/src/oggDump.cpp
Deleted
@@ -1,283 +0,0 @@ -/* - * oggDump will dump out an ogg file either by packets or by pages - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifdef __WIN32 -#define __GNU_LIBRARY__ -#include "../win32/getopt_win.h" -#endif - -#include <iostream> -#include <map> -#include <vector> -#include <sstream> -#include <fstream> -#include <ostream> -#include <cstdlib> - -#include "fileRepository.h" -#include "rawMediaPacket.h" -#include "oggDecoder.h" -#include "oggEncoder.h" -#include "oggStreamDecoder.h" -#include "oggPacket.h" -#include "oggBOSExtractorFactory.h" - -struct OutputUnit { - OggEncoder encoder; - FileRepository repository; -}; - -void printHelp(std::string programName) -{ - std::cout << "usage <"<<programName<<"> options file" << std::endl; - std::cout << "Options are:\n" - << " -h : help screen \n" - << " -g : dump pages \n" - << " -p : dump packets \n" - << " -l <level> : information depth default: 5(most information)\n" - << " -s : promt for streams to dump\n" - << " -o <file> : output dump information to a file\n"; -} - -int main(int argc, char* argv) -{ - - /* default values - * for the command line arguments */ - - uint8 dumpLevel(5); - std::string outFilename(""); - bool dumpPages(false); - bool dumpPackets(false); - bool promtForStreams(false); - - std::string programName(argv0); - - int opt; - while ((opt = getopt(argc, argv, "hgpl:so:")) != EOF) - - switch (opt) { - - case 'h': - printHelp(argv0); - exit(-1); - - case 'g': - dumpPages = true; - break; - - case 'p': - dumpPackets = true; - break; - - case 's': - promtForStreams = true; - break; - - case 'o': - outFilename = std::string(optarg); - break; - - case 'l': - dumpLevel = atoi(optarg); // yes, I know the atoi bug - break; - - } - - argc -= optind; - argv += optind; - - std::string analysisFile; - - if (argc == 1) - analysisFile = std::string(argv0); - else { - printHelp(programName); - exit(-1); - } - - if ((!dumpPages) && (!dumpPackets)) { - std::cout << "Specify wether you want to dump pages, packet or both by -g and/or -p\n"; - exit(-1); - } - - std::ofstream outStream; - - /* if there is a filename given, write the data to this file */ - if (!outFilename.empty()) - outStream.open(outFilename.c_str()); - - /* open the repository - in this easy example, it is a simple file */ - FileRepository repository(analysisFile, MediaUnit::read); - - OggDecoder oggDecoder; - std::map<uint32, OggStreamDecoder> oggStreamDecoderList; - std::vector<OggPage> bosPages; - - /* run through the repository until there is no data left */ - while (!repository.isEndOfFile()) { - - RawMediaPacket rawDecoderPacket; - - /* extract a raw data bunch from the file .. */ - repository >> rawDecoderPacket; - - /* .. and insert it into the ogg decoder */ - oggDecoder << rawDecoderPacket; - - /* are there any complete ogg Pages available ? */ - while (oggDecoder.isAvailable()) { - - OggPage oggPage; - - /* grap the next page */ - oggDecoder >> oggPage; - - /* what ID has this page / what stream does this page belongs to */ - uint32 serialID = oggPage.serialno(); - - if (oggPage.isBOS()) { - - bool addPage(false); - - switch (OggBOSExtractorFactory::getStreamType(oggPage)) { - - case ogg_theora: { - std::cout << "Found theora stream with ID= 0x" << std::hex - << serialID << std::dec << std::endl; - if (promtForStreams) { - std::cout << "Dump this stream? (y/n) \n"; - char answer = std::cin.get(); - if (answer == 'Y' || answer == 'y') - addPage = true; - std::cout << answer << "\n"; - } else - addPage = true; - } - break; - - case ogg_vorbis: { - std::cout << "Found vorbis stream with ID= 0x" << std::hex - << serialID << std::dec << std::endl; - if (promtForStreams) { - std::cout << "Dump this stream? (y/n) "; - char answer = std::cin.get(); - if (answer == 'Y' || answer == 'y') - addPage = true; - std::cout << answer << "\n"; - } else - addPage = true; - - } - break; - - case ogg_kate: { - std::cout << "Found kate stream with ID= 0x" << std::hex - << serialID << std::dec << std::endl; - if (promtForStreams) { - std::cout << "Dump this stream? (y/n) "; - char answer = std::cin.get(); - if (answer == 'Y' || answer == 'y') - addPage = true; - std::cout << answer << "\n"; - } else - addPage = true; - - } - break; - - default: { - std::cout << "Found unknown stream with ID= 0x" << std::hex - << serialID << std::dec << std::endl; - if (promtForStreams) { - std::cout << "Dump this stream? (y/n) \n"; - char answer = std::cin.get(); - if (answer == 'Y' || answer == 'y') - addPage = true; - std::cout << answer << "\n"; - } else - addPage = true; - } - break; - } - if (addPage) { - oggStreamDecoderListserialID = OggStreamDecoder(); - oggStreamDecoderListserialID << oggPage; - bosPages.push_back(oggPage); - } - - } else { - - /* does the user want to dump this stream */ - if (oggStreamDecoderList.find(serialID) != oggStreamDecoderList.end()) { - - if (dumpPages) { - - std::string outputString; - - // are there any bos pages, then print them first - if (!bosPages.empty()) { - for (uint32 j(0); j<bosPages.size(); ++j) - outputString += bosPagesj.print(dumpLevel); - bosPages.clear(); - } - - outputString += oggPage.print(dumpLevel); - - if (outFilename.empty()) - std::cout << outputString; - else - outStream << outputString; - - } - - /* if the packets should be dumped, they must be extracted first */ - - if (dumpPackets) { - - /* insert the page into the right decoder */ - oggStreamDecoderListserialID << oggPage; - while (oggStreamDecoderListserialID.isAvailable()) { - - OggPacket packet; - /* extract the full packets */ - oggStreamDecoderListserialID >> packet; - - if (outFilename.empty()) - std::cout << packet.print(dumpLevel); - else - outStream << packet.print(dumpLevel); - - } - } - } - } - } - } - - /* close all files */ - repository.close(); - if (!outFilename.empty()) - outStream.close(); - - return (0); -}
View file
oggvideotools-0.8.tar.bz2/src/oggEncoder.cpp
Deleted
@@ -1,139 +0,0 @@ -/* - * OggEncoder - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> -#include <cstring> - -#include "oggEncoder.h" - -PageBufferElement::PageBufferElement() - : time(-1), empty(true), interpreter(0) -{ -} - -PageBufferElement::~PageBufferElement() -{ -} - -OggEncoder::OggEncoder() - : withBuffer(false) -{ - setConfigured(); -} - -OggEncoder::~OggEncoder() -{ -} - -/* -void OggEncoder::createJitterBuffer(uint8 numOfStreams) -{ - if (numOfStreams) { - oggBuffer.resize(numOfStreams); - withBuffer = true; - } -} -*/ - -void OggEncoder::flush() -{ - -} - -void OggEncoder::serializePage(OggPage& page) -{ - unsigned char* bunch = new unsigned charpage.length(); - - if (bunch) { - memcpy(bunch, page.data(), page.length()); - - rawPacketList.push_back(RawMediaPacket(new RawMediaData(bunch, page.length(), false))); - - setAvailable(); - } else - std::cerr << "OggEncoder::operator<<: Out of Memory\n"; - -} - -void OggEncoder::insertNextPage(OggPage& page) -{ - -} - - -OggEncoder& OggEncoder::operator<<(OggPage page) -{ - if (!withBuffer) { - serializePage(page); - return(*this); - } - /* - uint8 streamNo(page.getStreamNo()); - double time(oggBufferstreamNo.interpreter->getTime(page.granulepos())); - - double nextTime(-2); - uint8 nextStreamNo(0); - - while(!oggBufferstreamNo.empty) { - - // find the next packet to send out - for(uint32 i(0); i<oggBuffer.size(); ++i) { - if (oggBufferi.empty) - continue; - if ((nextTime < -1) || (nextTime > oggBufferi.time)) { - nextTime = oggBufferi.time; - nextStreamNo = i; - } - } - - // write page to the output buffer - serializePage(oggBuffernextStreamNo.page); - - // ... and mark the buffer as empty - oggBuffernextStreamNo.empty = true; - - } - - // insert the page into the buffer - oggBufferstreamNo.page = page; - oggBufferstreamNo.time = time; - oggBufferstreamNo.empty = false; - */ - return(*this); -} - -OggEncoder& OggEncoder::operator>>(RawMediaPacket& packet) -{ - if (isEmpty()) { - std::cerr << "OggEncoder::operator>>: no packet available\n"; - return(*this); - } - - packet = rawPacketList.front(); - rawPacketList.pop_front(); - - if (rawPacketList.empty()) - setEmpty(); - - return(*this); -} - -
View file
oggvideotools-0.8.tar.bz2/src/oggHeader.h
Deleted
@@ -1,51 +0,0 @@ -/* - * information about the ogg header - * - * Copyright (C) 2005-2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef oggHeader_h -#define oggHeader_h - -#include "definition.h" - -struct OggHeader { - - char ogg4; - char version; - - char pack_type:1; - char page_type:1; - char last:1; - char reserved:5; - - int64 position; - uint32 serial; - uint32 pageNo; - uint32 checksum; - uint8 tableSegments; - -} __attribute__ ((packed)); - -struct StreamType { - unsigned char headerType; - char typeName6; -} __attribute__ ((packed)); - - -#endif
View file
oggvideotools-0.8.tar.bz2/src/oggJoin.cpp
Deleted
@@ -1,215 +0,0 @@ -/* - * oggJoin will multiplex a number of video and audiostreams to one ogg file - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> -#include <vector> -#include <string> -#include <cstdlib> - -#include "fileRepository.h" -#include "oggDecoder.h" -#include "oggEncoder.h" -#include "oggStreamDecoder.h" -#include "vorbisPosInterpreter.h" -#include "theoraPosInterpreter.h" -#include "oggPage.h" -#include "oggBOSExtractorFactory.h" - -struct JoinElement { - FileRepository repository; - OggDecoder decoder; - GranulePosInterpreter* position; - OggPage nextPage; - bool closed; -}; - -bool getNextPage(JoinElement* element, OggPage& page) -{ - if (element->decoder.isAvailable()) { - /* if there is a packet available, get it */ - element->decoder >> page; - return(true); - } - - /* there is actually no packet available, so grap a data - * bunch and transfer it into the decoder and see if we can - * then extract a packet */ - - while (element->decoder.isEmpty()) { - - /* if we can not grap any more data, return false */ - if (element->repository.isEndOfFile()) { - element->closed = true; - return(false); - } - - /* transfer a new raw packet */ - RawMediaPacket rawPacket; - element->repository >> rawPacket; - element->decoder << rawPacket; - - } - - element->decoder >> page; - return(true); -} - -void printHelpScreen(const std::string& progName) -{ - std::cerr << "usage: " << progName - << " <outputFile> <inputFile1> <inputFile2> <inputFile3> ... \n" - << " -- package and version \"" << PACKAGE_STRING << "\"\n\n" - << "oggJoin will multiplex a number of ogg streams into \n" - << "one file. Actually every stream must be placed in a \n" - << "single file.\n\n"; -} - -int main(int argc, char* argv) -{ - - std::string help("-h"); - if ((argc > 1) && (help == argv1)) { - printHelpScreen(argv0); - exit(-1); - } - - - if (argc < 3) { - printHelpScreen(argv0); - exit(-1); - } - - std::vector<JoinElement*> decoderList; - - /* open the repository and encoder for the joined file */ - FileRepository outRepository = FileRepository(argv1, MediaUnit::write); - OggEncoder oggEncoder; - - /* run through the file list given by the command line */ - for (uint32 i(2); i < (uint32)argc; ++i) { - - /* create a new element for one stream */ - JoinElement* newElement = new JoinElement; - newElement->closed = false; - newElement->repository = FileRepository(argvi, MediaUnit::read); - - /* if we can not open the file, do not insert it in the decoder list */ - if (newElement->repository.isEndOfFile()) { - std::cerr << "Warning: can not open file <"<<argvi<<"> for reading\n\n"; - delete newElement; - } else { - - /* get the first packet bunch from the file and place it into the decoder */ - RawMediaPacket packet; - newElement->repository >> packet; - newElement->decoder << packet; - - /* there must be at least the bos page */ - OggPage page; - newElement->decoder >> page; - - ExtractorInformation config; - if (!OggBOSExtractorFactory::extractInformation(page,config)) { - std::cerr << "Warning: <"<<argvi<<"> is not a valid ogg file"; - newElement->repository.close(); - delete newElement; - continue; - } - - newElement->position = OggBOSExtractorFactory::extractPositionInterpreter(config); - - /* if we found a valid stream, create the rest of the infrastructure */ - if (newElement->position != 0) { - - /* insert the BOS page into the new file (the first pages must be the BOS - * pages) */ - oggEncoder << page; - - /* request the next page */ - getNextPage(newElement, newElement->nextPage); - decoderList.push_back(newElement); - } else { - std::cerr << "Warning: can not interpret ogg stream\n"; - /* we can not interpret the granual position of this stream, - * so we close it */ - newElement->repository.close(); - delete newElement; - } - } - } - - if (decoderList.empty()) { - std::cerr << "Error: could not open any stream - abort\n"; - exit(-1); - } - - uint32 closeCounter(0); - - /* run through the different streams and assemble them until there are no more pages */ - while (closeCounter < decoderList.size()) { - - double smallestTime(-10); - uint32 smallestID(0); - - /* find the element, that should be inserted into the new file */ - for (uint32 i(0); i<decoderList.size(); ++i) { - - /* are there no more pages available? */ - if (decoderListi->closed) - continue; - - double testTime(decoderListi->position->getTime(decoderListi->nextPage.granulepos())); - if ((smallestTime < -9) || (smallestTime > testTime)) { - smallestTime = testTime; - smallestID = i; - } - } - - /* insert the next page into the new file */ - oggEncoder << decoderListsmallestID->nextPage; - - /* try to get the next page */ - if (!getNextPage(decoderListsmallestID, decoderListsmallestID->nextPage)) { - - /* if this was the last page in this stream, clean up */ - decoderListsmallestID->closed = true; - decoderListsmallestID->repository.close(); - delete decoderListsmallestID->position; - - closeCounter++; - } - - while (oggEncoder.isAvailable()) { - RawMediaPacket outPacket; - oggEncoder >> outPacket; - outRepository << outPacket; - } - } - - /* cleanup the heap */ - for (uint32 i(0); i<decoderList.size(); ++i) - delete decoderListi; - - /* close the new file */ - outRepository.close(); - - return(0); -}
View file
oggvideotools-0.8.tar.bz2/src/oggLength.cpp
Deleted
@@ -1,129 +0,0 @@ -/* - * oggLength is a command line tool, to return the length of an ogg file - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifdef __WIN32 -#define __GNU_LIBRARY__ -#include "../win32/getopt_win.h" -#endif - -#include <iostream> -#include <string> -#include <cstdlib> - -#include "fileRepository.h" -#include "streamSerializer.h" - -void printHelpScreen(std::string& progName) -{ - std::cerr << "usage: " << progName << " <inputFile> \n"; -} - -int main(int argc, char* argv) -{ - - std::string inputFile; - std::string programName(argv0); - - bool printVorbisExtra(false); - bool printTheoraExtra(false); - - int opt; - while ((opt = getopt(argc, argv, "hvtVT")) != EOF) - - switch (opt) { - - case 'h': - printHelpScreen(programName); - exit(-1); - - case 'v': - case 'V': - printVorbisExtra = true; - break; - - case 't': - case 'T': - printTheoraExtra = true; - break; - - } - - argc -= optind; - argv += optind; - - if (argc == 1) - inputFile = std::string(argv0); - else { - printHelpScreen(programName); - exit(-1); - } - - /* create the stream serializer */ - StreamSerializer streamSerializer; - - /* open the file */ - if (!streamSerializer.open(inputFile)) { - std::cerr << "Error: can not open file <"<<inputFile<<">\n"; - exit(-1); - } - - /* create the headers */ - std::vector<StreamConfig> streamConfigList; - streamSerializer.getStreamConfig(streamConfigList); - -// for (uint32 i(0); i<streamConfigList.size(); ++i) { -// std::cerr << streamConfigListi.parameter->toString(); -// } - - OggPacket packet; - double timeVorbis; - double timeTheora; - double time; - double retTime(-1); - - /* copy the stream if the packets are within the cut area - * and the first video keyframe has been found */ - while (streamSerializer.available()) { - - time = streamSerializer.getNextPacket(packet); - - if (time < 0) { - break; - } else if (packet.getStreamType() == ogg_theora) - timeTheora = time; - if (packet.getStreamType() == ogg_vorbis) - timeVorbis = time; - - retTime = time; - - } - - std::cout << (int)(retTime*1000) << std::endl; - - if (printVorbisExtra) - std::cout << " Vorbis End-Time (packet basis): " << (int)(timeVorbis*1000) << std::endl; - - if (printTheoraExtra) - std::cout << " Theora End-Time : " << (int)(timeTheora*1000) << std::endl; - - return((int)(retTime*1000)); - -}
View file
oggvideotools-0.8.tar.bz2/src/oggPacket.cpp
Deleted
@@ -1,333 +0,0 @@ -/* - * OggPacket will carry all relevant information of an ogg packet - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> -#include <sstream> -#include <cstring> - -//#include "theora/theora.h" -#include "oggPacket.h" - -OggPacketInternal::OggPacketInternal() - : streamType(ogg_unknown), streamNo(255), streamHeader(false) -{ - packet = 0; - bytes = 0; - packetno = 0; - granulepos = -1; - b_o_s = 0; - e_o_s = 0; -} - -OggPacketInternal* OggPacketInternal::clone() -{ - uint8* data = new uint8bytes; - memcpy(data, packet, bytes); - - PacketType packetType(normal); - - if (b_o_s) - packetType = bos; - - if (e_o_s) - packetType = eos; - - OggPacketInternal* pkt = new OggPacketInternal(data, bytes, packetno, granulepos, packetType); - - pkt->streamNo = streamNo; - pkt->streamHeader = streamHeader; - - return(pkt); -} - -OggPacketInternal::OggPacketInternal(uint8* data, uint32 length, - uint32 packetNo, int64 granulePos, PacketType packetType) - : streamType(ogg_unknown), streamNo(255), streamHeader(false) -{ - packet = data; - bytes = length; - packetno = packetNo; - granulepos = granulePos; - b_o_s = 0; - e_o_s = 0; - - switch (packetType) { - case bos: - b_o_s = 256; - break; - case eos: - e_o_s = 256; - break; - default: - {} - } - -} - -OggPacketInternal::~OggPacketInternal() -{ - if (packet) - delete packet; -} - -OggPacket::OggPacket() -{ -} - -OggPacket::OggPacket(OggPacketInternal* pagePtr) - : RefObject<OggPacketInternal>(pagePtr) -{ -} - -OggPacket::OggPacket(const OggPacket& refObj) - : RefObject<OggPacketInternal>(refObj) -{ -} - -OggPacket::~OggPacket() -{ -} - -OggPacket& OggPacket::operator=(const OggPacket& refObj) -{ - if (this == &refObj) - return(*this); - - (*refCounter)--; - - if ((*refCounter) == 0) { - delete refCounter; - delete objPtr; - } - - refCounter = refObj.refCounter; - objPtr = refObj.objPtr; - - (*refCounter)++; - - return(*this); -} - -int64 OggPacket::granulepos() -{ - if (objPtr) - return(objPtr->granulepos); - - return(-2); -} - -void OggPacket::setGranulepos(int64 pos) -{ - if (objPtr) - objPtr->granulepos = pos; -} - -void OggPacket::setStreamHeader() -{ - objPtr->streamHeader = true; -} - -bool OggPacket::isStreamHeader() -{ - return(objPtr->streamHeader); -} - -OggPacket OggPacket::clone() -{ - OggPacketInternal* newPacket = new OggPacketInternal(*objPtr); - - if (newPacket) { - newPacket->packet = new unsigned charobjPtr->bytes; - memcpy(newPacket->packet, objPtr->packet, objPtr->bytes); - } - - return(OggPacket(newPacket)); -} - -uint32 OggPacket::getPacketNo() -{ - return(objPtr->packetno); -} - -uint32 OggPacket::length() -{ - return(objPtr->bytes); -} - -bool OggPacket::isBOS() -{ - return(objPtr->b_o_s); -} - -bool OggPacket::isEOS() -{ - return(objPtr->e_o_s); -} - -void OggPacket::setBOS() -{ - objPtr->b_o_s = 1; -} - -void OggPacket::setEOS() -{ - objPtr->e_o_s = 1; -} - -void OggPacket::unsetBOS() -{ - objPtr->b_o_s = 0; -} - -void OggPacket::unsetEOS() -{ - objPtr->e_o_s = 0; -} - -/* -ogg_packet OggPacket::toLibogg() -{ - return(*objPtr); -} -*/ -uint8 OggPacket::getStreamNo() -{ - return(objPtr->streamNo); -} - -OggType OggPacket::getStreamType() -{ - return(objPtr->streamType); -} - -void OggPacket::setStreamNo(int8 no) -{ - objPtr->streamNo = no; -} - -void OggPacket::setStreamType(OggType type) -{ - objPtr->streamType = type; -} - -/* -void OggPacket::fromLibogg(ogg_packet pack) -{ - // copy all information including the pointers - objPtr->bytes = pack.bytes; - objPtr->packetno = pack.packetno; - objPtr->granulepos = pack.granulepos; - objPtr->b_o_s = pack.b_o_s; - objPtr->e_o_s = pack.e_o_s; - - objPtr->packet = new uint8pack.bytes; - - if (objPtr->packet) { - memcpy(objPtr->packet, pack.packet, pack.bytes); - } - else { - std::cerr << "OggPacket::fromLibogg: out of memory\n"; - } -} -*/ - -uint8* OggPacket::data() -{ - return(objPtr->packet); -} - -/* print levels: - * 1) only data length information - * 2) header information - * 3) additional header information - * 4) header dump - * 5) body dump - */ -std::string OggPacket::print(uint8 level) -{ - std::stringstream retStream; - - retStream << "\nOgg Packet: packet length = " << objPtr->bytes << std::endl; - - if (level < 1) - return(retStream.str()); - - retStream << "\nHeader Information:" - << "\n\tBegin of Stream : "; - - if (objPtr->b_o_s) - retStream << "true"; - else - retStream << "false"; - - retStream << "\n\tEnd of Stream : "; - - if (objPtr->e_o_s) - retStream << "true"; - else - retStream << "false"; - - retStream << "\n\tGranule Position : " << objPtr->granulepos; - retStream << "\n\tPacket Number : " << objPtr->packetno; - - retStream << std::endl; - - if (level < 3) - return(retStream.str()); - - retStream << "\n\tStream Number : " << (int)objPtr->streamNo; - retStream << "\n\tStream Type : "; - - switch (objPtr->streamType) { - case ogg_vorbis: - retStream << "Vorbis"; - break; - case ogg_theora: - retStream << "Theora"; - break; - case ogg_kate: - retStream << "Kate"; - break; - case ogg_unknown: - default: - retStream << "unknown"; - break; - } - retStream << std::endl; - - if (level < 4) - return(retStream.str()); - - retStream << "Packet Hex dump:"; - - for (int32 c(0); c<objPtr->bytes; ++c) { - if ((c%16) == 0) - retStream << std::endl; - retStream << " " << std::hex; - if (((unsigned int) (objPtr->packetc)) < 16) - retStream << "0"; - retStream << (unsigned int) (objPtr->packetc); - } - - retStream << std::dec << std::endl; - - return(retStream.str()); -}
View file
oggvideotools-0.8.tar.bz2/src/oggPacket.h
Deleted
@@ -1,103 +0,0 @@ -/* - * OggPacket will carry all relevant information of an ogg packet - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef OGGPACKET_H_ -#define OGGPACKET_H_ - -#include <string> -#ifdef HAVE_LIBOGG -#include <ogg/ogg.h> -#endif - -#include "definition.h" -#include "refObject.h" -#include "oggTypes.h" - -class OggPacketInternal : public ogg_packet { - -public: - - enum PacketType { - normal, - bos, - eos - }; - - /* information about the stream type and the stream No */ - OggType streamType; - uint8 streamNo; - bool streamHeader; - - OggPacketInternal(); - OggPacketInternal(uint8* data, uint32 length, uint32 packetNo, - int64 granulePos=-1, PacketType packetType = normal); - - virtual ~OggPacketInternal(); - - OggPacketInternal* clone(); -}; - -class OggPacket : public RefObject<OggPacketInternal> { - -public: - OggPacket(); - OggPacket(const OggPacket& packet); - OggPacket(OggPacketInternal* internalPacket); - virtual ~OggPacket(); - - OggPacket& operator=(const OggPacket& packet); - - int64 granulepos(); - - void setGranulepos(int64 pos); - - uint32 getPacketNo(); - uint8 getStreamNo(); - OggType getStreamType(); - - void setStreamType(OggType type); - void setStreamNo(int8 streamNo); - void setStreamHeader(); - - bool isBOS(); - bool isEOS(); - bool isStreamHeader(); - - void setBOS(); - void unsetBOS(); - void setEOS(); - void unsetEOS(); - - uint32 length(); - uint8* data(); - - OggPacket clone(); - - /* - ogg_packet toLibogg(); - void fromLibogg(ogg_packet packet); - */ - - std::string print(uint8 level); - -}; - -#endif /*OGGPACKET_H_*/
View file
oggvideotools-0.8.tar.bz2/src/oggPage.cpp
Deleted
@@ -1,331 +0,0 @@ -/* - * OggPage will carry all relevant information of an ogg page - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <sstream> -#include <cstring> - -#include "oggPage.h" -#include "oggHeader.h" -#include "crc.h" - -/* OggPageInternal */ - -OggPageInternal::OggPageInternal() - : data(0), headerLength(0), bodyLength(0), streamNo(255), empty(true) -{ -} - -OggPageInternal::OggPageInternal(uint8* _data, uint32 _headerLength, uint32 _bodyLength) - : data(_data), headerLength(_headerLength), bodyLength(_bodyLength), streamNo(255), empty(false) -{ -} - -OggPageInternal::~OggPageInternal() -{ - if (data) - delete data; -} - -/* -void OggPageInternal::fromLibogg(ogg_page page) -{ - if (data) - delete data; - data = new uint8page.body_len+page.header_len; - headerLength = page.header_len; - bodyLength = page.body_len; -} - -ogg_page OggPageInternal::toLibogg() -{ - ogg_page page; - if (data) { - page.header = data; - page.body = data+headerLength; - page.header_len = headerLength; - page.body_len = bodyLength; - } - else { - page.header = 0; - page.body = 0; - page.header_len = 0; - page.body_len = 0; - } - - return(page); -} -*/ -OggPage::OggPage() -{ -} - -OggPage::OggPage(OggPageInternal* pagePtr) - : RefObject<OggPageInternal>(pagePtr) -{ -} - -OggPage::OggPage(const OggPage& refObj) - : RefObject<OggPageInternal>(refObj) -{ -} - -OggPage::~OggPage() -{ -} - -OggPage& OggPage::operator=(const OggPage& refObj) -{ - if (this == &refObj) - return(*this); - - (*refCounter)--; - - if ((*refCounter) == 0) { - delete refCounter; - delete objPtr; - } - - refCounter = refObj.refCounter; - objPtr = refObj.objPtr; - - (*refCounter)++; - - return(*this); -} - -bool OggPage::isContinued() -{ - return(((OggHeader*)(objPtr->data))->pack_type); -} - -void OggPage::setContinued() -{ - ((OggHeader*)(objPtr->data))->pack_type = 1; -} - -bool OggPage::isBOS() -{ - return(((OggHeader*)(objPtr->data))->page_type); -} - -bool OggPage::isEOS() -{ - return(((OggHeader*)(objPtr->data))->last); -} - -void OggPage::setBOS() -{ - ((OggHeader*)(objPtr->data))->page_type = 1; -} - -void OggPage::unsetBOS() -{ - ((OggHeader*)(objPtr->data))->page_type = 0; -} - -void OggPage::setEOS() -{ - ((OggHeader*)(objPtr->data))->last = 1; -} - -void OggPage::unsetEOS() -{ - ((OggHeader*)(objPtr->data))->last = 0; -} - -void OggPage::setStreamNo(uint8 streamNo) -{ - objPtr->streamNo = streamNo; -} - -uint8 OggPage::getStreamNo() -{ - return(objPtr->streamNo); -} - -uint32 OggPage::version() -{ - return(((OggHeader*)(objPtr->data))->version); -} - -uint32 OggPage::packets() -{ - uint32 segments(((OggHeader*)(objPtr->data))->tableSegments); - uint32 packets(0); - uint8* oggPtr=objPtr->data+sizeof(OggHeader); - - for (uint32 i(0); i<segments; ++i) - if (oggPtri<0xff)packets++; - - return(packets); - -} - -int64 OggPage::granulepos() -{ - return(((OggHeader*)(objPtr->data))->position); -} - -uint32 OggPage::serialno() -{ - return(((OggHeader*)(objPtr->data))->serial); -} - -uint32 OggPage::pageno() -{ - return(((OggHeader*)(objPtr->data))->pageNo); -} - -uint32 OggPage::length() -{ - return(objPtr->headerLength + objPtr->bodyLength); -} - -uint8* OggPage::data() -{ - return(objPtr->data); -} - -bool OggPage::isEmpty() -{ - return(objPtr->empty); -} - -void OggPage::createCRC() -{ - OggHeader* hdr = (OggHeader*)(objPtr->data); - hdr->checksum = 0; - hdr->checksum = Crc::create(objPtr->data, length()); -} - -OggPage OggPage::clone() -{ - - if (length() == 0) - return(OggPage()); - - uint8* data = new uint8length(); - memcpy(data, objPtr->data, length()); - - OggPageInternal* newInternalPage = new OggPageInternal(data, objPtr->headerLength, objPtr->bodyLength); - - return(OggPage(newInternalPage)); - -} - -/* print levels: - * 0) only data length information - * 1) header information - * 2) additional header information - * 3) header dump - * 4) body dump - */ -std::string OggPage::print(uint8 level) -{ - std::stringstream retStream; - - retStream << "Ogg Page: header length = " << std::dec << objPtr->headerLength - << " and body length = " << std::dec << objPtr->bodyLength - << std::endl; - - if (level < 1) - return(retStream.str()); - - OggHeader* header = (OggHeader*)(objPtr->data); - retStream << "Header Information:" - << "\n\tOgg Version : " << (uint32)header->version - << "\n\tSerial No : 0x" << std::hex << header->serial << std::dec - << "\n\tPacket Type : "; - - if (header->pack_type) - retStream << "continued packet"; - else - retStream << "fresh packet"; - - retStream << "\n\tPage Type : "; - - if (header->page_type) - retStream << "begin of stream marker"; - else - retStream << "normal page"; - - retStream << "\n\tLast Page : "; - - if (header->last) - retStream << "end of stream marker"; - else - retStream << "normal page"; - - retStream << "\n\tGranule Position : " << header->position << "(0x" << std::hex << header->position << std::dec << ")"; - retStream << "\n\tPage Number : " << header->pageNo; - retStream << "\n\tChecksum : 0x" << std::hex << header->checksum << std::dec; - retStream << "\n\tTable Segments : " << (uint32) header->tableSegments; - retStream << std::endl << std::endl; - - if (level < 2) - return(retStream.str()); - - retStream << "Segments:"; - - for (uint32 c(0); c<header->tableSegments; ++c) { - if ((c%16) == 0) - retStream << std::endl; - retStream << " "<< std::hex; - if (((unsigned int) (objPtr->datac+sizeof(OggHeader))) < 16) - retStream << "0"; - retStream << (unsigned int) (objPtr->datac+sizeof(OggHeader)); - } - - retStream << std::endl << std::endl; - - if (level < 3) - return(retStream.str()); - - retStream << "Header Hex dump: "; - for (uint32 c(0); c<objPtr->headerLength; ++c) { - if ((c%16) == 0) - retStream << std::endl; - retStream << " " << std::hex; - if (((unsigned int) (objPtr->datac)) < 16) - retStream << "0"; - retStream << (unsigned int) (objPtr->datac); - } - retStream << std::dec << std::endl << std::endl; - - if (level < 4) - return(retStream.str()); - - retStream << "Body Hex dump: "; - - for (uint32 c(0); c<objPtr->bodyLength; ++c) { - if ((c%16) == 0) - retStream << std::endl; - retStream << " " << std::hex; - if (((unsigned int) (objPtr->datac+objPtr->headerLength)) < 16) - retStream << "0"; - retStream << (unsigned int) (objPtr->datac+objPtr->headerLength); - } - - retStream << std::dec << std::endl; - - return(retStream.str()); -} -
View file
oggvideotools-0.8.tar.bz2/src/oggPage.h
Deleted
@@ -1,121 +0,0 @@ -/* - * OggPage will carry all relevant information of an ogg page - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef OGGPAGE_H_ -#define OGGPAGE_H_ - -#include <string> -/* -#ifdef HAVE_LIBOGG -#include <ogg/ogg.h> -#endif -*/ - -#include "refObject.h" -#include "definition.h" - -/// class to store one ogg page -/** this class is easy to handle, as it only carries the - * data area that starts with "OggS". - * The toLibogg() method should be called only if an - * ogg_page is needed. It will NOT provide a deep copy - * so that the data will be lost, when the object is - * deleted. */ -class OggPageInternal { - -public: - //! pointer to the packet data - uint8* data; - - //! header length - uint32 headerLength; - - //! body length - uint32 bodyLength; - - //! internal information: number of stream associated by the decoder - uint8 streamNo; - - //! internal information: unused page - bool empty; - - OggPageInternal(); - OggPageInternal(uint8* data, uint32 headerLength, uint32 bodyLength); - virtual ~OggPageInternal(); - - /* actually we will not create an interface to the original ogg lib - ogg_page toLibogg(); - void fromLibogg(ogg_page page); - */ -}; - -class OggPage : public RefObject<OggPageInternal> { - -public: - OggPage(); - OggPage(const OggPage& page); - OggPage(OggPageInternal* pagePtr); - virtual ~OggPage(); - - OggPage& operator=(const OggPage& page); - - //! Is this page continued ? - bool isContinued(); - - //! Is this page a "Begin of Stream" page ? - bool isBOS(); - - //! Is this page an "End of Stream" page ? - /*! Every stream within a file (e.g. audio stream and video stream) - has it's own eos flag */ - bool isEOS(); - - bool isEmpty(); - - void setContinued(); - - void setEOS(); - void unsetEOS(); - - void setBOS(); - void unsetBOS(); - - /* what ogg version is this stream */ - uint32 version(); - uint32 packets(); - int64 granulepos(); - uint32 serialno(); - uint32 pageno(); - - void createCRC(); - - uint8 getStreamNo(); - void setStreamNo(uint8 streamNo); - - uint32 length(); - uint8* data(); - - OggPage clone(); - - std::string print(uint8 level); -}; - -#endif /*OGGPAGE_H_*/
View file
oggvideotools-0.8.tar.bz2/src/oggResize.cpp
Deleted
@@ -1,749 +0,0 @@ -/* - * oggResize creates a resized video - * - * Copyright (C) 2008-2009 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifdef __WIN32 -#define __GNU_LIBRARY__ -#include "../win32/getopt_win.h" -#endif - -#include <iostream> -#include <map> -#include <vector> -#include <string> -#include <sstream> - -#include <cstring> -#include <cstdlib> -#include <cmath> -#include <ctime> - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "definition.h" -#include "th_helper.h" - -#include "rgbPlane.h" -#include "pictureBlend.h" -#include "pictureResize.h" -#include "pictureLoader.h" -#include "audioConverter.h" -#include "oggComment.h" - -#include "theoraEncoder.h" -#include "theoraDecoder.h" -#include "theoraStreamParameter.h" - -#include "vorbisEncoder.h" -#include "vorbisDecoder.h" -#include "vorbisStreamParameter.h" - -#include "fileRepository.h" -#include "streamSerializer.h" -#include "streamMux.h" - -#include "blendElement.h" -#include "cmdlineextractor.h" - - -void printHelpScreen ( const std::string& progname ) -{ - std::cerr << "usage: "<<progname - << " -- package and version \"" << PACKAGE_STRING << "\"\n\n" - << " Options originalFile.ogv newFile.ogv\n" << " Option: \n" - << " -h this helpscreen\n" - << " -s <width x height> new frame size\n" - << " -f video framerate in frames per second\n" - << " -F audio samplerate in Hz\n" - << " -d video datarate in Bit/s\n" - << " -D audio datarate in Bit/s\n" - << " -q resize quality (1=best/slow; 6=worst/fast)\n" - << " -N audio channels\n" - << " -a add png with alpha channel on top of a frame\n" - << " before the resize process\n" - << " -A add png with alpha channel on top of a frame\n" - << " after the resize process\n" - << " -p only use every <x>th packet to create the new video\n" - << " -c comments for the video stream\n" - << " -C comments for the audio stream\n" - << " -t stretch picture to new size\n\n"; - -} - -/* you can create a alpha blend object with the following option - * -a picturex.png,1.23,2.34;picturey.png,5.12,7,s */ - - -void alphaBlend ( double time, RGBPlane& inPlane, - std::vector<BlendElement>& blendList, float intensityStair ) -{ - - for ( uint32 i ( 0 ); i<blendList.size(); ++i ) { - switch ( blendListi.state ) { - case BlendElement::blend_off: { - if ( time >= blendListi.startTime ) { - if ( blendListi.smooth == true ) { - blendListi.state = BlendElement::blend_slideIn; - } else { - blendListi.intensity = 1.0; - blendListi.state = BlendElement::blend_on; - } - } - } - break; - - case BlendElement::blend_slideIn: { - blendListi.intensity += intensityStair; - - if ( blendListi.intensity >= 1.0 ) { - blendListi.state = BlendElement::blend_on; - blendListi.intensity = 1.0; - } - - } - break; - - case BlendElement::blend_on: { - if ( ( blendListi.endTime > 0.0 ) && ( time >= blendListi.endTime ) ) { - if ( blendListi.smooth == true ) { - blendListi.state = BlendElement::blend_slideOut; - } else { - blendListi.intensity = 0.0; - blendListi.state = BlendElement::blend_end; - } - } - } - break; - - case BlendElement::blend_slideOut: { - blendListi.intensity -= intensityStair; - - if ( blendListi.intensity <= 0.0 ) { - blendListi.state = BlendElement::blend_end; - blendListi.intensity = 0.0; - } - - } - break; - - case BlendElement::blend_end: { - /* do nothing */ - } - break; - - } - - if ( ( blendListi.state != BlendElement::blend_end ) && ( blendListi.state - != BlendElement::blend_off ) ) - inPlane = PictureBlend::alphaBlend ( inPlane, blendListi.picture, blendListi.intensity ); - - } - -} - -int main ( int argc, char* argv ) -{ - - bool copyTheora ( true ); - bool copyVorbis ( true ); - - uint32 width ( 480 ); - uint32 height ( 320 ); - uint32 offsetX; - uint32 offsetY; - - bool changeSize ( false ); - - uint32 framerateNum ( 25 ); - uint32 framerateDenom ( 1 ); - bool changeFramerate ( false ); - - uint32 videoDatarate ( 256000 ); - bool changeVideoDatarate ( false ); - - uint32 audioDatarate ( 64000 ); - bool changeAudioDatarate ( false ); - - uint32 audioSamplerate ( 44100 ); - bool changeAudioSamplerate ( false ); - - uint32 audioChannels ( 2 ); - bool changeAudioChannels ( false ); - - bool strech ( false ); - bool withBlend ( false ); - bool ignoreVorbis (false ); - - uint32 preview(1); - uint32 pictureCounter(0); - uint8 quality(2); - - std::vector<OggComment> videoComments; - bool withVideoComments ( false ); - - std::vector<OggComment> audioComments; - bool withAudioComments ( false ); - - std::vector<BlendElement> blendListBefore; - std::vector<BlendElement> blendListAfter; - - TheoraStreamParameter theoraConfigOutput; - VorbisStreamParameter vorbisConfigOutput; - - TheoraStreamParameter theoraConfigInput; - VorbisStreamParameter vorbisConfigInput; - - std::string programName ( argv0 ); - - srand ( time ( 0 ) ); - - int opt; - while ( ( opt = getopt ( argc, argv, "hs:f:d:tD:c:C:N:F:a:A:q:p:" ) ) != EOF ) - - switch ( opt ) { - - case 'h': - case '?': - printHelpScreen ( programName ); - exit ( -1 ); - - case 'a': { - CmdlineExtractor::extractBlend ( blendListBefore, optarg, ':', ',' ); - copyTheora = false; - } - break; - - case 'A': { - CmdlineExtractor::extractBlend ( blendListAfter, optarg, ':', ',' ); - copyTheora = false; - } - break; - - case 'q': { - uint8 _quality = atoi(optarg); - - if (_quality < 1) - _quality = 1; - if (_quality > 5) - _quality = 5; - - // non linear - switch (_quality) { - - case 1: - quality = 2; - break; - case 2: - quality = 3; - break; - case 3: - quality = 4; - break; - case 4: - quality = 6; - break; - case 5: - quality = 10; - break; - } - - break; - } - case 's': { - std::deque<uint32> framesize; - CmdlineExtractor::extractUint32 ( framesize, optarg, 'x' ); - if ( framesize.size() != 2 ) { - std::cerr - << "please specify the size in the following way: -s320x480\n"; - exit ( -1 ); - } - changeSize = true; - width = framesize0; - height = framesize1; - - } - break; - - case 'f': { - std::deque<uint32> framerate; - CmdlineExtractor::extractUint32 ( framerate, optarg, ':' ); - if ( framerate.size() == 1 ) { - changeFramerate = true; - framerateNum = framerate0; - framerateDenom = 1; - break; - } - if ( framerate.size() == 2 ) { - changeFramerate = true; - framerateNum = framerate0; - framerateDenom = ( framerate1 == 0 ) ? 1 : framerate1; - break; - } - std::cerr - << "please specify the framerate in the following way -s25:2 or -s24\n"; - exit ( -1 ); - - } - break; - - case 'd': - changeVideoDatarate = true; - videoDatarate = atoi ( optarg ); // yes, I know the atoi bug - break; - - case 'D': - changeAudioDatarate = true; - audioDatarate = atoi ( optarg ); - break; - - case 'c': - withVideoComments = true; - CmdlineExtractor::extractCommentPairs ( videoComments, optarg, ';', '=' ); - break; - - case 'C': - withAudioComments = true; - CmdlineExtractor::extractCommentPairs ( audioComments, optarg, ';', '=' ); - break; - - case 'N': - changeAudioChannels = true; - audioChannels = atoi ( optarg ); - if ( ( audioChannels != 1 ) && ( audioChannels != 2 ) ) - changeAudioChannels = false; - break; - - case 'F': - changeAudioSamplerate = true; - audioSamplerate = atoi ( optarg ); - break; - - case 't': - strech = true; - break; - - case 'p': - preview = atoi(optarg); - copyTheora = false; - ignoreVorbis = true; - break; - } - - argc -= optind; - argv += optind; - - if ( ( argc < 2 ) ) { - printHelpScreen ( programName ); - return ( -1 ); - } - - std::string inputFile = std::string ( argv0 ); - std::string outputFile = std::string ( argv1 ); - - /* create configuration */ - - StreamSerializer inStream; - if ( !inStream.open ( inputFile ) ) { - std::cerr << "can not open file <"<<inputFile<<">\n"; - return ( -1 ); - } - - /* get all information from the stream */ - std::vector<StreamConfig> inFileConfigList; - std::vector<StreamConfig> outFileConfigList; - - inStream.getStreamConfig ( inFileConfigList ); - - bool foundTheora ( false ); - int8 theoraStreamID ( -1 ); - int8 outTheoraStreamID ( -1 ); - - bool foundVorbis ( false ); - int8 vorbisStreamID ( -1 ); - int8 outVorbisStreamID ( -1 ); - - /* Output some stream information */ - std::cerr << "Input Streams: \n-----------\n"; - for ( uint32 i ( 0 ); i<inFileConfigList.size(); ++i ) { - - StreamConfig& conf ( inFileConfigListi ); - - std::cerr << "Stream No: "<< ( int ) conf.streamNo<<" serial ID (0x" - <<std::hex << conf.serialNo<<std::dec<<")\n"; - - if ( conf.parameter ) - std::cerr << conf.parameter->toString(); - else - std::cerr << "unknown -> stream will be ignored\n"; - - if ( ( conf.type == ogg_theora ) && ( foundTheora == false ) ) { - foundTheora = true; - theoraStreamID = i; - theoraConfigInput = * ( TheoraStreamParameter* ) ( conf.parameter ); - } - - if ( ( conf.type == ogg_vorbis ) && ( foundVorbis == false ) && ( ignoreVorbis == false )) { - foundVorbis = true; - vorbisStreamID = i; - vorbisConfigInput = * ( VorbisStreamParameter* ) ( conf.parameter ); - } - } - - /* firstly copy all paramters */ - theoraConfigOutput = theoraConfigInput; - vorbisConfigOutput = vorbisConfigInput; - - if ( changeVideoDatarate ) { - if ( theoraConfigInput.videoBitrate != videoDatarate ) { - theoraConfigOutput.videoBitrate = videoDatarate; - theoraConfigOutput.videoQuality = 0; - copyTheora = false; - } - } - - if ( changeSize ) { - if ( ( theoraConfigInput.pictureX != width ) - || ( theoraConfigInput.pictureY != height ) - || ( theoraConfigInput.aspectRatioNum != 1 ) - || ( theoraConfigInput.aspectRatioDenom != 1 ) ) { - - theoraConfigOutput.pictureX = width; - theoraConfigOutput.pictureY = height; - - /* no reason for using another aspect ratio than 1:1, are there? */ - theoraConfigOutput.aspectRatioDenom = 1; - theoraConfigOutput.aspectRatioNum = 1; - - copyTheora = false; - } - } - - if ( changeFramerate ) { - - if ( ( ( theoraConfigOutput.framerateNum != framerateNum ) - || ( theoraConfigOutput.framerateDenom != framerateDenom ) ) - && ( ( theoraConfigOutput.framerateNum*1.0 ) - / ( theoraConfigOutput.framerateDenom*1.0 ) - != ( framerateNum*1.0 ) / ( framerateDenom*1.0 ) ) ) { - theoraConfigOutput.framerateNum = framerateNum; - theoraConfigOutput.framerateDenom = framerateDenom; - - copyTheora = false; - } - } - - if ( changeAudioDatarate ) { - if ( vorbisConfigOutput.datarate != audioDatarate ) { - vorbisConfigOutput.datarate = audioDatarate; - copyVorbis = false; - } - } - - if ( changeAudioSamplerate ) { - if ( vorbisConfigOutput.samplerate != audioSamplerate ) { - vorbisConfigOutput.samplerate = audioSamplerate; - copyVorbis = false; - } - - } - - if ( changeAudioChannels ) { - if ( vorbisConfigOutput.channels != audioChannels ) { - vorbisConfigOutput.channels = audioChannels; - copyVorbis = false; - } - - } - - /* create Decoder/Encoder pair, if they are needed */ - TheoraDecoder* theoraDecoder ( 0 ); - VorbisDecoder* vorbisDecoder ( 0 ); - - TheoraEncoder* theoraEncoder ( 0 ); - VorbisEncoder* vorbisEncoder ( 0 ); - - uint8 outStreamCounter ( 0 ); - - if ( foundTheora ) { - - outTheoraStreamID = outStreamCounter; - if ( !copyTheora ) { - - /* create and initialize the theora decoder */ - theoraDecoder = new TheoraDecoder(); - theoraDecoder->initDecoder ( inFileConfigListtheoraStreamID, - videoComments ); - - /* create and initialize the theora encoder */ - theoraEncoder = new TheoraEncoder ( outStreamCounter ); - - StreamConfig theoraOutStreamConf; - try { - theoraEncoder->configureEncoder ( theoraConfigOutput, theoraOutStreamConf, videoComments ); - } catch ( const char* data ) { - std::cerr << data; - exit ( -1 ); - } - - outFileConfigList.push_back ( theoraOutStreamConf ); - - } else { - - StreamConfig theoraOutStreamConf = inFileConfigListtheoraStreamID; - theoraOutStreamConf.streamNo = outStreamCounter; - outFileConfigList.push_back ( theoraOutStreamConf ); - - } - outStreamCounter++; - } - - if ( foundVorbis ) { - outVorbisStreamID = outStreamCounter; - if ( !copyVorbis ) { - - /* create and initialize the theora decoder */ - vorbisDecoder = new VorbisDecoder ( vorbisStreamID ); - vorbisDecoder->initDecoder ( inFileConfigListvorbisStreamID, - audioComments ); - - /* create stream configuration */ - vorbisEncoder = new VorbisEncoder ( outStreamCounter ); - - /* this configuration is filled by the encoder */ - StreamConfig vorbisOutStreamConf; - - /* configure the theora encoder and get a stream config back - * which configures the stream multiplexer */ - try { - vorbisEncoder->configureEncoder ( vorbisConfigOutput, vorbisOutStreamConf, audioComments ); - } catch ( const char* data ) { - std::cerr << data; - exit ( -1 ); - } - - outFileConfigList.push_back ( vorbisOutStreamConf ); - - } else { - StreamConfig vorbisOutStreamConf = inFileConfigListvorbisStreamID; - vorbisOutStreamConf.streamNo = outStreamCounter; - outFileConfigList.push_back ( vorbisOutStreamConf ); -// outFileConfigList.push_back ( inFileConfigListvorbisStreamID ); - - } - outStreamCounter++; - } - - /* create a repository, where the data should be placed */ - FileRepository* repository = new FileRepository( outputFile, MediaUnit::write ); - - /* create a stream multiplexer */ - StreamMux streamCreate ( repository ); - - /* Print out the output information */ - std::cerr <<"Output Stream:\n-------------\n"; - for ( uint32 i ( 0 ); i<outFileConfigList.size(); ++i ) { - - StreamConfig& conf ( outFileConfigListi ); - - std::cerr << "Stream No: "<< ( int ) conf.streamNo<<" serial ID (0x" - <<std::hex << conf.serialNo<<std::dec<<")\n"; - - if ( conf.parameter ) - std::cerr << conf.parameter->toString(); - else - std::cerr << "unknown \n"; - - } - - /* configure the stream multiplexer */ - streamCreate.configureStreams ( outFileConfigList ); - - OggPacket packet; - OggPacket newPacket; - - double time; - - double distance ( ( 1.0*theoraConfigOutput.framerateDenom ) / ( 1.0 - *theoraConfigOutput.framerateNum ) ); - - double nextTime ( 0 ); - - th_ycbcr_buffer inycbcr; - th_ycbcr_buffer outycbcr; - - /* cleanup buffers */ - th_clean_ycbcr(inycbcr); - th_clean_ycbcr(outycbcr); - - RGBPlane inPlane; - RGBPlane outPlane; - - AudioPacket audioPacket; - AudioPacket newAudioPacket; - - AudioConverter converter; - if ( foundVorbis ) { - converter.initResample ( vorbisConfigOutput.channels, - ( vorbisConfigOutput.samplerate*1.0 ) - / ( vorbisConfigInput.samplerate *1.0 ) ); - } - float intensityStair = ( theoraConfigOutput.framerateDenom*1.0 ) - / ( theoraConfigOutput.framerateNum*1.0 ); - - double aspectCorrection = (theoraDecoder->getInfo().aspect_numerator*1.0)/(theoraDecoder->getInfo().aspect_denominator*1.0); - - std::cerr << "Aspect Ratio correction: "<<aspectCorrection<<std::endl; - while ( inStream.available() ) { - time = inStream.getNextPacket ( packet ); - - std::cerr << " "<<time<<" \r";// << inycbcr0.width << " "<<inycbcr0.stride<<" "<<widthIn<<" \r"; - - if ( packet.getStreamNo() == theoraStreamID ) { -// std::cerr << "theora \n"; - if ( copyTheora ) { - packet.setStreamNo ( outTheoraStreamID ); - streamCreate << packet; - } else { - - try { - ( *theoraDecoder ) << packet; - ( *theoraDecoder ) >> inycbcr; - - while ( (uint64)(time*1000.0+0.5) >= (uint64)(nextTime*1000.0+0.5) ) { - - inPlane = PictureLoader::importYCrCb_theora ( inycbcr, theoraDecoder->getWidth(), theoraDecoder->getHeight(), theoraDecoder->getInfo().pic_x, theoraDecoder->getInfo().pic_y ); - - /* should be an alpha blend applied before resizing */ - if ( !blendListBefore.empty() ) { - alphaBlend ( time, inPlane, blendListBefore, intensityStair ); - } - - if ( changeSize ) { - if (strech) - inPlane = PictureResize::resize ( inPlane, width, height, quality ); - else - inPlane = PictureResize::reframe ( inPlane, width, height, quality, 0, aspectCorrection ); - } - - /* should be an alpha blend applied after resizing? */ - if ( !blendListAfter.empty() ) { - alphaBlend ( time, inPlane, blendListAfter, intensityStair ); - } - - if ( ( !blendListBefore.empty() ) || ( !blendListAfter.empty() ) || changeSize ) { - /* there are changes written to the outycbcr */ - PictureLoader::exportYCrCb_theora ( inPlane, outycbcr); - - if (pictureCounter++%preview == 0) - ( *theoraEncoder ) << outycbcr; - } else { - - /* use the original data */ - if (pictureCounter++%preview == 0) - ( *theoraEncoder ) << inycbcr; - } - - if (theoraEncoder->isAvailable()) { - ( *theoraEncoder ) >> packet; - // std::cerr << "Theora Encoder granule position "<< packet.granulepos()<<"\n"; - - streamCreate << packet; - } - nextTime += distance; - - } - // std::cerr << std::endl; - } catch ( const char* error ) { - std::cerr << "Exception: " << error; - } - } - - } - - if ( packet.getStreamNo() == vorbisStreamID ) { -// std::cerr << "vorbis\n"; - if ( copyVorbis ) { - packet.setStreamNo ( outVorbisStreamID ); - streamCreate << packet; - } else { - // relevant packet - try { - ( *vorbisDecoder ) << packet; - while ( vorbisDecoder->isAvailable() ) { - ( *vorbisDecoder ) >> audioPacket; - - if ( changeAudioSamplerate ) { - AudioPacket tmp; - - static uint64 sampleCount ( 0 ); - static uint64 sampleCount2 ( 0 ); - - sampleCount += ( *audioPacket )->getLength(); - - if ( converter.resample ( audioPacket,tmp ) ) { - - sampleCount2 += ( *tmp )->getLength(); - - ( *vorbisEncoder ) << tmp; - - } - } else { - ( *vorbisEncoder ) << audioPacket; - } - while ( vorbisEncoder->isAvailable() ) { - OggPacket pckt; - ( *vorbisEncoder ) >> pckt; - - streamCreate << pckt; - } - - } - - } catch ( char* error ) { - std::cerr << "Exception: " << error; - } - } - - } - } - - converter.resampleflush(audioPacket); - - streamCreate.setEndOfStream(); - - th_free_ycbcr(outycbcr); - - /* do cleanup */ - delete theoraDecoder; - delete vorbisDecoder; - - delete theoraEncoder; - delete vorbisEncoder; - - /* close the sample converter */ - converter.closeResample(); - - streamCreate.close(); - inStream.close(); - - std::cerr << std::endl; -}
View file
oggvideotools-0.8.tar.bz2/src/oggRingbuffer.cpp
Deleted
@@ -1,153 +0,0 @@ -/* - * Ringbuffer to prebuffer an ogg file - * - * Copyright (C) 2005-2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -/* History: - 01 2008: initial version is taken from the streamnik server project (JS) -*/ - -#include <iostream> -#include <string.h> - -#include <stdlib.h> - -#include "oggRingbuffer.h" -#include "oggHeader.h" - -OggRingbuffer::OggRingbuffer(unsigned int buffersize) - :ringbuffer(buffersize) -{ -} - -OggRingbuffer::OggRingbuffer(unsigned char* data, unsigned int len) - :ringbuffer(data, len) -{ -} - - -OggRingbuffer::~OggRingbuffer() -{ -} - -bool OggRingbuffer::getNextPageLength(unsigned int& length, int pageNum) -{ - lock(); - - int tmpend = end; - int tmpend2 = end; - int tmpused = used; - length = 0; - - for (; pageNum; pageNum--) { - tmpend = tmpend2; - if (tmpused < (int) sizeof(OggHeader)) { - unlock(); - return(false); - } - - // test is this aligned? - char starter5; - for (unsigned int i=0; i<5; ++i) { - starteri = fifotmpend; - tmpend+=1; - tmpend%=size; - } - - if (strncmp(starter, "OggS", 4) != 0) { - unlock(); - std::cerr << "OggRingbuffer::getNextPageLength: ERROR ogg packet not aligned\n"; - dump(); - abort(); - return (false); - } - - tmpend += sizeof(OggHeader)-6; // jup to the segment table - tmpend %= size; - - unsigned int readsegments = fifotmpend; - - tmpend += 1; - tmpend %= size; - - length += sizeof(OggHeader) + readsegments; - - if (tmpused < (int)(sizeof(OggHeader)+readsegments)) { - unlock(); - return(false); - } - - for (unsigned int i=0; i<readsegments; ++i) { - length += fifotmpend; - tmpend += 1; - tmpend %= size; - } - - if (tmpused < (int)length) { - unlock(); - return(false); - } - tmpused -= length; - tmpend2 = end + length; - tmpend2 %= size; - - } - unlock(); - return(true); - -} - -bool OggRingbuffer::getNextPages(unsigned char*& data, unsigned int& length, unsigned int size) -{ - if (!used) - return(false); - - if (!getNextPageLength(length,size)) - return(false); - - if (!data) - data = new unsigned charlength; - - if (length != getData(data, length)) - return(false); - - - return(true); -} - -bool OggRingbuffer::getNextPage(unsigned char*& data, unsigned int& length) -{ - return(getNextPages(data, length, 1)); -} - -void OggRingbuffer::dump() -{ - - for (uint32 c(0); c<used; ++c) { - if ((c%16) == 0) - std::cerr << std::endl; - std::cerr << " " << std::hex; - if (fifo(c+begin)%size < 16) - std::cerr << "0"; - std::cerr << (unsigned int)fifo(c+begin)%size; - } - - std::cerr << std::dec << std::endl; -} -
View file
oggvideotools-0.8.tar.bz2/src/oggRingbuffer.h
Deleted
@@ -1,48 +0,0 @@ -/* - * Ringbuffer to prebuffer an ogg file - * - * Copyright (C) 2005-2009 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -/* History: - 01 2008: initial version is taken from the streamnik server project (JS) -*/ -#ifndef oggRingbuffer_h -#define oggRingbuffer_h - -#include "ringbuffer.h" -#include "oggHeader.h" - -class OggRingbuffer : public ringbuffer { - -protected: - void dump(); - -public: - OggRingbuffer(unsigned int buffersize = 64000); - OggRingbuffer(unsigned char* data, unsigned int len); - virtual ~OggRingbuffer(); - - bool getNextPageLength(unsigned int& length, int pageNum=1); - bool getNextPage(unsigned char*& data, unsigned int& length); - bool getNextPages(unsigned char*& data, unsigned int& length, unsigned int pageNum); - -}; - - -#endif
View file
oggvideotools-0.8.tar.bz2/src/oggScroll.cpp
Deleted
@@ -1,206 +0,0 @@ -/* - * oggScroll is a tool to scroll through a theora stream - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> -#include <map> -#include <termios.h> -#include <SDL/SDL.h> - -#include "fileRepository.h" -#include "streamSerializer.h" -#include "theoraDecoder.h" -#include "theoraStreamParameter.h" -#include "SDLvideoOutput.h" - -void printHelpScreen(std::string& progName) -{ - std::cerr << "usage: " << progName << "options\n"; -} - -int getChar() -{ - termios origTerminal; - termios tempTerminal; - int character; - - /* get the actuall terminal state */ - if ((tcgetattr (STDIN_FILENO, &tempTerminal)) == -1) - exit(-1); - - origTerminal = tempTerminal; - - - tempTerminal.c_iflag = - tempTerminal.c_iflag & ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON); - tempTerminal.c_oflag = tempTerminal.c_iflag & ~(OPOST); - tempTerminal.c_cflag = tempTerminal.c_cflag & ~(CSIZE | PARENB); - tempTerminal.c_lflag = tempTerminal.c_lflag & ~(ECHO|ICANON|IEXTEN|ISIG); - tempTerminal.c_cflag = tempTerminal.c_cflag | CS8; - tempTerminal.c_ccVMIN = 1; - tempTerminal.c_ccVTIME = 0; - - /*Jetzt setzten wir den raw-Modus*/ - /* - * if ((tcsetattr (fd, TCSAFLUSH, &new_io)) == -1) - */ - - /* change terminal to raw behaviour */ - tcsetattr (STDIN_FILENO, TCSAFLUSH, &tempTerminal); -// cfmakeraw(&tempTerminal); - - /* wait for a keypress event */ - character = getchar(); - - /* restore the old terminal */ - tcsetattr (STDIN_FILENO, TCSANOW, &origTerminal); - - return(character); -} - -int main(int argc, char* argv) -{ - std::string inputFile; - std::string programName(argv0); - - int opt; - while ((opt = getopt(argc, argv, "h")) != EOF) - - switch (opt) { - - case 'h': - printHelpScreen(programName); - exit(-1); - - } - - argc -= optind; - argv += optind; - - if (argc == 1) - inputFile = std::string(argv0); - else { - printHelpScreen(programName); - exit(-1); - } - - if (inputFile.empty()) { - std::cerr << "Error: please define an input and output file with -i and -o\n\n"; - return(-1); - } - - /* create the */ - StreamSerializer streamSerializer; - TheoraDecoder theoraDecoder; - uint8 foundTheora(0); - std::vector<OggComment> commentList; - - if (!streamSerializer.open(inputFile)) { - std::cerr << "Error: can not open file <"<<inputFile<<">\n"; - return(-1); - } - - uint8 theoraStreamNo(0); - - /* create the headers */ - std::vector<StreamConfig> streamConfigList; - streamSerializer.getStreamConfig(streamConfigList); - - TheoraStreamParameter* theoraConfig(0); - - /* Output some stream information */ - for (uint32 i(0); i<streamConfigList.size(); ++i) { - if (streamConfigListi.type != ogg_unknown) { - std::cerr << streamConfigListi.parameter->toString(); - } - if (streamConfigListi.type == ogg_theora) { - // take the first theora stream - if (!foundTheora) { - theoraStreamNo = streamConfigListi.streamNo; - theoraConfig = (TheoraStreamParameter*)streamConfigListi.parameter; - theoraDecoder.initDecoder(streamConfigListi, commentList); - } - foundTheora++; - } - } - - OggPacket packet; - double time; - - if (foundTheora == 0) { - std::cerr << "I do not find any theora stream\n"; - exit(-1); - } - - /* create SDL video object */ - VideoInfo sdlInfo; - sdlInfo.frame_width = theoraConfig->pictureX; - sdlInfo.frame_height = theoraConfig->pictureY; - sdlInfo.offset_x=0; - sdlInfo.offset_y=0; - - //TheoraVideoPacket picture; - th_ycbcr_buffer picture; - SDLvideoOutput videoOut; - videoOut.init(sdlInfo); - - /* play back the pictures */ - bool keyframeSearch(false); - bool avail(true); - - while (1==1) { - - time = streamSerializer.getNextPacket(packet); - while (avail) { -// std::cerr << time<<" - Stream No: "<<(int)packet.getStreamNo()<< " theora Stream No: "<<(int)theoraStreamNo<<"\n"; - if ((packet.getStreamNo() != theoraStreamNo) || ((keyframeSearch) && (!TheoraDecoder::isPacketKeyframe(packet)))) { - if (!streamSerializer.available()) - avail = false; - else - time = streamSerializer.getNextPacket(packet); - } else - break; - - } - - if (!avail) - break; - - theoraDecoder << packet; - theoraDecoder >> picture; - videoOut << picture; - - std::cerr << "\rTime: "<<time<<" "; - - int key(getChar()); - if (key == 'q') - break; - - if (key == '+') - keyframeSearch=true; - else - keyframeSearch=false; - } - - - return(0); -} - -
View file
oggvideotools-0.8.tar.bz2/src/oggSilence.cpp
Deleted
@@ -1,214 +0,0 @@ -/* - * oggSilence is a command line tool, to create silence vorbis files - * - * Copyright (C) 2009 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifdef __WIN32 -#define __GNU_LIBRARY__ -#include "../win32/getopt_win.h" -#endif - -#include <string> -#include <vector> -#include <iostream> -#include <sstream> -#include <cstdlib> -#include <ctime> - -#include "vorbisEncoder.h" -#include "streamMux.h" -#include "fileRepository.h" -#include "oggComment.h" - -#define BUNCHSIZE 512 - -void printHelpScreen(std::string& name) -{ - std::cerr << "usage "<<name<< " -d <datarate in bit/s> -n <number of channels> -r <sample rate in Hz> -l <length in ms> <output file>\n"; -} - -uint32 _atoi(const char* data) -{ - std::stringstream stream; - uint32 value; - - stream << data; - stream >> value; - - return(value); -} - -AudioPacket getSilencePacket(uint32 channels, uint32 length) -{ - float silencelength; - - for (uint32 i(0); i<length; ++i) - silencei = 0.0; - - AudioPacketInternal* internal = new AudioPacketInternal(channels,length); - - for (uint32 j(0); j<channels; ++j) - internal->setDataOfChannel(j, silence); - - // funny stack stuff ;-) - return(AudioPacket(internal)); -} - -int main( int argc, char* argv ) -{ - - VorbisEncoder encoder(0); - AudioPacket audioPacket; - AudioPacket lastAudioPacket; - - uint32 samplerate(44100); - uint32 channels(2); - uint32 datarate(64000); - uint32 length(60000); // 1 minute - - /* Initialisation */ - - std::string outputFile; - std::string programName(argv0); - - srand(time(0)); - - int opt; - while ((opt = getopt(argc, argv, "ho:d:n:r:l:")) != EOF) - - switch (opt) { - - case 'h': - printHelpScreen(programName); - exit(-1); - - case 'd': - datarate = _atoi(optarg); - break; - - case 'o': - outputFile = std::string(optarg); - break; - - case 'n': - channels = _atoi(optarg); - break; - - case 'r': - samplerate = _atoi(optarg); - break; - - case 'l': - length = _atoi(optarg); // yes, I know the atoi bug - break; - - } - - argc -= optind; - argv += optind; - - if ((argc > 1)) { - printHelpScreen(programName); - exit (-1); - } - - if (argc > 0) { - outputFile = std::string(argv0); - } - - /* Handle wrong parameter and parameter combinations */ - if (outputFile.empty()) { - printHelpScreen(programName); - exit (-1); - } - - StreamMux muxer(new FileRepository(outputFile, MediaUnit::write)); - - muxer.recreatePacketPosition(false); - - /* configure encoder */ - VorbisStreamParameter config; - config.datarate = datarate; - config.channels = channels; - config.samplerate = samplerate; - - StreamConfig streamConfig; - - std::vector<OggComment> comments; // none - - try { - encoder.configureEncoder(config, streamConfig, comments); - } catch (std::string errorMsg) { - std::cerr << errorMsg<<std::endl; - exit(-1); - } catch (...) { - //std::cerr << what(); - exit(-1); - } - - std::cerr << "Creating ogg file with the following parameters\n"<<streamConfig.parameter->toString(); - - /* there is only one stream in this file */ - std::vector<StreamConfig> configList; - configList.push_back(streamConfig); - - /* configure the muxer */ - muxer.configureStreams(configList); - - uint32 completeSamples((float)length/1000.0*samplerate); - - /* create one silence packet */ - audioPacket = getSilencePacket(channels, BUNCHSIZE); - - if (completeSamples%BUNCHSIZE != 0) { - lastAudioPacket = getSilencePacket(channels, completeSamples%BUNCHSIZE); - } - - OggPacket packet; - - for (uint32 i(0); i<completeSamples/BUNCHSIZE; ++i) { - - std::cerr <<(i+1)*BUNCHSIZE<<"\r"; - - encoder << audioPacket; - if (encoder.isAvailable()) { - encoder >> packet; - muxer << packet; - } - } - - std::cerr << "\n"; - - if (completeSamples%BUNCHSIZE != 0) { - std::cerr << "\nwrite last frame with "<<completeSamples%BUNCHSIZE<<std::endl; - encoder << lastAudioPacket; - } - - encoder.flush(); - - while (encoder.isAvailable()) { - encoder >> packet; - muxer << packet; - } - - muxer.setEndOfStream(); - muxer.close(); - - return(0); -}
View file
oggvideotools-0.8.tar.bz2/src/oggSlideshow.cpp
Deleted
@@ -1,393 +0,0 @@ -/* - * oggSlideshow creates a slideshow from a number of pictures - * - * Copyright (C) 2008-2009 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifdef __WIN32 -#define __GNU_LIBRARY__ -#include "../win32/getopt_win.h" -#endif - -#include <iostream> -#include <map> -#include <vector> -#include <string> -#include <sstream> -#include <cstdlib> -#include <cmath> -#include <cstring> -#include <ctime> -//#include <cc++/slog.h> - -#include "th_helper.h" - -#include "definition.h" -#include "theoraEncoder.h" -#include "fileRepository.h" -#include "streamMux.h" -#include "cmdlineextractor.h" - -#include "effector.h" -#include "crossfader.h" -#include "kenburnseffect.h" -#include "lowpassEffect.h" -#include "plainPicture.h" - -#include "pictureLoader.h" -#include "pictureResize.h" - - -void printHelpScreen(std::string& name) -{ - std::cerr << "usage: "<< name <<" options <picture1.bmp> <picture2.bmp> \n"; - std::cerr << "Options: \n" - << " -s <width>x<height>: picture width/height of the output frame\n" - << " -f <frames/s> : frames per second\n" - << " -o <output file> : name of the output file\n" - << " -l <length> : number of frames per picture frequence\n" - << " -d <datarate> : datarate in bit/second\n" - << " -r <resample> : resizes the original pictures to video frame width/height and the additional resample factor\n" - << " -e : reframe picture\n" - << " -t <type> : kb - Ken Burns\n" - << " cf - cross fade\n" - << " p - plain\n" - << " bl - blur\n" - << " -c : comments in form type=value;type=value\n"; - -} - -int main(int argc, char* argv) -{ - enum seqType { - seqType_KenBurns, - seqType_Crossfade, - seqType_Plain, - seqType_Blur - }; - - uint32 width(480); - uint32 height(320); - uint32 framesPerSecond(24); - std::string outputFile("slideshow.ogv"); - uint32 length(8); - uint32 datarate(256000); - seqType showType(seqType_KenBurns); - float resample(1.4); - bool reframe(false); - std::vector<OggComment> oggComments; - - srand(time(0)); - - std::string programName(argv0); - - int opt; - while ((opt = getopt(argc, argv, "hp:f:o:l:d:r:t:s:ec:")) != EOF) - - switch (opt) { - - case 'h': - case '?': - printHelpScreen(programName); - exit(-1); - - case 's': { - std::deque<uint32> framesize; - CmdlineExtractor::extractUint32(framesize, optarg, 'x'); - if (framesize.size() != 2) { - std::cerr << "please specify the size in the following way: -s320x480\n"; - exit(-1); - } - width = framesize0; - height = framesize1; - - } - break; - - case 'f': - framesPerSecond = atoi(optarg); - break; - - case 'o': - outputFile = std::string(optarg); - break; - - case 'l': - length = atoi(optarg); // yes, I know the atoi bug - break; - - case 'd': - datarate = atoi(optarg); // yes, I know the atoi bug - break; - - case 'r': - resample = atof(optarg); - if ((resample < 1) || (resample > 2)) - resample = 1.2; - break; - - case 'e': { - std::cerr << "reframing\n"; - reframe = true; - break; - } - - case 't': { - std::string typeStr(optarg); - if ((typeStr == "kb") || (typeStr =="KenBurns")|| (typeStr == "KB")) { - showType = seqType_KenBurns; - break; - } - if ((typeStr == "cf") || (typeStr =="crossfade")) { - showType = seqType_Crossfade; - break; - } - - if ((typeStr == "p") || (typeStr =="plain")|| (typeStr == "simple")) { - showType = seqType_Plain; - break; - } - - if ((typeStr == "b") || (typeStr =="bl") || (typeStr == "blur") || - (typeStr == "lp") || (typeStr == "lowpass")) { - showType = seqType_Blur; - break; - } - - std::cerr << "Unknown Type: using Ken Burns"; - showType = seqType_KenBurns; - } - break; - - case 'c': { - CmdlineExtractor::extractCommentPairs ( oggComments, optarg, ';', '=' ); - - } - - - } - - argc -= optind; - argv += optind; - - if ((argc < 1)) { - printHelpScreen(programName); - return (-1); - } - - /* create configuration */ - TheoraStreamParameter config; - -// for valgrind -#ifdef HAVE_BZERO - bzero(&config,sizeof(TheoraStreamParameter)); -#else - memset(&config, 0x00, sizeof(TheoraStreamParameter)); -#endif - - config.pictureX = width; - config.pictureY = height; - config.videoBitrate = datarate; - config.aspectRatioDenom = 1; - config.aspectRatioNum = 1; - config.framerateNum = framesPerSecond; - config.framerateDenom = 1; - config.keyframeShift = 6; - - /* create stream configuration */ - TheoraEncoder theoraEncoder(0); - StreamConfig streamConf; - - /* configure the theora encoder and get a stream config back - * which configures the stream multiplexer */ - try { - theoraEncoder.configureEncoder(config, streamConf, oggComments); - } catch (const char* data) { - std::cerr << data; - exit(-1); - } - - // encoder might want another frame size: -// width = config.frameX; -// height = config.frameY; - - std::vector<StreamConfig> configList; - configList.push_back(streamConf); - - /* create a repository, where the data should be placed */ - FileRepository* repository = new FileRepository(outputFile, MediaUnit::write); - - /* create a stream multiplexer */ - StreamMux streamCreate(repository); - - /* configure the stream multiplexer */ - streamCreate.configureStreams(configList); - - /* extract the RGB picture plane */ - RGBPlane pictureRGB; - - /* create the effector */ - Effector* effector(0); - switch (showType) { - case seqType_KenBurns: - effector = new KenBurnsEffect; - break; - - case seqType_Crossfade: - effector = new Crossfader; - break; - - case seqType_Plain: - effector = new PlainPicture; - break; - - case seqType_Blur: - effector = new LowpassEffect; - break; - - } - - bool first(true); - - // run through all pictures in command line - for (int32 i(0); i<argc; ++i) { - - bool last = (i == (argc-1)); - try { - - std::cout << "\ncreating video stream for picture <"<<argvi<<">\n"; - - uint32 loadWidth; - uint32 loadHeight; - - if (showType == seqType_KenBurns) { - loadWidth = (uint32)(width*resample); - loadHeight = (uint32)(height*resample); - } else { - loadWidth = width; - loadHeight = height; - } - - bool biggest = (!reframe); - if (PictureLoader::load(pictureRGB, argvi, loadWidth, loadHeight, biggest) == false) { - continue; - } - /* add borders, if aspect ratio does not match and the user wants that */ - if (reframe && ((loadWidth != pictureRGB->width) || (loadHeight != pictureRGB->height))) { - std::cerr << "Picture aspect ratio does not match, doing reframing\n"; - pictureRGB = PictureResize::reframe(pictureRGB, loadWidth, loadHeight); - } - /* configure the effector */ - switch (showType) { - - case seqType_KenBurns: { - - KenBurnsEffect::KenBurnsConfig config = KenBurnsEffect::createKBconfigRandom(pictureRGB, loadWidth, loadHeight, width, height, length*framesPerSecond, framesPerSecond); - - config.first = first; - config.last = last; - static_cast<KenBurnsEffect*>(effector)->configure(config); - - break; - } - - - case seqType_Crossfade: { - - Crossfader::CrossfaderConfig config; - - config.origPlane = pictureRGB; - config.blindLength = framesPerSecond; - config.sequenceLength = length*framesPerSecond; - config.outputWidth = width; - config.outputHeight = height; - config.first = first; - - static_cast<Crossfader*>(effector)->configure(config); - - break; - } - - case seqType_Plain: { - - PlainPicture::PlainPictureConfig config; - - config.origPlane = pictureRGB; - config.sequenceLength = length*framesPerSecond; - config.outputWidth = width; - config.outputHeight = height; - - static_cast<PlainPicture*>(effector)->configure(config); - - break; - } - - case seqType_Blur : { - - LowpassEffect::LowPassPictureConfig config; - - config.origPlane = pictureRGB; - config.blindLength = framesPerSecond; - config.sequenceLength = length*framesPerSecond; - config.outputWidth = width; - config.outputHeight = height; - config.first = first; - config.last = last; - static_cast<LowpassEffect*>(effector)->configure(config); - break; - } - } - - RGBPlane outputPlane; - OggPacket packet; - th_ycbcr_buffer theoraPictureBuffer; - th_clean_ycbcr(theoraPictureBuffer); - - while (effector->available()) { - - (*effector) >> outputPlane; - PictureLoader::exportYCrCb_theora(outputPlane, theoraPictureBuffer); - - theoraEncoder << theoraPictureBuffer; - theoraEncoder >> packet; - std::cerr << "\r " <<std::fixed << packet.getPacketNo()*1.0/(framesPerSecond*1.0)<<" "; - streamCreate << packet; - } - - th_free_ycbcr(theoraPictureBuffer); - - } catch (const char* errorString) { - std::cout << errorString << std::endl; - exit(-1); - } - first = false; - } - - streamCreate.setEndOfStream(); - streamCreate.close(); - - delete effector; - - std::cout << std::endl; -#ifdef OSX_MALLOC_DEBUG - std::cout << "Done!\n"; - while (1==1) { } -#endif - - return(0); -}
View file
oggvideotools-0.8.tar.bz2/src/oggSplit.cpp
Deleted
@@ -1,149 +0,0 @@ -/* - * oggSplit will demultiplex a number of video and audio streams from an ogg file - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> -#include <map> -#include <sstream> -#include <string> -#include <cstdlib> - -#include "fileRepository.h" -#include "rawMediaPacket.h" -#include "oggDecoder.h" -#include "oggEncoder.h" -#include "oggStreamDecoder.h" -#include "oggBOSExtractorFactory.h" - -struct OutputUnit { - OggEncoder encoder; - FileRepository repository; -}; -void printHelpScreen(const std::string& progName) -{ - std::cerr << "usage: " << progName << " <file.ogv>\n" - << " -- package and version \"" << PACKAGE_STRING << "\"\n\n" - << "oggSplit demultiplexes an ogg file into its streams.\n" - << "Every stream is placed into a single file, which are\n" - << "called theora_<serialNo>.ogg or vorbis_<serialNo>.ogg.\n" - << "The serial number is the unique ogg serial number of\n" - << "this stream.\n\n"; -} - -int main(int argc, char* argv) -{ - - if (argc != 2) { - printHelpScreen(argv0); - exit(-1); - } - - std::string help("-h"); - - if (help == argv1) { - printHelpScreen(argv0); - exit(-1); - } - - /* open the repository - in this easy example, it is a simple file */ - FileRepository repository(argv1, MediaUnit::read); - - /* open the file to write the new stream */ - std::map<uint32, OutputUnit> outputFileList; - - RawMediaPacket rawDecoderPacket; - OggDecoder oggDecoder; - OggPage oggPage; - - /* run through the repository until there is no data left */ - while (!repository.isEndOfFile()) { - - /* extract a raw data bunch from the file .. */ - repository >> rawDecoderPacket; - - /* .. and insert it into the ogg decoder */ - oggDecoder << rawDecoderPacket; - - /* are there any complete ogg Pages available ? */ - while (oggDecoder.isAvailable()) { - - /* grap the next page */ - oggDecoder >> oggPage; - - /* what ID has this page / what stream does this page belongs to */ - uint32 serialID = oggPage.serialno(); - - /* if this is the start of a stream, create a repository file for it */ - if (oggPage.isBOS()) { - - std::stringstream filename; - - switch (OggBOSExtractorFactory::getStreamType(oggPage)) { - - case ogg_theora: - filename << "theora_" << std::hex << serialID << std::dec - << ".ogv"; - break; - - case ogg_vorbis: - filename << "vorbis_" << std::hex << serialID << std::dec - << ".oga"; - break; - - case ogg_kate: - filename << "kate_" << std::hex << serialID << std::dec - << ".ogv"; - break; - - default: - std::cerr << "unknown type ID "<< std::hex << serialID << std::dec <<"\n"; - filename << "unknown_" << std::hex << serialID << std::dec - << ".ogv"; - - } - - std::cerr << "creating file <"<<filename.str()<<">\n"; - outputFileListserialID.repository = FileRepository( - filename.str(), MediaUnit::write); - outputFileListserialID.encoder = OggEncoder(); - } - - /* if this is a simple page, insert it into the decoder it - belongs to */ - outputFileListserialID.encoder << oggPage; - while (outputFileListserialID.encoder.isAvailable()) { - - RawMediaPacket rawOutput; - - /* extract the raw packets */ - outputFileListserialID.encoder >> rawOutput; - outputFileListserialID.repository << rawOutput; - - } - if (oggPage.isEOS()) - outputFileListserialID.repository.close(); - } - } - - repository.close(); - - return (0); -}
View file
oggvideotools-0.8.tar.bz2/src/oggStreamDecoder.cpp
Deleted
@@ -1,223 +0,0 @@ -/* - * oggStreamDecoder is a class to extract an ogg packet from an - * ogg page stream - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> -#include <vector> -#include <cstring> - -#include "definition.h" -#include "oggHeader.h" -#include "oggStreamDecoder.h" - -OggStreamDecoder::SegmentElement::SegmentElement(uint8* _data, uint32 length) : - data(_data), length(length) -{ -} - -OggStreamDecoder::OggStreamDecoder() -{ -} - -OggStreamDecoder::~OggStreamDecoder() -{ - clear(); -} - -void OggStreamDecoder::init(OggPage page) -{ - - /* if this is not a Begin Of Stream page, do nothing */ - if (!page.isBOS()) { - std::cerr << "OggStreamDecoder: ogg page is not a begin of stream\n"; - return; - } - - packetCount = 0; - - /* extract and remember the serial number of this stream */ - serialNo = page.serialno(); - setConfigured(); - -} - -void OggStreamDecoder::clear() -{ - delete tmpSegment.data; - tmpSegment.data = 0; - tmpSegment.length = 0; -} - -uint32 OggStreamDecoder::getSerialNo() -{ - return(serialNo); -} - -OggStreamDecoder& OggStreamDecoder::operator<<(OggPage& page) -{ - /* if this stream is not initialized, try to initialize it */ - if (!isInitialized()) - init(page); - - /* decode the packets */ - if (!isConfigured()) { - throw ("OggStreamDecoder::operator<<: This stream is not is not configured yet\n"); - } - - if (page.serialno() != serialNo) { - throw ("OggStreamDecoder::operator<<: page does not belong to this stream\n"); - } - - /* extract the header */ - uint8* data(page.data()); - OggHeader* header = (OggHeader*)(data); - data += sizeof(OggHeader); - - /* extract the relevant data from the header */ - unsigned char tableSegments(header->tableSegments); - - // extract the segment table - uint8* segment = (uint8*) data; - data += tableSegments; - - /* will the last packet be continued on in the next page? */ - bool willBeContinued; - - if (segmentheader->tableSegments-1 != 255) - willBeContinued = false; - else - willBeContinued = true; - - std::vector<SegmentElement> segmentDataList; - - // extract pointers to the packets in this page - SegmentElement segData(data,0); - - for (unsigned int i=0; i<tableSegments; ++i) { - data += segmenti; - segData.length += segmenti; - if (segmenti != 255) { - segmentDataList.push_back(segData); - segData = SegmentElement(data,0); - } - } - - // store the last packet if it does not end in this page - if (willBeContinued) - segmentDataList.push_back(segData); - - /* it would be good to know where the granule position belongs to */ - uint32 infoPosition(256); - /* does the last packet do not end here */ - if (!willBeContinued) - infoPosition = segmentDataList.size()-1; - else if (segmentDataList.size() > 1) - infoPosition = segmentDataList.size()-2; - - // now extract the ogg packets itself - // every segment in the list is one packet (maybe there is a - // remaining part in tmpSegment from the page before and - // there might be a segment, that is not finished on this page) - - for (unsigned int i(0); i<segmentDataList.size(); ++i) { - - uint32 overallLength = tmpSegment.length+segmentDataListi.length; - unsigned char* newPacketPtr = new unsigned charoverallLength; - - if (tmpSegment.length) - memcpy(newPacketPtr,tmpSegment.data, tmpSegment.length); - - memcpy(newPacketPtr+tmpSegment.length, segmentDataListi.data, segmentDataListi.length); - - // delete the temporary Segment - if (tmpSegment.data) { - delete tmpSegment.data; - tmpSegment = SegmentElement(); - } - if ((i == (segmentDataList.size()-1)) && willBeContinued) { - //store last segment as it is does not end here - tmpSegment = SegmentElement(newPacketPtr, overallLength); - } else { - // we found a full packet - OggPacketInternal::PacketType packetType(OggPacketInternal::normal); - int64 granulePosition(-1); - - if ((i == 0) && (page.isBOS())) - packetType = OggPacketInternal::bos; - - if ((i == segmentDataList.size()-1) && (page.isEOS())) - packetType = OggPacketInternal::eos; - - if (i == infoPosition) - granulePosition = header->position; - - /* create the packet */ - OggPacket packet(new OggPacketInternal(newPacketPtr, overallLength, packetCount++, granulePosition, packetType)); - - oggPacketList.push_back(packet); - } - } - - if (!oggPacketList.empty()) - setAvailable(); - - return(*this); -} - -OggPacket OggStreamDecoder::inspectNextPacket() -{ - OggPacket packet; - - if (!isAvailable()) { - throw("OggStreamDecoder::inspectNextPacket: no packet available\n"); -// std::cerr << "OggStreamDecoder::inspectNextPacket: no packet available\n"; -// return (packet); - } - - // we will not harm the list in any kind - packet = oggPacketList.front(); - - return (packet); -} - -OggStreamDecoder& OggStreamDecoder::operator>>(OggPacket& packet) -{ - if (!isAvailable()) { - throw ("OggStreamDecoder::operator>>: no packet available\n"); -// std::cerr << "OggStreamDecoder::operator>>: no packet available\n"; -// return(*this); - } - - packet = oggPacketList.front(); - oggPacketList.pop_front(); - - /* is this the last packet within this stream, - * then set the stream status */ - if (packet.isEOS()) { - setEndOfStream(); - } else { - if (oggPacketList.empty()) { - setEmpty(); - } - } - return(*this); -} -
View file
oggvideotools-0.8.tar.bz2/src/oggStreamDecoder.h
Deleted
@@ -1,68 +0,0 @@ -/* - * oggStreamDecoder is a class to extract an ogg packet from an - * ogg page stream - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef OGGSTREAMDECODER_H_ -#define OGGSTREAMDECODER_H_ - -#include<list> - -#include "mediaDecoder.h" -#include "oggPage.h" -#include "oggPacket.h" -#include "oggTypes.h" - -/* TODO: Exception Handling - * The library should provide a consistent exception handling */ - -class OggStreamDecoder : public MediaDecoder { - -protected: - - /*! A segment element, to cut the page into it's pieces */ - struct SegmentElement { - uint8* data; - uint32 length; - SegmentElement(uint8* data=0, uint32 length=0); - }; - - uint32 packetCount; - uint32 serialNo; - SegmentElement tmpSegment; - std::list<OggPacket> oggPacketList; - - void init(OggPage page); - -public: - OggStreamDecoder(); - virtual ~OggStreamDecoder(); - - virtual OggStreamDecoder& operator<<(OggPage& page); - virtual OggStreamDecoder& operator>>(OggPacket& packet); - - OggPacket inspectNextPacket(); - - uint32 getSerialNo(); - - virtual void clear(); -}; - -#endif /*OGGSTREAMDECODER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/oggStreamEncoder.cpp
Deleted
@@ -1,378 +0,0 @@ -/* - * oggStreamEncoder is a class to insert an ogg packet into an ogg page stream - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> -#include <cstring> -#include <cstdlib> - -#include "definition.h" -#include "oggStreamEncoder.h" -#include "oggHeader.h" -#include "crc.h" - -#define min(a,b) ((a<b)?(a):(b)) -#define max(a,b) ((a>b)?(a):(b)) - -std::vector<uint32> OggStreamEncoder::usedSerialNo; - -OggStreamEncoder::OggStreamEncoder(uint32 serial) - : maxPageSize(4096), streamNo(0), dataLength(0), dataSegments(0), usedData(0), pageCounter(0) -// packetCounter(0), positionInterpreterEnabled(false), pageKeepEnabled(false), - //posInterpreter(0) -{ - uint32 newSerial = findUniqueSerial(serial); - - /* - if (newSerial != serial) - std::cerr << "OggStreamEncoder::OggStreamEncoder: serial number <" - << std::hex << serial << "> is in use - using <" - << newSerial << std::dec << "> instead\n"; - */ - streamSerialNo = newSerial; - - setInitialized(); -} - -OggStreamEncoder::~OggStreamEncoder() -{ - if (!oggPacketList.empty()) - std::cerr << "OggStreamEncoder::Destructor: WARNING packet list not empty\n"; - - if (!oggPageList.empty()) - std::cerr << "OggStreamEncoder::Destructor: WARNING page list not empty\n"; - -} - -// we need a global repository to keep an Eye on the serial numbers -uint32 OggStreamEncoder::findUniqueSerial(uint32 origSerial) -{ - bool isUnique(false); - uint32 serial; - - while (!isUnique) { - serial = (origSerial?origSerial:rand()); - isUnique = true; - origSerial = 0; - - for (uint32 i(0); i<usedSerialNo.size(); ++i) - if (serial == usedSerialNoi) - isUnique = false; - } - usedSerialNo.push_back(serial); - return(serial); -} - -/* -void OggStreamEncoder::enablePositionInterpreter() -{ - positionInterpreterEnabled = true; -} - -void OggStreamEncoder::keepOnePage() -{ - pageKeepEnabled = true; -} -*/ - -void OggStreamEncoder::addPacket(OggPacket& packet) -{ - /* if we want to interprete the position by ourself */ - /* - if (positionInterpreterEnabled && - posInterpreter && (!packet.isStreamHeader())) - posInterpreter->setStreamPosition(packet); - */ - /* This is a normal packet - * Let's start to calculate the actual length */ - oggPacketList.push_back(packet); - - dataLength += packet.length(); - uint32 actSegmentsSize = (packet.length()+255)/255; - uint8 actSegmentsmaxSegmentEntries; - - if (actSegmentsSize > maxSegmentEntries) - throw "OggStreamEncoder::addPacket: Not able to handle this packet size"; - - /* calculate the segment table part of this packet */ - memset(actSegments, 0xff, actSegmentsSize-1); - actSegmentsactSegmentsSize-1 = packet.length()%255; - - segmentsBuffer.addData(actSegments, actSegmentsSize); - -} - -bool OggStreamEncoder::getNextPacketLength(uint32 pageBorder, uint32& length, - uint32& segments) -{ - /* initialize the values */ - length = 0; - segments = 0; - - /* if the data length is in range, do nothing */ - if ((dataLength < pageBorder) && (segmentsBuffer.getUsed() < 255)) { - return(false); - } - - /* get the actually available segments (maximum 255)*/ - uint8 actSegments255; - uint32 actSegmentsSize = segmentsBuffer.luenkerfront(actSegments,255); - - /* and calculate, how many segments we want to include into the - * actual page */ - for (uint32 count(0); count<actSegmentsSize; ++count) { - length += actSegmentscount; - segments++; - if ((length >= pageBorder) || (segments > 254)) - return(true); - } - - return(true); -} - -OggStreamEncoder& OggStreamEncoder::operator<<(OggPacket packet) -{ - if (!isInitialized()) { - std::cerr << "OggStreamEncoder::operator<<: Stream is not initialized correctly\n"; - return(*this); - } - - if (!isConfigured()) { - - // this must be the bos packet - if (!packet.isBOS()) { - std::cerr << "OggStreamEncoder::operator<<: First packet must be a BOS packet\n"; - return(*this); - } else { - /* THIS IS NOT CLEAN!!!!!!!*/ -// ExtractorInformation info; -// oggBOSExtractorFactory::extractInformation(packet) -// posInterpreter = oggBOSExtractorFactory::extractPositionInterpreter(info); - streamNo = packet.getStreamNo(); - } - /* add the packet to the temporal buffer */ - addPacket(packet); - - /* the encoder stream is configured */ - setConfigured(); - - /* flush the first packet (see Spec) */ - flush(); - - return(*this); - } - - /* add the packet to the temporal buffer */ - addPacket(packet); - - /* create as many packets as data is available */ - while (dataLength > maxPageSize) { - createPage(maxPageSize); - } - - return(*this); -} - -OggStreamEncoder& OggStreamEncoder::operator>>(OggPage& page) -{ - if (isEmpty()) { - std::cerr << "OggStreamEncoder::opertator>>: no page available\n"; - return(*this); - } - - page = oggPageList.front(); - oggPageList.pop_front(); - - page.obj()->streamNo = streamNo; -// std::cerr << "OggStreamEncoder::opertator>>: page output\n"; -// page.print(); - - /* - if (pageKeepEnabled) { - if (oggPageList.size() < 2) - setEmpty(); - } - else { - */ - if (oggPageList.empty()) - setEmpty(); - - - return(*this); - -} - -void OggStreamEncoder::flush() -{ - while (dataLength) - createPage(dataLength); -} - -void OggStreamEncoder::createPage(uint32 minPageSize) -{ - uint32 bodyLength; - uint32 segmentsSize; - - /* Is there enough data available? */ - if (!getNextPacketLength(minPageSize, bodyLength, segmentsSize)) - return; - - uint32 overallLength = sizeof(OggHeader) + segmentsSize + bodyLength; - uint8* pageData = new uint8overallLength; - - /* an ogg page looks like this: - * -------------------------------------------------------- - * | Ogg Header | Segments Table | Packet1 | Packet2 | ... - * -------------------------------------------------------- - */ - OggHeader* header ((OggHeader*)pageData); - uint8* segments (pageData+sizeof(OggHeader)); - uint8* body (segments+segmentsSize); - - /* set the header information */ -#ifdef HAVE_BZERO - bzero(header,sizeof(OggHeader)); -#else - for (uint32 i(0); i<sizeof(OggHeader); ++i) *(((uint8*)header)+i) = 0; -#endif - memcpy(header->ogg,"OggS",4); - header->tableSegments = segmentsSize; - header->pageNo = pageCounter++; - header->serial = streamSerialNo; - header->position = -1; - - if (usedData) - header->pack_type = 1; // is packet starts on the previous page - - /* fill the segments */ - segmentsBuffer.getData(segments,segmentsSize); - - std::list<OggPacket>::iterator it(oggPacketList.begin()); - - /* if this is a bos packet, this would surely be the first packet */ - if (it->isBOS()) - header->page_type = 1; - - uint32 arrayIndex(0); - - for (; it != oggPacketList.end(); it++) { - - uint32 cpyLength = min((it->length()-usedData),(bodyLength-arrayIndex)); - - memcpy(body+arrayIndex, it->data()+usedData, cpyLength); - arrayIndex += cpyLength; - - /* is this the end of the actual page */ - if (arrayIndex == bodyLength) { - - /* the packet does not start within this page and does not end - * on this page? */ - if (usedData != 0) { - usedData += cpyLength; - if (usedData == it->length()) { - usedData = 0; - if (it->isEOS()) - header->last = 1; - - /* the packet is fully used, so point to the next valid packet */ - ++it; // this might be the .end() sign, however, how cares - - } - - } else { - - if (cpyLength == it->length()) { - - /* this packet ended on this page */ - usedData = 0; - - /* at lease the actual Packet has been completed on this page */ -// onePacketCompleted = true; - - /* Is it the end of a stream? Then mark it as such */ - if (it->isEOS()) - header->last = 1; - - /* the packet is fully used, so point to the next valid packet */ - ++it; // this might be the .end() sign, however, how cares - - } else { - /* keep the number of copied bytes for the next page */ - usedData = cpyLength; - } - } - - // we found the end of the page - break; - } - - usedData = 0; - } - - /* set the granule position if at least one packet has ended on this page - * The position is taken from the last full packet - */ - if (oggPacketList.begin() != it) { - std::list<OggPacket>::iterator it1 = it; - it1--; - header->position = it1->granulepos(); - oggPacketList.erase(oggPacketList.begin(), it); - } - - header->checksum = Crc::create(pageData, overallLength); - - OggPage page(new OggPageInternal(pageData, sizeof(OggHeader)+segmentsSize, bodyLength)); - oggPageList.push_back(page); - - dataLength -= bodyLength; - - setAvailable(); - -} - -/* -OggPage OggStreamEncoder::getLastPage() -{ - OggPage page; - - if (oggPageList.size() == 0) { - std::cerr << "OggStreamEncoder::getLastPage: no last page available\n"; - return(page); - } - - if (oggPageList.size() > 1) { - std::cerr << "OggStreamEncoder::getLastPage: more than one packet available\n"; - return(page); - } - - page = oggPageList.front(); - oggPageList.pop_front(); - - // write end of stream - OggHeader* header = (OggHeader*)(page.data()); - header->last = 1; - header->checksum = 0; - header->checksum = Crc::create(page.data(), page.length()); - - - return (page); - -} -*/
View file
oggvideotools-0.8.tar.bz2/src/oggStreamEncoder.h
Deleted
@@ -1,73 +0,0 @@ -/* - * oggStreamEncoder is a class to insert an ogg packet into an ogg page stream - * - * Copyright (C) 2008-2009 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef OGGSTREAMENCODER_H_ -#define OGGSTREAMENCODER_H_ - -#include <list> -#include <vector> - -#include "mediaEncoder.h" -#include "oggPage.h" -#include "oggPacket.h" -#include "ringbuffer.h" -#include "definition.h" - -class OggStreamEncoder : public MediaEncoder { - -protected: - static const uint32 maxSegmentEntries = 4096; - - static std::vector<uint32> usedSerialNo; - - uint32 maxPageSize; - - uint32 streamSerialNo; - uint8 streamNo; - - std::list<OggPage> oggPageList; - std::list<OggPacket> oggPacketList; - ringbuffer segmentsBuffer; - - uint32 dataLength; //!< is the length of the actually available data - uint32 dataSegments; //!< is the number of the actually available segments - uint32 usedData; //!< is the size of data, that has already been used in the first packet - - uint32 pageCounter; - - uint32 findUniqueSerial(uint32 proposal); - - void addPacket(OggPacket& packet); - bool getNextPacketLength(uint32 PageBorder, uint32& length, uint32& segments); - void createPage(uint32 minPageLength); - -public: - OggStreamEncoder(uint32 serial = 0); - virtual ~OggStreamEncoder(); - - virtual OggStreamEncoder& operator<<(OggPacket packet); - virtual OggStreamEncoder& operator>>(OggPage& page); - - virtual void flush(); - -}; - -#endif /*OGGSTREAMENCODER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/oggThumb.cpp
Deleted
@@ -1,467 +0,0 @@ -/* - * oggThumb creates thumbs from an ogg/theora video - * - * Copyright (C) 2008-2009 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifdef __WIN32 -#define __GNU_LIBRARY__ -#include "../win32/getopt_win.h" -#endif - -#include <vector> -#include <deque> -#include <limits> -#include <sstream> -#include <string> -#include <iostream> -#include <cstdlib> -#include <queue> - -#include "fileRepository.h" -#include "streamSerializer.h" -#include "theoraDecoder.h" -#include "theoraStreamParameter.h" -#include "oggComment.h" -#include "rgbPlane.h" -#include "pictureLoader.h" -#include "pictureResize.h" - -const std::string validChars("0123456789,.x"); - -void extractUint32(std::deque<uint32>& list, const std::string& _argument, - char seperator) -{ - std::string argument(_argument); - std::stringstream str; - std::string substr; - - // if there is no argument given, the first frame will be created as a thumbnail - if (argument.empty()) { - list.push_back(0); - return; - } - - // delete all invalid data - std::size_t pos; - while ((pos = argument.find_first_not_of(validChars)) != std::string::npos) { - std::cerr << "erasing <"<<argument.at(pos)<<">\n"; - argument.erase(pos,1); - } - - str << argument; - - uint32 value(0); - while (!str.eof()) { - std::stringstream part; - getline(str, substr, seperator); - part << substr; - part >> value; - list.push_back(value); - } - -} - -void extractUint32Sort(std::deque<uint32>& list, const std::string& _argument, - char seperator) -{ - std::string argument(_argument); - std::stringstream str; - std::string substr; - - std::priority_queue<uint32> _list; - - // if there is no argument given, the first frame will be created as a thumbnail - if (argument.empty()) { - list.push_back(0); - return; - } - - // delete all invalid data - std::size_t pos; - while ((pos = argument.find_first_not_of(validChars)) != std::string::npos) { - std::cerr << "erasing <"<<argument.at(pos)<<">\n"; - argument.erase(pos,1); - } - - str << argument; - - uint32 value(0); - while (!str.eof()) { - std::stringstream part; - getline(str, substr, seperator); - part << substr; - part >> value; - _list.push(value); - } - - while (!_list.empty()) { - list.push_front(_list.top()); - _list.pop(); - } -} - - -void extractDoubleSort(std::deque<double>& list, const std::string& _argument, - char seperator) -{ - std::string argument(_argument); - std::stringstream str; - std::string substr; - - std::priority_queue<double> _list; - - // if there is no argument given, the first frame will be created as a thumbnail - if (argument.empty()) { - list.push_back(0); - return; - } - - std::size_t pos; - while ((pos = argument.find_first_not_of(validChars)) != std::string::npos) - argument.erase(pos); - - str << argument; - - double value(0); - while (!str.eof()) { - std::stringstream part; - getline(str, substr, seperator); - part << substr; - part >> value; - _list.push(value); - } - - while (!_list.empty()) { - list.push_front(_list.top()); - _list.pop(); - } - -} - -void writeActualFrame(TheoraDecoder& decoder, std::deque<OggPacket>& packetList, - const std::string& name, uint32 width, uint32 height) -{ - th_ycbcr_buffer picture; - RGBPlane plane; - - if (!TheoraDecoder::isPacketKeyframe(packetList0)) { - std::cerr << "first packet is not a keyframe\n"; - return; // could not happen ;-) - } - - for (uint32 i(0); i<packetList.size(); ++i) { - decoder << packetListi; - decoder >> picture; - } - - plane = PictureLoader::importYCrCb_theora(picture, decoder.getWidth(), decoder.getHeight(), decoder.getInfo().pic_x, decoder.getInfo().pic_y ); - - PictureLoader::save(plane, name, width, height); - -} - -std::string getThumbname(const std::string& filename, const std::string& extension, uint32& counter) -{ - - std::stringstream thumbname; - std::size_t filenamestart = filename.find_last_of('/'); - std::size_t filenamelength = filename.find_last_of('.'); - - if (filenamestart == std::string::npos) - filenamestart = 0; - else - filenamestart++; - - if ((filenamelength != std::string::npos) && (filenamelength > filenamestart)) - filenamelength = filenamelength - filenamestart; - else - filenamelength = std::string::npos; - - thumbname << filename.substr(filenamestart,filenamelength); - thumbname << "_" << counter++ << extension; - - return(thumbname.str()); -} - -void printHelpScreen(std::string& prog) -{ - std::cout << "\nusage: "<<prog<<" options file1.ogv file2.ogv file3.ogv ... \n" - << "Options:\n" - << " -t <time1, time2, time3, ...> : create thumbnail from frame at time position time1, time2, time3 second\n" - << " -f <frameNo1, frameNo2, frameNo3, ...>: create thumbnail from frame number frameNo1, frameNo2, frameNo3\n" - << " -s <width>:<height> : resize to given values (if one argument is set to 0, it is calculated to meet the aspect ratio\n" - << " -o <output format> : formats are jpg or png" - << "\n\n"; - -} - -int main(int argc, char* argv) -{ - - std::deque<double> timePosList; - std::deque<uint32> frameNoList; - - uint32 width(0); - uint32 height(0); - - std::string programName(argv0); - std::string extension(".jpg"); - - int opt; - while ((opt = getopt(argc, argv, "hf:t:s:o:")) != EOF) - - switch (opt) { - - case '?': - case 'h': - printHelpScreen(programName); - exit(-1); - - case 'f': - extractUint32Sort(frameNoList, optarg, ','); - break; - - case 't': - extractDoubleSort(timePosList,optarg, ','); - break; - - case 's': { - std::deque<uint32> framesize; - extractUint32(framesize, optarg, 'x'); - if (framesize.size() != 2) { - std::cerr << "please specify the size in the following way: -s320x480\n"; - exit(-1); - } - width = framesize0; - height = framesize1; - } - break; - - case 'o': - extension = optarg; - extension = "." + extension; - break; - - } - - argc -= optind; - argv += optind; - - if (argc == 0) { - std::cerr << "Please specify at least one ogg file\n;"; - exit(-1); - } - - std::cout << "Creating thumbs under the following option:\n"; - - if (!timePosList.empty()) { - std::cout << "Frames at time (in seconds): "; - for (uint32 i(0); i<timePosList.size(); ++i) - std::cout << timePosListi <<" "; - std::cout << "\n"; - } - - if (!frameNoList.empty()) { - std::cout << "Frame numbers: "; - for (uint32 i(0); i<frameNoList.size(); ++i) - std::cout << frameNoListi <<" "; - std::cout << "\n"; - } - - if (width) - std::cout << "width is set to: "<<width<<"\n"; - - if (height) - std::cout << "height is set to: "<<height<<"\n"; - - std::cout << "file type: " << extension << "\n"; - - std::cout << "The following ogg media files will be used: "; - for (int i(0); i<argc; ++i) - std::cout << argvi << " "; - - std::cout << "\n"; - - // go through the files - for (int i(0); i<argc; ++i) { - - /* create the stream serializer */ - StreamSerializer streamSerializer; - TheoraDecoder theoraDecoder; - uint8 foundTheora(0); - uint32 counter(0); - std::string filename(argvi); - double aspectCorrection; - - std::deque<double> tmptimePosList = timePosList; - std::deque<uint32> tmpframeNoList = frameNoList; - - if (!streamSerializer.open(filename)) { - std::cerr << "Error: can not open file <"<<filename<<">\n"; - continue; - } - - uint8 theoraStreamNo(0); - - /* create the headers */ - std::vector<StreamConfig> streamConfigList; - streamSerializer.getStreamConfig(streamConfigList); - - TheoraStreamParameter* theoraConfig(0); - std::vector<OggComment> oggComments; - - /* Output some stream information */ - for (uint32 i(0); i<streamConfigList.size(); ++i) { - - if (streamConfigListi.type == ogg_theora) { - // take the first theora stream - if (!foundTheora) { - theoraStreamNo = streamConfigListi.streamNo; - theoraConfig = (TheoraStreamParameter*)streamConfigListi.parameter; - theoraDecoder.initDecoder(streamConfigListi, oggComments); - std::cerr << "Info:\n" << theoraDecoder.getInfoString()<<std::endl; - - aspectCorrection = (theoraDecoder.getInfo().aspect_numerator*1.0)/(theoraDecoder.getInfo().aspect_denominator*1.0); - - if ((width == 0) && (height == 0)) { - width = theoraConfig->pictureX * aspectCorrection; //theoraConfig->frameX; - height = theoraConfig->pictureY; //theoraConfig->frameY; - } else { - if (height == 0) - height = (uint32)((width * theoraConfig->pictureY*1.0)/(theoraConfig->pictureX*aspectCorrection*1.0) + 0.5); - else if (width == 0) - width = (uint32)((height * theoraConfig->pictureX*aspectCorrection*1.0)/(theoraConfig->pictureY*1.0) +0.5); - } - - std::cout << "width: "<<width<<" and height: "<<height<<"\n"; - - } - foundTheora++; - } - } - - if (!foundTheora) { - std::cerr << "There is no theora stream in file <"<<filename<<">\n"; - continue; - } - - if (foundTheora > 2) - std::cout << "Found more than one theora stream in file <"<<filename<<"> using first stream\n"; - - /* set up first time/frame */ - double nextTime; - uint32 nextFrame; - - bool noMoreTime(false); - bool noMoreFrame(false); - - if (tmpframeNoList.empty()) { - nextFrame = std::numeric_limits<uint32>::max(); - noMoreFrame = true; - } else { - nextFrame = tmpframeNoList.front(); - tmpframeNoList.pop_front(); - } - - if (tmptimePosList.empty()) { - nextTime = std::numeric_limits<double>::max(); - noMoreTime = true; - } else { - nextTime = tmptimePosList.front(); - tmptimePosList.pop_front(); - } - - std::deque<OggPacket> packetList; - double time; - OggPacket packet; - - while (streamSerializer.available()) { - - // get the next packet - time = streamSerializer.getNextPacket(packet); - - // is this packet a theora frame - if (packet.getStreamType() != ogg_theora) - continue; - - // write actual time - std::cout << "\r "<<time<<" "; - - // if this is a keyframe, we are able to decode from this - if (TheoraDecoder::isPacketKeyframe(packet)) { - packetList.clear(); - } - - // store packets for decoding since last keyframe - packetList.push_back(packet); - - // should this packet be written due to frame number comparison? - if (nextFrame == packet.getPacketNo()) { - - if (tmpframeNoList.empty()) { - nextFrame = std::numeric_limits<uint32>::max(); - noMoreFrame = true; - } else { - nextFrame = tmpframeNoList.front(); - tmpframeNoList.pop_front(); - } - - std::string thumbname(getThumbname(filename, extension, counter)); - - std::cout << "writing "<<thumbname<<std::endl; - writeActualFrame(theoraDecoder, packetList, thumbname, width, height); - } - - // should this packt be written due to time limit? - if (time >= nextTime) { - - if (tmptimePosList.empty()) { - nextTime = std::numeric_limits<uint32>::max(); - noMoreTime = true; - } else { - nextTime = tmptimePosList.front(); - tmptimePosList.pop_front(); - } - - std::string thumbname(getThumbname(filename, extension, counter)); - - std::cout << "writing "<<thumbname<<std::endl; - writeActualFrame(theoraDecoder, packetList, thumbname, width, height); - - } - - if (noMoreTime && noMoreFrame) - break; - } - - streamSerializer.close(); - - } - - - std::cout << std::endl; - -#ifdef OSX_MALLOC_DEBUG - std::cout << "Done!\n"; - while (1==1) { } -#endif - - return(0); -} -
View file
oggvideotools-0.8.tar.bz2/src/oggTypes.h
Deleted
@@ -1,43 +0,0 @@ -/* - * this emun should carry all known streams that could be inserted into - * the ogg container - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef OGGTYPES_H_ -#define OGGTYPES_H_ - -#define MAXIDCHARS 7 - -enum OggType { - ogg_unknown, - ogg_vorbis, - ogg_theora, - ogg_kate, - ogg_maxOggType -}; - -static const char OggTypeMapogg_maxOggTypeMAXIDCHARS = { - { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, - { 0x01, 'v', 'o', 'r', 'b', 'i', 's' }, - { 0x80, 't', 'h', 'e', 'o', 'r', 'a' }, - { 0x80, 'k', 'a', 't', 'e', 0x00, 0x00 } -}; - -#endif /*OGGTYPES_H_*/
View file
oggvideotools-0.8.tar.bz2/src/pictureBlend.cpp
Deleted
@@ -1,119 +0,0 @@ -// -// C++ Implementation: pictureBlend -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#include "pictureBlend.h" - -PictureBlend::PictureBlend() -{ -} - - -PictureBlend::~PictureBlend() -{ -} - -RGBPlane PictureBlend::crossfade(RGBPlane & plane1, RGBPlane & plane2, float velocity) -{ - - if ((plane1->width != plane2->width) || (plane1->height != plane2->height)) - throw("can not crossfade, planes not matching"); - - uint32 size = plane1->width*plane1->height*4; - - RGBPlane retPlane(plane1->width, plane1->height); - - uint32 pixel1; - uint32 pixel2; - uint32 newPixel; - - for (uint32 i(0); i<size; i+=4) { - - /* red */ - pixel1 = plane1->planei; - pixel2 = plane2->planei; - newPixel = (uint32)(pixel1*(1.0-velocity) + pixel2*velocity); - - if (newPixel> 0xFF) - newPixel = 0xFF; - - retPlane->planei = (uint8)newPixel; - - /* green */ - pixel1 = plane1->planei+1; - pixel2 = plane2->planei+1; - newPixel = (uint32)(pixel1*(1.0-velocity) + pixel2*velocity); - - if (newPixel> 0xFF) - newPixel = 0xFF; - - retPlane->planei+1 = (uint8)newPixel; - - /* blue */ - pixel1 = plane1->planei+2; - pixel2 = plane2->planei+2; - newPixel = (uint32)(pixel1*(1.0-velocity) + pixel2*velocity); - - if (newPixel> 0xFF) - newPixel = 0xFF; - - retPlane->planei+2 = (uint8)newPixel; - - } - - return (retPlane); -} - -RGBPlane PictureBlend::alphaBlend(RGBPlane& origPlane, RGBPlane & alphaPlane, float intensity) -{ - float factor; - uint32 position; - - uint32 pixel1; - uint32 pixel2; - uint32 newPixel; - - RGBPlane retPlane(origPlane->width, origPlane->height); - - uint32 positionAlpha; - - for (uint32 j(0); j < origPlane->height; ++j) - for (uint32 i(0); i < origPlane->width; ++i) { - - // if the alpha plane is smaller than the original plane, just copy the data - if ((i<alphaPlane->width) && (j<alphaPlane->height)) { - position = 4*(j*origPlane->width+i); - - positionAlpha = 4*(j*alphaPlane->width+i); - - factor = intensity*((127-alphaPlane->planepositionAlpha+3)*1.0)/127.0; - - for (uint32 k(0); k<3; ++k) { - pixel1 = origPlane->planeposition+k; - pixel2 = alphaPlane->planepositionAlpha+k; - newPixel = (uint32)(pixel1 * (1.0-factor) + pixel2 * factor ); - - if (newPixel> 0xFF) - newPixel = 0xFF; - - retPlane->planeposition+k = (uint8)newPixel; - } - - } else { - position = j*origPlane->width+i; - ((uint32*)(retPlane->plane))position = ((uint32*)(origPlane->plane))position; - } - - } - return (retPlane); - -} - -
View file
oggvideotools-0.8.tar.bz2/src/pictureLoader.cpp
Deleted
@@ -1,658 +0,0 @@ -// -// C++ Implementation: pictureLoader -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#include "pictureLoader.h" - -#include <gd.h> -#include <iostream> -#include <cstring> - -#define SCALEBITS 8 -#define ONE_HALF (1 << (SCALEBITS - 1)) -#define FIX(x) ((int) ((x) * (1L<<SCALEBITS) + 0.5)) -#define INIT_CLIP int32 tmp -#define CLIP(x,n) tmp = (int32)(x+0.5); \ - if (tmp > 255) n=255; \ - else if (tmp < 0) n=0; \ - else n = (uint8)(tmp); - -PictureLoader::PictureLoader() -{ -} - - -PictureLoader::~PictureLoader() -{ -} - -bool PictureLoader::load(RGBPlane& retPlane, const std::string& filename, uint32 _width, uint32 _height, - bool useBiggest) -{ - - std::string::size_type suffixStart(filename.find_last_of('.')); - - if (suffixStart == std::string::npos) { - std::cerr << "RGBPlane::load: Can not identify suffix of <"<<filename<<">\n"; - return(false); - } - - std::string suffix(filename.substr(suffixStart+1)); - - gdImagePtr im(0); - - FILE* in(0); - in = fopen(filename.c_str(), "rb"); - - if (in == 0) { - std::cerr << "RGBPlane::load: Can not open file <"<<filename<<">\n"; - return(false); - } - - if ((suffix == "jpg") || (suffix == "JPG") || (suffix == "jpeg") || (suffix - == "JPEG")) { - im = gdImageCreateFromJpeg(in); - } - - if ((suffix == "png") || (suffix == "PNG")) { - im = gdImageCreateFromPng(in); - } - - if ((suffix == "gif") || (suffix == "GIF")) { - im = gdImageCreateFromGif(in); - } - - if (im != 0) { - - if ((_width != 0) && (_height != 0)) { - - uint32 origWidth(gdImageSX(im)); - uint32 origHeight(gdImageSY(im)); - - /* calculate the new size -> picture must fit into the given rectangle */ - float factorX = (_width*1.0)/(origWidth*1.0); - float factorY = (_height*1.0)/(origHeight*1.0); - float factor(1.0); - -#ifdef DEBUG - std::cout << "wanted: "<<_width<<"x"<<_height<<" orig: " - <<origWidth<<"x"<<origHeight<<std::endl; -#endif - - if (useBiggest) { - if (factorX < factorY) - factor = factorY; - else - factor = factorX; - } else { - if (factorX < factorY) - factor = factorX; - else - factor = factorY; - } -#ifdef DEBUG - std::cerr << "recalculating ("<<factor<<") image to " - <<(uint32) (origWidth*factor+0.5)<< "x" - << (uint32) (origHeight*factor+0.5)<<std::endl; -#endif - - gdImagePtr resampled = gdImageCreateTrueColor((uint32) (origWidth - *factor+0.5), (uint32) (origHeight*factor+0.5)); - - gdImageCopyResampled(resampled, im, 0, 0, 0, 0, resampled->sx, - resampled->sy, origWidth, origHeight); - - retPlane = convertToRgbPlane(resampled); - - gdImageDestroy(resampled); - } else { - retPlane = convertToRgbPlane(im); - } - - gdImageDestroy(im); - - fclose(in); - - return (true); - - } - - fclose(in); - - std::cerr << "RGBPlane::load: Can not read file of type <"<<suffix<<">\n"; - return(false); -} - -RGBPlane PictureLoader::convertToRgbPlane(gdImagePtr im) -{ - - uint32 width = gdImageSX(im); - uint32 height = gdImageSY(im); - - RGBPlane pic(width, height); - - int c(0); - uint32 x(0); - - for (uint32 i(0); i<height; ++i) - for (uint32 j(0); j<width; ++j) { - c = gdImageGetPixel(im, j, i); - pic->planex++ = gdImageRed(im, c); - pic->planex++ = gdImageGreen(im, c); - pic->planex++ = gdImageBlue(im,c); - pic->planex++ = gdImageAlpha(im,c); - } - - return(pic); -} - -PictureLoader::SuffixType PictureLoader::identifySuffix(const std::string& filename) -{ - std::string::size_type suffixStart(filename.find_last_of('.')); - - if (suffixStart == std::string::npos) { - std::cerr << "RGBPlane::load: Can not identify suffix of <"<<filename - <<">\n"; - return (suffix_unknown); - } - - std::string suffix(filename.substr(suffixStart+1)); - - if ((suffix == "jpg") || (suffix == "JPG") || (suffix == "jpeg") || (suffix - == "JPEG")) { - return (suffix_jpg); - } - - if ((suffix == "png") || (suffix == "PNG")) { - return (suffix_png); - } - - if ((suffix == "gif") || (suffix == "GIF")) { - return (suffix_gif); - } - - return (suffix_unknown); - -} - -bool PictureLoader::save(RGBPlane& pic, const std::string& filename, uint32 newWidth, - uint32 newHeight) -{ - - int actColor; - int planeCount(0); - - SuffixType type = identifySuffix(filename); - - gdImagePtr im = gdImageCreateTrueColor(pic->width, pic->height); - - for (uint32 i(0); i < pic->height; ++i) - for (uint32 j(0); j < pic->width; ++j) { - int red = pic->planeplaneCount++; - int green = pic->planeplaneCount++; - int blue = pic->planeplaneCount++; - actColor = gdImageColorAllocate(im, red, green, blue); - - planeCount++; // alpha channel not in use - - gdImageSetPixel(im, j, i, actColor); - - } - - FILE* out = fopen(filename.c_str(), "wb"); - - if ((newWidth != 0) || (newHeight != 0)) { - - if (newWidth == 0) - newWidth = pic->width*newHeight/pic->height; - - if (newHeight == 0) - newHeight = pic->height*newWidth/pic->width; - - gdImagePtr resampled; - resampled = gdImageCreateTrueColor(newWidth, newHeight); - - gdImageCopyResampled(resampled, im, 0, 0, 0, 0, resampled->sx, - resampled->sy, pic->width, pic->height); - - switch (type) { - - case suffix_jpg: - gdImageJpeg(resampled, out, -1); - break; - - case suffix_png: - gdImagePng(resampled, out); - break; - - // case suffix_gif: - - default: - std::cerr << "can not identify suffix\n"; - - } - /* Write JPEG using default quality */ - gdImageDestroy(resampled); - - } else { - - switch (type) { - - case suffix_jpg: - gdImageJpeg(im, out, -1); - break; - - case suffix_png: - gdImagePng(im, out); - break; - - // case suffix_gif: - - default: - std::cerr << "can not identify suffix\n"; - - } - - } - - /* Close file */ - fclose(out); - - /* Destroy it */ - gdImageDestroy(im); - - return (true); -} - -#ifdef HAVE_LIBTHEORAENC - -void PictureLoader::exportYCrCb_theora(RGBPlane& picture, th_ycbcr_buffer& buffer) -{ - - uint32 frameWidth; - uint32 frameHeight; - uint32 XOffset; - uint32 YOffset; - - /* recalculate the buffer (must be multiple of 16) */ - frameWidth = (picture->width+15)&~0xF; - frameHeight = (picture->height+15)&~0xF; - - // We force the offset to be even. - // This ensures that the chroma samples align properly with the luma - // samples. - - XOffset = ((frameWidth - picture->width)/4); //&~1; - YOffset = ((frameHeight - picture->height)/4); //&~1; - -// std::cerr << width <<" x "<<height<<" "<<frameWidth<<" x "<<frameHeight <<" "<<XOffset<<" "<<YOffset<<std::endl; - - uint32 stride = frameWidth; - - if ((frameWidth != (uint32)buffer0.width) || - (frameHeight != (uint32)buffer0.height)) { - - /* delete old planes */ - delete buffer0.data; - delete buffer1.data; - delete buffer2.data; - - /* create a new YCbCrPlane */ - buffer0.width = frameWidth; - buffer0.height = frameHeight; - buffer0.stride = stride; - buffer0.data = new uint8frameWidth*frameHeight; -// memset(buffer0.data, 0x00, frameWidth*frameHeight); - - buffer1.width = frameWidth/2; - buffer1.height = frameHeight/2; - buffer1.stride = stride/2; - buffer1.data = new uint8frameWidth*frameHeight/4; -// memset(buffer1.data, 0x00, frameWidth*frameHeight/4); - - buffer2.width = frameWidth/2; - buffer2.height = frameHeight/2; - buffer2.stride = stride/2; - buffer2.data = new uint8frameWidth*frameHeight/4; -// memset(buffer2.data, 0x00, frameWidth*frameHeight/4); - - } - - - int wrap, wrap3; - - wrap = stride; - wrap3 = picture->width * 4; - - uint32 HeightPrecalculation0x; - uint32 HeightPrecalculation1x; - uint32 CromaPrecalculation; - - uint32 position00; - uint32 position01; - uint32 position10; - uint32 position11; - - uint32 inPos00; - uint32 inPos01; - uint32 inPos10; - uint32 inPos11; - - uint32 red_sample; - uint32 green_sample; - uint32 blue_sample; - - uint32 cromaPos; - - for (uint32 i(0); i<(uint32)picture->height/2; ++i) { - - HeightPrecalculation0x = (2*(i+YOffset))*buffer0.stride; - HeightPrecalculation1x = (2*(i+YOffset)+1)*buffer0.stride; - CromaPrecalculation = (i+YOffset)*buffer1.stride; - - for (uint32 j(0); j<(uint32)picture->width/2; ++j) { - - position00 = HeightPrecalculation0x+(2*(j+XOffset)); - position01 = HeightPrecalculation0x+(2*(j+XOffset)+1); - position10 = HeightPrecalculation1x+(2*(j+XOffset)); - position11 = HeightPrecalculation1x+(2*(j+XOffset)+1); - - inPos00 = 4*((2*i)*picture->width+(2*j)); - inPos01 = 4*((2*i)*picture->width+(2*j+1)); - inPos10 = 4*((2*i+1)*picture->width+(2*j)); - inPos11 = 4*((2*i+1)*picture->width+(2*j+1)); - - cromaPos = CromaPrecalculation+(j+XOffset); - - - buffer0.dataposition00 = (FIX(0.29900) * picture->planeinPos00 - + FIX(0.58700) * picture->planeinPos00+1 - + FIX(0.11400) * picture->planeinPos00+2 - + ONE_HALF) >> SCALEBITS; - - buffer0.dataposition01 = (FIX(0.29900) * picture->planeinPos01 - + FIX(0.58700) * picture->planeinPos01+1 - + FIX(0.11400) * picture->planeinPos01+2 - + ONE_HALF) >> SCALEBITS; - - buffer0.dataposition10 = (FIX(0.29900) * picture->planeinPos10 - + FIX(0.58700) * picture->planeinPos10+1 - + FIX(0.11400) * picture->planeinPos10+2 - + ONE_HALF) >> SCALEBITS; - - buffer0.dataposition11 = (FIX(0.29900) * picture->planeinPos11 - + FIX(0.58700) * picture->planeinPos11+1 - + FIX(0.11400) * picture->planeinPos11+2 - + ONE_HALF) >> SCALEBITS; - - red_sample = picture->planeinPos00 + picture->planeinPos01 + picture->planeinPos10 + picture->planeinPos11; - - green_sample = picture->planeinPos00+1 + picture->planeinPos01+1 + picture->planeinPos10+1 + picture->planeinPos11+1; - - blue_sample = picture->planeinPos00+2 + picture->planeinPos01+2 + picture->planeinPos10+2 + picture->planeinPos11+2; - - buffer1.datacromaPos = ((-FIX(0.16874) * red_sample - FIX(0.33126) * green_sample +FIX(0.50000) * blue_sample + 4 * ONE_HALF- 1) >> (SCALEBITS + 2)) + 128; - - buffer2.datacromaPos = ((FIX(0.50000) * red_sample - FIX(0.41869) * green_sample -FIX(0.08131) * blue_sample + 4 * ONE_HALF - 1) >> (SCALEBITS + 2)) + 128; - - - } - } -} - - -void PictureLoader::exportYCrCb_444_theora(RGBPlane& picture, th_ycbcr_buffer& buffer) -{ - - uint32 frameWidth; - uint32 frameHeight; - uint32 XOffset; - uint32 YOffset; - - /* recalculate the buffer (must be multiple of 16) */ - frameWidth = (picture->width+15)&~0xF; - frameHeight = (picture->height+15)&~0xF; - - // We force the offset to be even. - // This ensures that the chroma samples align properly with the luma - // samples. - - XOffset = ((frameWidth - picture->width)/4); //&~1; - YOffset = ((frameHeight - picture->height)/4); //&~1; - -// std::cerr << width <<" x "<<height<<" "<<frameWidth<<" x "<<frameHeight <<" "<<XOffset<<" "<<YOffset<<std::endl; - - uint32 stride = frameWidth; - - if ((frameWidth != (uint32)buffer0.width) || - (frameHeight != (uint32)buffer0.height)) { - - /* delete old planes */ - delete buffer0.data; - delete buffer1.data; - delete buffer2.data; - - /* create a new YCbCrPlane */ - buffer0.width = frameWidth; - buffer0.height = frameHeight; - buffer0.stride = stride; - buffer0.data = new uint8frameWidth*frameHeight; -// memset(buffer0.data, 0x00, frameWidth*frameHeight); - - buffer1.width = frameWidth; - buffer1.height = frameHeight; - buffer1.stride = stride; - buffer1.data = new uint8frameWidth*frameHeight; -// memset(buffer1.data, 0x00, frameWidth*frameHeight/4); - - buffer2.width = frameWidth; - buffer2.height = frameHeight; - buffer2.stride = stride; - buffer2.data = new uint8frameWidth*frameHeight; -// memset(buffer2.data, 0x00, frameWidth*frameHeight/4); - - } - - - int wrap, wrap3; - - wrap = stride; - wrap3 = picture->width * 4; - - uint32 HeightPrecalculation; - uint32 HeightPrecalculation1x; - uint32 CromaPrecalculation; - - uint32 position00; - uint32 position01; - uint32 position10; - uint32 position11; - - uint32 ycrcbPosition; - uint32 rgbPosition; - uint32 inPos10; - uint32 inPos11; - - uint32 red_sample; - uint32 green_sample; - uint32 blue_sample; - - uint32 cromaPos; - - for (uint32 i(0); i<(uint32)picture->height; ++i) { - - HeightPrecalculation = (i+YOffset)*buffer0.stride; - - for (uint32 j(0); j<(uint32)picture->width; ++j) { - - ycrcbPosition = HeightPrecalculation+(j+XOffset); - - rgbPosition = 4*(i*picture->width+j); - - red_sample = picture->planergbPosition; - green_sample = picture->planergbPosition+1; - blue_sample = picture->planergbPosition+2; - - buffer0.dataycrcbPosition = (FIX(0.29900) * red_sample - + FIX(0.58700) * green_sample - + FIX(0.11400) * blue_sample - + ONE_HALF) >> SCALEBITS; - - - buffer1.dataycrcbPosition = ((-FIX(0.67496) * red_sample - FIX(1.32504) * green_sample +FIX(2.0) * blue_sample + 4 * ONE_HALF- 1) >> (SCALEBITS + 2)) + 128; - - buffer2.dataycrcbPosition = ((FIX(2.0) * red_sample - FIX(1.67476) * green_sample -FIX(0.32524) * blue_sample + 4 * ONE_HALF - 1) >> (SCALEBITS + 2)) + 128; - - - } - } -} - - -RGBPlane PictureLoader::importYCrCb_theora(const th_ycbcr_buffer& buffer, uint32 _width, uint32 _height, int32 XOffset, int32 YOffset) -{ - - uint32 width; - uint32 height; - - // what size to use? - if ((_width == 0) || (_height == 0)) { - width = buffer0.width; - height = buffer0.height; - XOffset = 0; - YOffset = 0; - } else { - width = _width; - height = _height; - } - - RGBPlane retPlane(width, height); - -// uint32 size; - - // Offset calculated for the croma planes (which is the reference) - if (XOffset == -1) { - XOffset = ((buffer0.width - width)/4); // guessing - } else { - XOffset /= 2; // why 1/2 ? - do not remember - } - - // Y-Offset is calculated from the bottom, but we start from upper corner - if (YOffset == -1) { - YOffset = ((buffer0.height - height)/4); // guessing - } else { - // YOffset is from botton, but we need the start - YOffset = YOffset/2; - } - - uint8* YPlane = buffer0.data; - uint8* CrPlane = buffer2.data; - uint8* CbPlane = buffer1.data; - - INIT_CLIP; - - uint32 HeightPrecalculation0x; - uint32 HeightPrecalculation1x; - uint32 CromaPrecalculation; - - // using cr plain as reference - for (uint32 i(0); i<(uint32)height/2; ++i) { - - HeightPrecalculation0x = (2*(i+YOffset))*buffer0.stride; - HeightPrecalculation1x = (2*(i+YOffset)+1)*buffer0.stride; - CromaPrecalculation = (i+YOffset)*buffer1.stride; - - for (uint32 j(0); j<(uint32)width/2; ++j) { - -// if ( (i<YOffset) || (j<XOffset) || (i>(height-YOffset)) || (j>(width-XOffset))) -// continue; - - uint32 position00 = HeightPrecalculation0x+(2*(j+XOffset)); - uint32 position01 = HeightPrecalculation0x+(2*(j+XOffset)+1); - uint32 position10 = HeightPrecalculation1x+(2*(j+XOffset)); - uint32 position11 = HeightPrecalculation1x+(2*(j+XOffset)+1); - - uint32 outPos00 = 4*((2*i)*width+(2*j)); - uint32 outPos01 = 4*((2*i)*width+(2*j+1)); - uint32 outPos10 = 4*((2*i+1)*width+(2*j)); - uint32 outPos11 = 4*((2*i+1)*width+(2*j+1)); - - uint32 cromaPos = CromaPrecalculation+(j+XOffset); - - /* red */ - int32 value; - - value = (uint32)(YPlaneposition00 + (1.402 * (CrPlanecromaPos - - 128))); - CLIP(value, retPlane->planeoutPos00); - - value = (uint32)(YPlaneposition01 + (1.402 * (CrPlanecromaPos - - 128))); - CLIP(value, retPlane->planeoutPos01); - - value = (uint32)(YPlaneposition10 + (1.402 * (CrPlanecromaPos - - 128))); - CLIP(value, retPlane->planeoutPos10); - - value = (uint32)(YPlaneposition11 + (1.402 * (CrPlanecromaPos - - 128))); - CLIP(value, retPlane->planeoutPos11); - - - /* green */ - value = (uint32)(YPlaneposition00 - (0.34414 * (CbPlanecromaPos - - 128)) - (0.71414 * (CrPlanecromaPos - 128))); - CLIP(value, retPlane->planeoutPos00+1); - - value = (uint32)(YPlaneposition01 - (0.34414 * (CbPlanecromaPos - - 128)) - (0.71414 * (CrPlanecromaPos - 128))); - CLIP(value, retPlane->planeoutPos01+1); - - value = (uint32)(YPlaneposition10 - (0.34414 * (CbPlanecromaPos - - 128)) - (0.71414 * (CrPlanecromaPos - 128))); - CLIP(value, retPlane->planeoutPos10+1); - - value = (uint32)(YPlaneposition11 - (0.34414 * (CbPlanecromaPos - - 128)) - (0.71414 * (CrPlanecromaPos - 128))); - CLIP(value, retPlane->planeoutPos11+1); - - - /* blue */ - value = (uint32)(YPlaneposition00 + (1.772 * (CbPlanecromaPos - - 128))); - CLIP(value, retPlane->planeoutPos00+2); - - value = (uint32)(YPlaneposition00 + (1.772 * (CbPlanecromaPos - - 128))); - CLIP(value, retPlane->planeoutPos01+2); - - value = (uint32)(YPlaneposition00 + (1.772 * (CbPlanecromaPos - - 128))); - CLIP(value, retPlane->planeoutPos10+2); - - value = (uint32)(YPlaneposition00 + (1.772 * (CbPlanecromaPos - - 128))); - CLIP(value, retPlane->planeoutPos11+2); - - - retPlane->planeoutPos00+3 = 255; - retPlane->planeoutPos01+3 = 255; - retPlane->planeoutPos10+3 = 255; - retPlane->planeoutPos11+3 = 255; - - } - } - - return(retPlane); -} - -#endif - -
View file
oggvideotools-0.8.tar.bz2/src/pictureLoader.h
Deleted
@@ -1,59 +0,0 @@ -// -// C++ Interface: pictureLoader -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#ifndef PICTURELOADER_H -#define PICTURELOADER_H - -#include <string> - -#include "rgbPlane.h" -#include <gd.h> - -#ifdef HAVE_LIBTHEORAENC -#include <theora/codec.h> -#endif - -/** - @author Yorn <yorn@gmx.net> -*/ -class PictureLoader { - -protected: - enum SuffixType { - suffix_unknown, - suffix_jpg, - suffix_png, - suffix_gif - }; - - static RGBPlane convertToRgbPlane(gdImagePtr im); - static SuffixType identifySuffix(const std::string& filename); - -public: - - PictureLoader(); - - virtual ~PictureLoader(); - - static bool load(RGBPlane& retPlane, const std::string& filename, uint32 width=0, uint32 height=0, bool useBiggest = true); - static bool save(RGBPlane& pic, const std::string& filename, uint32 width=0, uint32 height=0); - -#ifdef HAVE_LIBTHEORAENC - static void exportYCrCb_theora(RGBPlane& plane, th_ycbcr_buffer& buffer); - static void exportYCrCb_444_theora(RGBPlane& picture, th_ycbcr_buffer& buffer); - - static RGBPlane importYCrCb_theora(const th_ycbcr_buffer& buffer, uint32 width, uint32 height, int32 XOffset=-1, int32 YOffset=-1); -#endif - - -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/pictureResize.cpp
Deleted
@@ -1,656 +0,0 @@ -// -// C++ Implementation: pictureResize -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#include "pictureResize.h" - -#include <cmath> -#include <iostream> -#include <cstdlib> - -#define INIT_CLIP int32 tmp -#define CLIP(x,n) tmp = (int32)(x+0.5); \ - if (tmp > 255) n=255; \ - else if (tmp < 0) n=0; \ - else n = (uint8)(tmp); - -#define MIN(x,y) (((x)<(y))?(x):(y)) -#define MAX(x,y) (((x)<(y))?(y):(x)) - -PictureResize::PictureResize() -{ -} - -PictureResize::~PictureResize() -{ -} - -uint32 PictureResize::calculateKernelValue(RGBPlane& pic, float posX, - float posY, float radius, bool p) -{ - - radius = sqrt(radius); - - uint32 xStart(MAX(0,posX-radius+0.5)); - uint32 xEnd(MIN(posX+radius+0.5,(float)pic->width)); - - uint32 yStart(MAX(0,posY-radius+0.5)); - uint32 yEnd(MIN(posY+radius+0.5,(float)pic->height)); - - float weightsCounter(0); - - float valueRed(0); - float valueGreen(0); - float valueBlue(0); - - float tmpWeight; - float tmpDistance; - uint32 position; - uint32 positionHeight; - -#ifdef DEBUG - uint32 counter1(0); - uint32 overall(0); - - if (p) { - std::cerr << "kernel calculation at position "<<posX<<" x "<<posY - <<" rad "<<radius <<" kerne "<<xStart<<"x"<<yStart<<"->"<<xEnd - <<"x"<<yEnd<<" \n"; - } -#endif - - for (uint32 i(yStart); i<yEnd; ++i) { - - positionHeight = i*pic->width; - - for (uint32 j(xStart); j<xEnd; ++j) { - - tmpDistance = (((float)i)-posY)*(((float)i)-posY) + (((float)j) - -posX)*(((float)j)-posX); - tmpDistance = sqrt(tmpDistance); - tmpWeight = getWeight(tmpDistance, radius); // getWeight(sqrt(tmpDistance), radius); -#ifdef DEBUG - overall++; -#endif - if (tmpWeight <= 0) { -#ifdef DEBUG - if (p) { - std::cerr << " Pos: "<<j<<" x "<<i<<" -> distance " - <<tmpDistance <<"radius: "<<radius<<" weight: " - <<tmpWeight << " - UNCOUNTED "; - } - counter1++; -#endif - continue; - } - - //static uint32 cnt(0); - // if ((cnt++ % 10) == 0) - //std::cerr << "."; - - position = 4*(positionHeight+j); -#ifdef DEBUG - if (p) { - std::cerr << " Pos: "<<j<<" x "<<i<<" -> distance " - <<tmpDistance <<"radius: "<<radius<<" weight: " - <<tmpWeight; - } - - if (position > 4*pic->width*pic->height) { - std::cerr << "Error: calculating for Position "<<posX<<" x " - <<posY<<" at kernel position "<<j<<" x "<<i - <<" with radius "<<radius<<" \n"; - std::cerr << "Picture size: "<<pic->width << " x " - << pic->height<<" Kernel window: "<<xStart <<":" - <<yStart<<" -> "<<xEnd<<":"<<yEnd<<"\n"; - abort(); - } -#endif - valueRed += pic->planeposition*tmpWeight; - valueGreen += pic->planeposition+1*tmpWeight; - valueBlue += pic->planeposition+2*tmpWeight; - weightsCounter += tmpWeight; - } - } -#ifdef DEBUG - if (p) - std::cerr << " Unused: "<<counter1<<"/"<<overall<<"\n"; -#endif - uint32 retValue(0); - - uint8* RGB = (uint8*)(&retValue); - - INIT_CLIP; - - CLIP((valueRed/weightsCounter), RGB0) - ; - CLIP((valueGreen/weightsCounter), RGB1) - ; - CLIP((valueBlue/weightsCounter), RGB2) - ; - - return (retValue); -} - -uint32 PictureResize::calculateKernelValueFix(RGBPlane& pic, float posX, - float posY, float radius, bool p) -{ - - radius = sqrt(radius); - - uint32 xStart(MAX(0,posX-radius+0.5)); - uint32 xEnd(MIN(posX+radius+0.5,(float)pic->width)); - - uint32 yStart(MAX(0,posY-radius+0.5)); - uint32 yEnd(MIN(posY+radius+0.5,(float)pic->height)); - - uint32 radiusF(radius+0.51); - - uint32 weightsCounter(0); - - uint32 valueRed(0); - uint32 valueGreen(0); - uint32 valueBlue(0); - - int32 tmpWeight; - uint32 tmpDistance; - uint32 position; - uint32 positionHeight; - - uint32 posXF = (uint32)(posX+0.5); - uint32 posYF = (uint32)(posY+0.5); - - uint32 factor(1); - uint32 factorCounter(0); - uint32 size(((xEnd-xStart)*(yEnd-yStart))); - - if (size > 128) { - factor = size / 32; - } - -#ifdef DEBUG - uint32 counter1(0); - uint32 overall(0); - - if (p) { - std::cerr << "kernel calculation at position "<<posXF<<" x "<<posYF - <<" rad "<<radiusF <<" kerne "<<xStart<<"x"<<yStart<<"->"<<xEnd - <<"x"<<yEnd<<" \n"; - } -#endif - - struct pos { - uint32 x; - uint32 y; - }; - - uint32 i; - uint32 j; - - for (uint32 r(0); r<2*radiusF; ++r) { - - j = xStart + rand()%(xEnd - xStart); - i = yStart + rand()%(yEnd - yStart); - - positionHeight = i*pic->width; - - tmpDistance = (i-posYF)*(i-posYF) + (j-posXF)*(j-posXF); - tmpDistance = (uint32)(sqrt(tmpDistance)+0.5); - tmpWeight = getWeightFix(tmpDistance, radiusF); - -#ifdef DEBUG - overall++; -#endif - if (tmpWeight <= 0) { -#ifdef DEBUG - if (p) { - std::cerr << " Pos: "<<j<<" x "<<i<<" -> distance " - <<tmpDistance <<" radius: "<<radiusF<<" weight: " - <<tmpWeight << " - UNCOUNTED "; - } - counter1++; -#endif - continue; - } - -#ifdef DEBUG - if (p) { - std::cerr << " Pos: "<<j<<" x "<<i<<" -> distance " - <<tmpDistance <<" radius: "<<radiusF<<" weight: " - <<tmpWeight; - } -#endif - - position = 4*(positionHeight+j); - -#ifdef DEBUG - if (position > 4*pic->width*pic->height) { - std::cerr << "Error: calculating for Position "<<posX<<" x "<<posY - <<" at kernel position "<<j<<" x "<<i<<" with radius " - <<radiusF<<" \n"; - std::cerr << "Picture size: "<<pic->width << " x "<< pic->height - <<" Kernel window: "<<xStart <<":"<<yStart<<" -> "<<xEnd - <<":"<<yEnd<<"\n"; - abort(); - } -#endif - - valueRed += pic->planeposition*tmpWeight; - valueGreen += pic->planeposition+1*tmpWeight; - valueBlue += pic->planeposition+2*tmpWeight; - weightsCounter += tmpWeight; - } - -#ifdef DEBUG - if (p) - std::cerr << " Unused: "<<counter1<<"/"<<overall<<"\n"; -#endif - - uint32 retValue(0); - - uint8* RGB = (uint8*)(&retValue); - - INIT_CLIP; - - if (weightsCounter != 0) { - CLIP((valueRed/weightsCounter), RGB0) - ; - CLIP((valueGreen/weightsCounter), RGB1) - ; - CLIP((valueBlue/weightsCounter), RGB2) - ; - } else { - RGB0 = pic->plane4*(posYF*pic->width+posXF); - RGB1 = pic->plane4*(posYF*pic->width+posXF)+1; - RGB2 = pic->plane4*(posYF*pic->width+posXF)+2; - } - - return (retValue); -} - -float PictureResize::getWeight(float distance, float radius) -{ - // should be a sinc - - /* -> lets save time on the expence of security - * if ((radius <= 0) || (distance > radius)) - * return(0); - */ - return (1.0 - distance/radius); - - // return(1.0 - sqrt(distance)/sqrt(radius)); -} - -int32 PictureResize::getWeightFix(uint32 distance, uint32 radius) -{ - // should be a sinc - - /* -> lets save time on the expence of security - * if ((radius <= 0) || (distance > radius)) - * return(0); - */ - return (1000 - distance*1000/radius); -} - -RGBPlane PictureResize::kernelLowpass(RGBPlane& picture, float radius) -{ - - RGBPlane retPlane(picture->width, picture->height); - - float kernelRadius((1.0-radius)*picture->height/4.0); - - kernelRadius *= kernelRadius; - - if (kernelRadius < 0.708) // sqrt(0.5) this is the lease radius size, a picture can be - kernelRadius = 0.708; - - uint32 heightAddition; - - for (uint32 i(0); i<retPlane->height; ++i) { - - heightAddition = 4*i*picture->width; - - for (uint32 j(0); j<retPlane->width; ++j) { - uint32* _plane = (uint32*)(&retPlane->planeheightAddition + 4*j); - (*_plane) = calculateKernelValueFix(picture, j, i, kernelRadius); - } - } - - // std::cerr << " DONE ! \n"; - - return (retPlane); - -} - -uint32 PictureResize::linearInterpolation(RGBPlane pic, float x, float y) -{ - uint32 pixelDistance = 4; - uint32 pos_x1 = (int)(x); - uint32 pos_x2 = (int)(x+1.0); - uint32 pos_y1 = (int)(y); - uint32 pos_y2 = (int)(y+1.0); - - if (pos_x2 >= pic->width) - pos_x2 = pic->width-1; - - if (pos_y2 >= pic->height) - pos_y2 = pic->height-1; - - float part_x = (float)(x - pos_x1); - float part_y = (float)(y - pos_y1); - - float value_x1y1; - float value_x1y2; - float value_x2y1; - float value_x2y2; - - float inter_x1y1_x1y2; - float inter_x2y1_x2y2; - float endpoint; - - uint32 retValue(0); - - uint8* RGB = (uint8*)(&retValue); - - /* red */ - - value_x1y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x1); - value_x1y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x1); - value_x2y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x2); - value_x2y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x2); - - inter_x1y1_x1y2 = (value_x1y2-value_x1y1)*part_y + value_x1y1; - inter_x2y1_x2y2 = (value_x2y2-value_x2y1)*part_y + value_x2y1; - - endpoint = (inter_x2y1_x2y2 - inter_x1y1_x1y2) * part_x + inter_x1y1_x1y2 - + 0.5; - - if (endpoint > 255) - endpoint = 255; - - if (endpoint < 0) - endpoint = 0; - - RGB0 = (uint8)endpoint; - - /* green */ - - value_x1y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x1)+1; - value_x1y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x1)+1; - value_x2y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x2)+1; - value_x2y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x2)+1; - - inter_x1y1_x1y2 = (value_x1y2-value_x1y1)*part_y + value_x1y1; - inter_x2y1_x2y2 = (value_x2y2-value_x2y1)*part_y + value_x2y1; - - endpoint = (inter_x2y1_x2y2 - inter_x1y1_x1y2) * part_x + inter_x1y1_x1y2 - + 0.5; - - if (endpoint > 255) - endpoint = 255; - - if (endpoint < 0) - endpoint = 0; - - RGB1 = (uint8)endpoint; - - /* blue */ - - value_x1y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x1)+2; - value_x1y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x1)+2; - value_x2y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x2)+2; - value_x2y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x2)+2; - - inter_x1y1_x1y2 = (value_x1y2-value_x1y1)*part_y + value_x1y1; - inter_x2y1_x2y2 = (value_x2y2-value_x2y1)*part_y + value_x2y1; - - endpoint = (inter_x2y1_x2y2 - inter_x1y1_x1y2) * part_x + inter_x1y1_x1y2 - + 0.5; - - if (endpoint > 255) - endpoint = 255; - - if (endpoint < 0) - endpoint = 0; - - RGB2 = (uint8)endpoint; - - return (retValue); - -} - -RGBPlane PictureResize::resize(RGBPlane& picture, uint32 width, uint32 height, - uint8 quality) -{ - - RGBPlane retPlane(width, height); - - float resizeFactorX(((float)picture->width)/((float)retPlane->width)); - float resizeFactorY(((float)picture->height)/((float)retPlane->height)); - float radius((resizeFactorX*resizeFactorX + resizeFactorY*resizeFactorY) - /(0.5*quality)); - uint32 heightAddition; - - if (radius < 0.708) - radius = 0.708; - -#ifdef DEBUG - std::cerr << "Resizing from "<<picture->width<<" : "<<picture->height - <<" to "<<retPlane->width<<" : "<<retPlane->height<<"\n"; - std::cerr << "using resizefactor "<<resizeFactorX<<" : "<<resizeFactorY - <<" with radius "<<radius<<"\n"; -#endif - bool p(false); - - if ((resizeFactorX < 0.6) || (resizeFactorX > 1.6)) { - for (uint32 i(0); i< retPlane->height; ++i) { - - heightAddition = i*retPlane->width; - - for (uint32 j(0); j < retPlane->width; ++j) { - -#ifdef DEBUG - if ((j==100) && (i==100)) - p=true; - else - p=false; -#endif - - ((uint32*)(retPlane->plane))j+heightAddition - = calculateKernelValue(picture, j *resizeFactorX, i - *resizeFactorY, radius, p); - } - } - } else { - for (uint32 i(0); i< retPlane->height; ++i) { - - heightAddition = i*retPlane->width; - - for (uint32 j(0); j < retPlane->width; ++j) { - -#ifdef DEBUG - if ((j==100) && (i==100)) - p=true; - else - p=false; -#endif - - ((uint32*)(retPlane->plane))j+heightAddition - = linearInterpolation(picture, j *resizeFactorX, i - *resizeFactorY); - } - } - } - - return (retPlane); - -} - -RGBPlane PictureResize::resize(RGBPlane& picture, float resizeFactorX, float resizeFactorY, uint8 quality) -{ - - RGBPlane retPlane(picture->width*resizeFactorX, picture->height*resizeFactorY); - - float radius((resizeFactorX*resizeFactorX + resizeFactorY*resizeFactorX)/(0.5*quality)); - uint32 heightAddition; - - if (radius < 0.708) // sqrt(0.5) this is the lease radius size, a picture can be - radius = 0.708; - - bool p(false); - - for (uint32 i(0); i< retPlane->height; ++i) { - - heightAddition = i*retPlane->width; - - for (uint32 j(0); j < retPlane->width; ++j) { - if ((i==100) && (j==100)) - p=true; - else - p=false; - - ((uint32*)(retPlane->plane))j+heightAddition = calculateKernelValue(picture, ((float)j) - *resizeFactorX, ((float)i)*resizeFactorY, radius); - } - } - - return (retPlane); - -} - -RGBPlane PictureResize::resize(RGBPlane& picture, float resizeFactor, - uint8 quality) -{ - return (resize(picture, resizeFactor, resizeFactor, quality)); -} - -RGBPlane PictureResize::reframe(RGBPlane & picture, uint32 width, - uint32 height, uint8 quality, uint32 background, double aspectCorrection) -{ - - RGBPlane newPlane(width, height); - - uint32 planesize(width*height); - - // fill the plane with the given background - uint32* plPtr((uint32*)(newPlane->plane)); - for (uint32 i(0); i<planesize; ++i) - plPtri = background; - // setBackground - - uint32 offsetY(0); - uint32 offsetX(0); - float resizeFactor(1); - - if (((float)(picture->height*newPlane->width)/((float)picture->width*aspectCorrection)) - < ((float)newPlane->height)) { - // we work with a height offset - offsetY = (uint32) ((((float)newPlane->height) - - (((float)(picture->height * newPlane->width)) - /((float)picture->width*aspectCorrection)))/2.0+0.5); - offsetX = 0; - resizeFactor = (((float)picture->width*aspectCorrection/(float)newPlane->width)); //((float)newPlane->width)/((float)width); - } else { - // we work with a width offset - offsetY = 0; - offsetX = (uint32) ((((float)newPlane->width) - - (((float)(picture->width*aspectCorrection *newPlane->height)) - /((float)picture->height)))/2.0+0.5); - resizeFactor = (((float)picture->height/(float)newPlane->height)); //((float)newPlane->height)/((float)picture->height); - } - -#ifdef DEBUG - std::cerr << "Reframe - OffsetX: "<<offsetX<<" OffsetY: "<<offsetY - <<" resize : "<<resizeFactor<<std::endl; -#endif - - uint32 position_new; - float resizePlaneCounterX(0); - float resizePlaneCounterY(0); - float radius((resizeFactor*resizeFactor)/(0.25*quality)); - // float radius(resizeFactor/2.0); - if (radius < 0.708) // sqrt(0.5) this is the lease radius size, a picture can be - radius = 0.708; - - // place the picture into the new frame - - for (uint32 i(offsetY); i<(newPlane->height-offsetY); ++i) { - for (uint32 j(offsetX); j <(newPlane->width-offsetX); ++j) { - position_new = (((float)i)*newPlane->width+j); - ((uint32*)(newPlane->plane))position_new - = calculateKernelValue(picture, resizePlaneCounterX, - resizePlaneCounterY, radius); - resizePlaneCounterX += (resizeFactor/aspectCorrection); - } - resizePlaneCounterY += resizeFactor; - resizePlaneCounterX = 0; - } - - return (newPlane); -} - -RGBPlane PictureResize::subframe(RGBPlane & picture, uint32 newWidth, - uint32 newHeight, float offsetWidth, float offsetHeight, - float scaleFactor, uint8 quality) -{ - - if (((((float)newWidth)/scaleFactor)+offsetWidth> picture->width) - || ((((float)newHeight) /scaleFactor)+offsetHeight> picture->height)) { - std::cerr << "new width: "<<newWidth<<" / "<<scaleFactor<<" + " - <<offsetWidth << " = " << (((float)newWidth)/scaleFactor) - +offsetWidth <<" must be smaller then "<<picture->width - <<std::endl; - std::cerr << "new width: "<<newHeight<<" / "<< scaleFactor<<" + " - <<offsetHeight << " = " <<(((float)newHeight)/scaleFactor) - +offsetHeight <<" must be smaller then "<<picture->height - <<std::endl; - throw "PicConverter::subPic: new width/height is/are to big"; - } - - RGBPlane retPlane = RGBPlane(newWidth, newHeight); - - float resizeFactor(1.0/scaleFactor); - float radius((resizeFactor*resizeFactor)/(0.5*quality)); - uint32 heightAddition; - - if (radius < 0.708) // sqrt(0.5) this is the lease radius size, a picture can be - radius = 0.708; - - // std::cerr << "subframe: resize factor (j*resize) "<<resizeFactor<<" radius: "<<radius<<"\n"; - if ((resizeFactor < 0.6) || (resizeFactor > 1.6)) { - - for (uint32 i(0); i < newHeight; ++i) { - heightAddition = i*newWidth; - for (uint32 j(0); j < newWidth; ++j) { - ((uint32*)(retPlane->plane))j+heightAddition - = calculateKernelValue(picture, ((float)j) - *resizeFactor+offsetWidth, ((float)i) - *resizeFactor+offsetHeight, radius); - - } - } - } else { - for (uint32 i(0); i < newHeight; ++i) { - heightAddition = i*newWidth; - for (uint32 j(0); j < newWidth; ++j) { - ((uint32*)(retPlane->plane))j+heightAddition - = linearInterpolation(picture, ((float)j) *resizeFactor - +offsetWidth, ((float)i)*resizeFactor - +offsetHeight); - - } - } - - } - - return (retPlane); - -} -
View file
oggvideotools-0.8.tar.bz2/src/pictureResize.h
Deleted
@@ -1,53 +0,0 @@ -// -// C++ Interface: pictureResize -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#ifndef PICTURERESIZE_H -#define PICTURERESIZE_H - -#include "definition.h" -#include "rgbPlane.h" - -/** - @author Yorn <yorn@gmx.net> -*/ -class PictureResize { - -protected: - static uint32 calculateKernelValue(RGBPlane& pic, float posX, float posY, float radius, bool p=false); - static float getWeight(float distance, float radius); - - static uint32 calculateKernelValueFix(RGBPlane& pic, float posX, float posY, float radius, bool p=false); - static int32 getWeightFix(uint32 distance, uint32 radius); - - static uint32 linearInterpolation(RGBPlane pic, float x, float y); -public: - PictureResize(); - - virtual ~PictureResize(); - - //! Method transforms the original picture through a lowpass/bluring filter - static RGBPlane kernelLowpass(RGBPlane& picture, float radius=1); - - //! method resizes the picture and stretches if necessary - static RGBPlane resize(RGBPlane& picture, uint32 width, uint32 height, uint8 quality=1); - - static RGBPlane resize(RGBPlane& picture, float factorX, float factorY, uint8 quality=1); - - static RGBPlane resize(RGBPlane& picture, float factor, uint8 quality=1); - - //! Method keeps the aspect ratio during resize - static RGBPlane reframe(RGBPlane& picture, uint32 width, uint32 height, uint8 quality=1, uint32 background=0, double aspectCorrection=1); - - static RGBPlane subframe(RGBPlane& picture, uint32 newWidth, uint32 newHeight, float offsetWidth, float offsetHeight, float resizeFactor, uint8 quality=1); - -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/plainPicture.cpp
Deleted
@@ -1,63 +0,0 @@ -// -// C++ Implementation: PlainPicture -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#include "plainPicture.h" -#include "pictureResize.h" -#include "pictureLoader.h" -#include <cstdlib> - -PlainPicture::PlainPicture() - : Effector(), state(unconfigured), framecounter(0) -{ -} - - -PlainPicture::~PlainPicture() -{ -} - -Effector & PlainPicture::operator >>(RGBPlane & plane) -{ - - if (!available()) - return(*this); - - plane = presentationPlane; - - framecounter++; - if (framecounter > config.sequenceLength) { - state = unavailable; - } - - return(*this); -} - -void PlainPicture::configure(PlainPictureConfig & _config) -{ - - framecounter = 0; - config = _config; - - /* resize the picture to the correct size */ - presentationPlane = PictureResize::reframe(config.origPlane, config.outputWidth, config.outputHeight); - - state = presentation; - -} - -bool PlainPicture::available() -{ - - return((state!=unavailable) && (state!=unconfigured)); - -} - -
View file
oggvideotools-0.8.tar.bz2/src/plainPicture.h
Deleted
@@ -1,61 +0,0 @@ -// -// C++ Interface: plainPicture -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#ifndef PLAINPICTURE_H -#define PLAINPICTURE_H - -#include "effector.h" - -/** - @author Yorn <yorn@gmx.net> -*/ -class PlainPicture : public Effector { - -public: - - class PlainPictureConfig { - public: - - uint32 sequenceLength; /* in frames */ - - uint32 outputWidth; - uint32 outputHeight; - - RGBPlane origPlane; - }; - -protected: - - enum State { - unconfigured, - presentation, - unavailable - }; - - State state; - RGBPlane presentationPlane; - PlainPictureConfig config; - uint32 framecounter; - - -public: - PlainPicture(); - virtual ~PlainPicture(); - - void configure(PlainPictureConfig& config); - - virtual Effector& operator>>(RGBPlane& plane); - - virtual bool available(); - -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/rawMediaPacket.cpp
Deleted
@@ -1,110 +0,0 @@ -/* - * RawMediaPacket class to carry a raw bunch of data - * - * Copyright (C) 2005-2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <string.h> -#include "rawMediaPacket.h" - -RawMediaData::RawMediaData() - : data(0), length(0) -{ -} - -RawMediaData::RawMediaData(uint8* _data, uint32 _length, bool copy) -{ - if (copy) - memcpy(data=new unsigned char_length, _data, length=_length); - else { - data = _data; - length = _length; - } -} - -RawMediaData::~RawMediaData() -{ - if (data) - delete data; -} - -uint8* RawMediaData::getData(uint32& _length) -{ - _length = length; - return(data); -} - -uint8* RawMediaData::getData() -{ - return(data); -} - -void RawMediaData::setData(uint8* _data, uint32 _length, bool copy) -{ - if (data) - delete data; - - length = _length; - - if (copy) - memcpy(data=new unsigned charlength, _data, length); - else - data = _data; - -} - -uint32 RawMediaData::size() -{ - return(length); -} - -/*********************************/ - -RawMediaPacket::RawMediaPacket() -{ -} - -RawMediaPacket::RawMediaPacket(const RawMediaPacket& packet) - : RefObject<RawMediaData>(packet) -{ -} - -RawMediaPacket::RawMediaPacket(RawMediaData* dataPtr) - : RefObject<RawMediaData>(dataPtr) -{ -} - -RawMediaPacket::~RawMediaPacket() -{ -} - -uint8* RawMediaPacket::getData(uint32& length) -{ - return(objPtr->getData(length)); -} - -uint8* RawMediaPacket::getData() -{ - return(objPtr->getData()); -} - -uint32 RawMediaPacket::size() -{ - return(objPtr->size()); -} -
View file
oggvideotools-0.8.tar.bz2/src/rawMediaPacket.h
Deleted
@@ -1,62 +0,0 @@ -/* - * RawMediaPacket class to carry a raw bunch of data - * - * Copyright (C) 2005-2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef RAWMEDIAPACKET_H_ -#define RAWMEDIAPACKET_H_ - -#include "definition.h" -#include "refObject.h" - -class RawMediaData { - -protected: - uint8* data; - uint32 length; - -public: - RawMediaData(); - RawMediaData(uint8* data, uint32 length, bool copy); - virtual ~RawMediaData(); - - void setData(uint8* data, uint32 length, bool copy); - uint8* getData(uint32& length); - uint8* getData(); - uint32 size(); - -}; - -class RawMediaPacket : public RefObject<RawMediaData> { - -public: - - RawMediaPacket(); - RawMediaPacket(const RawMediaPacket& data); - RawMediaPacket(RawMediaData* data); - - virtual ~RawMediaPacket(); - - uint8* getData(uint32& length); - uint8* getData(); - uint32 size(); - -}; - -#endif /*RAWMEDIAPACKET_H_*/
View file
oggvideotools-0.8.tar.bz2/src/refObject.h
Deleted
@@ -1,128 +0,0 @@ -/* - * RefObject class to reduce complete object copy actions - * - * Copyright (C) 2005-2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef refObject_h -#define refObject_h - -//! class to keep refences instead of copies -/*! This class keeps track of an dynamically allocated - memory on the heap. - On object copy, only the object pointer is copied and - an additionally reference counter is incremented. - On object elemination, the object is deleted only in - case that no one has still a refence to this object. - (Code is inspired by Bjarne Stoustrup) -*/ -template<class C> -class RefObject { - -protected: - - unsigned int* refCounter; - C* objPtr; - -public: - RefObject(); - RefObject(C* objPtr); - RefObject(const RefObject& obj); - virtual ~RefObject(); - - RefObject& operator=(const RefObject& obj); - - C* operator->(); - - C* obj(); - void obj(C* object); - -}; - -/* Implementation Part */ - -template<class C> inline RefObject<C>::RefObject() - : refCounter(new unsigned int), objPtr(new C) -{ - (*refCounter) = 1; -} - -template<class C> inline RefObject<C>::RefObject(C* objPtr) - : refCounter(new unsigned int), objPtr(objPtr) -{ - (*refCounter) = 1; -} - -template<class C> inline RefObject<C>::RefObject(const RefObject& refObj) - : refCounter(refObj.refCounter), objPtr(refObj.objPtr) -{ - if (this == &refObj) - return; - (*refCounter)++; -} - -template<class C> inline RefObject<C>::~RefObject() -{ - (*refCounter)--; - - if ((*refCounter) == 0) { - delete refCounter; - delete objPtr; - } -} - -template<class C> inline RefObject<C>& -RefObject<C>::operator=(const RefObject& refObj) -{ - if (this == &refObj) - return(*this); - - (*refCounter)--; - - if ((*refCounter) == 0) { - delete refCounter; - delete objPtr; - } - - refCounter = refObj.refCounter; - objPtr = refObj.objPtr; - - (*refCounter)++; - return(*this); -} - -template<class C> inline C* RefObject<C>::obj() -{ - return(objPtr); -} - -template<class C> inline C* RefObject<C>::operator->() -{ - return(objPtr); -} - -template<class C> inline void RefObject<C>::obj(C* ptr) -{ - delete objPtr; - objPtr = ptr; - - /* reference pointer is not touched - DANGER: think - do you really want to use this method? */ -} - -#endif // refObject_h
View file
oggvideotools-0.8.tar.bz2/src/rgbPlane.cpp
Deleted
@@ -1,29 +0,0 @@ -// -// C++ Implementation: rgbPlane -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#include "rgbPlane.h" - - -RGBPlane::RGBPlane() -{ -} - - -RGBPlane::~RGBPlane() -{ -} - -RGBPlane::RGBPlane(uint32 width, uint32 height) - : RefObject<BasePlane>(new BasePlane(width, height)) -{ -} - -
View file
oggvideotools-0.8.tar.bz2/src/rgbPlane.h
Deleted
@@ -1,42 +0,0 @@ -// -// C++ Interface: rgbPlane -// -// Description: -// -// -// Author: Yorn <yorn@gmx.net>, (C) 2009 -// -// Copyright: See COPYING file that comes with this distribution -// -// -#ifndef RGBPLANE_H -#define RGBPLANE_H - -#include "refObject.h" -#include "basePlane.h" - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -/** - @author Yorn <yorn@gmx.net> -*/ -class RGBPlane : public RefObject<BasePlane> { - -public: - RGBPlane(); - RGBPlane(uint32 width, uint32 height); - - virtual ~RGBPlane(); - - const uint32 getWidth() const { - return objPtr->width; - } - const uint32 getHeight() const { - return objPtr->height; - } - -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/ringbuffer.cpp
Deleted
@@ -1,200 +0,0 @@ -/* - * simple ring buffer - * - * Copyright (C) 2005-2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <string.h> -#include "ringbuffer.h" - -ringbuffer::ringbuffer(unsigned int buffersize) - : size(buffersize), used(0), begin(0), end(0) -{ - lock(); - fifo = new unsigned charbuffersize; - unlock(); -} - -ringbuffer::ringbuffer(unsigned char* data, unsigned int len) - : size(len), used(len), begin(0), end(0) -{ - // gonna make a copy for savety: - lock(); - fifo = new unsigned charlen; - memcpy(fifo, data, len); - unlock(); -} - -ringbuffer::~ringbuffer() -{ - delete fifo; -} - -unsigned int ringbuffer::addData(const unsigned char* data, unsigned int len) -{ - bool drop(false); - - lock(); - - if ((!len) || (!data)) { - unlock(); - return(0); - } - - if (begin+len < size) { - memcpy(fifo+begin,data,len); - } else { - // split - int part1 = (size - begin); - int part2 = len - part1; - memcpy(fifo+begin,data,part1); - memcpy(fifo,data+part1,part2); - } - - begin += len; - begin %= size; - - if (len > (size-used)) { - // overwriting - end += (len - size + used); - end %= size; - used = size; - drop = true; - } else { - used += len; - } - - unlock(); - - /* - if (drop) - std::cerr<<"d"; - */ - - return (len); - -} - -unsigned int ringbuffer::getData(unsigned char* data, unsigned int len) -{ - lock(); - - if (used < len) - len = used; - - if (size < (end + len)) { - // split - int part1 = size - end; - int part2 = len - part1; - memcpy(data, fifo+end, part1); - memcpy(data+part1, fifo, part2); - } else - memcpy(data, fifo+end, len); - - end += len; - end %= size; - used -= len; - - /* - for(unsigned int i=0; i<len; ++i) { - datai = fifoend++; - end %= size; - } - */ - - unlock(); - - return (len); -} - -unsigned int ringbuffer::getAvailable() -{ - unsigned int retValue; - - lock(); - retValue = size-used; - unlock(); - - return(retValue); -} - -unsigned int ringbuffer::getUsed() -{ - unsigned int retValue; - - lock(); - retValue = used; - unlock(); - - return(retValue); -} - -void ringbuffer::clean() -{ - lock(); - begin = end = used = 0; - unlock(); -} - -unsigned int ringbuffer::luenkerback(unsigned char* data, unsigned int len) -{ - lock(); - if (len>used) - len = used; - - int tmpEnd = begin-1; - for (int i=len-1; i>=0; --i) { - if (tmpEnd < 0) - tmpEnd = size-1; - datai = fifotmpEnd--; - } - unlock(); - - return (len); -} - -unsigned int ringbuffer::luenkerfront(unsigned char* data, unsigned int len) -{ - lock(); - if (used < len) - len = used; - - unsigned int tmpEnd = end; - for (unsigned int i=0; i<len; ++i) { - datai = fifotmpEnd++; - tmpEnd %= size; - } - unlock(); - - return (len); -} - -unsigned int ringbuffer::inc(unsigned int len) -{ - lock(); - if (used < len) - len = used; - - end += len; - end %= size; - used -= len; - - unlock(); - - return (len); -}
View file
oggvideotools-0.8.tar.bz2/src/ringbuffer.h
Deleted
@@ -1,62 +0,0 @@ -/* - * simple ring buffer - * - * Copyright (C) 2005-2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef ringbuffer_h -#define ringbuffer_h - -class ringbuffer { - -protected: - unsigned char* fifo; - - volatile unsigned int size; - volatile unsigned int used; - volatile unsigned int begin; //! first available sign - volatile unsigned int end; //! oldest packet - - virtual void lock() {}; - virtual void unlock() {}; - -public: - ringbuffer(unsigned int buffersize = 8000); - ringbuffer(unsigned char* data, unsigned int len); - - virtual ~ringbuffer(); - - unsigned int addData(const unsigned char* data, unsigned int len); - unsigned int getData(unsigned char* data, unsigned int len); - - unsigned int getAvailable(); - unsigned int getUsed(); - - // read newest nBytes - unsigned int luenkerback(unsigned char* data, unsigned int len); - - // read oldest nBytes - unsigned int luenkerfront(unsigned char* data, unsigned int len); - - // delete the oldes len bytes - unsigned int inc(unsigned int len); - - void clean(); -}; - -#endif
View file
oggvideotools-0.8.tar.bz2/src/streamExtractor.cpp
Deleted
@@ -1,47 +0,0 @@ -#include "streamExtractor.h" - -ExtractorInformation::ExtractorInformation() - : type(ogg_unknown), serialNo(0), parameter(0), numOfHeaderPackets(0) -{ -} - -ExtractorInformation::ExtractorInformation(const ExtractorInformation& extractorInfo) - : type(extractorInfo.type), serialNo(extractorInfo.serialNo), - parameter(0), numOfHeaderPackets(extractorInfo.numOfHeaderPackets) -{ - if (extractorInfo.parameter) - parameter = extractorInfo.parameter->clone(); - -} - -ExtractorInformation& ExtractorInformation::operator=(const ExtractorInformation& extractorInfo) -{ - type = extractorInfo.type; - serialNo = extractorInfo.serialNo; - numOfHeaderPackets = extractorInfo.numOfHeaderPackets; - - if (parameter) - delete parameter; - - if (extractorInfo.parameter) - parameter = extractorInfo.parameter->clone(); - else - parameter = 0; - - return(*this); -} - -ExtractorInformation::~ExtractorInformation() -{ - if (parameter) - delete parameter; -} - -StreamExtractor::StreamExtractor() -{ -} - -StreamExtractor::~StreamExtractor() -{ -} -
View file
oggvideotools-0.8.tar.bz2/src/streamExtractor.h
Deleted
@@ -1,47 +0,0 @@ -#ifndef STREAMEXTRACTOR_H_ -#define STREAMEXTRACTOR_H_ - -#include "oggPage.h" -#include "oggPacket.h" -#include "streamParameter.h" -#include "granulePosInterpreter.h" - -//! This is a baseclass for the configuration of a stream -/*! This class can be derived by more specific stream information */ -class ExtractorInformation { - -public: - - ExtractorInformation(); - ExtractorInformation(const ExtractorInformation& extractorInfo); - ~ExtractorInformation(); - - //! Type of stream (e.g. ogg_vorbis, ogg_theora, ogg_speex) - OggType type; - - //! stream serial number (random number required by ogg) - uint32 serialNo; - - //! The first page/packet gives detailed information of the stream - StreamParameter* parameter; - - //! the number of header packets must be identified by the stream type - uint8 numOfHeaderPackets; - - ExtractorInformation& operator=(const ExtractorInformation& extractorInfo); - -}; - - -class StreamExtractor { -public: - StreamExtractor(); - - virtual ~StreamExtractor(); - - virtual bool extract(OggPage& page, ExtractorInformation& information) = 0; - virtual bool extract(OggPacket& packet, ExtractorInformation& information) = 0; - -}; - -#endif /*STREAMEXTRACTOR_H_*/
View file
oggvideotools-0.8.tar.bz2/src/streamMux.cpp
Deleted
@@ -1,381 +0,0 @@ -/* - * streamMux will multiplex a number streams to one ogg file - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> - -#include "streamMux.h" - -#include "rawMediaPacket.h" -#include "oggBOSExtractorFactory.h" - -MuxStreamEntry::MuxStreamEntry() - : used(false), streamEncoder(0), posInterpreter(0), - nextTime(-2), empty(true), bufferElemCounter(0) -{ -} - -MuxStreamEntry::MuxStreamEntry(StreamConfig& config, - OggStreamEncoder* _streamEncoder, - GranulePosInterpreter* _posInterpreter) - : used(true), streamConfig(config), streamEncoder(_streamEncoder), - posInterpreter(_posInterpreter), nextTime(-2), empty(true), lastPacketNo(2), - bufferElemCounter(0) -{ -} - -MuxStreamEntry::~MuxStreamEntry() -{ -} - -StreamMux::StreamMux(MediaRepository* _repository) - : timeOfLastPage(0.0), redoTiming(true), repository(_repository) -{ -} - -StreamMux::~StreamMux() -{ - for (uint32 i(0); i<streamList.size(); ++i) { - delete streamListi.streamEncoder; - delete streamListi.posInterpreter; - } -} - -void StreamMux::recreatePacketPosition(bool _redoTiming) -{ - redoTiming = _redoTiming; -} - -void StreamMux::writeToRepository() -{ - RawMediaPacket rawPacket; - - // write the data bunches to the repository - while (oggEncoder.isAvailable()) { - oggEncoder >> rawPacket; - (*repository) << rawPacket; - } - -} - -void StreamMux::insertHeader() -{ - OggPage oggPage; - - /* first set all BOS Packets/Pages */ - for (uint32 i(0); i<streamList.size(); ++i) { - - if (!streamListi.used) - continue; - - // easier access - OggStreamEncoder& encoder = *streamListi.streamEncoder; - - encoder << streamListi.streamConfig.headerList0; - - // we do not have to flush, the encoder knows, that the bos - // page needs a clean page - - if (encoder.isAvailable()) { - encoder >> oggPage; - oggEncoder << oggPage; - - } - } - - /* then set the rest of the packets */ - for (uint32 i(0); i<streamList.size(); ++i) { - - /* if there are no additional header available, do nothing */ - if (streamListi.streamConfig.headerList.size() <= 1) - continue; - - // easier access - OggStreamEncoder& encoder = *streamListi.streamEncoder; - - // insert the rest of the header files - for (uint32 j(1); j<streamListi.streamConfig.headerList.size(); ++j) - encoder << streamListi.streamConfig.headerListj; - - // place the additional header packets on a clean page - encoder.flush(); - - // write all pages to the ogg encoder - while (encoder.isAvailable()) { - encoder >> oggPage; - oggEncoder << oggPage; - } - - streamListi.lastPacketNo = streamListi.streamConfig.headerList.size()-1; - } - - // write the data to the repository - writeToRepository(); - -} - -void StreamMux::writeToOggEncoder() -{ - // write data to the ogg encoder, as long as there is - // at least one packet of every stream available - // This is because we might not know the end of stream - - while (!outputPageList.empty()) { - - // get the first page - OggPage nextPage = outputPageList.back().page; - - uint8 streamNo(nextPage.getStreamNo()); - - // this is the real return reason, the Page list - // should never be empty - if (streamListstreamNo.bufferElemCounter < 2) - break; - - // insert the packet into the ogg encoder - oggEncoder << nextPage; - - // decrement the marker for the elements of this stream - streamListstreamNo.bufferElemCounter--; - outputPageList.pop_back(); - - } - - writeToRepository(); -} - -void StreamMux::flushOggEncoder() -{ - // now we search for the last page of every stream - // and mark it as the "End of Stream" - - while (!outputPageList.empty()) { - - // get the first page - OggPage nextPage = outputPageList.back().page; - - uint8 streamNo(nextPage.getStreamNo()); - - // is this the last page of this stream, then mark it - if (streamListstreamNo.bufferElemCounter == 1) { - nextPage.setEOS(); - nextPage.createCRC(); - } - - // insert the packet into the ogg encoder - oggEncoder << nextPage; - - // decrement the marker for the elements of this stream - streamListstreamNo.bufferElemCounter--; - - outputPageList.pop_back(); - } - - // flush the encoder (actually does nothing) - oggEncoder.flush(); - -} - -bool StreamMux::allBuffersEmpty() -{ - // run through the list and find out, if there is - // a filled buffer - - for (uint32 i(0); i<streamList.size(); ++i) - if (!streamListi.empty) - return(false); - - return(true); -} - -bool StreamMux::findAndInsertNextPage() -{ - double nextTime(-2); - uint8 nextID(0); - - for (uint32 i(0); i<streamList.size(); ++i) { - - if (streamListi.empty) - continue; - - if ((nextTime < -1) || (streamListi.nextTime < nextTime)) { - nextTime = streamListi.nextTime; - nextID = i; - } - } - - // if we have not found any packet, do nothing - if (nextTime < -1) - return(false); - - // insert the found page into the page list - OutputElement elem(streamListnextID.nextPage, streamListnextID.nextTime); - - std::list<OutputElement>::iterator iter(outputPageList.begin()); - - // -1 is a problem! - if (elem.time < 0) { - elem.time = timeOfLastPage; // should we care for the stream No? - } - - while ((iter != outputPageList.end()) && (elem.time < iter->time)) - ++iter; - - outputPageList.insert(iter, elem); - - timeOfLastPage = elem.time; - - // page has been added to the output list, mark the entry as free - streamListnextID.empty = true; - - // increment the number of elements in the, that - // belongs to this stream - // we need to know that, to be able to ensure that at least - // one packet of every stream is not written to the ogg encoder - streamListnextID.bufferElemCounter++; - - // write the data - writeToOggEncoder(); - - return(true); -} - -void StreamMux::handleNextPage(OggPage& page, uint8 streamNo) -{ - /* here we look, if there is a page in the buffer - * if yes, look into the other buffers and insert the pages into - * the outputPageList by their time order until the page buffer, - * we are looking for is free */ - - MuxStreamEntry& entry = streamListstreamNo; - - while (!entry.empty) { - findAndInsertNextPage(); - } - - page.setStreamNo(streamNo); - entry.nextPage = page; - entry.empty = false; - entry.nextTime = entry.posInterpreter->getTime(page.granulepos()); - return; - -} - -void StreamMux::configureStreams(std::vector<StreamConfig>& config) -{ - streamList.resize(config.size()); - - for (uint32 i(0); i<config.size(); ++i) { - - if (configi.type == ogg_unknown) { - continue; - } - - // create the encoder and the position interpreter - OggStreamEncoder* streamEncoder = new OggStreamEncoder; - GranulePosInterpreter* posInterpreter = - OggBOSExtractorFactory::extractPositionInterpreter(configi); - - MuxStreamEntry entry(configi, streamEncoder, posInterpreter); - - streamListconfigi.streamNo = entry; - - } - - // write the header pages (they are available within the StreamConfig information) - insertHeader(); -} - -StreamMux& StreamMux::operator<<(OggPacket& packet) -{ - - // easier access - MuxStreamEntry& entry = streamListpacket.getStreamNo(); - - // can we handle this packet - if not, this packet will be discarded - if (!entry.used) { - std::cerr << "StreamMux::operator<< no valid stream to put a packet with stream no:"<<(uint32) packet.getStreamNo()<<std::endl; - return(*this); - } - - if (entry.lastPacketNo+1 != packet.getPacketNo()) { - std::cerr << "StreamMux::operator<<: Warning: packet number for stream <"<<(int)packet.getStreamNo()<<"> not matching: expected: "<< entry.lastPacketNo+1 << " got "<< packet.getPacketNo()<<std::endl; - } - - entry.lastPacketNo = packet.getPacketNo(); - - OggStreamEncoder& encoder = *entry.streamEncoder; - - // first we set a valid granule position to the packet - if (redoTiming) - entry.posInterpreter->setStreamPosition(packet); - - // then we place this packet into the stream encoder - encoder << packet; - - // now it is becomming difficult, as the pages must be in the correct order - // therefor we need a lot of buffering stuff :-/ - OggPage page; - - // if there are one or more pages, handle the buffering - while (encoder.isAvailable()) { - encoder >> page; - handleNextPage(page, packet.getStreamNo()); - } - - return(*this); -} - -void StreamMux::setEndOfStream() -{ - // flush the rest, if there is some - for (uint32 i(0); i<streamList.size(); ++i) { - - MuxStreamEntry& entry = streamListi; - - if (!entry.used) - continue; - - entry.streamEncoder->flush(); - - while (entry.streamEncoder->isAvailable()) { - OggPage page; - - *entry.streamEncoder >> page; - handleNextPage(page, i); - } - } - - // insert all buffered pages - while (findAndInsertNextPage()); - - // flush the page list - flushOggEncoder(); - - writeToRepository(); -} - -void StreamMux::close() -{ - if (repository) { - repository->close(); - delete repository; - } -}
View file
oggvideotools-0.8.tar.bz2/src/streamMux.h
Deleted
@@ -1,118 +0,0 @@ -/* - * streamMux will multiplex a number streams to one ogg file - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ -#ifndef STREAMMUX_H_ -#define STREAMMUX_H_ - -#include <deque> -#include <vector> - -#include "definition.h" -#include "oggPacket.h" -#include "oggEncoder.h" -#include "oggStreamEncoder.h" -#include "granulePosInterpreter.h" -#include "mediaRepository.h" - -class MuxStreamEntry { - -public: - - /* entry information */ - bool used; - - /* stream information */ - StreamConfig streamConfig; - OggStreamEncoder* streamEncoder; - GranulePosInterpreter* posInterpreter; - - /* packet information */ - OggPage nextPage; - double nextTime; - bool empty; - - uint32 lastPacketNo; - - /* stream buffer information */ - int bufferElemCounter; - - MuxStreamEntry(); - MuxStreamEntry(StreamConfig& config, OggStreamEncoder* streamEncoder, GranulePosInterpreter* posInterpreter); - - virtual ~MuxStreamEntry(); - -}; - -//! streamMux creates a new ogg media stream -/*! This object awaits a repository with the constructor, which informs - * the object about where to write the information to. - * Additional it awaits a vector of Stream Config information to set up - * the header and the granule position correctly. - * From that moment, the StreamMux object receives OggPackets which are - * placed into the media stream with the correct packaging. - * */ -class StreamMux { - -protected: - - struct OutputElement { - OggPage page; - double time; - OutputElement(OggPage _page, double _time) - : page(_page), time(_time) {} - }; - - double timeOfLastPage; - - bool redoTiming; - - OggEncoder oggEncoder; - MediaRepository* repository; - - std::vector<MuxStreamEntry> streamList; - //std::list<OggPage> outputPageList; - std::list<OutputElement> outputPageList; - - bool allBuffersEmpty(); - - void writeToRepository(); - void writeToOggEncoder(); - - void flushOggEncoder(); - - bool findAndInsertNextPage(); - void insertHeader(); - void handleNextPage(OggPage& page, uint8 streamNo); - -public: - StreamMux(MediaRepository* repository); - virtual ~StreamMux(); - - void configureStreams(std::vector<StreamConfig>& config); - void setEndOfStream(); - - StreamMux& operator<<(OggPacket& page); - - void recreatePacketPosition(bool redoTiming); - - void close(); -}; - -#endif /*STREAMMUX_H_*/
View file
oggvideotools-0.8.tar.bz2/src/streamSerializer.cpp
Deleted
@@ -1,419 +0,0 @@ -/* - * streamSerialize will output a serialized stream of packets from a file - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include <iostream> - -#include "streamSerializer.h" - -#include "fileRepository.h" -#include "oggBOSExtractorFactory.h" - -StreamEntry::StreamEntry() : - streamDecoder(0), posInterpreter(0), nextTime(-1), endOfStream(false), - empty(true) -{ -} - -StreamEntry::StreamEntry(StreamConfig& config, OggStreamDecoder* sDecoder) : - streamConfig(config), streamDecoder(sDecoder), posInterpreter(0), nextTime(-1), - endOfStream(false), empty(true) -{ -} - -StreamEntry::~StreamEntry() -{ -} - -bool StreamEntry::allHeadersCollected() -{ - return(streamConfig.numOfHeaderPackets == streamConfig.headerList.size()); -} - -StreamSerializer::StreamSerializer() : - initState(created), repository(0), oggDecoder(new OggDecoder), - streamEndCounter(0) -{ -} - -StreamSerializer::~StreamSerializer() -{ - // TBD: delete everything, that belongs to the serializer -} - -bool StreamSerializer::open(std::string& datasource) -{ - - // actually only file - repository = new FileRepository(datasource, MediaUnit::read); - - /* has there been a problem with opening the file */ - if (!repository->isAvailable()) - return (false); - - initState = reposOpened; - - // extract the streams - bool retValue = extractStreams(); - - // fill one packet to every stream item - std::map<uint32, StreamEntry>::iterator it(streamList.begin()); - for (; it != streamList.end(); ++it) { - StreamEntry& entry = it->second; - fillStreams(); - insertNextPacket(entry); - } - - return (retValue); -} - -bool StreamSerializer::open(MediaRepository* _repository) -{ - // actually only file - repository = _repository; - - /* has there been a problem with opening the file */ - if (!repository->isAvailable()) - return (false); - - initState = reposOpened; - - bool retValue = extractStreams(); - - // fill one packet to every stream item - std::map<uint32, StreamEntry>::iterator it(streamList.begin()); - for (; it != streamList.end(); ++it) { - StreamEntry& entry = it->second; - fillStreams(); - insertNextPacket(entry); - } - - return (retValue); -} - -bool StreamSerializer::extractStreams() -{ - - RawMediaPacket rawPacket; - OggPage oggPage; - OggPacket oggPacket; - - int8 streamCounter = 0; - - while (repository->isAvailable()) { - - /* extract a raw data bunch from the file and place it into - the ogg decoder */ - (*repository) >> rawPacket; - (*oggDecoder) << rawPacket; - - /* if there is a complete ogg page available, grap it */ - while (oggDecoder->isAvailable()) { - - (*oggDecoder) >> oggPage; - - /* what ID has this page / to what stream does this page belong to */ - uint32 serialID = oggPage.serialno(); - - /* if this is a "begin of stream" packet, - * create a new stream decoder instance */ - if (oggPage.isBOS()) { - - StreamEntry entry; - - /* get all the relevant information from the stream */ - OggBOSExtractorFactory::extractInformation(oggPage, entry.streamConfig); - entry.streamConfig.streamNo = streamCounter++; - - /* create the stream encoder */ - entry.streamDecoder = new OggStreamDecoder; - entry.posInterpreter - = OggBOSExtractorFactory::extractPositionInterpreter(entry.streamConfig); - - streamListserialID = entry; - - // insert the first page - *(streamListserialID.streamDecoder) << oggPage; - - } else { - // insert the next page - - OggPacket oggPacket; - StreamEntry& entry = streamListserialID; - OggStreamDecoder& streamDecoder = *(entry.streamDecoder); - - streamDecoder << oggPage; - - /* as long as we need headers and there are packets available - * fill the header list */ - while ((!entry.allHeadersCollected()) && - (entry.streamDecoder->isAvailable())) { - - /* if the list of header packets is not completed, add - * the next packet to the list */ - streamDecoder >> oggPacket; - entry.streamConfig.headerList.push_back(oggPacket); - } - - /* find out, if all header packets have been found */ - - bool allStreamsReady(true); - std::map<uint32, StreamEntry>::iterator it(streamList.begin()); - for (; it != streamList.end(); ++it) { - if (!it->second.allHeadersCollected()) { - allStreamsReady = false; - break; - } - } - - if (allStreamsReady) - return (true); - } - } - } - - std::cerr - << "StreamSerializer::extractStreams(): extracter was not able to grap all stream header\n"; - return (false); -} - -void StreamSerializer::getStreamConfig(std::vector<StreamConfig>& packetList) -{ - - std::map<uint32, StreamEntry>::iterator it(streamList.begin()); - - fillStreams(); - - // it is a bit difficult, we need the original folge - packetList.resize(streamList.size()); - - for (; it != streamList.end(); ++it) { - StreamEntry& entry = it->second; - packetListentry.streamConfig.streamNo = entry.streamConfig; - } - -} - -void StreamSerializer::close() -{ - - delete oggDecoder; - - /* close the repository */ - if (repository) { - repository->close(); - delete repository; - } - - std::map<uint32, StreamEntry>::iterator it = streamList.begin(); - - /* delete all list entries */ - for (; it != streamList.end(); ++it) { - StreamEntry entry = it->second; - - delete entry.streamDecoder; - delete entry.posInterpreter; - -// if (entry.streamConfig.parameter) -// delete entry.streamConfig.parameter; - - /* we do not need to delete the header List - * it is controled by the refObject structure */ - } -} - -bool StreamSerializer::fillPage() -{ - - RawMediaPacket rawPacket; - OggPage oggPage; - - while (1==1) { - - // is there no packet available within the ogg page decoder - while (!oggDecoder->isAvailable()) { - - // is there any data bunch available from the repository? - if (!repository->isAvailable()) { - - // if there is no more data at the repository, there is an error - // in the stream/file - return (false); - } - - // get a bunch of raw data and place it into the ogg page decoder - *repository >> rawPacket; - *oggDecoder << rawPacket; - - // repeat this until there is at least one page available - } - - // get the next ogg page - *oggDecoder >> oggPage; - - // find out to what stream this packet belongs and forget the - // page if the stream has not been configured befor - if (streamList.find(oggPage.serialno()) == streamList.end()) - continue; - - // get the stream item for easier access - StreamEntry& item = streamListoggPage.serialno(); - - // insert the ogg page into the right stream decoder - *(item.streamDecoder) << oggPage; - - return (true); - } - -} - -/* method is called to be sure, that there is at least one packet in every stream - * or the stream has finished */ -bool StreamSerializer::fillStreams() -{ - - /* are there no more packets to process, return false */ - if (streamEndCounter == streamList.size()) - return (false); - - std::map<uint32, StreamEntry>::iterator it = streamList.begin(); - - // ensure that every stream can deliver at least one packet or - // the stream has been ended - for (; it != streamList.end(); ++it) { - - // create a local reference for easier access - StreamEntry& item = it->second; - - // if this stream has ended, do not fill this stream any more - if (item.endOfStream) - continue; - - // if there is no packet available within this particular stream - // try to get more input - while (!item.streamDecoder->isAvailable()) { - - // if the stream has not ended, fill up the stream - // if the stream has ended, increment the end counter - if (item.streamDecoder->isEndOfStream()) { - break; - } else { - if (!fillPage()) { - std::cerr << "StreamSerializer::fillStreams: we got a real problem with the stream\n"; - return (false); - } - } - } - } - - return (true); -} - -void StreamSerializer::insertNextPacket(StreamEntry& entry) -{ - // insert next packet into the streamEntry - if (entry.streamDecoder->isEndOfStream()) { - // if the stream has ended, set a marker - if (entry.endOfStream == false) { - entry.endOfStream = true; - entry.empty = true; -// std::cerr << "Stream <"<<std::hex << entry.streamDecoder->getSerialNo()<< std::dec<<"> has ended \n"; - streamEndCounter++; - } -// entry.endOfStream = true; - } else { - - // get the next packet from this stream decoder - OggPacket newPacket; - *(entry.streamDecoder) >> newPacket; - - // set some additional data - newPacket.setStreamType(entry.streamConfig.type); - newPacket.setStreamNo(entry.streamConfig.streamNo); - - // if there is a position interpreter, use it to set the time - // else set the time to 0 - if (entry.posInterpreter) { - entry.posInterpreter->setStreamPosition(newPacket); - entry.nextTime = entry.posInterpreter->getActTime(); - } else { - entry.nextTime = 0; - } - - // set the new packet - entry.nextPacket = newPacket; - entry.empty = false; - - } - -} - -bool StreamSerializer::available() -{ - - /* are there no more packets to process, return false */ - if (streamEndCounter == streamList.size()) - return (false); - - return(true); -} - -double StreamSerializer::getNextPacket(OggPacket& packet) -{ - - /* we need to know, which packet is the next - * to archive this, we are going to call the next packet of every - * stream and interpret the granule position, to get - * the time in seconds, so we are able to compare these positions */ - - double time(-1); - uint32 nextStreamID = 0; - - std::map<uint32, StreamEntry>::iterator it = streamList.begin(); - - /* delete all list entries */ - for (; it != streamList.end(); ++it) { - - StreamEntry& entry = it->second; - - /* if this stream has ended, continue with the next stream */ - if (entry.endOfStream) - continue; - - /* if this is the first packet in this round, take it - * as a reference else compare both times */ - - if ((time < 0) || ((!entry.empty) && (entry.nextTime < time))) { - time = entry.nextTime; - nextStreamID = it->first; - } - } - - if (time > -1) { - /* copy the next packet to the requested one */ - packet = streamListnextStreamID.nextPacket; - if (fillStreams()) - insertNextPacket(streamListnextStreamID); - else - streamEndCounter = streamList.size(); - } - - return (time); -}
View file
oggvideotools-0.8.tar.bz2/src/streamSerializer.h
Deleted
@@ -1,95 +0,0 @@ -/* - * streamSerialize will output a serialized stream of packets from a file - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef STREAMSERIALIZER_H_ -#define STREAMSERIALIZER_H_ - -#include<map> -#include<vector> - -#include "definition.h" -#include "mediaRepository.h" -#include "oggDecoder.h" -#include "oggStreamDecoder.h" -#include "granulePosInterpreter.h" -#include "streamConfig.h" - -class StreamEntry { - -public: - StreamConfig streamConfig; - OggStreamDecoder* streamDecoder; - GranulePosInterpreter* posInterpreter; - - OggPacket nextPacket; - double nextTime; - bool endOfStream; - bool empty; - - StreamEntry(); - StreamEntry(StreamConfig& config, OggStreamDecoder* sDecoder); - virtual ~StreamEntry(); - - bool allHeadersCollected(); -}; - -//! class to reserialize ogg packets -/* reserializing an ogg stream is not as easy as it seems: - * you always */ -class StreamSerializer { - -protected: - enum InitStates { - created, - reposOpened, - initialized - }; - - InitStates initState; - MediaRepository* repository; - OggDecoder* oggDecoder; - std::map<uint32, StreamEntry> streamList; - - uint32 streamEndCounter; - - bool fillPage(); - bool fillStreams(); - bool extractStreams(); - - void insertNextPacket(StreamEntry& entry); - -public: - StreamSerializer(); - virtual ~StreamSerializer(); - - void getStreamConfig(std::vector<StreamConfig>& configList); - - bool available(); - - bool open(std::string& datasource); - bool open(MediaRepository* _repository); - void close(); - - double getNextPacket(OggPacket& packet); - -}; - -#endif /*STREAMSERIALIZER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/theoraDecoder.cpp
Deleted
@@ -1,260 +0,0 @@ -/* - * TheoraDecoder wrapper - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include "theoraDecoder.h" - -#ifdef HAVE_LIBTHEORADEC - -#include "theoraStreamParameter.h" - -#include <iostream> -#include <sstream> -#include <string> - -#include <theora/codec.h> -#include <theora/theoradec.h> - -TheoraDecoder::TheoraDecoder(int8 _streamID) : - MediaOutputDecoder(_streamID), setupInfo(NULL), theoraDecState(NULL), - initCount(0) -{ -} - -TheoraDecoder::~TheoraDecoder() -{ - th_setup_free(setupInfo); - th_decode_free(theoraDecState); - th_info_clear(&theoraInfo); -} - -void TheoraDecoder::initDecoder(StreamConfig& config, - std::vector<OggComment>& oggComments) -{ - if (isConfigured()) { - std::cerr << "Theora Decoder: Decoder is still configured\n"; - return; - } - - /* initialize the info and comment handler structs */ - th_info_init(&theoraInfo); - th_comment_init(&theoraComment); - - /* initialize the packet counter */ - packetCount = 0; - - /* Konfiguration des Decoders */ - for (uint8 i(0); i<config.headerList.size(); ++i) { - - /* Einfügen der Header - * Fehlermeldung, wenn die Daten nicht zum aktuellen Codec passen */ - int retVal = th_decode_headerin(&theoraInfo, &theoraComment, - &setupInfo, config.headerListi.obj()); - if (retVal <= 0) - throw "TheoraDecoder::initDecoder: packet is not a header\n"; - - } - - /* extract the comments */ - for (uint8 i(0); i<theoraComment.comments; ++i) { - /* We have to extract the tags by ourself */ - std::string commentStr(theoraComment.user_commentsi, - theoraComment.comment_lengthsi); - - std::size_t commentSeparatorPos; - if ((commentSeparatorPos = commentStr.find_first_of("=")) - != std::string::npos) { - OggComment comment; - comment.tag = commentStr.substr(0, commentSeparatorPos); - comment.value = commentStr.substr(commentSeparatorPos+1, - std::string::npos); - oggComments.push_back(comment); - } - - } - - - /* finish initialization */ - theoraDecState = th_decode_alloc(&theoraInfo, setupInfo); - - th_comment_clear(&theoraComment); - - /* - config.type = ogg_theora; - TheoraStreamParameter* theoraParam = new TheoraStreamParameter; - - theoraParam->aspectRatioNum = theoraInfo.aspect_numerator; - theoraParam->aspectRatioDenom = theoraInfo.aspect_denominator; - theoraParam->framerateNum = theoraInfo.fps_numerator; - theoraParam->framerateDenom = theoraInfo.fps_denominator; - theoraParam->keyframeShift = theoraInfo.keyframe_granule_shift; - theoraParam->frameX = theoraInfo.frame_width; - theoraParam->frameY = theoraInfo.frame_height; - theoraParam->frameXOffset = theoraInfo.pic_x; - theoraParam->frameYOffset = theoraInfo.pic_y; - theoraParam->pictureX = theoraInfo.pic_width; - theoraParam->pictureY = theoraInfo.pic_height; - theoraParam->videoBitrate = theoraInfo.target_bitrate; - theoraParam->videoQuality = theoraInfo.quality; - - if (config.parameter) - delete config.parameter; - - config.parameter = theoraParam; - */ - /* set the state machine */ - setConfigured(); - -} - -MediaOutputDecoder& TheoraDecoder::operator<<(OggPacket packet) -{ - /* if the stream is not initialized, initialize the first structs */ - if (!isConfigured()) - throw "TheoraDecoder::operator<<: Cannot handle packet, decoder not initialized\n"; - - /* while inserting data into the stream, we do not - * decode. We just store the packets and will decode them - * on demand */ - packetList.push_back(packet); - - /* has there not been a packet in the queue before */ - if (isEmpty()) { - - /* set the internal state */ - setAvailable(); - - } - - /* count the video packets, to have a gimps of the actual position */ - packetCount++; - return(*this); -} - -bool TheoraDecoder::isNextPacketKeyframe() -{ - return ((th_packet_iskeyframe(packetList.front().obj()) == 1)); -} - -bool TheoraDecoder::isPacketKeyframe(OggPacket packet) -{ - return ((th_packet_iskeyframe(packet.obj()) == 1)); -} - -uint32 TheoraDecoder::getPositionOfNextPacket() -{ - if (isEmpty()) - return (0xFFFFFFFF); - - return (packetCount - packetList.size()); -} - -TheoraDecoder& TheoraDecoder::operator>>(th_ycbcr_buffer& picture) -{ - if (!isConfigured()) - throw "TheoraDecoder::operator>>: Theora Stream is not initialized\n"; - - if (isEmpty()) - throw "TheoraDecoder::operator>>: no packet available to create new picture\n"; - - /* get the first packet from the packet list */ - OggPacket packet = packetList.front(); - packetList.pop_front(); - - /* insert the packet into the theora decoder */ - ogg_int64_t dummy; - th_decode_packetin(theoraDecState, packet.obj(), &dummy); - - /* finally decode the picture */ - th_decode_ycbcr_out(theoraDecState, picture); - - if (packetList.empty()) { - setEmpty(); - } - - return(*this); -} - -std::string TheoraDecoder::getInfoString() -{ - - std::stringstream stream; - - if (!isConfigured()) { - std::cerr - << "TheoraDecoder::operator>>: Theora Stream is not initialized\n"; - return (stream.str()); - } - - stream << std::endl; - stream << "Size : " << theoraInfo.pic_width << ":" - << theoraInfo.pic_height << " (Frame Size : " - << theoraInfo.frame_width << ":" << theoraInfo.frame_height - << " ; Offset: "<<theoraInfo.pic_x<<":"<<theoraInfo.pic_y<<" \n"; - stream << "Aspect Ratio : " << theoraInfo.aspect_numerator << ":" - << theoraInfo.aspect_denominator << std::endl; - stream << "Framerate : " << theoraInfo.fps_numerator - /theoraInfo.fps_denominator << "\n"; - - stream << "Colorspace : "; - switch (theoraInfo.colorspace) { - case TH_CS_ITU_REC_470M: - stream << "NTSC\n"; - break; - case TH_CS_ITU_REC_470BG: - stream << "PAL\n"; - break; - default: - stream << "unspecified\n"; - } - - stream << "Quality : " << theoraInfo.quality << " / 61" << std::endl; - stream << "Data rate : " << theoraInfo.target_bitrate << " kBit/s" - << std::endl; - - stream << std::endl; - - stream << "Comments:\n"; - for (int i=0; i<theoraComment.comments; ++i) - stream << theoraComment.user_commentsi << std::endl; - - return (stream.str()); -} - -th_info& TheoraDecoder::getInfo() -{ - return (theoraInfo); -} - -th_comment& TheoraDecoder::getComment() -{ - return (theoraComment); -} - -uint32 TheoraDecoder::getWidth() -{ - return(theoraInfo.pic_width); -} - -uint32 TheoraDecoder::getHeight() -{ - return(theoraInfo.pic_height); -} -#endif
View file
oggvideotools-0.8.tar.bz2/src/theoraDecoder.h
Deleted
@@ -1,88 +0,0 @@ -/* - * TheoraDecoder - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#ifndef THEORADECODER_H_ -#define THEORADECODER_H_ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#warning only use with autotools -#endif - -#ifdef HAVE_LIBTHEORADEC - -#include <list> -#include <vector> -#include <theora/codec.h> -#include <theora/theoradec.h> - -#include "definition.h" -#include "mediaOutputDecoder.h" -#include "oggPacket.h" -#include "oggComment.h" -#include "streamConfig.h" - -class TheoraDecoder : public MediaOutputDecoder { - -protected: - - th_info theoraInfo; - th_comment theoraComment; - th_setup_info* setupInfo; - - th_dec_ctx* theoraDecState; - - std::list<OggPacket> packetList; - std::vector<OggPacket> headerList; - - uint8 initCount; - uint32 packetCount; - -public: - TheoraDecoder(int8 streamID = 0); - virtual ~TheoraDecoder(); - - void initDecoder(StreamConfig& config, std::vector<OggComment>& commentList); - - virtual MediaOutputDecoder& operator<<(OggPacket packet); - - TheoraDecoder& operator>>(th_ycbcr_buffer& picture); - - virtual std::string getInfoString(); - - th_info& getInfo(); - th_comment& getComment(); - - bool isNextPacketKeyframe(); - uint32 getPositionOfNextPacket(); - - virtual void clear() {}; - - uint32 getWidth(); - uint32 getHeight(); - - static bool isPacketKeyframe(OggPacket packet); -}; - -#endif // WITH_LIBTHEORA - -#endif /*THEORADECODER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/theoraEncoder.cpp
Deleted
@@ -1,209 +0,0 @@ -/* - * TheoraEncoder wrapper - * - * Copyright (C) 2008 Joern Seger - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - - * This program 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 General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include "theoraEncoder.h" - -#ifdef HAVE_LIBTHEORADEC - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <iostream> -#include <cstdlib> -#include <cstring> - -TheoraEncoder::TheoraEncoder(uint32 _streamNo) - : streamNo(_streamNo) -{ -} - -TheoraEncoder::~TheoraEncoder() -{ - if (isConfigured()) - th_encode_free(theoraState); - - th_info_clear(&theoraInfo); - - // the original packet is owned by the encoder, so we are not allowed to delete it - packet.packet = 0; -} - -void TheoraEncoder::createHeader(std::vector<OggPacket>& headerList, std::vector<OggComment>& oggComments) -{ - th_comment theoraComment; - int32 encodeRetID; - - th_comment_init(&theoraComment); - th_comment_add_tag(&theoraComment,"ENCODER",PACKAGE_STRING); - - /* add other comments */ - for (uint32 i(0); i<oggComments.size(); ++i) - th_comment_add_tag(&theoraComment, (char*) oggCommentsi.tag.c_str(), (char*) oggCommentsi.value.c_str()); - - - while ((encodeRetID = th_encode_flushheader(theoraState, &theoraComment, &packet)) > 0) { -// ost::slog(ost::Slog::levelDebug) << "TheoraEncoder:: inserting header/n"; - -#ifdef DEBUG - std::cerr << "Theora Packet Number: "<< packet.packetno<<std::endl; -#endif - - packet.streamType = ogg_theora; - packet.streamNo = streamNo; - packet.streamHeader = true; - headerList.push_back(OggPacket(packet.clone())); - - } - - th_comment_clear(&theoraComment); - - if (encodeRetID == TH_EFAULT) - throw "TheoraEncoder::operator <<: encoder or packet are NULL"; - -} - -void TheoraEncoder::configureEncoder(TheoraStreamParameter& config, StreamConfig& streamConf, std::vector<OggComment>& oggComments) -{ - if (isConfigured()) - throw "TheoraEncoder::setConfig: can't configure encoder twice\n"; - - // Theora has a divisible-by-sixteen restriction for the encoded video size - // scale the frame size up to the nearest /16 and calculate offsets - - config.frameX = (config.pictureX+15)&~0xF; - config.frameY = (config.pictureY+15)&~0xF; - - // We force the offset to be even. - // This ensures that the chroma samples align properly with the luma - // samples. - - config.frameXOffset = ((config.frameX - config.pictureX)/2)&~1; - config.frameYOffset = ((config.frameY - config.pictureY)/2)&~1; - - /* - std::cerr << "Picture ("<< config.pictureX<<":"<< config.pictureY - <<") Frame ("<< config.frameX << ":"<< config.frameY - <<") offset ("<< config.frameXOffset <<":"<<config.frameYOffset<<")\n"; - */ - // let's initialize the theora encoder - th_info_init(&theoraInfo); - - theoraInfo.pic_width = config.pictureX; - theoraInfo.pic_height = config.pictureY; - theoraInfo.frame_width = config.frameX; - theoraInfo.frame_height = config.frameY; - theoraInfo.pic_x = config.frameXOffset; - theoraInfo.pic_y = config.frameYOffset; - theoraInfo.fps_numerator = config.framerateNum; - theoraInfo.fps_denominator = config.framerateDenom; - theoraInfo.aspect_numerator = config.aspectRatioNum; - theoraInfo.aspect_denominator = config.aspectRatioDenom; - theoraInfo.colorspace = TH_CS_UNSPECIFIED; - theoraInfo.pixel_fmt = TH_PF_420; //TH_PF_420; //YUV-4:2:0 - theoraInfo.target_bitrate = config.videoBitrate; - theoraInfo.quality = config.videoQuality; - theoraInfo.keyframe_granule_shift = config.keyframeShift; // 6 bit to distinguish interframes - - /* create a new theora encoder handle */ - theoraState = th_encode_alloc(&theoraInfo); - - if (theoraState) - setConfigured(); - else - throw "TheoraEncoder::setConfig: Parameters invalid"; - - /* create our own config */ - - streamConf.parameter = new TheoraStreamParameter(config); - streamConf.type = ogg_theora; - streamConf.numOfHeaderPackets = streamConf.headerList.size(); - streamConf.streamNo = streamNo; - streamConf.serialNo = rand(); - - createHeader(streamConf.headerList, oggComments); - -} - -MediaInputEncoder& TheoraEncoder::operator >>(OggPacket& packet) -{ - if (packetList.empty()) - throw "TheoraEncoder::operator >>: No PacketAvailable"; - - packet = packetList.front(); - packetList.pop_front(); - - if (packetList.empty()) - setEmpty(); - - return(*this); -} - -MediaInputEncoder& TheoraEncoder::operator <<(th_ycbcr_buffer buffer) -{ - if (!isConfigured()) - throw "TheoraEncoder::operator <<: codec not configured\n"; - - int32 errID; - if ((errID = th_encode_ycbcr_in(theoraState, buffer)) != 0) { - if (errID == TH_EFAULT) - throw "TheoraEncoder::operator <<: encoder or video buffer is NULL\n"; - if (errID == TH_EINVAL) { - std::cerr << "Size of picture "<<buffer0.width << " x " << buffer0.height<< " encoder wants " - << std::endl; - throw "TheoraEncoder::operator <<: buffer size does not match the frame size the encoder was initialized with, or encoding has already completed\n"; - } - } - - int32 encodeRetID; - - while ((encodeRetID = th_encode_packetout(theoraState, 0, &packet)) > 0) { - -#ifdef DEBUG - std::cerr << "Theora Packet Number: "<< packet.packetno<<std::endl; -#endif - - packet.streamType = ogg_theora; - packet.streamNo = streamNo; - packet.streamHeader = false; - packetList.push_back(OggPacket(packet.clone())); - - - // This is not really nice, but there is no function available to tell us - // if any data is waiting in advance, so we have to allocate memory, even, - // if there might not be any data any more - //packet = new OggPacketInternal; - } - - // anyway the last packet request will always fail, so forget the last packet - //delete packet; - - if (encodeRetID == TH_EFAULT) - throw "TheoraEncoder::operator <<: encoder or packet are NULL"; - - setAvailable(); - - return(*this); -} - -#endif - -
View file
oggvideotools-0.8.tar.bz2/src/theoraEncoder.h
Deleted
@@ -1,54 +0,0 @@ -#ifndef THEORAENCODER_H_ -#define THEORAENCODER_H_ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#warning only use with autotools -#endif - -#ifdef HAVE_LIBTHEORAENC - -#include <list> -#include <vector> -#include <theora/codec.h> -#include <theora/theoraenc.h> - -#include "oggPacket.h" -#include "oggComment.h" -#include "mediaInputEncoder.h" -#include "theoraStreamParameter.h" -#include "streamConfig.h" - -class TheoraEncoder : public MediaInputEncoder { - -protected: - -// bool configured; - uint32 streamNo; - - th_enc_ctx* theoraState; - th_comment theoraComment; - th_info theoraInfo; - - OggPacketInternal packet; - - std::list<OggPacket> packetList; - - void createHeader(std::vector<OggPacket>& headerList, std::vector<OggComment>& oggComments); - -public: - - TheoraEncoder(uint32 streamNo); - virtual ~TheoraEncoder(); - - virtual MediaInputEncoder& operator>>(OggPacket& packet); - MediaInputEncoder& operator<<(th_ycbcr_buffer buffer); - - void configureEncoder(TheoraStreamParameter& config, StreamConfig& streamConf, std::vector<OggComment>& oggComments); - -}; - -#endif /* HAVE_LIBTHEORAENC */ - -#endif /*THEORAENCODER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/theoraExtractor.cpp
Deleted
@@ -1,107 +0,0 @@ -#include <iostream> -#include <cstring> - -#include "theoraExtractor.h" -#include "definition.h" -#include "oggTypes.h" -#include "oggHeader.h" -#include "theoraHeader.h" -#include "theoraStreamParameter.h" -#include "theoraPosInterpreter.h" - -TheoraExtractor::TheoraExtractor() -{ -} - -TheoraExtractor::~TheoraExtractor() -{ -} - -bool TheoraExtractor::_extract(uint8* data, ExtractorInformation& info) -{ - - StreamType* streaminfo = (StreamType*) (data); - TheoraHeader* theoraHeader = (TheoraHeader*) (data + sizeof(StreamType)); - - /* if this is not a theora header, return with an error */ - if ((streaminfo->headerType != 0x80) || - (strncmp(streaminfo->typeName, "theora", 6) != 0)) { - std::cerr << "TheoraPosInterpreter::initialize: This page is not a theora bos\n"; - return(false); - } - - // first extract the parameters - TheoraStreamParameter* param = new TheoraStreamParameter; - - // for all the calculation, we need to convert some fields - theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); - - param->framerateNum = convert32(theoraHeader->frn); - param->framerateDenom = convert32(theoraHeader->frd); - - param->pictureX = convert24(theoraHeader->picw); - param->pictureY = convert24(theoraHeader->pich); - - param->aspectRatioNum = convert24(theoraHeader->parn); - param->aspectRatioDenom = convert24(theoraHeader->parn); - - param->frameX = convert16(theoraHeader->fmbw)*16; - param->frameY = convert16(theoraHeader->fmbh)*16; - - param->frameXOffset = theoraHeader->picx; - param->frameYOffset = theoraHeader->picy; - - param->videoQuality = theoraHeader->un.lenbo.qual; - param->videoBitrate = convert24(theoraHeader->nombr); - - param->keyframeShift = theoraHeader->un.lenbo.kfgshift; - - // to have the original packet, we recover the data - theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); - - /* are there any old info stored, then delete them */ - if (info.parameter) - delete info.parameter; - - info.parameter = param; - - /* set the ogg type and the number of header packets */ - info.type = ogg_theora; - info.numOfHeaderPackets = 3; // the first three packets are headers - - return(true); -} - -bool TheoraExtractor::extract(OggPage& oggPage, ExtractorInformation& information) -{ - /* if this is not a Begin Of Stream page, return immediately */ - if (!oggPage.isBOS()) { - std::cerr << "TheoraPosInterpreter::extract: This page is not a BOS (Begin Of Stream) page\n"; - return(false); - } - - /* get the information starting points within the raw data */ - OggHeader* oggHeader = (OggHeader*) (oggPage.data()); - uint8* data = (oggPage.data() + sizeof(OggHeader) + oggHeader->tableSegments); - - if (_extract(data, information) == false) - return(false); - - information.serialNo = oggHeader->serial; - - return(true); -} - -bool TheoraExtractor::extract(OggPacket& packet, ExtractorInformation& information) -{ - // if this is not a Begin Of Stream page, return immediately - if (!packet.isBOS()) { - std::cerr << "TheoraPosInterpreter::extract: This packet is not a BOS (Begin Of Stream) page\n"; - return(false); - } - - if (_extract(packet.data(), information) == false) - return(false); - - return(true); -}
View file
oggvideotools-0.8.tar.bz2/src/theoraPosInterpreter.cpp
Deleted
@@ -1,240 +0,0 @@ -#include "theoraPosInterpreter.h" -#include "theoraStreamParameter.h" - -#include <iostream> -#include <typeinfo> - - -TheoraPosInterpreter::TheoraPosInterpreter() - : keyframeShift(6), framerateNumerator(1), framerateDenominator(1) -{ -} - -TheoraPosInterpreter::~TheoraPosInterpreter() -{ -} - -uint32 TheoraPosInterpreter::getFramerateNumerator() -{ - return(framerateNumerator); -} - -uint32 TheoraPosInterpreter::getFramerateDenominator() -{ - return(framerateDenominator); -} - -uint8 TheoraPosInterpreter::getKeyframeShift() -{ - return(keyframeShift); -} - -void TheoraPosInterpreter::extractFramePos(int64 granulePosition, int64& keyframePosition, int32& intraframePosition) -{ - - keyframePosition = granulePosition>>keyframeShift; - - uint64 mask(1); - mask <<= keyframeShift; - mask -= 1; - intraframePosition = (granulePosition&mask); - -} - -void TheoraPosInterpreter::initialize(StreamParameter* _param) -{ - TheoraStreamParameter* param = dynamic_cast<TheoraStreamParameter*>(_param); - - if (!param) { - std::cerr << "TheoraPosInterpreter::initialize: parameter not set correctly\n"; - return; - } - - keyframeShift = param->keyframeShift; - framerateNumerator = param->framerateNum; - framerateDenominator = param->framerateDenom; - - initialized = true; - return; -} - -/* -void TheoraPosInterpreter::initialize(OggPage oggPage) -{ - if (!oggPage.isBOS()) { - std::cerr << "TheoraPosInterpreter::initialize: This page is not a BOS (Begin Of Stream) page\n"; - return; - } - - OggHeader* oggHeader = (OggHeader*) (oggPage.data()); - StreamType* streamInformation = (StreamType*) (oggPage.data() + sizeof(OggHeader) + oggHeader->tableSegments); - TheoraHeader* theoraHeader = (TheoraHeader*) (oggPage.data() + sizeof(OggHeader) + oggHeader->tableSegments + sizeof(StreamType)); - - if ((streamInformation->headerType != 0x80) || - (strncmp(streamInformation->typeName, "theora", 6) != 0)) { - std::cerr << "TheoraPosInterpreter::initialize: This page is not a theora bos\n"; - return; - } - - // for all the calculation, we need to convert some fields - theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); - - framerateNumerator = convert32(theoraHeader->frn); - framerateDenominator = convert32(theoraHeader->frd); - - keyframeShift = theoraHeader->un.lenbo.kfgshift; - - // to have the original packet, we recover the data - theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); - - initialized = true; -} - -void TheoraPosInterpreter::initialize(OggPacket oggPacket) -{ - - StreamType* streamInformation = (StreamType*) (oggPacket.data()); - TheoraHeader* theoraHeader = (TheoraHeader*) (oggPacket.data() + sizeof(StreamType)); - - if ((streamInformation->headerType != 0x80) || - (strncmp(streamInformation->typeName, "theora", 6) != 0)) { - std::cerr << "TheoraPosInterpreter::initialize: This page is not a theora bos\n"; - return; - } - - // for all the calculation, we need to convert some fields - theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); - - framerateNumerator = convert32(theoraHeader->frn); - framerateDenominator = convert32(theoraHeader->frd); - - keyframeShift = theoraHeader->un.lenbo.kfgshift; - - // to have the original packet, we recover the data - theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); - - initialized = true; -} - -*/ - -double TheoraPosInterpreter::getTime(int64 granulePos) -{ - if (!initialized) { - std::cerr << "TheoraPosInterpreter::initialize: The position interpreter is not initialized yet\n"; - return(-2); - } - - if (granulePos == -1) - return(-1); - - int64 pos1; - int32 pos2; - - extractFramePos(granulePos, pos1, pos2); - - double time = (framerateDenominator*1.0/framerateNumerator*1.0)*(pos1+pos2); - -// std::cerr << "time extractor: "<<granulePos<<" ("<<pos1<<":"<<pos2<<") -> "<<time<<"s \n"; - - return(time); -} - -void TheoraPosInterpreter::addKeyframe() -{ - /* The first keyframe is 0 */ -// if (actualGranulePosition == 0) { -// actualGranulePosition = 1<<keyframeShift; -// return; -// } - - int64 pos1; - int32 pos2; - - extractFramePos(actualGranulePosition, pos1, pos2); - - pos1 += (pos2 + 1); - - actualGranulePosition = pos1<<keyframeShift; - -} - -TheoraPosInterpreter& TheoraPosInterpreter::operator++() -{ - actualGranulePosition+=1; - return(*this); -} - -GranulePosInterpreter& TheoraPosInterpreter::operator+=(GranulePosInterpreter& _otherPosition) -{ - if (typeid(_otherPosition) != typeid(*this)) { - std::cerr << "GranulePosInterpreter::operator+=: type is not matching\n"; - return(*this); - } - - TheoraPosInterpreter* otherPosition = static_cast<TheoraPosInterpreter*>(&_otherPosition); - - if ((keyframeShift != otherPosition->keyframeShift) || - (framerateNumerator != otherPosition->framerateNumerator) || - (framerateDenominator != otherPosition->framerateDenominator)) { - std::cerr << "GranulePosInterpreter::operator+=: granulePositions does not match in shift value or framerate\n"; - return(*this); - } - - if ((actualGranulePosition < 0) || (otherPosition->actualGranulePosition < 0)) { - std::cerr << "GranulePosInterpreter::operator+=: one or both granulePositions are not valid\n"; - return(*this); - } - - int64 ownPos1; - int32 ownPos2; - - extractFramePos(actualGranulePosition, ownPos1, ownPos2); - - int64 otherPos1; - int32 otherPos2; - - extractFramePos(otherPosition->actualGranulePosition, otherPos1, otherPos2); - - ownPos1 += (otherPos1 + otherPos2); - - actualGranulePosition = ((ownPos1<<keyframeShift)|(ownPos2)); - - return(*this); -} - -bool TheoraPosInterpreter::packetIsKeyframe(OggPacket& packet) -{ - // is there any data available - if (packet.length()<=0) - return(false); - - if (packet.data()0&0x80) { - return(false); - } - - if (!(packet.data()0&0x40)) { - return(true); - } - - return(false); -} - -void TheoraPosInterpreter::setStreamPosition(OggPacket& packet) -{ - /* is this a keyframe */ - if (packetIsKeyframe(packet)) - addKeyframe(); - else - actualGranulePosition+=1; - - packet.setGranulepos(actualGranulePosition); -} - - -GranulePosInterpreter& TheoraPosInterpreter::operator-=(GranulePosInterpreter& position) -{ - std::cerr << "GranulePosInterpreter& operator-=: not implemented\n"; - - return(*this); -}
View file
oggvideotools-0.8.tar.bz2/src/theoraPosInterpreter.h
Deleted
@@ -1,38 +0,0 @@ -#ifndef THEORAPOSINTERPRETER_H_ -#define THEORAPOSINTERPRETER_H_ - -#include "definition.h" -#include "granulePosInterpreter.h" - -class TheoraPosInterpreter : public GranulePosInterpreter { - -protected: - uint8 keyframeShift; - uint32 framerateNumerator; - uint32 framerateDenominator; - - void extractFramePos(int64 granulePosition, int64& keyframePosition, - int32& intraframePosition); - -public: - TheoraPosInterpreter(); - virtual ~TheoraPosInterpreter(); - - uint32 getFramerateNumerator(); - uint32 getFramerateDenominator(); - uint8 getKeyframeShift(); - - virtual void initialize(StreamParameter* parameter); - virtual double getTime(int64 granulePos); - - TheoraPosInterpreter& operator++(); - void addKeyframe(); - static bool packetIsKeyframe(OggPacket& packet); - - virtual void setStreamPosition(OggPacket& packet); - virtual GranulePosInterpreter& operator+=(GranulePosInterpreter& position); - virtual GranulePosInterpreter& operator-=(GranulePosInterpreter& position); - -}; - -#endif /*THEORAPOSINTERPRETER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/theoraStreamParameter.cpp
Deleted
@@ -1,96 +0,0 @@ -#include <iostream> -#include <sstream> - -#include "theoraStreamParameter.h" - -TheoraStreamParameter::TheoraStreamParameter() -{ -} - -TheoraStreamParameter::~TheoraStreamParameter() -{ -} - -bool TheoraStreamParameter::operator==(const StreamParameter& _param) -{ - StreamParameter* _param_unconst = const_cast<StreamParameter*>(&_param); - TheoraStreamParameter* param = dynamic_cast<TheoraStreamParameter*>(_param_unconst); - - if (!param) - return(false); - - if (keyframeShift != param->keyframeShift) { - std::cerr << "theora parameter compare: the granule shift is not matching\n"; - return(false); - } - - if ((framerateNum != param->framerateNum) || - (framerateDenom != param->framerateDenom)) { - std::cerr << "theora parameter compare: framerate does not match: " - << framerateNum << "/" << param->framerateDenom - << " != " << param->framerateNum << "/" << param->framerateDenom - << std::endl; - return(false); - } - - if ((pictureX != param->pictureX) || - (pictureY != param->pictureY)) { - std::cerr << "theora parameter compare: height or width are not matching:" - << pictureX << ":" << pictureY << " != " - << param->pictureX << ":" << param->pictureY << "\n"; - return(false); - } - - if ((frameX != param->frameX) || - (frameY != param->frameY)) { - std::cerr << "theora parameter compare: frame height or width are not matching:" - << frameX << ":" << frameY << " != " - << param->frameX << ":" << param->frameY << "\n"; - return(false); - } - - /* if ((frameXOffset != param->frameXOffset) || - (frameYOffset != param->frameYOffset)) { - std::cerr << "theora parameter compare: offsets are not matching:" - << frameXOffset << ":" << frameXOffset << " != " - << param->frameYOffset << ":" << param->frameYOffset << "\n"; - return(false); - } - */ - return(true); -} - -std::string TheoraStreamParameter::toString() -{ - std::stringstream stream; - - stream << std::endl; - stream << "Size : " << pictureX << " x " << pictureY - << " (Frame Size : " << frameX << " x" << frameY << " )\n" - << "KeyframeShift: " <<(uint32)keyframeShift<<std::endl; - stream << "Aspect Ratio : " << aspectRatioNum << ":" << aspectRatioDenom << std::endl; - stream << "Framerate : " << framerateNum <<"/"<<framerateDenom << "\n"; - - stream << "Offset : " << frameXOffset << ":"<<frameYOffset<<std::endl; - - stream << "Quality : " << videoQuality << " / 61" << std::endl; - stream << "Datarate : " << videoBitrate << std::endl; - - stream << std::endl; - - return(stream.str()); - -} - -StreamParameter* TheoraStreamParameter::clone() -{ - // create a clone - TheoraStreamParameter* streamParameter = new TheoraStreamParameter(); - - // copy the original data to the clone - (*streamParameter) = (*this); - - // return the clone - return(streamParameter); - -}
View file
oggvideotools-0.8.tar.bz2/src/theoraStreamParameter.h
Deleted
@@ -1,38 +0,0 @@ -#ifndef THEORASTREAMPARAMETER_H_ -#define THEORASTREAMPARAMETER_H_ - -#include "definition.h" -#include "streamParameter.h" - -class TheoraStreamParameter : public StreamParameter { -public: - - uint32 pictureX; - uint32 pictureY; - uint32 frameX; - uint32 frameY; - uint32 frameXOffset; - uint32 frameYOffset; - - uint32 aspectRatioNum; - uint32 aspectRatioDenom; - - uint32 framerateNum; - uint32 framerateDenom; - - uint32 videoQuality; - uint32 videoBitrate; - - uint8 keyframeShift; - - TheoraStreamParameter(); - virtual ~TheoraStreamParameter(); - - virtual bool operator==(const StreamParameter& param); - - virtual std::string toString(); - - virtual StreamParameter* clone(); -}; - -#endif /*THEORASTREAMPARAMETER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/vorbisDecoder.cpp
Deleted
@@ -1,163 +0,0 @@ -#include "vorbisDecoder.h" - -#ifdef HAVE_LIBVORBIS - -#include <iostream> -#include <sstream> -#include <string> - -#include "vorbisStreamParameter.h" - -VorbisDecoder::VorbisDecoder(int8 _streamID) : - MediaOutputDecoder(_streamID), initCount(0) -{ - -} - -VorbisDecoder::~VorbisDecoder() -{ - - if (isConfigured()) { - vorbis_info_clear(&vorbisInfo); - vorbis_block_clear(&vorbisBlock); - vorbis_dsp_clear(&vorbisDspState); - } - -} - -std::string VorbisDecoder::getInfoString() -{ - return (""); - - /* std::stringstream stream; - - stream << "Vorbis Stream"; - - return(stream.str()); - */ -} - -void VorbisDecoder::initDecoder(StreamConfig& config, std::vector<OggComment>& oggComments) -{ - - if (isConfigured()) { - std::cerr << "VorbisDecoder: Decoder is still configured\n"; - return; - } - - /* initialize the info and comment handler structs */ - vorbis_info_init(&vorbisInfo); - vorbis_comment_init(&vorbisComment); - - /* initialize the packet counter */ - packetCount = 0; - - /* Konfiguration des Decoders */ - int retVal; - for (uint8 i(0); i<config.headerList.size(); ++i) { - - /* Einfügen der Header - * Fehlermeldung, wenn die Daten nicht zum aktuellen Codec passen */ - retVal = vorbis_synthesis_headerin(&vorbisInfo, &vorbisComment, config.headerListi.obj()); - if (retVal < 0) - throw "VorbisDecoder::initDecoder: packet is not a header\n"; - - } - - /* extract the comments*/ - for (uint8 i(0); i<vorbisComment.comments; ++i) { - /* We have to extract the tags by ourself - there is no interface :-(*/ - std::string commentStr(vorbisComment.user_commentsi, - vorbisComment.comment_lengthsi); - - std::size_t commentSeparatorPos; - if ((commentSeparatorPos = commentStr.find_first_of("=")) - != std::string::npos) { - OggComment comment; - comment.tag = commentStr.substr(0, commentSeparatorPos); - comment.value = commentStr.substr(commentSeparatorPos+1, - std::string::npos); - oggComments.push_back(comment); - } - - } - - /* finish initialization */ - vorbis_synthesis_init(&vorbisDspState,&vorbisInfo); - vorbis_block_init(&vorbisDspState,&vorbisBlock); - - /* - config.type = ogg_vorbis; - VorbisStreamParameter* vorbisParam = new VorbisStreamParameter; - - vorbisParam->samplerate = vorbisInfo.rate; - vorbisParam->datarate = vorbisInfo.bitrate_nominal; - vorbisParam->datarate = vorbisInfo.bitrate_nominal; - - config.parameter = vorbisParam; - */ - - /* set the state machine */ - setConfigured(); - -} - -MediaOutputDecoder& VorbisDecoder::operator<<(OggPacket packet) -{ - if (!isConfigured()) { - std::cerr << "VorbisDecoder::operator<<: stream not configured\n"; - return(*this); - } - - if (vorbis_synthesis(&vorbisBlock,packet.obj())==0) - vorbis_synthesis_blockin(&vorbisDspState,&vorbisBlock); - - float** pcm; - int samples; - - while ((samples=vorbis_synthesis_pcmout(&vorbisDspState,&pcm))>0) { - AudioPacket apack(new AudioPacketInternal(pcm, samples, vorbisInfo.channels)); - packetList.push_back(apack); - vorbis_synthesis_read(&vorbisDspState,samples); - } - - - /* has there not been a packet in the queue before */ - if (!packetList.empty()) { - /* set the internal state */ - setAvailable(); - } - - /* count the audio packets, to have a glimps of the actual position */ - packetCount++; - - return(*this); -} - -VorbisDecoder& VorbisDecoder::operator>>(AudioPacket& audioPacket) -{ - if (!isAvailable()) - throw "No audio packets available"; - - audioPacket = packetList.front(); - packetList.pop_front(); - - sampleCounter += (*audioPacket)->getLength(); - - if (packetList.empty()) - setEmpty(); - - return(*this); -} - -vorbis_comment& VorbisDecoder::getComment() -{ - return (vorbisComment); -} - -double VorbisDecoder::getTimeOfNextPacket() -{ - return (sampleCounter/vorbisInfo.rate); -} - -#endif // WITH_LIBVORBIS
View file
oggvideotools-0.8.tar.bz2/src/vorbisDecoder.h
Deleted
@@ -1,63 +0,0 @@ -#ifndef vorbisDecoder_h -#define vorbisDecoder_h - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#ifdef HAVE_LIBVORBIS - -#include <list> -#include <vector> -#include <vorbis/codec.h> - -#include "mediaOutputDecoder.h" -#include "oggPacket.h" -#include "audioPacket.h" -#include "oggComment.h" -#include "definition.h" -#include "streamConfig.h" - -class VorbisDecoder : public MediaOutputDecoder { - -protected: - - vorbis_info vorbisInfo; - vorbis_dsp_state vorbisDspState; - vorbis_block vorbisBlock; - vorbis_comment vorbisComment; - - std::list<AudioPacket> packetList; - - uint8 initCount; - uint32 packetCount; - - uint64 sampleCounter; - -public: - - VorbisDecoder(int8 streamID = 0); - virtual ~VorbisDecoder(); - - void initDecoder(StreamConfig& config, std::vector<OggComment>& oggComments); - - virtual std::string getInfoString(); - - vorbis_info& getInfo(); - vorbis_comment& getComment(); - - virtual MediaOutputDecoder& operator<<(OggPacket packet); - VorbisDecoder& operator>>(AudioPacket& audioPacket); - - virtual void clear() {}; - - virtual double getTimeOfNextPacket(); - virtual uint32 getPositionOfNextPacket() { - return packetCount; - } -}; - -#endif // WITH_LIBVORBIS - -#endif -
View file
oggvideotools-0.8.tar.bz2/src/vorbisEncoder.cpp
Deleted
@@ -1,208 +0,0 @@ -#include "vorbisEncoder.h" - -#ifdef HAVE_LIBVORBIS - -#include "vorbisExtractor.h" -#include <cstdlib> -#include <cstring> -#include <iostream> - -VorbisEncoder::VorbisEncoder(uint32 _streamNo) : - streamNo(_streamNo), pktCnt(0) -{ -} - -VorbisEncoder::~VorbisEncoder() -{ -// std::cerr << "Vorbis Encoder produced "<<pktCnt<<" packets\n"; - - if (isConfigured()) { - vorbis_block_clear(&vorbisBlock); - vorbis_dsp_clear(&vorbisState); - vorbis_info_clear(&vorbisInfo); - packet.packet = 0; // this has been deleted before - } - -} - -void VorbisEncoder::configureEncoder(VorbisStreamParameter& config, - StreamConfig& streamConfig, std::vector<OggComment>& oggComments) -{ - if (isConfigured()) - throw std::string("VorbisEncoder::setConfig: can't configure encoder twice\n"); - - vorbis_info_init(&vorbisInfo); - - /* int32 ret = vorbis_encode_init(&vorbisInfo, config.channels, - config.samplerate, config.datarate, config.datarate, config.datarate); - */ - int32 ret = vorbis_encode_init(&vorbisInfo, config.channels, - config.samplerate, -1, config.datarate, -1); - - /* do not continue if setup failed; this can happen if we ask for a - mode that libVorbis does not support (eg, too low a bitrate, etc, - will return 'OV_EIMPL') */ - - if (ret) - throw std::string("VorbisEncoder::configureEncoder: can not configure encoder, wrong parameters"); - - /* add a comment */ - vorbis_comment_init(&vorbisComment); - vorbis_comment_add_tag(&vorbisComment, "ENCODER", "oggVideoTools 0.8"); - - /* add other comments */ - for (uint32 i(0); i<oggComments.size(); ++i) - vorbis_comment_add_tag(&vorbisComment, - (char*) oggCommentsi.tag.c_str(), - (char*) oggCommentsi.value.c_str()); - - /* set up the analysis state and auxiliary encoding storage */ - vorbis_analysis_init(&vorbisState, &vorbisInfo); - vorbis_block_init(&vorbisState, &vorbisBlock); - - OggPacketInternal header; - OggPacketInternal header_comm; - OggPacketInternal header_code; - - vorbis_analysis_headerout(&vorbisState, &vorbisComment, &header, - &header_comm, &header_code); - - header.streamType = ogg_vorbis; - header.streamNo = streamNo; - header.streamHeader = true; - -#ifdef DEBUG - std::cerr << "Vorbis Packet Number: "<< header.packetno << std::endl; -#endif - - streamConfig.headerList.push_back(OggPacket(header.clone())); - - header_comm.streamType = ogg_vorbis; - header_comm.streamNo = streamNo; - header_comm.streamHeader = true; - -#ifdef DEBUG - std::cerr << "Vorbis Packet Number: "<< header_comm.packetno << std::endl; -#endif - - streamConfig.headerList.push_back(OggPacket(header_comm.clone())); - - header_code.streamType = ogg_vorbis; - header_code.streamNo = streamNo; - header_code.streamHeader = true; - -#ifdef DEBUG - std::cerr << "Vorbis Packet Number: "<< header_code.packetno << std::endl; -#endif - - streamConfig.headerList.push_back(OggPacket(header_code.clone())); - - VorbisExtractor extractor; - extractor.extract(streamConfig.headerList0, streamConfig); - - streamConfig.numOfHeaderPackets = streamConfig.headerList.size(); -// streamConfig.parameter = new VorbisStreamParameter(config); -// streamConfig.type = ogg_vorbis; - streamConfig.streamNo = streamNo; - streamConfig.serialNo = rand(); - - vorbis_comment_clear(&vorbisComment); - - setConfigured(); - - /* The vorbis decoder is not the owner of these packets, - forget what we have seen */ - header.packet = 0; - header_comm.packet = 0; - header_code.packet = 0; -} - -MediaInputEncoder& VorbisEncoder::operator<<(AudioPacket& aPacket) -{ - float **buffer=vorbis_analysis_buffer(&vorbisState, (*aPacket)->getLength()); - - /* there is no chance to give the data directly to the encoder - * so we need to copy :-( */ - for (uint8 i(0); i<vorbisInfo.channels; ++i) { - memcpy(bufferi, (*aPacket)->getDataOfChannel(i), (*aPacket)->getLength()*sizeof(float)); - } - - /* tell the library how much we actually submitted */ - if (vorbis_analysis_wrote(&vorbisState, (*aPacket)->getLength()) < 0) - throw "VorbisEncoder::operator <<: Invalid value"; - - /* vorbis does some data preanalysis, then divvies up blocks for - more involved (potentially parallel) processing. Get a single - block for encoding now */ - while ((vorbis_analysis_blockout(&vorbisState, &vorbisBlock))==1) { - - /* analysis, assume we want to use bitrate management */ - vorbis_analysis(&vorbisBlock,0); - vorbis_bitrate_addblock(&vorbisBlock); - - while (vorbis_bitrate_flushpacket(&vorbisState, &packet)) { -// std::cerr << "Position: "<<packet.granulepos<<std::endl; - pktCnt++; - packet.streamType = ogg_vorbis; - packet.streamNo = streamNo; - packet.streamHeader = false; -#ifdef DEBUG - std::cerr << "Vorbis Packet Number: "<< packet.packetno << std::endl; -#endif - packetList.push_back(OggPacket(packet.clone())); - } - } - - if (!packetList.empty()) - setAvailable(); - - return(*this); -} - -MediaInputEncoder& VorbisEncoder::operator >>(OggPacket& packet) -{ - if (packetList.empty()) - throw "VorbisEncoder::operator>> PacketList is empty"; - - packet = packetList.front(); - packetList.pop_front(); - - if (packetList.empty()) - setEmpty(); - - return(*this); -} - -void VorbisEncoder::flush() -{ - /* tell the library how much we actually submitted */ - if (vorbis_analysis_wrote(&vorbisState, 0) < 0) - throw std::string("VorbisEncoder::flush: can not flush"); - - /* vorbis does some data preanalysis, then divvies up blocks for - more involved (potentially parallel) processing. Get a single - block for encoding now */ - while ((vorbis_analysis_blockout(&vorbisState, &vorbisBlock))==1) { - - /* analysis, assume we want to use bitrate management */ - vorbis_analysis(&vorbisBlock,0); - vorbis_bitrate_addblock(&vorbisBlock); - - while (vorbis_bitrate_flushpacket(&vorbisState, &packet)) { -// std::cerr << "Flush: "<<packet.granulepos<<std::endl; - pktCnt++; - - packet.streamType = ogg_vorbis; - packet.streamNo = streamNo; - packet.streamHeader = false; - packet.e_o_s = 255; - packetList.push_back(OggPacket(packet.clone())); - } - } - - if (!packetList.empty()) - setAvailable(); - -} - -#endif
View file
oggvideotools-0.8.tar.bz2/src/vorbisEncoder.h
Deleted
@@ -1,52 +0,0 @@ -#ifndef VORBISENCODER_H_ -#define VORBISENCODER_H_ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#ifdef HAVE_LIBVORBIS - -#include <list> -#include <vector> -#include <vorbis/codec.h> -#include <vorbis/vorbisenc.h> - -#include "mediaInputEncoder.h" -#include "oggPacket.h" -#include "audioPacket.h" -#include "oggComment.h" -#include "vorbisStreamParameter.h" -#include "streamConfig.h" - -class VorbisEncoder : public MediaInputEncoder { -protected: - uint32 streamNo; - - vorbis_info vorbisInfo; - vorbis_comment vorbisComment; - vorbis_dsp_state vorbisState; - vorbis_block vorbisBlock; - - OggPacketInternal packet; - - std::list<OggPacket> packetList; - - uint32 pktCnt; - -public: - VorbisEncoder(uint32 streamNo); - virtual ~VorbisEncoder(); - - virtual MediaInputEncoder& operator>>(OggPacket& packet); - MediaInputEncoder& operator<<(AudioPacket& aPacket); - - void configureEncoder(VorbisStreamParameter& config, - StreamConfig& streamConf, std::vector<OggComment>& oggComments); - void flush(); - -}; - -#endif /* HAVE_LIBVORBIS */ -#endif /* VORBISENCODER_H_*/ -
View file
oggvideotools-0.8.tar.bz2/src/vorbisExtractor.cpp
Deleted
@@ -1,83 +0,0 @@ -#include <iostream> -#include <cstring> - -#include "vorbisExtractor.h" -#include "vorbisStreamParameter.h" -#include "oggHeader.h" -#include "vorbisHeader.h" - -VorbisExtractor::VorbisExtractor() -{ -} - -VorbisExtractor::~VorbisExtractor() -{ -} - -bool VorbisExtractor::_extract(uint8* data, ExtractorInformation& info) -{ - - StreamType* streaminfo = (StreamType*) (data); - VorbisHeader* vorbisHeader = (VorbisHeader*) (data + sizeof(StreamType)); - - /* if this is not a vorbis header, return with an error */ - if ((streaminfo->headerType != 0x01) || - (strncmp(streaminfo->typeName, "vorbis", 6) != 0)) { - std::cerr << "VorbisExtractor::_extract: This page is not a vorbis bos\n"; - return(false); - } - - // first extract the parameters - VorbisStreamParameter* param = new VorbisStreamParameter; - - param->channels = vorbisHeader->audioChannels; - param->samplerate = vorbisHeader->sampleRate; - param->datarate = vorbisHeader->bitrateNom; - param->block0 = 1<<vorbisHeader->blocksize0; - param->block1 = 1<<vorbisHeader->blocksize1; - - if (info.parameter) - delete info.parameter; - - info.parameter = param; - - /* set the ogg type and the number of header packets */ - info.type = ogg_vorbis; - info.numOfHeaderPackets = 3; // the first three packets are headers - - return(true); -} - -bool VorbisExtractor::extract(OggPage& oggPage, ExtractorInformation& information) -{ - /* if this is not a Begin Of Stream page, return immediately */ - if (!oggPage.isBOS()) { - std::cerr << "VorbisPosInterpreter::extract: This page is not a BOS (Begin Of Stream) page\n"; - return(false); - } - - /* get the information starting points within the raw data */ - OggHeader* oggHeader = (OggHeader*) (oggPage.data()); - uint8* data = (oggPage.data() + sizeof(OggHeader) + oggHeader->tableSegments); - - if (_extract(data, information) == false) - return(false); - - information.serialNo = oggHeader->serial; - - return(true); -} - -bool VorbisExtractor::extract(OggPacket& packet, ExtractorInformation& information) -{ - /// if this is not a Begin Of Stream page, return immediately - if (!packet.isBOS()) { - std::cerr << "VorbisPosInterpreter::extract: This page is not a BOS (Begin Of Stream) page\n"; - return(false); - } - - if (_extract(packet.data(), information) == false) - return(false); - - return(true); -}
View file
oggvideotools-0.8.tar.bz2/src/vorbisPosInterpreter.cpp
Deleted
@@ -1,193 +0,0 @@ -#include "vorbisPosInterpreter.h" - -#include <iostream> -#include <typeinfo> - -#include "vorbisStreamParameter.h" - -struct VorbisPackHeader { - char dataType:1; - char block:1; - char blsht:6; -}; - -VorbisPosInterpreter::VorbisPosInterpreter() - : samplerate(0), blocksize0(0), blocksize1(0), lastBlock(none) -{ -} - -VorbisPosInterpreter::~VorbisPosInterpreter() -{ -} - -void VorbisPosInterpreter::initialize(StreamParameter* _param) -{ - VorbisStreamParameter* param = dynamic_cast<VorbisStreamParameter*>(_param); - - if (!param) { - std::cerr << "VorbisPosInterpreter::initialize: parameter not set correctly\n"; - return; - } - - samplerate = param->samplerate; - blocksize0 = param->block0; - blocksize1 = param->block1; - - initialized = true; - - return; -} - -/* -void VorbisPosInterpreter::initialize(OggPage oggPage) -{ - - OggHeader* oggHeader = (OggHeader*) (oggPage.data()); - StreamType* streamInformation = (StreamType*) (oggPage.data() + sizeof(OggHeader) + oggHeader->tableSegments); - VorbisHeader* vorbisHeader = (VorbisHeader*) (oggPage.data() + sizeof(OggHeader) + + oggHeader->tableSegments + sizeof(StreamType)); - - if ((streamInformation->headerType != 0x01) || - (strncmp(streamInformation->typeName, "vorbis", 6) != 0)) { - std::cerr << "VorbisPosInterpreter::initialize: this page is not a vorbis bos\n"; - return; - } - - samplerate = vorbisHeader->sampleRate; - channels = vorbisHeader->audioChannels; - - blocksize0 = 1<<vorbisHeader->blocksize0; - blocksize1 = 1<<vorbisHeader->blocksize1; - -} - -void VorbisPosInterpreter::initialize(OggPacket oggPacket) -{ - if (oggPacket.length() < (sizeof(StreamType) + sizeof(VorbisHeader))) { - std::cerr << "VorbisPosInterpreter::initialize: Error: page is to small - cannot parse header\n"; - return; - } - - StreamType* streamInformation = (StreamType*) (oggPacket.data()); - VorbisHeader* vorbisHeader = (VorbisHeader*) (oggPacket.data() + sizeof(StreamType)); - - if ((streamInformation->headerType != 0x01) || - (strncmp(streamInformation->typeName, "vorbis", 6) != 0)) { - std::cerr << "VorbisPosInterpreter::initialize: this page is not a vorbis bos\n"; - return; - } - - - samplerate = vorbisHeader->sampleRate; - channels = vorbisHeader->audioChannels; - - blocksize0 = 1<<vorbisHeader->blocksize0; - blocksize1 = 1<<vorbisHeader->blocksize1; - -} -*/ - -double VorbisPosInterpreter::getTime(int64 granulePos) -{ - double time = (granulePos*1.0)/(samplerate*1.0); - - return(time); -} - -void VorbisPosInterpreter::addBlock0() -{ - switch (lastBlock) { - case block0: - actualGranulePosition += blocksize0/2; - break; - case block1: - actualGranulePosition += (blocksize1/4 + blocksize0/4); - break; - default: - /* nothing to be done */ - break; - } - - lastBlock = block0; -} - -void VorbisPosInterpreter::addBlock1() -{ - switch (lastBlock) { - case block0: - actualGranulePosition += (blocksize1/4 + blocksize0/4); - break; - case block1: - actualGranulePosition += blocksize1/2; - break; - default: - /* nothing to be done */ - break; - } - - lastBlock = block1; -} - -GranulePosInterpreter& VorbisPosInterpreter::operator+=(GranulePosInterpreter& _otherPosition) -{ - if (typeid(_otherPosition) != typeid(*this)) { - std::cerr << "GranulePosInterpreter::operator+=: type is not matching\n"; - return(*this); - } - - VorbisPosInterpreter* otherPosition = static_cast<VorbisPosInterpreter*>(&_otherPosition); - - if (samplerate != otherPosition->samplerate) { - std::cerr << "VorbisPosInterpreter::operator+=: granulePositions does not match in samplerate or channel numbers\n"; - return(*this); - } - - if ((blocksize0 != otherPosition->blocksize0) || (blocksize1 != otherPosition->blocksize1)) { - std::cerr << "VorbisPosInterpreter::operator+=: granulePositions does not match in the blocksizes\n"; - return(*this); - } - - actualGranulePosition += otherPosition->actualGranulePosition; - - return(*this); -} - -GranulePosInterpreter& VorbisPosInterpreter::operator-=(GranulePosInterpreter& _otherPosition) -{ - if (typeid(_otherPosition) != typeid(*this)) { - std::cerr << "GranulePosInterpreter::operator+=: type is not matching\n"; - return(*this); - } - - VorbisPosInterpreter* otherPosition = static_cast<VorbisPosInterpreter*>(&_otherPosition); - - if (samplerate != otherPosition->samplerate) { - std::cerr << "VorbisPosInterpreter::operator+=: granulePositions does not match in samplerate or channel numbers\n"; - return(*this); - } - - if ((blocksize0 != otherPosition->blocksize0) || (blocksize1 != otherPosition->blocksize1)) { - std::cerr << "VorbisPosInterpreter::operator+=: granulePositions does not match in the blocksizes\n"; - return(*this); - } - - actualGranulePosition -= otherPosition->actualGranulePosition; - - return(*this); -} - -void VorbisPosInterpreter::setStreamPosition(OggPacket& packet) -{ -// packet.setGranulepos(getPosition()); - - VorbisPackHeader* packHead = (VorbisPackHeader*)(packet.data()); - - if (packHead->block) - addBlock1(); - else - addBlock0(); - -// std::cerr << "Granule Position: "<<packet.granulepos(); - packet.setGranulepos(getPosition()); -// std::cerr << "-> "<<packet.granulepos()<<std::endl; - -}
View file
oggvideotools-0.8.tar.bz2/src/vorbisStreamParameter.cpp
Deleted
@@ -1,97 +0,0 @@ -#include <iostream> -#include <sstream> - -#include "vorbisStreamParameter.h" - -VorbisStreamParameter::VorbisStreamParameter() -{ -} - -VorbisStreamParameter::~VorbisStreamParameter() -{ -} - -bool VorbisStreamParameter::operator==(const StreamParameter& _param) -{ - StreamParameter* _param_unconst = const_cast<StreamParameter*>(&_param); - VorbisStreamParameter* param = dynamic_cast<VorbisStreamParameter*>(_param_unconst); - - bool retValue(true); - - if (!param) - return(false); - - if (channels != param->channels) { - std::cerr << "vorbis parameter compare: number of channels not matching " - << channels << " != " << param->channels - << std::endl; - retValue = false; - } - - if (samplerate != param->samplerate) { - std::cerr << "vorbis parameter compare: sample rate not matching " - << samplerate << " != " << param->samplerate - << std::endl; - retValue = false; - } - - if (datarate != param->datarate) { - std::cerr << "vorbis parameter compare: data rate not matching " - << datarate << " != " << param->datarate << std::endl; -// << "This is not a blocker if all other parameters match" <<std::endl; - retValue = false; - } - - if (block0 != param->block0) { - std::cerr << "vorbis parameter compare: size of block0 does not match " - << block0 << " != " << param->block0 << std::endl - << "You may try to reencode with the datarate of the other file" - << std::endl; - retValue = false; - } - - if (block1 != param->block1) { - std::cerr << "vorbis parameter compare: size of block0 does not match " - << block1 << " != " << param->block1 << std::endl - << "You may try to reencode with the datarate of the other file" - << std::endl; - retValue = false; - } - - if (retValue == false) { - std::cerr << "\nPlease try to resample with the following command\n" - << "oggResize"; - if (channels != param->channels) - std::cerr << " -N "<<channels; - if (samplerate != param->samplerate) - std::cerr << " -F "<<samplerate; - if (datarate != param->datarate) - std::cerr << " -D "<<datarate; - std::cerr <<" <file see below>\n\n"; - } - - return(retValue); -} - -std::string VorbisStreamParameter::toString() -{ - std::stringstream stream; - stream << "Vorbis Stream:\n" << "\twith " << channels << " channels\n" - << "\tand " << samplerate << " kHz sample rate\n" << "\tand " - << datarate << " data rate\n\n"; - -// std::cerr << "block0: "<<block0<<"\nblock1: "<<block1<<"\n\n"; - return (stream.str()); -} - -StreamParameter* VorbisStreamParameter::clone() -{ - // create a clone object - VorbisStreamParameter* streamParameter = new VorbisStreamParameter(); - - // copy the original data to the clone - (*streamParameter) = (*this); - - // return the clone - return (streamParameter); -}
View file
oggvideotools-0.8.tar.bz2/src/vorbisStreamParameter.h
Deleted
@@ -1,28 +0,0 @@ -#ifndef VORBISSTREAMPARAMETER_H_ -#define VORBISSTREAMPARAMETER_H_ - -#include "definition.h" -#include "streamParameter.h" - -class VorbisStreamParameter : public StreamParameter { -public: - - uint32 channels; - uint32 samplerate; - uint32 datarate; - - uint32 block0; - uint32 block1; - - VorbisStreamParameter(); - virtual ~VorbisStreamParameter(); - - virtual bool operator==(const StreamParameter& param); - - virtual std::string toString(); - - virtual StreamParameter* clone(); - -}; - -#endif /*VORBISSTREAMPARAMETER_H_*/
View file
oggvideotools-0.8.tar.bz2/win32
Deleted
-(directory)
View file
oggvideotools-0.8.tar.bz2/win32/getopt.c
Deleted
@@ -1,1047 +0,0 @@ -/* Getopt for GNU. - NOTE: getopt is now part of the C library, so if you don't know what - "Keep this file name-space clean" means, talk to drepper@gnu.org - before changing it! - - Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 - Free Software Foundation, Inc. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - The GNU C 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with the GNU C Library; see the file COPYING.LIB. If not, - write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -/* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>. - Ditto for AIX 3.2 and <stdlib.h>. */ -#ifndef _NO_PROTO -# define _NO_PROTO -#endif - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#if !defined __STDC__ || !__STDC__ -/* This is a separate conditional since some stdc systems - reject `defined (const)'. */ -# ifndef const -# define const -# endif -#endif - -#include <stdio.h> - -/* Comment out all this code if we are using the GNU C Library, and are not - actually compiling the library itself. This code is part of the GNU C - Library, but also included in many other GNU distributions. Compiling - and linking in this code is a waste when using the GNU C library - (especially if it is a shared library). Rather than having every GNU - program understand `configure --with-gnu-libc' and omit the object files, - it is simpler to just do this in the source for each such file. */ - -#define GETOPT_INTERFACE_VERSION 2 -#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 -# include <gnu-versions.h> -# if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION -# define ELIDE_CODE -# endif -#endif - -#ifndef ELIDE_CODE - - -/* This needs to come after some library #include - to get __GNU_LIBRARY__ defined. */ -#ifdef __GNU_LIBRARY__ -/* Don't include stdlib.h for non-GNU C libraries because some of them - contain conflicting prototypes for getopt. */ -# include <stdlib.h> -# include <unistd.h> -#endif /* GNU C library. */ - -#ifdef VMS -# include <unixlib.h> -# if HAVE_STRING_H - 0 -# include <string.h> -# endif -#endif - -#ifndef _ -/* This is for other GNU distributions with internationalized messages. - When compiling libc, the _ macro is predefined. */ -# ifdef HAVE_LIBINTL_H -# include <libintl.h> -# define _(msgid) gettext (msgid) -# else -# define _(msgid) (msgid) -# endif -#endif - -/* This version of `getopt' appears to the caller like standard Unix `getopt' - but it behaves differently for the user, since it allows the user - to intersperse the options with the other arguments. - - As `getopt' works, it permutes the elements of ARGV so that, - when it is done, all the options precede everything else. Thus - all application programs are extended to handle flexible argument order. - - Setting the environment variable POSIXLY_CORRECT disables permutation. - Then the behavior is completely standard. - - GNU application programs can use a third alternative mode in which - they can distinguish the relative order of options and other arguments. */ - -#include "getopt_win.h" - -/* For communication from `getopt' to the caller. - When `getopt' finds an option that takes an argument, - the argument value is returned here. - Also, when `ordering' is RETURN_IN_ORDER, - each non-option ARGV-element is returned here. */ - -char *optarg; - -/* Index in ARGV of the next element to be scanned. - This is used for communication to and from the caller - and for communication between successive calls to `getopt'. - - On entry to `getopt', zero means this is the first call; initialize. - - When `getopt' returns -1, this is the index of the first of the - non-option elements that the caller should itself scan. - - Otherwise, `optind' communicates from one call to the next - how much of ARGV has been scanned so far. */ - -/* 1003.2 says this must be 1 before any call. */ -int optind = 1; - -/* Formerly, initialization of getopt depended on optind==0, which - causes problems with re-calling getopt as programs generally don't - know that. */ - -int __getopt_initialized; - -/* The next char to be scanned in the option-element - in which the last option character we returned was found. - This allows us to pick up the scan where we left off. - - If this is zero, or a null string, it means resume the scan - by advancing to the next ARGV-element. */ - -static char *nextchar; - -/* Callers store zero here to inhibit the error message - for unrecognized options. */ - -int opterr = 1; - -/* Set to an option character which was unrecognized. - This must be initialized on some systems to avoid linking in the - system's own getopt implementation. */ - -int optopt = '?'; - -/* Describe how to deal with options that follow non-option ARGV-elements. - - If the caller did not specify anything, - the default is REQUIRE_ORDER if the environment variable - POSIXLY_CORRECT is defined, PERMUTE otherwise. - - REQUIRE_ORDER means don't recognize them as options; - stop option processing when the first non-option is seen. - This is what Unix does. - This mode of operation is selected by either setting the environment - variable POSIXLY_CORRECT, or using `+' as the first character - of the list of option characters. - - PERMUTE is the default. We permute the contents of ARGV as we scan, - so that eventually all the non-options are at the end. This allows options - to be given in any order, even with programs that were not written to - expect this. - - RETURN_IN_ORDER is an option available to programs that were written - to expect options and other ARGV-elements in any order and that care about - the ordering of the two. We describe each non-option ARGV-element - as if it were the argument of an option with character code 1. - Using `-' as the first character of the list of option characters - selects this mode of operation. - - The special argument `--' forces an end of option-scanning regardless - of the value of `ordering'. In the case of RETURN_IN_ORDER, only - `--' can cause `getopt' to return -1 with `optind' != ARGC. */ - -static enum -{ - REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER -} ordering; - -/* Value of POSIXLY_CORRECT environment variable. */ -static char *posixly_correct; - -#ifdef __GNU_LIBRARY__ -/* We want to avoid inclusion of string.h with non-GNU libraries - because there are many ways it can cause trouble. - On some systems, it contains special magic macros that don't work - in GCC. */ -# include <string.h> -# define my_index strchr -#else - -#include <string.h> - -/* Avoid depending on library functions or files - whose names are inconsistent. */ - -#ifndef getenv -extern char *getenv (); -#endif - -static char * -my_index (str, chr) - const char *str; - int chr; -{ - while (*str) - { - if (*str == chr) - return (char *) str; - str++; - } - return 0; -} - -/* If using GCC, we can safely declare strlen this way. - If not using GCC, it is ok not to declare it. */ -#ifdef __GNUC__ -/* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h. - That was relevant to code that was here before. */ -# if (!defined __STDC__ || !__STDC__) && !defined strlen -/* gcc with -traditional declares the built-in strlen to return int, - and has done so at least since version 2.4.5. -- rms. */ -extern int strlen (const char *); -# endif /* not __STDC__ */ -#endif /* __GNUC__ */ - -#endif /* not __GNU_LIBRARY__ */ - -/* Handle permutation of arguments. */ - -/* Describe the part of ARGV that contains non-options that have - been skipped. `first_nonopt' is the index in ARGV of the first of them; - `last_nonopt' is the index after the last of them. */ - -static int first_nonopt; -static int last_nonopt; - -#ifdef _LIBC -/* Bash 2.0 gives us an environment variable containing flags - indicating ARGV elements that should not be considered arguments. */ - -/* Defined in getopt_init.c */ -extern char *__getopt_nonoption_flags; - -static int nonoption_flags_max_len; -static int nonoption_flags_len; - -static int original_argc; -static char *const *original_argv; - -/* Make sure the environment variable bash 2.0 puts in the environment - is valid for the getopt call we must make sure that the ARGV passed - to getopt is that one passed to the process. */ -static void -__attribute__ ((unused)) -store_args_and_env (int argc, char *const *argv) -{ - /* XXX This is no good solution. We should rather copy the args so - that we can compare them later. But we must not use malloc(3). */ - original_argc = argc; - original_argv = argv; -} -# ifdef text_set_element -text_set_element (__libc_subinit, store_args_and_env); -# endif /* text_set_element */ - -# define SWAP_FLAGS(ch1, ch2) \ - if (nonoption_flags_len > 0) \ - { \ - char __tmp = __getopt_nonoption_flagsch1; \ - __getopt_nonoption_flagsch1 = __getopt_nonoption_flagsch2; \ - __getopt_nonoption_flagsch2 = __tmp; \ - } -#else /* !_LIBC */ -# define SWAP_FLAGS(ch1, ch2) -#endif /* _LIBC */ - -/* Exchange two adjacent subsequences of ARGV. - One subsequence is elements first_nonopt,last_nonopt) - which contains all the non-options that have been skipped so far. - The other is elements last_nonopt,optind), which contains all - the options processed since those non-options were skipped. - - `first_nonopt' and `last_nonopt' are relocated so that they describe - the new indices of the non-options in ARGV after they are moved. */ - -#if defined __STDC__ && __STDC__ -static void exchange (char **); -#endif - -static void -exchange (argv) - char **argv; -{ - int bottom = first_nonopt; - int middle = last_nonopt; - int top = optind; - char *tem; - - /* Exchange the shorter segment with the far end of the longer segment. - That puts the shorter segment into the right place. - It leaves the longer segment in the right place overall, - but it consists of two parts that need to be swapped next. */ - -#ifdef _LIBC - /* First make sure the handling of the `__getopt_nonoption_flags' - string can work normally. Our top argument must be in the range - of the string. */ - if (nonoption_flags_len > 0 && top >= nonoption_flags_max_len) - { - /* We must extend the array. The user plays games with us and - presents new arguments. */ - char *new_str = malloc (top + 1); - if (new_str == NULL) - nonoption_flags_len = nonoption_flags_max_len = 0; - else - { - memset (__mempcpy (new_str, __getopt_nonoption_flags, - nonoption_flags_max_len), - '\0', top + 1 - nonoption_flags_max_len); - nonoption_flags_max_len = top + 1; - __getopt_nonoption_flags = new_str; - } - } -#endif - - while (top > middle && middle > bottom) - { - if (top - middle > middle - bottom) - { - /* Bottom segment is the short one. */ - int len = middle - bottom; - register int i; - - /* Swap it with the top part of the top segment. */ - for (i = 0; i < len; i++) - { - tem = argvbottom + i; - argvbottom + i = argvtop - (middle - bottom) + i; - argvtop - (middle - bottom) + i = tem; - SWAP_FLAGS (bottom + i, top - (middle - bottom) + i); - } - /* Exclude the moved bottom segment from further swapping. */ - top -= len; - } - else - { - /* Top segment is the short one. */ - int len = top - middle; - register int i; - - /* Swap it with the bottom part of the bottom segment. */ - for (i = 0; i < len; i++) - { - tem = argvbottom + i; - argvbottom + i = argvmiddle + i; - argvmiddle + i = tem; - SWAP_FLAGS (bottom + i, middle + i); - } - /* Exclude the moved top segment from further swapping. */ - bottom += len; - } - } - - /* Update records for the slots the non-options now occupy. */ - - first_nonopt += (optind - last_nonopt); - last_nonopt = optind; -} - -/* Initialize the internal data when the first call is made. */ - -#if defined __STDC__ && __STDC__ -static const char *_getopt_initialize (int, char *const *, const char *); -#endif -static const char * -_getopt_initialize (argc, argv, optstring) - int argc; - char *const *argv; - const char *optstring; -{ - /* Start processing options with ARGV-element 1 (since ARGV-element 0 - is the program name); the sequence of previously skipped - non-option ARGV-elements is empty. */ - - first_nonopt = last_nonopt = optind; - - nextchar = NULL; - - posixly_correct = getenv ("POSIXLY_CORRECT"); - - /* Determine how to handle the ordering of options and nonoptions. */ - - if (optstring0 == '-') - { - ordering = RETURN_IN_ORDER; - ++optstring; - } - else if (optstring0 == '+') - { - ordering = REQUIRE_ORDER; - ++optstring; - } - else if (posixly_correct != NULL) - ordering = REQUIRE_ORDER; - else - ordering = PERMUTE; - -#ifdef _LIBC - if (posixly_correct == NULL - && argc == original_argc && argv == original_argv) - { - if (nonoption_flags_max_len == 0) - { - if (__getopt_nonoption_flags == NULL - || __getopt_nonoption_flags0 == '\0') - nonoption_flags_max_len = -1; - else - { - const char *orig_str = __getopt_nonoption_flags; - int len = nonoption_flags_max_len = strlen (orig_str); - if (nonoption_flags_max_len < argc) - nonoption_flags_max_len = argc; - __getopt_nonoption_flags = - (char *) malloc (nonoption_flags_max_len); - if (__getopt_nonoption_flags == NULL) - nonoption_flags_max_len = -1; - else - memset (__mempcpy (__getopt_nonoption_flags, orig_str, len), - '\0', nonoption_flags_max_len - len); - } - } - nonoption_flags_len = nonoption_flags_max_len; - } - else - nonoption_flags_len = 0; -#endif - - return optstring; -} - -/* Scan elements of ARGV (whose length is ARGC) for option characters - given in OPTSTRING. - - If an element of ARGV starts with '-', and is not exactly "-" or "--", - then it is an option element. The characters of this element - (aside from the initial '-') are option characters. If `getopt' - is called repeatedly, it returns successively each of the option characters - from each of the option elements. - - If `getopt' finds another option character, it returns that character, - updating `optind' and `nextchar' so that the next call to `getopt' can - resume the scan with the following option character or ARGV-element. - - If there are no more option characters, `getopt' returns -1. - Then `optind' is the index in ARGV of the first ARGV-element - that is not an option. (The ARGV-elements have been permuted - so that those that are not options now come last.) - - OPTSTRING is a string containing the legitimate option characters. - If an option character is seen that is not listed in OPTSTRING, - return '?' after printing an error message. If you set `opterr' to - zero, the error message is suppressed but we still return '?'. - - If a char in OPTSTRING is followed by a colon, that means it wants an arg, - so the following text in the same ARGV-element, or the text of the following - ARGV-element, is returned in `optarg'. Two colons mean an option that - wants an optional arg; if there is text in the current ARGV-element, - it is returned in `optarg', otherwise `optarg' is set to zero. - - If OPTSTRING starts with `-' or `+', it requests different methods of - handling the non-option ARGV-elements. - See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above. - - Long-named options begin with `--' instead of `-'. - Their names may be abbreviated as long as the abbreviation is unique - or is an exact match for some defined option. If they have an - argument, it follows the option name in the same ARGV-element, separated - from the option name by a `=', or else the in next ARGV-element. - When `getopt' finds a long-named option, it returns 0 if that option's - `flag' field is nonzero, the value of the option's `val' field - if the `flag' field is zero. - - The elements of ARGV aren't really const, because we permute them. - But we pretend they're const in the prototype to be compatible - with other systems. - - LONGOPTS is a vector of `struct option' terminated by an - element containing a name which is zero. - - LONGIND returns the index in LONGOPT of the long-named option found. - It is only valid when a long-named option has been found by the most - recent call. - - If LONG_ONLY is nonzero, '-' as well as '--' can introduce - long-named options. */ - -int -_getopt_internal (argc, argv, optstring, longopts, longind, long_only) - int argc; - char *const *argv; - const char *optstring; - const struct option *longopts; - int *longind; - int long_only; -{ - optarg = NULL; - - if (optind == 0 || !__getopt_initialized) - { - if (optind == 0) - optind = 1; /* Don't scan ARGV0, the program name. */ - optstring = _getopt_initialize (argc, argv, optstring); - __getopt_initialized = 1; - } - - /* Test whether ARGVoptind points to a non-option argument. - Either it does not have option syntax, or there is an environment flag - from the shell indicating it is not an option. The later information - is only used when the used in the GNU libc. */ -#ifdef _LIBC -# define NONOPTION_P (argvoptind0 != '-' || argvoptind1 == '\0' \ - || (optind < nonoption_flags_len \ - && __getopt_nonoption_flagsoptind == '1')) -#else -# define NONOPTION_P (argvoptind0 != '-' || argvoptind1 == '\0') -#endif - - if (nextchar == NULL || *nextchar == '\0') - { - /* Advance to the next ARGV-element. */ - - /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been - moved back by the user (who may also have changed the arguments). */ - if (last_nonopt > optind) - last_nonopt = optind; - if (first_nonopt > optind) - first_nonopt = optind; - - if (ordering == PERMUTE) - { - /* If we have just processed some options following some non-options, - exchange them so that the options come first. */ - - if (first_nonopt != last_nonopt && last_nonopt != optind) - exchange ((char **) argv); - else if (last_nonopt != optind) - first_nonopt = optind; - - /* Skip any additional non-options - and extend the range of non-options previously skipped. */ - - while (optind < argc && NONOPTION_P) - optind++; - last_nonopt = optind; - } - - /* The special ARGV-element `--' means premature end of options. - Skip it like a null option, - then exchange with previous non-options as if it were an option, - then skip everything else like a non-option. */ - - if (optind != argc && !strcmp (argvoptind, "--")) - { - optind++; - - if (first_nonopt != last_nonopt && last_nonopt != optind) - exchange ((char **) argv); - else if (first_nonopt == last_nonopt) - first_nonopt = optind; - last_nonopt = argc; - - optind = argc; - } - - /* If we have done all the ARGV-elements, stop the scan - and back over any non-options that we skipped and permuted. */ - - if (optind == argc) - { - /* Set the next-arg-index to point at the non-options - that we previously skipped, so the caller will digest them. */ - if (first_nonopt != last_nonopt) - optind = first_nonopt; - return -1; - } - - /* If we have come to a non-option and did not permute it, - either stop the scan or describe it to the caller and pass it by. */ - - if (NONOPTION_P) - { - if (ordering == REQUIRE_ORDER) - return -1; - optarg = argvoptind++; - return 1; - } - - /* We have found another option-ARGV-element. - Skip the initial punctuation. */ - - nextchar = (argvoptind + 1 - + (longopts != NULL && argvoptind1 == '-')); - } - - /* Decode the current option-ARGV-element. */ - - /* Check whether the ARGV-element is a long option. - - If long_only and the ARGV-element has the form "-f", where f is - a valid short option, don't consider it an abbreviated form of - a long option that starts with f. Otherwise there would be no - way to give the -f short option. - - On the other hand, if there's a long option "fubar" and - the ARGV-element is "-fu", do consider that an abbreviation of - the long option, just like "--fu", and not "-f" with arg "u". - - This distinction seems to be the most useful approach. */ - - if (longopts != NULL - && (argvoptind1 == '-' - || (long_only && (argvoptind2 || !my_index (optstring, argvoptind1))))) - { - char *nameend; - const struct option *p; - const struct option *pfound = NULL; - int exact = 0; - int ambig = 0; - int indfound = -1; - int option_index; - - for (nameend = nextchar; *nameend && *nameend != '='; nameend++) - /* Do nothing. */ ; - - /* Test all long options for either exact match - or abbreviated matches. */ - for (p = longopts, option_index = 0; p->name; p++, option_index++) - if (!strncmp (p->name, nextchar, nameend - nextchar)) - { - if ((unsigned int) (nameend - nextchar) - == (unsigned int) strlen (p->name)) - { - /* Exact match found. */ - pfound = p; - indfound = option_index; - exact = 1; - break; - } - else if (pfound == NULL) - { - /* First nonexact match found. */ - pfound = p; - indfound = option_index; - } - else - /* Second or later nonexact match found. */ - ambig = 1; - } - - if (ambig && !exact) - { - if (opterr) - fprintf (stderr, _("%s: option `%s' is ambiguous\n"), - argv0, argvoptind); - nextchar += strlen (nextchar); - optind++; - optopt = 0; - return '?'; - } - - if (pfound != NULL) - { - option_index = indfound; - optind++; - if (*nameend) - { - /* Don't test has_arg with >, because some C compilers don't - allow it to be used on enums. */ - if (pfound->has_arg) - optarg = nameend + 1; - else - { - if (opterr) - { - if (argvoptind - 11 == '-') - /* --option */ - fprintf (stderr, - _("%s: option `--%s' doesn't allow an argument\n"), - argv0, pfound->name); - else - /* +option or -option */ - fprintf (stderr, - _("%s: option `%c%s' doesn't allow an argument\n"), - argv0, argvoptind - 10, pfound->name); - } - - nextchar += strlen (nextchar); - - optopt = pfound->val; - return '?'; - } - } - else if (pfound->has_arg == 1) - { - if (optind < argc) - optarg = argvoptind++; - else - { - if (opterr) - fprintf (stderr, - _("%s: option `%s' requires an argument\n"), - argv0, argvoptind - 1); - nextchar += strlen (nextchar); - optopt = pfound->val; - return optstring0 == ':' ? ':' : '?'; - } - } - nextchar += strlen (nextchar); - if (longind != NULL) - *longind = option_index; - if (pfound->flag) - { - *(pfound->flag) = pfound->val; - return 0; - } - return pfound->val; - } - - /* Can't find it as a long option. If this is not getopt_long_only, - or the option starts with '--' or is not a valid short - option, then it's an error. - Otherwise interpret it as a short option. */ - if (!long_only || argvoptind1 == '-' - || my_index (optstring, *nextchar) == NULL) - { - if (opterr) - { - if (argvoptind1 == '-') - /* --option */ - fprintf (stderr, _("%s: unrecognized option `--%s'\n"), - argv0, nextchar); - else - /* +option or -option */ - fprintf (stderr, _("%s: unrecognized option `%c%s'\n"), - argv0, argvoptind0, nextchar); - } - nextchar = (char *) ""; - optind++; - optopt = 0; - return '?'; - } - } - - /* Look at and handle the next short option-character. */ - - { - char c = *nextchar++; - char *temp = my_index (optstring, c); - - /* Increment `optind' when we start to process its last character. */ - if (*nextchar == '\0') - ++optind; - - if (temp == NULL || c == ':') - { - if (opterr) - { - if (posixly_correct) - /* 1003.2 specifies the format of this message. */ - fprintf (stderr, _("%s: illegal option -- %c\n"), - argv0, c); - else - fprintf (stderr, _("%s: invalid option -- %c\n"), - argv0, c); - } - optopt = c; - return '?'; - } - /* Convenience. Treat POSIX -W foo same as long option --foo */ - if (temp0 == 'W' && temp1 == ';') - { - char *nameend; - const struct option *p; - const struct option *pfound = NULL; - int exact = 0; - int ambig = 0; - int indfound = 0; - int option_index; - - /* This is an option that requires an argument. */ - if (*nextchar != '\0') - { - optarg = nextchar; - /* If we end this ARGV-element by taking the rest as an arg, - we must advance to the next element now. */ - optind++; - } - else if (optind == argc) - { - if (opterr) - { - /* 1003.2 specifies the format of this message. */ - fprintf (stderr, _("%s: option requires an argument -- %c\n"), - argv0, c); - } - optopt = c; - if (optstring0 == ':') - c = ':'; - else - c = '?'; - return c; - } - else - /* We already incremented `optind' once; - increment it again when taking next ARGV-elt as argument. */ - optarg = argvoptind++; - - /* optarg is now the argument, see if it's in the - table of longopts. */ - - for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++) - /* Do nothing. */ ; - - /* Test all long options for either exact match - or abbreviated matches. */ - for (p = longopts, option_index = 0; p->name; p++, option_index++) - if (!strncmp (p->name, nextchar, nameend - nextchar)) - { - if ((unsigned int) (nameend - nextchar) == strlen (p->name)) - { - /* Exact match found. */ - pfound = p; - indfound = option_index; - exact = 1; - break; - } - else if (pfound == NULL) - { - /* First nonexact match found. */ - pfound = p; - indfound = option_index; - } - else - /* Second or later nonexact match found. */ - ambig = 1; - } - if (ambig && !exact) - { - if (opterr) - fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"), - argv0, argvoptind); - nextchar += strlen (nextchar); - optind++; - return '?'; - } - if (pfound != NULL) - { - option_index = indfound; - if (*nameend) - { - /* Don't test has_arg with >, because some C compilers don't - allow it to be used on enums. */ - if (pfound->has_arg) - optarg = nameend + 1; - else - { - if (opterr) - fprintf (stderr, _("\ -%s: option `-W %s' doesn't allow an argument\n"), - argv0, pfound->name); - - nextchar += strlen (nextchar); - return '?'; - } - } - else if (pfound->has_arg == 1) - { - if (optind < argc) - optarg = argvoptind++; - else - { - if (opterr) - fprintf (stderr, - _("%s: option `%s' requires an argument\n"), - argv0, argvoptind - 1); - nextchar += strlen (nextchar); - return optstring0 == ':' ? ':' : '?'; - } - } - nextchar += strlen (nextchar); - if (longind != NULL) - *longind = option_index; - if (pfound->flag) - { - *(pfound->flag) = pfound->val; - return 0; - } - return pfound->val; - } - nextchar = NULL; - return 'W'; /* Let the application handle it. */ - } - if (temp1 == ':') - { - if (temp2 == ':') - { - /* This is an option that accepts an argument optionally. */ - if (*nextchar != '\0') - { - optarg = nextchar; - optind++; - } - else - optarg = NULL; - nextchar = NULL; - } - else - { - /* This is an option that requires an argument. */ - if (*nextchar != '\0') - { - optarg = nextchar; - /* If we end this ARGV-element by taking the rest as an arg, - we must advance to the next element now. */ - optind++; - } - else if (optind == argc) - { - if (opterr) - { - /* 1003.2 specifies the format of this message. */ - fprintf (stderr, - _("%s: option requires an argument -- %c\n"), - argv0, c); - } - optopt = c; - if (optstring0 == ':') - c = ':'; - else - c = '?'; - } - else - /* We already incremented `optind' once; - increment it again when taking next ARGV-elt as argument. */ - optarg = argvoptind++; - nextchar = NULL; - } - } - return c; - } -} - -int -getopt (argc, argv, optstring) - int argc; - char *const *argv; - const char *optstring; -{ - return _getopt_internal (argc, argv, optstring, - (const struct option *) 0, - (int *) 0, - 0); -} - -#endif /* Not ELIDE_CODE. */ - -#ifdef TEST - -/* Compile with -DTEST to make an executable for use in testing - the above definition of `getopt'. */ - -int -main (argc, argv) - int argc; - char **argv; -{ - int c; - int digit_optind = 0; - - while (1) - { - int this_option_optind = optind ? optind : 1; - - c = getopt (argc, argv, "abc:d:0123456789"); - if (c == -1) - break; - - switch (c) - { - case '0': - case '1': - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - if (digit_optind != 0 && digit_optind != this_option_optind) - printf ("digits occur in two different argv-elements.\n"); - digit_optind = this_option_optind; - printf ("option %c\n", c); - break; - - case 'a': - printf ("option a\n"); - break; - - case 'b': - printf ("option b\n"); - break; - - case 'c': - printf ("option c with value `%s'\n", optarg); - break; - - case '?': - break; - - default: - printf ("?? getopt returned character code 0%o ??\n", c); - } - } - - if (optind < argc) - { - printf ("non-option ARGV-elements: "); - while (optind < argc) - printf ("%s ", argvoptind++); - printf ("\n"); - } - - exit (0); -} - -#endif /* TEST */
View file
oggvideotools-0.8.tar.bz2/win32/getopt_win.h
Deleted
@@ -1,168 +0,0 @@ -/* Declarations for getopt. - Copyright (C) 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - The GNU C 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with the GNU C Library; see the file COPYING.LIB. If not, - write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -#ifndef _GETOPT_H - -#ifndef __need_getopt -# define _GETOPT_H 1 -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - /* For communication from `getopt' to the caller. - When `getopt' finds an option that takes an argument, - the argument value is returned here. - Also, when `ordering' is RETURN_IN_ORDER, - each non-option ARGV-element is returned here. */ - - extern char *optarg; - - /* Index in ARGV of the next element to be scanned. - This is used for communication to and from the caller - and for communication between successive calls to `getopt'. - - On entry to `getopt', zero means this is the first call; initialize. - - When `getopt' returns -1, this is the index of the first of the - non-option elements that the caller should itself scan. - - Otherwise, `optind' communicates from one call to the next - how much of ARGV has been scanned so far. */ - - extern int optind; - - /* Callers store zero here to inhibit the error message `getopt' prints - for unrecognized options. */ - - extern int opterr; - - /* Set to an option character which was unrecognized. */ - - extern int optopt; - -#ifndef __need_getopt - /* Describe the long-named options requested by the application. - The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector - of `struct option' terminated by an element containing a name which is - zero. - - The field `has_arg' is: - no_argument (or 0) if the option does not take an argument, - required_argument (or 1) if the option requires an argument, - optional_argument (or 2) if the option takes an optional argument. - - If the field `flag' is not NULL, it points to a variable that is set - to the value given in the field `val' when the option is found, but - left unchanged if the option is not found. - - To have a long-named option do something other than set an `int' to - a compiled-in constant, such as set a value from `optarg', set the - option's `flag' field to zero and its `val' field to a nonzero - value (the equivalent single-letter option character, if there is - one). For long options that have a zero `flag' field, `getopt' - returns the contents of the `val' field. */ - - struct option { -# if defined __STDC__ && __STDC__ - const char *name; -# else - char *name; -# endif - /* has_arg can't be an enum because some compilers complain about - type mismatches in all the code that assumes it is an int. */ - int has_arg; - int *flag; - int val; - }; - - /* Names for the values of the `has_arg' field of `struct option'. */ - -# define no_argument 0 -# define required_argument 1 -# define optional_argument 2 -#endif /* need getopt */ - - - /* Get definitions and prototypes for functions to process the - arguments in ARGV (ARGC of them, minus the program name) for - options given in OPTS. - - Return the option character from OPTS just read. Return -1 when - there are no more options. For unrecognized options, or options - missing arguments, `optopt' is set to the option letter, and '?' is - returned. - - The OPTS string is a list of characters which are recognized option - letters, optionally followed by colons, specifying that that letter - takes an argument, to be placed in `optarg'. - - If a letter in OPTS is followed by two colons, its argument is - optional. This behavior is specific to the GNU `getopt'. - - The argument `--' causes premature termination of argument - scanning, explicitly telling `getopt' that there are no more - options. - - If OPTS begins with `--', then non-option arguments are treated as - arguments to the option '\0'. This behavior is specific to the GNU - `getopt'. */ - -#if defined __STDC__ && __STDC__ -# ifdef __GNU_LIBRARY__ - /* Many other libraries have conflicting prototypes for getopt, with - differences in the consts, in stdlib.h. To avoid compilation - errors, only prototype getopt for the GNU C library. */ - extern int getopt (int __argc, char *const *__argv, const char *__shortopts); -# else /* not __GNU_LIBRARY__ */ - extern int getopt (); -# endif /* __GNU_LIBRARY__ */ - -# ifndef __need_getopt - extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts, - const struct option *__longopts, int *__longind); - extern int getopt_long_only (int __argc, char *const *__argv, - const char *__shortopts, - const struct option *__longopts, int *__longind); - - /* Internal only. Users should not call this directly. */ - extern int _getopt_internal (int __argc, char *const *__argv, - const char *__shortopts, - const struct option *__longopts, int *__longind, - int __long_only); -# endif -#else /* not __STDC__ */ - extern int getopt (); -# ifndef __need_getopt - extern int getopt_long (); - extern int getopt_long_only (); - - extern int _getopt_internal (); -# endif -#endif /* __STDC__ */ - -#ifdef __cplusplus -} -#endif - -/* Make sure we later can get all the definitions and declarations. */ -#undef __need_getopt - -#endif /* getopt.h */
View file
oggvideotools-0.9.1.tar.bz2/CMakeLists.txt
Added
@@ -0,0 +1,172 @@ +cmake_minimum_required(VERSION 2.8) + +PROJECT ( "OggVideoTools" ) + +SET ( PACKAGE_NAME "oggvideotools" ) +SET ( PACKAGE_VERSION "0.9.1" ) +SET ( PACKAGE_BUGREPORT "yorn@gmx.net" ) + +INCLUDE (CheckIncludeFiles) +CHECK_INCLUDE_FILES ( bzero.h HAVE_BZERO_H) +CHECK_INCLUDE_FILES ( stdint.h HAVE_STDINT_H ) + +IF ( $ENV{MAKE_PACKAGE} ) + find_library ( GD_GD_LIBRARY NAMES bgd.dll ) + find_library ( JPEG_GD_LIBRARY NAMES libjpeg.a libjpeg.lib jpeg.lib ) + find_library ( PNG_GD_LIBRARY NAMES libpng.a libpng.lib ) + find_library ( Z_GD_LIBRARY NAMES libz ) + SET ( GD_LIBRARIES ${GD_GD_LIBRARY} ${JPEG_GD_LIBRARY} ${PNG_GD_LIBRARY} ${Z_GD_LIBRARY} ) + find_library ( GD_EXTERNAL NAMES bgd.dll ) + find_library ( THEORADEC_LIBRARIES NAMES libtheoradec ) + find_library ( THEORAENC_LIBRARIES NAMES libtheoraenc ) + find_library ( VORBIS_LIBRARIES NAMES libvorbis.a ) + find_library ( VORBISENC_LIBRARIES NAMES libvorbisenc.a ) + find_library ( OGG_LIBRARIES NAMES libogg.a ) + find_path ( OGG_INCLUDE_DIRS ogg/ogg.h ) + + SET ( HAVE_LIBTHEORAENC 1 CACHE INTERNAL "" ) + SET ( HAVE_LIBTHEORADEC 1 CACHE INTERNAL "" ) + SET ( HAVE_LIBVORBIS 1 CACHE INTERNAL "" ) + SET ( HAVE_LIBVORBISENC 1 CACHE INTERNAL "") + SET ( HAVE_LIBOGG 1 CACHE INTERNAL "" ) + SET ( HAVE_LIBGD 1 CACHE INTERNAL "" ) + + SET ( ALL_STATIC_LIBS ${GD_LIBRARIES} ${THEORADEC_LIBRARIES} +${THEORAENC_LIBRARIES} ${VORBIS_LIBRARIES} ${VORBISENC_LIBRARIES} +${OGG_LIBRARIES} ) + +ELSE ( $ENV{MAKE_PACKAGE} ) + FIND_PACKAGE ( PkgConfig ) + pkg_check_modules ( THEORADEC theoradec>=1.1 ) + pkg_check_modules ( THEORAENC theoraenc>=1.1 ) + pkg_check_modules ( VORBIS vorbis>=1.2.3 ) + pkg_check_modules ( VORBISENC vorbisenc>=1.2.3 ) + pkg_check_modules ( OGG ogg>=1.1.0 ) + find_library ( GD_LIBRARY NAMES gd ) +ENDIF ( $ENV{MAKE_PACKAGE} ) + +find_path ( GD_INCLUDE gd.h ) + +IF ( $ENV{MAKE_PACKAGE} ) +MESSAGE ( "Do creating package" ) +ELSE ( $ENV{MAKE_PACKAGE} ) + +SET ( ALL_LIBS ) +SET ( STOP_CONFIGURATION ) + +IF ( THEORAENC_FOUND ) + MESSAGE ( STATUS "Theora encoder library found" ) + SET ( HAVE_LIBTHEORAENC 1 CACHE INTERNAL "" ) + SET ( ALL_LIBS ${ALL_LIBS} ${THEORAENC_LIBRARIES} ) +ELSE ( THEORAENC_FOUND ) + MESSAGE ( STATUS "ERROR: Theora encoder library NOT found" ) + SET ( STOP_CONFIGURATION true ) +ENDIF ( THEORAENC_FOUND ) + +IF ( THEORADEC_FOUND ) + MESSAGE ( STATUS "Theora decoder library found" ) + SET ( HAVE_LIBTHEORADEC 1 CACHE INTERNAL "" ) + SET ( ALL_LIBS ${ALL_LIBS} ${THEORADEC_LIBRARIES} ) +ELSE ( THEORADEC_FOUND ) + MESSAGE ( STATUS "ERROR: Theora decoder library NOT found" ) + SET ( STOP_CONFIGURATION true ) +ENDIF ( THEORADEC_FOUND ) + +IF ( VORBIS_FOUND ) + MESSAGE ( STATUS "Vorbis library found" ) + SET ( HAVE_LIBVORBIS 1 CACHE INTERNAL "" ) + SET ( ALL_LIBS ${ALL_LIBS} ${VORBIS_LIBRARIES} ) +ELSE ( VORBIS_FOUND ) + MESSAGE ( STATUS "ERROR: Vorbis library NOT found" ) + SET ( STOP_CONFIGURATION true ) +ENDIF ( VORBIS_FOUND ) + +IF ( VORBISENC_FOUND ) + MESSAGE ( STATUS "Vorbis encoder library found" ) + SET ( HAVE_LIBVORBISENC 1 CACHE INTERNAL "") + SET ( ALL_LIBS ${ALL_LIBS} ${VORBISENC_LIBRARIES} ) +ELSE ( VORBISENC_FOUND ) + MESSAGE ( STATUS "ERROR: Vorbis encoder library NOT found" ) + SET ( STOP_CONFIGURATION true ) +ENDIF ( VORBISENC_FOUND ) + +IF ( OGG_FOUND ) + MESSAGE ( STATUS "ogg library found" ) + SET ( HAVE_LIBOGG 1 CACHE INTERNAL "" ) + SET ( ALL_LIBS ${ALL_LIBS} ${OGG_LIBRARIES} ) +ELSE ( OGG_FOUND ) + MESSAGE ( STATUS "ERROR: ogg library NOT found" ) + SET ( STOP_CONFIGURATION true ) +ENDIF ( OGG_FOUND ) + +IF ( NOT ${GD_LIBRARY} MATCHES GD_LIBRARY-NOTFOUND ) + MESSAGE ( STATUS "GD library and header found" ) + SET ( HAVE_LIBGD 1 CACHE INTERNAL "" ) + SET ( ALL_LIBS ${ALL_LIBS} ${GD_LIBRARY} ) + INCLUDE_DIRECTORIES ( ${GD_INCLUDE} ) +ELSE ( NOT ${GD_LIBRARY} MATCHES GD_LIBRARY-NOTFOUND ) + MESSAGE ( STATUS "GD library and/or header NOT found" ) +# SET ( STOP_CONFIGURATION true ) +ENDIF ( NOT ${GD_LIBRARY} MATCHES GD_LIBRARY-NOTFOUND ) + +IF ( STOP_CONFIGURATION ) + MESSAGE ( FATAL_ERROR "Some libraries are missing - stopping configuration" ) +ENDIF ( STOP_CONFIGURATION ) + +ENDIF ( $ENV{MAKE_PACKAGE} ) + +MESSAGE ( "Creating config.h" ) + +CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) + +ADD_DEFINITIONS ( -DHAVE_CONFIG_H ) +ADD_DEFINITIONS ( "-DPACKAGE_STRING=\"${PACKAGE_NAME}-${PACKAGE_VERSION}\"" ) +ADD_DEFINITIONS ( -D_FILE_OFFSET_BITS=64 -Wno-write-strings ) +#ADD_DEFINITIONS ( -DDEBUG ) +ADD_DEFINITIONS ( -O0 -g --std=c++0x -fPIC ) +IF ( HAVE_LIBGD ) + ADD_DEFINITIONS ( -DWITH_GD2LIB ) +ENDIF (HAVE_LIBGD ) + +INCLUDE_DIRECTORIES ( ${CMAKE_BINARY_DIR} ) + +# HAVE_STDINT_H +# HAVE_BZERO_H + +ADD_SUBDIRECTORY ( src ) +ADD_SUBDIRECTORY ( docs ) + +IF ( NOT WIN32 ) + ADD_SUBDIRECTORY ( scripts ) +ENDIF ( NOT WIN32 ) + +# information for packaging + +INCLUDE ( InstallRequiredSystemLibraries ) + +SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Ogg Video Tools for video editing") +SET(CPACK_PACKAGE_VENDOR "Yorn") +SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README") +SET(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/cpackInfo/ReadMe.rtf") +SET(CPACK_RESOURCE_FILE_WELCOME "${CMAKE_SOURCE_DIR}/cpackInfo/Welcome.rtf") +SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/cpackInfo/COPYING.rtf") +SET(CPACK_PACKAGE_VERSION_MAJOR "0") +SET(CPACK_PACKAGE_VERSION_MINOR "9") +SET(CPACK_PACKAGE_VERSION_PATCH "") +SET(CPACK_PACKAGE_INSTALL_DIRECTORY "OggVideoTools") +IF(WIN32 AND NOT UNIX) + # There is a bug in NSI that does not handle full unix paths properly. Make + # sure there is at least one set of four (4) backlasshes. +# SET(CPACK_PACKAGE_ICON "${CMake_SOURCE_DIR}/Utilities/Release\\\\InstallIcon.bmp") +# SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\MyExecutable.exe") + SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} Ogg Video Tools") + SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\dev.streamnik.de") + SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\dev.streamnik.de") + SET(CPACK_NSIS_CONTACT "yorn@gmx.net") + SET(CPACK_NSIS_MODIFY_PATH ON) +ELSE(WIN32 AND NOT UNIX) + SET(CPACK_STRIP_FILES ${EXECUTABLES}) + SET(CPACK_SOURCE_STRIP_FILES ${EXECUTABLES} ) +ENDIF(WIN32 AND NOT UNIX) +SET(CPACK_PACKAGE_EXECUTABLES ${EXECUTABLES} ) +INCLUDE(CPack)
View file
oggvideotools-0.8.tar.bz2/COPYING -> oggvideotools-0.9.1.tar.bz2/COPYING
Changed
@@ -108,8 +108,8 @@ a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) + does not normally toString such an announcement, your work based on + the Program is not required to toString an announcement.)  These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, @@ -278,63 +278,3 @@ POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - <signature of Ty Coon>, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License.
View file
oggvideotools-0.8.tar.bz2/ChangeLog -> oggvideotools-0.9.1.tar.bz2/ChangeLog
Changed
@@ -64,3 +64,32 @@ - adding PNG logos with alpha channel - Bugfixes: flush-mechanism for ogg pages in ogg muxer corrected - testing for memory leaks + +Version 0.8a: +- Handling of zero size packets +- correct compiling of small packets into pages (packaging exactly 255 segments per page) +- renaming oggResize to oggTranscode +- oggCat can handle different video and audio files (complete rewrite) +- internal: video and audio hook for oggCat and oggTranscode +- timing, stream No. and stream type in oggDump packet dump output +- reworked manpages +- switch to cmake +- oggScroll is no longer supported (libSDL is not needed any more!) and will not be installed +- mkSlideshow is not supported any more and will not be installed +- cleanup mkThumb (bug #2925128) - thanks to jferlito +- integrated fixes from Tim Starling (advanced exception handling, logging etc) +- oggSlideshow returns with -1 if no picture was found +- prefix walkthrough for KenBurns effect +- Documentation pdf is outdated and therefir not shiped with the source package any more + google can help much better +- release creation reworked +- configure reworked and added to trunk + +Version 0.9: +- Bug in oggRingbuffer fixed (Thanks to Bjarne) -> solved problems with ffmpeg ogg implementation +- Manpage cleanup +- fix for gcc 4.7 (used in Fedora 17) + +Version 0.9.1 +- changed over to C++11 and boost (in some minor places). +- Cleanup a lot of things to fit ogg/theora/vorbis API again.
View file
oggvideotools-0.8.tar.bz2/INSTALL -> oggvideotools-0.9.1.tar.bz2/INSTALL
Changed
@@ -1,182 +1,14 @@ -Basic Installation -================== +Installation has changed to cmake, so the installation process is much easier than before: - These are generic installation instructions. +create a build directory: - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, a file -`config.cache' that saves the results of its tests to speed up -reconfiguring, and a file `config.log' containing compiler output -(useful mainly for debugging `configure'). +> mkdir build +> cd build - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If at some point `config.cache' -contains results you don't want to keep, you may remove or edit it. +and execute cmake and make: + +> cmake .. +> make +> sudo make install - The file `configure.in' is used to create `configure' by a program -called `autoconf'. You only need `configure.in' if you want to change -it or regenerate `configure' using a newer version of `autoconf'. - -The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. If you're - using `csh' on an old version of System V, you might need to type - `sh ./configure' instead to prevent `csh' from trying to execute - `configure' itself. - - Running `configure' takes awhile. While running, it prints some - messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package. - - 4. Type `make install' to install the programs and any data files and - documentation. - - 5. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - -Compilers and Options -===================== - - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. You can give `configure' -initial values for variables by setting them in the environment. Using -a Bourne-compatible shell, you can do that on the command line like -this: - CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure - -Or on systems that have the `env' program, you can do it like this: - env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure - -Compiling For Multiple Architectures -==================================== - - You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you must use a version of `make' that -supports the `VPATH' variable, such as GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. - - If you have to use a `make' that does not supports the `VPATH' -variable, you have to compile the package for one architecture at a time -in the source code directory. After you have installed the package for -one architecture, use `make distclean' before reconfiguring for another -architecture. - -Installation Names -================== - - By default, `make install' will install the package's files in -`/usr/local/bin', `/usr/local/man', etc. You can specify an -installation prefix other than `/usr/local' by giving `configure' the -option `--prefix=PATH'. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -give `configure' the option `--exec-prefix=PATH', the package will use -PATH as the prefix for installing programs and libraries. -Documentation and other data files will still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=PATH' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - -Optional Features -================= - - Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - -Specifying the System Type -========================== - - There may be some features `configure' can not figure out -automatically, but needs to determine by the type of host the package -will run on. Usually `configure' can figure that out, but if it prints -a message saying it can not guess the host type, give it the -`--host=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name with three fields: - CPU-COMPANY-SYSTEM - -See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the host type. - - If you are building compiler tools for cross-compiling, you can also -use the `--target=TYPE' option to select the type of system they will -produce code for and the `--build=TYPE' option to select the type of -system on which you are compiling the package. - -Sharing Defaults -================ - - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Operation Controls -================== - - `configure' recognizes the following options to control how it -operates. - -`--cache-file=FILE' - Use and save the results of the tests in FILE instead of - `./config.cache'. Set FILE to `/dev/null' to disable caching, for - debugging `configure'. - -`--help' - Print a summary of the options to `configure', and exit. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`--version' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`configure' also accepts some other, not widely useful, options. +and you are done! \ No newline at end of file
View file
oggvideotools-0.8.tar.bz2/README -> oggvideotools-0.9.1.tar.bz2/README
Changed
@@ -1,30 +1,28 @@ You can find more detailed information (in pdf and manpages) in the docs/ directory -This release (0.7) consists of the following tools: +This release (0.9) consists of the following tools: -oggJoin, oggSplit, oggCut, oggCat, oggResize, oggSlideshow, oggThumb, oggLength, +oggJoin, oggSplit, oggCut, oggCat, oggTranscode, oggSlideshow, oggThumb, oggLength, oggScroll, oggDump, oggSilence Required Software ----------------- +you globally need c++11 + boost (at least lexical_cast and circular_buffer, +which are both header only) so if built, no boost libraries are needed. +Version is tested against boost 1.54, however earlier version may work as +well. + for oggCat oggCut oggDump oggSplit oggJoin oggLength: -NONE!! (No you do not need any ogg/theora/vorbis library for that) +(No you do not need any ogg/theora/vorbis library for that) for oggSlideshow, oggThumb, oggResize, oggSilence: libogg libtheora (>= 1.0) -libvorbis +libvorbis (>= 1.2.3) -> can both be found here: http://www.xiph.org/downloads/ libgd -> can be found here: http://www.libgd.org/Downloads/ -for oggScroll: -libogg -libtheora (>= 1.0) - -> can both be found here: http://www.xiph.org/downloads/ -libSDL - -> http://www.libsdl.org - If you have questions regarding the ogg video tools, write a mail (yorn_at_gmx_dot_net) or join the developers mailing list at
View file
oggvideotools-0.9.1.tar.bz2/build
Added
+(directory)
View file
oggvideotools-0.8.tar.bz2/config.h.in -> oggvideotools-0.9.1.tar.bz2/config.h.in
Changed
@@ -1,98 +1,29 @@ -/* config.h.in. Generated from configure.ac by autoheader. */ - /* Define to 1 if you have the `bzero' function. */ -#undef HAVE_BZERO - -/* Define to 1 if you have the <inttypes.h> header file. */ -#undef HAVE_INTTYPES_H +#cmakedefine HAVE_BZERO /* Defined to 1 if gd library has been found */ -#undef HAVE_LIBGD +#cmakedefine HAVE_LIBGD /* Defined to 1 if ogg library has been found */ -#undef HAVE_LIBOGG +#cmakedefine HAVE_LIBOGG /* Defined to 1 if the SDL library has been found */ -#undef HAVE_LIBSDL +#cmakedefine HAVE_LIBSDL /* Defined to 1 if theora decoder library has been found */ -#undef HAVE_LIBTHEORADEC +#cmakedefine HAVE_LIBTHEORADEC /* Defined to 1 if theora encoder library has been found */ -#undef HAVE_LIBTHEORAENC +#cmakedefine HAVE_LIBTHEORAENC /* Defined to 1 if vorbis library has been found */ -#undef HAVE_LIBVORBIS +#cmakedefine HAVE_LIBVORBIS /* Defined to 1 if vorbis encoder library has been found */ -#undef HAVE_LIBVORBISENC - -/* Define to 1 if you have the <memory.h> header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the `memset' function. */ -#undef HAVE_MEMSET - -/* Define to 1 if stdbool.h conforms to C99. */ -#undef HAVE_STDBOOL_H +#cmakedefine HAVE_LIBVORBISENC /* Define to 1 if you have the <stdint.h> header file. */ -#undef HAVE_STDINT_H +#cmakedefine HAVE_STDINT_H /* Define to 1 if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the <strings.h> header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the <string.h> header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the <sys/stat.h> header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the <sys/types.h> header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the <unistd.h> header file. */ -#undef HAVE_UNISTD_H - -/* Define to 1 if the system has the type `_Bool'. */ -#undef HAVE__BOOL - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Version number of package */ -#undef VERSION - -/* Define to empty if `const' does not conform to ANSI C. */ -#undef const - -/* Define to `__inline__' or `__inline' if that's what the C compiler - calls it, or to nothing if 'inline' is not supported under any name. */ -#ifndef __cplusplus -#undef inline -#endif - -/* Define to empty if the keyword `volatile' does not work. Warning: valid - code using `volatile' can become incorrect without. Disable with care. */ -#undef volatile +#cmakedefine HAVE_STDLIB_H
View file
oggvideotools-0.9.1.tar.bz2/cpackInfo
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/cpackInfo/COPYING.rtf
Added
@@ -0,0 +1,114 @@ +{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\margl1440\margr1440\vieww11700\viewh13280\viewkind0 +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural + +\f0\fs34 \cf0 GNU GENERAL PUBLIC LICENSE\ +Version 2, June 1991 +\fs24 \ +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural +\cf0 \ + +\b Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.\ + +\b0 \ +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural + +\fs36 \cf0 Preamble +\fs24 \ +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural +\cf0 \ + The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General PublicLicense is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.\ +\ + When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.\ +\ + To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you\ +distribute copies of the software, or if you modify it.\ +\ + For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.\ +\ + We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.\ +\ + Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.\ +\ + Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.\ +\ + The precise terms and conditions for copying, distribution and modification follow.\ +\ +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural + +\fs30 \cf0 GNU GENERAL PUBLIC LICENSE\ +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +\fs34 \ +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural + +\fs24 \cf0 \ + 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below,\ +refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".\ +\ +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.\ +\ + 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.\ +\ +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.\ +\ + 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:\ +\ +a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.\ +\ +b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.\ +\ +c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally toString such an announcement, your work based on the Program is not required to toString an announcement.)\ +\ +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in\ +themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based\ +on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.\ +\ +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.\ +\ +In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under\ +the scope of this License.\ +\ + 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:\ +\ + a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,\ +\ + b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,\ +\ + c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)\ +\ +The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include\ +anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.\ +\ +If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.\ +\ + 4. You may not copy, modify, sublicense, or distribute the Programexcept as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.\ +\ + 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.\ +\ + 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.\ +\ + 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.\ +\ +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.\ +\ +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.\ +\ +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.\ +\ + 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.\ +\ + 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.\ +\ +Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the FreeSoftware Foundation.\ +\ + 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.\ +\ + NO WARRANTY\ +\ + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\ +\ + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\ +\ +} \ No newline at end of file
View file
oggvideotools-0.9.1.tar.bz2/cpackInfo/COPYING.txt
Added
@@ -0,0 +1,289 @@ +{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf420 +{\fonttbl\f0\fswiss\fcharset77 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\margl1440\margr1440\vieww11700\viewh13280\viewkind0 +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural + +\f0\fs24 \cf0 GNU GENERAL PUBLIC LICENSE\ + Version 2, June 1991\ +\ + Copyright (C) 1989, 1991 Free Software Foundation, Inc.,\ + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\ + Everyone is permitted to copy and distribute verbatim copies\ + of this license document, but changing it is not allowed.\ +\ + Preamble\ +\ + The licenses for most software are designed to take away your\ +freedom to share and change it. By contrast, the GNU General Public\ +License is intended to guarantee your freedom to share and change free\ +software--to make sure the software is free for all its users. This\ +General Public License applies to most of the Free Software\ +Foundation's software and to any other program whose authors commit to\ +using it. (Some other Free Software Foundation software is covered by\ +the GNU Lesser General Public License instead.) You can apply it to\ +your programs, too.\ +\ + When we speak of free software, we are referring to freedom, not\ +price. Our General Public Licenses are designed to make sure that you\ +have the freedom to distribute copies of free software (and charge for\ +this service if you wish), that you receive source code or can get it\ +if you want it, that you can change the software or use pieces of it\ +in new free programs; and that you know you can do these things.\ +\ + To protect your rights, we need to make restrictions that forbid\ +anyone to deny you these rights or to ask you to surrender the rights.\ +These restrictions translate to certain responsibilities for you if you\ +distribute copies of the software, or if you modify it.\ +\ + For example, if you distribute copies of such a program, whether\ +gratis or for a fee, you must give the recipients all the rights that\ +you have. You must make sure that they, too, receive or can get the\ +source code. And you must show them these terms so they know their\ +rights.\ +\ + We protect your rights with two steps: (1) copyright the software, and\ +(2) offer you this license which gives you legal permission to copy,\ +distribute and/or modify the software.\ +\ + Also, for each author's protection and ours, we want to make certain\ +that everyone understands that there is no warranty for this free\ +software. If the software is modified by someone else and passed on, we\ +want its recipients to know that what they have is not the original, so\ +that any problems introduced by others will not reflect on the original\ +authors' reputations.\ +\ + Finally, any free program is threatened constantly by software\ +patents. We wish to avoid the danger that redistributors of a free\ +program will individually obtain patent licenses, in effect making the\ +program proprietary. To prevent this, we have made it clear that any\ +patent must be licensed for everyone's free use or not licensed at all.\ +\ + The precise terms and conditions for copying, distribution and\ +modification follow.\ +\ + GNU GENERAL PUBLIC LICENSE\ + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\ +\ + 0. This License applies to any program or other work which contains\ +a notice placed by the copyright holder saying it may be distributed\ +under the terms of this General Public License. The "Program", below,\ +refers to any such program or work, and a "work based on the Program"\ +means either the Program or any derivative work under copyright law:\ +that is to say, a work containing the Program or a portion of it,\ +either verbatim or with modifications and/or translated into another\ +language. (Hereinafter, translation is included without limitation in\ +the term "modification".) Each licensee is addressed as "you".\ +\ +Activities other than copying, distribution and modification are not\ +covered by this License; they are outside its scope. The act of\ +running the Program is not restricted, and the output from the Program\ +is covered only if its contents constitute a work based on the\ +Program (independent of having been made by running the Program).\ +Whether that is true depends on what the Program does.\ +\ + 1. You may copy and distribute verbatim copies of the Program's\ +source code as you receive it, in any medium, provided that you\ +conspicuously and appropriately publish on each copy an appropriate\ +copyright notice and disclaimer of warranty; keep intact all the\ +notices that refer to this License and to the absence of any warranty;\ +and give any other recipients of the Program a copy of this License\ +along with the Program.\ +\ +You may charge a fee for the physical act of transferring a copy, and\ +you may at your option offer warranty protection in exchange for a fee.\ +\ + 2. You may modify your copy or copies of the Program or any portion\ +of it, thus forming a work based on the Program, and copy and\ +distribute such modifications or work under the terms of Section 1\ +above, provided that you also meet all of these conditions:\ +\ + a) You must cause the modified files to carry prominent notices\ + stating that you changed the files and the date of any change.\ +\ + b) You must cause any work that you distribute or publish, that in\ + whole or in part contains or is derived from the Program or any\ + part thereof, to be licensed as a whole at no charge to all third\ + parties under the terms of this License.\ +\ + c) If the modified program normally reads commands interactively\ + when run, you must cause it, when started running for such\ + interactive use in the most ordinary way, to print or display an\ + announcement including an appropriate copyright notice and a\ + notice that there is no warranty (or else, saying that you provide\ + a warranty) and that users may redistribute the program under\ + these conditions, and telling the user how to view a copy of this\ + License. (Exception: if the Program itself is interactive but\ + does not normally toString such an announcement, your work based on\ + the Program is not required to toString an announcement.)\ +\ +These requirements apply to the modified work as a whole. If\ +identifiable sections of that work are not derived from the Program,\ +and can be reasonably considered independent and separate works in\ +themselves, then this License, and its terms, do not apply to those\ +sections when you distribute them as separate works. But when you\ +distribute the same sections as part of a whole which is a work based\ +on the Program, the distribution of the whole must be on the terms of\ +this License, whose permissions for other licensees extend to the\ +entire whole, and thus to each and every part regardless of who wrote it.\ +\ +Thus, it is not the intent of this section to claim rights or contest\ +your rights to work written entirely by you; rather, the intent is to\ +exercise the right to control the distribution of derivative or\ +collective works based on the Program.\ +\ +In addition, mere aggregation of another work not based on the Program\ +with the Program (or with a work based on the Program) on a volume of\ +a storage or distribution medium does not bring the other work under\ +the scope of this License.\ +\ + 3. You may copy and distribute the Program (or a work based on it,\ +under Section 2) in object code or executable form under the terms of\ +Sections 1 and 2 above provided that you also do one of the following:\ +\ + a) Accompany it with the complete corresponding machine-readable\ + source code, which must be distributed under the terms of Sections\ + 1 and 2 above on a medium customarily used for software interchange; + or,\ +\ + b) Accompany it with a written offer, valid for at least three\ + years, to give any third party, for a charge no more than your\ + cost of physically performing source distribution, a complete\ + machine-readable copy of the corresponding source code, to be\ + distributed under the terms of Sections 1 and 2 above on a medium\ + customarily used for software interchange; or,\ +\ + c) Accompany it with the information you received as to the offer\ + to distribute corresponding source code. (This alternative is\ + allowed only for noncommercial distribution and only if you\ + received the program in object code or executable form with such\ + an offer, in accord with Subsection b above.)\ +\ +The source code for a work means the preferred form of the work for\ +making modifications to it. For an executable work, complete source\ +code means all the source code for all modules it contains, plus any\ +associated interface definition files, plus the scripts used to\ +control compilation and installation of the executable. However, as a\ +special exception, the source code distributed need not include\ +anything that is normally distributed (in either source or binary\ +form) with the major components (compiler, kernel, and so on) of the\ +operating system on which the executable runs, unless that component\ +itself accompanies the executable.\ +\ +If distribution of executable or object code is made by offering\ +access to copy from a designated place, then offering equivalent\ +access to copy the source code from the same place counts as\ +distribution of the source code, even though third parties are not\ +compelled to copy the source along with the object code.\ +\ + 4. You may not copy, modify, sublicense, or distribute the Program\ +except as expressly provided under this License. Any attempt\ +otherwise to copy, modify, sublicense or distribute the Program is\ +void, and will automatically terminate your rights under this License.\ +However, parties who have received copies, or rights, from you under\ +this License will not have their licenses terminated so long as such\ +parties remain in full compliance.\ +\ + 5. You are not required to accept this License, since you have not\ +signed it. However, nothing else grants you permission to modify or\ +distribute the Program or its derivative works. These actions are\ +prohibited by law if you do not accept this License. Therefore, by\ +modifying or distributing the Program (or any work based on the\ +Program), you indicate your acceptance of this License to do so, and\ +all its terms and conditions for copying, distributing or modifying\ +the Program or works based on it.\ +\ + 6. Each time you redistribute the Program (or any work based on the\ +Program), the recipient automatically receives a license from the\ +original licensor to copy, distribute or modify the Program subject to\ +these terms and conditions. You may not impose any further\ +restrictions on the recipients' exercise of the rights granted herein.\ +You are not responsible for enforcing compliance by third parties to\ +this License.\ +\ + 7. If, as a consequence of a court judgment or allegation of patent\ +infringement or for any other reason (not limited to patent issues),\ +conditions are imposed on you (whether by court order, agreement or\ +otherwise) that contradict the conditions of this License, they do not\ +excuse you from the conditions of this License. If you cannot\ +distribute so as to satisfy simultaneously your obligations under this\ +License and any other pertinent obligations, then as a consequence you\ +may not distribute the Program at all. For example, if a patent\ +license would not permit royalty-free redistribution of the Program by\ +all those who receive copies directly or indirectly through you, then\ +the only way you could satisfy both it and this License would be to\ +refrain entirely from distribution of the Program.\ +\ +If any portion of this section is held invalid or unenforceable under\ +any particular circumstance, the balance of the section is intended to\ +apply and the section as a whole is intended to apply in other\ +circumstances.\ +\ +It is not the purpose of this section to induce you to infringe any\ +patents or other property right claims or to contest validity of any\ +such claims; this section has the sole purpose of protecting the\ +integrity of the free software distribution system, which is\ +implemented by public license practices. Many people have made\ +generous contributions to the wide range of software distributed\ +through that system in reliance on consistent application of that\ +system; it is up to the author/donor to decide if he or she is willing\ +to distribute software through any other system and a licensee cannot\ +impose that choice.\ +\ +This section is intended to make thoroughly clear what is believed to\ +be a consequence of the rest of this License.\ +\ + 8. If the distribution and/or use of the Program is restricted in\ +certain countries either by patents or by copyrighted interfaces, the\ +original copyright holder who places the Program under this License\ +may add an explicit geographical distribution limitation excluding\ +those countries, so that distribution is permitted only in or among\ +countries not thus excluded. In such case, this License incorporates\ +the limitation as if written in the body of this License.\ +\ + 9. The Free Software Foundation may publish revised and/or new versions\ +of the General Public License from time to time. Such new versions will\ +be similar in spirit to the present version, but may differ in detail to\ +address new problems or concerns.\ +\ +Each version is given a distinguishing version number. If the Program\ +specifies a version number of this License which applies to it and "any\ +later version", you have the option of following the terms and conditions\ +either of that version or of any later version published by the Free\ +Software Foundation. If the Program does not specify a version number of\ +this License, you may choose any version ever published by the Free +Software\ +Foundation.\ +\ + 10. If you wish to incorporate parts of the Program into other free\ +programs whose distribution conditions are different, write to the author\ +to ask for permission. For software which is copyrighted by the Free\ +Software Foundation, write to the Free Software Foundation; we sometimes\ +make exceptions for this. Our decision will be guided by the two goals\ +of preserving the free status of all derivatives of our free software and\ +of promoting the sharing and reuse of software generally.\ +\ + NO WARRANTY\ +\ + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\ +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\ +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\ +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\ +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\ +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\ +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\ +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\ +REPAIR OR CORRECTION.\ +\ + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\ +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\ +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\ +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\ +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\ +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\ +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\ +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\ +POSSIBILITY OF SUCH DAMAGES.\ +\ + END OF TERMS AND CONDITIONS\ +} \ No newline at end of file
View file
oggvideotools-0.9.1.tar.bz2/cpackInfo/README.txt
Added
@@ -0,0 +1,11 @@ +This package brings you the following Ogg Video Tools: + +* oggCat +* oggCut +* oggSplit +* oggJoin +* oggLength +* oggThumb +* oggTranscode +* oggLength +
View file
oggvideotools-0.9.1.tar.bz2/cpackInfo/ReadMe.rtf
Added
@@ -0,0 +1,30 @@ +{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0 +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural + +\f0\fs28 \cf0 The Ogg Video Package contains the following tools:\ +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural +\cf0 \ +\pard\tx560\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural + +\b \cf0 oggCat\ +oggCut\ +oggJoin\ +oggSplit\ +oggLength\ +oggThumb\ +oggTranscode\ +oggSlideshow\ +oggSilence +\b0 \ +\pard\tx720\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li940\fi-940\ql\qnatural\pardirnatural +\cf0 \ +\pard\tx560\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural +\cf0 For information how to use the tools, please visit\ +{\field{\*\fldinst{HYPERLINK "http://en.flossmanuals.net/TheoraCookbook/"}}{\fldrslt http://en.flossmanuals.net/TheoraCookbook/}}\ +and\ +{\field{\*\fldinst{HYPERLINK "http://dev.streamnik.de/oggvideotools.html"}}{\fldrslt http://dev.streamnik.de/oggvideotools.html}}\ +\ +Have much fun - Yorn} \ No newline at end of file
View file
oggvideotools-0.9.1.tar.bz2/cpackInfo/Welcome.rtf
Added
@@ -0,0 +1,20 @@ +{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\paperw11900\paperh16840\margl1440\margr1440\vieww7640\viewh8460\viewkind0 +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural + +\f0\fs36 \cf0 Welcome to the \ + +\b\fs48 Ogg Video Tools +\b0\fs36 \ +Installer Package\ +\ + +\fs24 This Installer will guide you through the installation process\ +\ +This Installer Package is brought to you by streamnik\ +for more information, please visit us under \ +\ +{\field{\*\fldinst{HYPERLINK "http://dev.streamnik.de/oggvideotools.html"}}{\fldrslt http://dev.streamnik.de/oggvideotools.html}}\ +} \ No newline at end of file
View file
oggvideotools-0.9.1.tar.bz2/cpackInfo/Welcome.txt
Added
@@ -0,0 +1,6 @@ +Welcome to the Ogg Video Tools installer +This package version comes with a full +featured binaries without any additional +dependencies. + +Enjoy - Yorn
View file
oggvideotools-0.9.1.tar.bz2/docs/CMakeLists.txt
Added
@@ -0,0 +1,12 @@ +SET ( MAN_SRC oggTranscode.1 oggSlideshow.1 oggThumb.1 oggSplit.1 oggJoin.1 + oggCut.1 oggCat.1 oggSilence.1 oggDump.1 oggLength.1 mkThumbs.1 ) +SET ( HTML_SRC oggTranscode.html oggSlideshow.html oggThumb.html oggSplit.html oggJoin.html + oggCut.html oggCat.html oggSilence.html oggDump.html oggLength.html mkThumbs.html ) + + +IF ( $ENV{MAKE_PACKAGE} ) + INSTALL ( FILES ${MAN_SRC} DESTINATION doc ) + INSTALL ( FILES ${HTML_SRC} DESTINATION doc ) +ELSE ( $ENV{MAKE_PACKAGE} ) +INSTALL ( FILES ${MAN_SRC} DESTINATION man/man1 ) +ENDIF ( $ENV{MAKE_PACKAGE} )
View file
oggvideotools-0.9.1.tar.bz2/docs/conv2html.sh
Added
@@ -0,0 +1,7 @@ +#!/bin/bash +# man pages must be installed +for i in oggCat oggCut oggJoin oggSplit oggTranscode oggSlideshow oggSilence oggThumb oggDump mkThumbs oggLength +do + echo "creating $i.html" + man2html -f $i.1 > $i.html +done
View file
oggvideotools-0.9.1.tar.bz2/docs/mkThumbs.1
Added
@@ -0,0 +1,29 @@ +.TH MKTHUMBS 1 "JAN 2010" Linux "User Manuals" +.SH NAME +mkThumbs \- script to create thumbnails from an ogg video file +.SH SYNOPSIS +.B mkThumbs file.ogv <number of thumbs> <additional options> +.SH DESCRIPTION +.B mkThumbs +creates a series of thumbnails over a video file with regards to the video length. + +.SH EXAMPLE +.I mkThumb myvideo.ogv 10 + +creates 10 thumbnails across the video file. + +.I mkThumb myvideo.ogv 10 -s0x200 -opng + +creates 10 thumbnails across the video file with a height of 200 pixel and in PNG format. + +.SH AUTHOR +Joern Seger <yorn at gmx dot net> + +.SH "SEE ALSO" +.BR oggCut (1), +.BR oggJoin (1), +.BR oggSplit (1), +.BR oggResize (1), +.BR oggSlideshow (1), +.BR oggThumb (1), +.BR oggSilence (1) \ No newline at end of file
View file
oggvideotools-0.9.1.tar.bz2/docs/mkThumbs.html
Added
@@ -0,0 +1,78 @@ +Content-type: text/html + +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML><HEAD><TITLE>Man page of MKTHUMBS</TITLE> +</HEAD><BODY> +<H1>MKTHUMBS</H1> +Section: User Manuals (1)<BR>Updated: JAN 2010<BR><A HREF="#index">Index</A> +<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR> + +<A NAME="lbAB"> </A> +<H2>NAME</H2> + +mkThumbs - script to create thumbnails from an ogg video file +<A NAME="lbAC"> </A> +<H2>SYNOPSIS</H2> + +<B>mkThumbs file.ogv <number of thumbs> <additional options></B> + +<A NAME="lbAD"> </A> +<H2>DESCRIPTION</H2> + +<B>mkThumbs</B> + +creates a series of thumbnails over a video file with regards to the video length. +<P> +<A NAME="lbAE"> </A> +<H2>EXAMPLE</H2> + +<I>mkThumb myvideo.ogv 10</I> + +<P> +creates 10 thumbnails across the video file. +<P> +<I>mkThumb myvideo.ogv 10 -s0x200 -opng</I> + +<P> +creates 10 thumbnails across the video file with a height of 200 pixel and in PNG format. +<P> +<A NAME="lbAF"> </A> +<H2>AUTHOR</H2> + +Joern Seger <yorn at gmx dot net> +<P> +<A NAME="lbAG"> </A> +<H2>SEE ALSO</H2> + +<B><A HREF="/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggResize">oggResize</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) + + +<HR> +<A NAME="index"> </A><H2>Index</H2> +<DL> +<DT><A HREF="#lbAB">NAME</A><DD> +<DT><A HREF="#lbAC">SYNOPSIS</A><DD> +<DT><A HREF="#lbAD">DESCRIPTION</A><DD> +<DT><A HREF="#lbAE">EXAMPLE</A><DD> +<DT><A HREF="#lbAF">AUTHOR</A><DD> +<DT><A HREF="#lbAG">SEE ALSO</A><DD> +</DL> +<HR> +This document was created by +<A HREF="/cgi-bin/man/man2html">man2html</A>, +using the manual pages.<BR> +Time: 09:28:30 GMT, January 10, 2010 +</BODY> +</HTML>
View file
oggvideotools-0.8.tar.bz2/docs/oggCat.1 -> oggvideotools-0.9.1.tar.bz2/docs/oggCat.1
Changed
@@ -1,25 +1,105 @@ -.TH OGGCAT 1 "JULY 2009" Linux "User Manuals" +.TH OGGCAT 1 "JAN 2010" Linux "User Manuals" .SH NAME -oggCat \- concatenates two ogg video files (.ogv, .ogg or oga) +oggCat \- concatenates two or more ogg files .SH SYNOPSIS -.B oggCat outfile.ogv file1.ogv file2.ogv file3.ogv ... +.B oggCat options outfile.ogv file1.ogv file2.ogv file3.ogv ... .SH DESCRIPTION .B oggCat -concatenates two or more ogg files. +concatenates two or more ogg files (.ogv, .ogg or oga), that contain theora and/or vorbis streams. -The first ogg file defines the outline of the newly created file (with the numbers of parallel streams). The other files are mapped to this outline. So oggCat tries to find a matching stream (video and audio) and complains if there were not enough matches found in a file. In that case this file is omitted and is not inserted into the new file. +The parameters of the resulting ogg file is defined by the first file in the concatenation list. The parameters can be changed by the options, explained below. -The video streams must match in size and framerate. +All subsequent files that does not match these file parameters are automatically transcoded. -The audio streams must match in number of channels, samplerate and datarate. +A concatenation will fail in case that there are not enought streams available. This could happen e.g. if the first file consists of one audio and one video stream and the second file only carries a video stream. + +If there is more than one video or audio stream within the file, the first stream is used. + +.SH OPTIONS +.IP \-s +Sets the size of the video frame. The size is given as +.B <width>x<height>. +At default, the video frame size is the size of the first video stream. + +.I Example: \-s 320x240 + +.IP \-d +Sets the datarate in byte per seconds for the video encoder (theora). This meant +to be a upper threshold. So the file may be smaller than assumed. If not set, +the datarate of the first file is used. + +.I Example: \-d 1024000 + +.IP \-D +Sets the datarate in byte per seconds for the audio encoder (vorbis). +If not set, the datarate of the first file is used. + +.I Example: -D 64000 + +.IP \-f +Sets the frame rate of the video with numinator and demoninator and is the +pictures per second. If only one number is given, the denominator is set to +1. If not set, the framerate of the first file is used. + +.I Example: \-f 25:2 + +.IP \-F +Sets the sample frequency (sample rate) of the audio data in Hertz. If the +sample frequency does not match the one with the original file, resamling is invoked. + +.I Example: \-F 32000 + +.IP \-c +Adds comments to the video (theora) stream. Comments are given by a pair +of type and value in the form 'type=value'. More than one comment can be +concatenated with a semicolon. It is recommended to use apostrophes +as the command line may use the semicolon as a seperator. + +.I Example: \-c 'AUTHOR=yorn;DATE=03.07.09' + +.IP \-C +Adds comments to the audio (vorbis) stream. Comments are given by a pair +of type and value in the form 'type=value'. More than one comment can be +concatenated with a semicolon. It is recommended to use apostrophes +as the command line may use the semicolon as a seperator. + +.I Example: \-C 'AUTHOR=yorn;DATE=03.07.09' + +.IP \-q +Specifies the video quality for the newly created stream. Valid values can be chosen between 0 and 63 (best). + +.I Example: \-q 63 + +.IP \-rv +Force to reencode the video stream. This is sometimes neccessary, if the video stream match in video parameters, but not in the theora version. In that case, reencoding the video stream helps creating good results. + +.IP \-x +Force to overwrite the output file, even if it exists. This is mainly helpful if the oggCat is server controlled. + +.SH EXAMPLES + +.B oggCat concatFile.ogv myfile1.ogv myfile2.ogv myfile3.ogv + +or + +.B oggCat -o concatFile.ogv myfile1.ogv myfile2.ogv myfile3.ogv + +This command creates a cancatenated file +.I concatFile.ogv +that consists of the three files myfile1.ogv, myfile2.ogv and myfile3.ogv + +.B oggCat -s320x240 -q63 concatFile.ogv myfile1.ogv myfile2.ogv myfile3.ogv + +This command connects the three files myfile1-3.ogv to a file named concatFile.ogv with the video frame size of 320x240 and the best quality available. .SH AUTHOR Joern Seger <yorn at gmx dot net> -.\" .SH "SEE ALSO" + +.SH "SEE ALSO" .BR oggCut (1), .BR oggJoin (1), .BR oggSplit (1), -.BR oggResize (1), +.BR oggTranscode (1), .BR oggSlideshow (1), .BR oggThumb (1), -.BR oggSilence (1) \ No newline at end of file +.BR oggSilence (1)
View file
oggvideotools-0.8.tar.bz2/docs/oggCat.html -> oggvideotools-0.9.1.tar.bz2/docs/oggCat.html
Changed
@@ -1,10 +1,11 @@ Content-type: text/html -<HTML><HEAD><TITLE>Manpage of OGGCAT</TITLE> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML><HEAD><TITLE>Man page of OGGCAT</TITLE> </HEAD><BODY> <H1>OGGCAT</H1> -Section: User Manuals (1)<BR>Updated: JULY 2009<BR><A HREF="#index">Index</A> -<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR> +Section: User Manuals (1)<BR>Updated: JAN 2010<BR><A HREF="#index">Index</A> +<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR> <A NAME="lbAB"> </A> <H2>NAME</H2> @@ -13,7 +14,7 @@ <A NAME="lbAC"> </A> <H2>SYNOPSIS</H2> -<B>oggCat outfile.ogv file1.ogv file2.ogv file3.ogv ... </B> +<B>oggCat options outfile.ogv file1.ogv file2.ogv file3.ogv ... </B> <A NAME="lbAD"> </A> <H2>DESCRIPTION</H2> @@ -22,30 +23,131 @@ concatenates two or more ogg files. <P> -The first ogg file defines the outline of the newly created file (with the numbers of parallel streams). The other files are mapped to this outline. So oggCat tries to find a matching stream (video and audio) and complains if there were not enough matches found in a file. In that case this file is omitted and is not inserted into the new file. +The parameters of the resulting ogg file is defined by the first file in the concatenation list. The parameters could be changed by some options, explained below. <P> -The video streams must match in size and framerate. +All subsequent files that does not match these video file parameters are automatically transcoded. <P> -The audio streams must match in number of channels, samplerate and datarate. +A concatenation will fail in case that there are not enought streams available. This could happen e.g. if the first file consists of one audio and one video stream and the second file only carries a video stream. +<P> +If there is more than one video or audio stream within the file, the first stream is used. <P> <A NAME="lbAE"> </A> +<H2>OPTIONS</H2> + +<DL COMPACT> +<DT>-s<DD> +Sets the size of the video frame. The size is given as +<B><width>x<height>.</B> + +At default, the video frame size is the size of the first video stream. +<P> +<I>Example: -s 320x240</I> + +<P> +<DT>-d<DD> +Sets the datarate in byte per seconds for the video encoder (theora). This meant +to be a upper threshold. So the file may be smaller than assumed. If not set, +the datarate of the first file is used. +<P> +<I>Example: -d 1024000</I> + +<P> +<DT>-D<DD> +Sets the datarate in byte per seconds for the audio encoder (vorbis). +If not set, the datarate of the first file is used. +<P> +<I>Example: -D 64000</I> + +<P> +<DT>-f<DD> +Sets the frame rate of the video with numinator and demoninator and is the +pictures per second. If only one number is given, the denominator is set to +1. If not set, the framerate of the first file is used. +<P> +<I>Example: -f 25:2</I> + +<P> +<DT>-F<DD> +Sets the sample frequency (sample rate) of the audio data in Hertz. If the +sample frequency does not match the one with the original file, resamling is invoked. +<P> +<I>Example: -F 32000</I> + +<P> +<DT>-c<DD> +Adds comments to the video (theora) stream. Comments are given by a pair +of type and value in the form 'type=value'. More than one comment can be +concatenated with a semicolon. It is recommended to use apostrophes +as the command line may use the semicolon as a seperator. +<P> +<I>Example: -c 'AUTHOR=yorn;DATE=03.07.09'</I> + +<P> +<DT>-C<DD> +Adds comments to the audio (vorbis) stream. Comments are given by a pair +of type and value in the form 'type=value'. More than one comment can be +concatenated with a semicolon. It is recommended to use apostrophes +as the command line may use the semicolon as a seperator. +<P> +<I>Example: -C 'AUTHOR=yorn;DATE=03.07.09'</I> + +<P> +<DT>-q<DD> +Specifies the video quality for the newly created stream. Valid values can be chosen between 0 and 63 (best). +<P> +<I>Example: -q 63</I> + +<P> +<DT>-rv<DD> +Force to reencode the video stream. This is sometimes neccessary, if the video stream match in video parameters, but not in the theora version. In that case, reencoding the video stream helps creating good results. +<P> +<DT>-x<DD> +Force to overwrite the output file, even if it exists. This is mainly helpful if the oggCat is server controlled. +<P> +</DL> +<A NAME="lbAF"> </A> +<H2>EXAMPLES</H2> + +<P> +<B>oggCat concatFile.ogv myfile1.ogv myfile2.ogv myfile3.ogv</B> + +<P> +or +<P> +<B>oggCat -o concatFile.ogv myfile1.ogv myfile2.ogv myfile3.ogv</B> + +<P> +This command creates a cancatenated file +<I>concatFile.ogv</I> + +that consists of the three files myfile1.ogv myfile2.ogv myfile3.ogv +<P> +<B>oggCat -s320x240 -q63 concatFile.ogv myfile1.ogv myfile2.ogv myfile3.ogv</B> + +<P> +This command connects the three files myfile1-3.ogv to file concatFile.ogv with the size of 320x240 and best quality. +<P> +<A NAME="lbAG"> </A> <H2>AUTHOR</H2> Joern Seger <yorn at gmx dot net> +<P> +<A NAME="lbAH"> </A> +<H2>SEE ALSO</H2> -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggResize">oggResize</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggTranscode">oggTranscode</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) +<B><A HREF="/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) <HR> @@ -54,12 +156,15 @@ <DT><A HREF="#lbAB">NAME</A><DD> <DT><A HREF="#lbAC">SYNOPSIS</A><DD> <DT><A HREF="#lbAD">DESCRIPTION</A><DD> -<DT><A HREF="#lbAE">AUTHOR</A><DD> +<DT><A HREF="#lbAE">OPTIONS</A><DD> +<DT><A HREF="#lbAF">EXAMPLES</A><DD> +<DT><A HREF="#lbAG">AUTHOR</A><DD> +<DT><A HREF="#lbAH">SEE ALSO</A><DD> </DL> <HR> This document was created by -<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>, +<A HREF="/cgi-bin/man/man2html">man2html</A>, using the manual pages.<BR> -Time: 03:39:57 GMT, July 17, 2009 +Time: 09:28:30 GMT, January 10, 2010 </BODY> </HTML>
View file
oggvideotools-0.8.tar.bz2/docs/oggCut.1 -> oggvideotools-0.9.1.tar.bz2/docs/oggCut.1
Changed
@@ -1,4 +1,4 @@ -.TH OGGCUT 1 "JULY 2009" Linux "User Manuals" +.TH OGGCUT 1 "JAN 2010" Linux "User Manuals" .SH NAME oggCut \- extracts parts of an ogg file (.ogv, .ogg and .oga) .SH SYNOPSIS @@ -15,8 +15,8 @@ The start and end time for the cut area must be given in milliseconds with the options \-s and \-e. -As a video stream consists of I-frames (which are full pictures) and P-frames (which are delta pictures to the leading I-frame) the oggCut algorithm searches for the first I-frame. If a video file would start with a p-frame, the player is not able to interpret this picture, as the leading I-frame (on where it is based) is not available. -oggCut starts the I-frame search at the start time given by the -s option. So expect a shorter video time than the calculated seconds for the new file. +As a video stream consists of I\(hyframes (which are full pictures) and P\(hyframes (which are delta pictures to the leading I\(hyframe) the oggCut algorithm searches for the first I\(hyframe. If a video file would start with a p\(hyframe, the player is not able to interpret this picture, as the leading I\(hyframe (on where it is based) is not available. +oggCut starts the I\(hyframe search at the start time given by the \-s option. So expect a shorter video time than the calculated seconds for the new file. oggCut does not do any reencoding, therefore the output quality is completely the same as from the input file. @@ -36,12 +36,16 @@ .I Example: \-l 10000 .IP \-e -Cut end position in ms. If \-l is also used, the end position is prefered. If the end position is set to -1, the end of the stream is assumed. +Cut end position in ms. If \-l is also used, the end position is prefered. If the end position is set to \-1, the end of the stream is assumed. -Default: -1 +Default: \-1 .I Example: \-e 20000 +.IP \-i \-o +Input file and output file set (alternative). +These parameters can be used alternatively. They are overwritten by the arguments after the options. If there is one argument given, it is used as the input file (and overwrites a file given with -i). If there are two arguments, the input and output files from the -i and -o option values are overwritten. + .SH EXAMPLE .I oggCut \-s 1000 \-e 21000 myVideo.ogv myOutput.ogv @@ -49,13 +53,12 @@ .SH AUTHOR Joern Seger <yorn at gmx dot net> -.\" .SH "SEE ALSO" .SH "SEE ALSO" .BR oggCat (1), .BR oggJoin (1), .BR oggSplit (1), -.BR oggResize (1), +.BR oggTranscode (1), .BR oggSlideshow (1), .BR oggThumb (1), -.BR oggSilence (1) \ No newline at end of file +.BR oggSilence (1)
View file
oggvideotools-0.8.tar.bz2/docs/oggCut.html -> oggvideotools-0.9.1.tar.bz2/docs/oggCut.html
Changed
@@ -1,10 +1,11 @@ Content-type: text/html -<HTML><HEAD><TITLE>Manpage of OGGCUT</TITLE> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML><HEAD><TITLE>Man page of OGGCUT</TITLE> </HEAD><BODY> <H1>OGGCUT</H1> -Section: User Manuals (1)<BR>Updated: JULY 2009<BR><A HREF="#index">Index</A> -<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR> +Section: User Manuals (1)<BR>Updated: JAN 2010<BR><A HREF="#index">Index</A> +<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR> <A NAME="lbAB"> </A> <H2>NAME</H2> @@ -77,25 +78,25 @@ <H2>AUTHOR</H2> Joern Seger <yorn at gmx dot net> - <P> <A NAME="lbAH"> </A> <H2>SEE ALSO</H2> -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggResize">oggResize</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggTranscode">oggTranscode</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) +<B><A HREF="/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) +<P> <HR> <A NAME="index"> </A><H2>Index</H2> @@ -110,8 +111,8 @@ </DL> <HR> This document was created by -<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>, +<A HREF="/cgi-bin/man/man2html">man2html</A>, using the manual pages.<BR> -Time: 03:39:57 GMT, July 17, 2009 +Time: 09:28:30 GMT, January 10, 2010 </BODY> </HTML>
View file
oggvideotools-0.9.1.tar.bz2/docs/oggDump.1
Added
@@ -0,0 +1,42 @@ +.TH OGGDUMP 1 "JAN 2010" Linux "User Manuals" +.SH NAME +oggDump \- prints out information of ogg video files (.ogv, .ogg or oga) +.SH SYNOPSIS +.B oggDump options file.ogv +.SH DESCRIPTION +.B OggDump +gives detailed information about an ogg video file and prints these information with a given detail level. + +Ogg files consist of a number of streams (video and audio). From the Ogg-container perspective, the streams are devided into pages. These pages usually have nearly the same size. The pages can be printed out with the -g option. + +From the stream perspective, every stream consists of packets. These packets carry a bunch of compressed audio samples in case of a vorbis stream or one video frame in case of a theora video stream. These packets could be of variable length and are places into the ogg pages. To toString the packets, use the -p option. + +.SH OPTIONS +.IP \-g +Dumps the stream pages of the file. + +.IP \-p +Dumps the stream packets. + +.IP \-l +.B <level>. +Set the dump level (1-5). Default is 5, which means all information are printed. + +.IP \-s +Prompt for the stream that should be dumped. All other streams are ignored and will not be printed. + +.IP \-o +.B <file> +Write the dump information to a file. + +.SH AUTHOR +Joern Seger <yorn at gmx dot net> + +.SH "SEE ALSO" +.BR oggCut (1), +.BR oggJoin (1), +.BR oggSplit (1), +.BR oggTranscode^ (1), +.BR oggSlideshow (1), +.BR oggThumb (1), +.BR oggSilence (1)
View file
oggvideotools-0.9.1.tar.bz2/docs/oggDump.html
Added
@@ -0,0 +1,94 @@ +Content-type: text/html + +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML><HEAD><TITLE>Man page of OGGDUMP</TITLE> +</HEAD><BODY> +<H1>OGGDUMP</H1> +Section: User Manuals (1)<BR>Updated: JAN 2010<BR><A HREF="#index">Index</A> +<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR> + +<A NAME="lbAB"> </A> +<H2>NAME</H2> + +oggDump - prints out information of ogg video files (.ogv, .ogg or oga) +<A NAME="lbAC"> </A> +<H2>SYNOPSIS</H2> + +<B>oggDump options outfile.ogv</B> + +<A NAME="lbAD"> </A> +<H2>DESCRIPTION</H2> + +<B>OggDump </B> + +gives detailed information about an ogg video file and prints these information with a given detail level. +<P> +Ogg files consist of a number of streams (video and audio). From the Ogg-container perspective, the streams are devided into pages. These pages usually have nearly the same size. The pages can be printed out with the -g option. +<P> +From the stream perspective, every stream consists of packets. These packets carry a bunch of compressed audio samples in case of a vorbis stream or one video frame in case of a theora video stream. These packets could be of variable length and are places into the ogg pages. To toString the packets, use the -p option. +<P> +<A NAME="lbAE"> </A> +<H2>OPTIONS</H2> + +<DL COMPACT> +<DT>-g<DD> +Dumps the stream pages of the file. +<P> +<DT>-p<DD> +Dumps the stream packets. +<P> +<DT>-l<DD> +<B><level>.</B> + +Set the dump level (1-5). Default is 5, which means all information are printed. +<P> +<DT>-s<DD> +Prompt for the stream that should be dumped. All other streams are ignored and will not be printed. +<P> +<DT>-o<DD> +<B><file></B> + +Write the dump information to a file. +<P> +</DL> +<A NAME="lbAF"> </A> +<H2>AUTHOR</H2> + +Joern Seger <yorn at gmx dot net> +<P> +<A NAME="lbAG"> </A> +<H2>SEE ALSO</H2> + +<B><A HREF="/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), + +<B>oggTranscode^</B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) + +<P> + +<HR> +<A NAME="index"> </A><H2>Index</H2> +<DL> +<DT><A HREF="#lbAB">NAME</A><DD> +<DT><A HREF="#lbAC">SYNOPSIS</A><DD> +<DT><A HREF="#lbAD">DESCRIPTION</A><DD> +<DT><A HREF="#lbAE">OPTIONS</A><DD> +<DT><A HREF="#lbAF">AUTHOR</A><DD> +<DT><A HREF="#lbAG">SEE ALSO</A><DD> +</DL> +<HR> +This document was created by +<A HREF="/cgi-bin/man/man2html">man2html</A>, +using the manual pages.<BR> +Time: 09:28:30 GMT, January 10, 2010 +</BODY> +</HTML>
View file
oggvideotools-0.8.tar.bz2/docs/oggJoin.1 -> oggvideotools-0.9.1.tar.bz2/docs/oggJoin.1
Changed
@@ -1,4 +1,4 @@ -.TH OGGJOIN 1 "JULY 2009" Linux "User Manuals" +.TH OGGJOIN 1 "JAN 2010" Linux "User Manuals" .SH NAME oggJOIN \- multiplexes ogg streams (.ogv, .ogg or oga) .SH SYNOPSIS @@ -19,7 +19,7 @@ .BR oggCut (1), .BR oggCat (1), .BR oggSplit (1), -.BR oggResize (1), +.BR oggTranscode (1), .BR oggSlideshow (1), .BR oggThumb (1), .BR oggSilence (1) \ No newline at end of file
View file
oggvideotools-0.8.tar.bz2/docs/oggJoin.html -> oggvideotools-0.9.1.tar.bz2/docs/oggJoin.html
Changed
@@ -1,10 +1,11 @@ Content-type: text/html -<HTML><HEAD><TITLE>Manpage of OGGJOIN</TITLE> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML><HEAD><TITLE>Man page of OGGJOIN</TITLE> </HEAD><BODY> <H1>OGGJOIN</H1> -Section: User Manuals (1)<BR>Updated: JULY 2009<BR><A HREF="#index">Index</A> -<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR> +Section: User Manuals (1)<BR>Updated: JAN 2010<BR><A HREF="#index">Index</A> +<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR> <A NAME="lbAB"> </A> <H2>NAME</H2> @@ -35,19 +36,19 @@ <A NAME="lbAF"> </A> <H2>SEE ALSO</H2> -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggResize">oggResize</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggTranscode">oggTranscode</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) +<B><A HREF="/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) <HR> @@ -61,8 +62,8 @@ </DL> <HR> This document was created by -<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>, +<A HREF="/cgi-bin/man/man2html">man2html</A>, using the manual pages.<BR> -Time: 03:39:57 GMT, July 17, 2009 +Time: 09:28:30 GMT, January 10, 2010 </BODY> </HTML>
View file
oggvideotools-0.9.1.tar.bz2/docs/oggLength.1
Added
@@ -0,0 +1,31 @@ +.TH OGGLENGTH 1 "JAN 2010" Linux "User Manuals" +.SH NAME +oggLength \- gives the length of an ogg video/audio file +.SH SYNOPSIS +.B oggLength options inputfile.ogv +.SH DESCRIPTION +.B oggLength +analyses an ogg audio/video file and gives the duration of a file. If there is more than one stream available, the end time position of the longest stream is printed. The return value is given by milliseconds. + +.B oggLength +does not care for skeleton information. + +.SH OPTIONS +.IP \-v +prints out the length of the vorbis stream. + +.IP \-t +prints out the length of the theora stream. + +.SH AUTHOR +Joern Seger <yorn at gmx dot net> + +.SH "SEE ALSO" +.BR oggCut (1), +.BR oggJoin (1), +.BR oggSplit (1), +.BR oggTranscode (1), +.BR oggSlideshow (1), +.BR oggThumb (1), +.BR oggSilence (1) +
View file
oggvideotools-0.9.1.tar.bz2/docs/oggLength.html
Added
@@ -0,0 +1,82 @@ +Content-type: text/html + +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML><HEAD><TITLE>Man page of OGGLENGTH</TITLE> +</HEAD><BODY> +<H1>OGGLENGTH</H1> +Section: User Manuals (1)<BR>Updated: JAN 2010<BR><A HREF="#index">Index</A> +<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR> + +<A NAME="lbAB"> </A> +<H2>NAME</H2> + +oggLength - gives the length of an ogg video/audio file +<A NAME="lbAC"> </A> +<H2>SYNOPSIS</H2> + +<B>oggLength options inputfile.ogv </B> + +<A NAME="lbAD"> </A> +<H2>DESCRIPTION</H2> + +<B>oggLength</B> + +analyses an ogg audio/video file and gives the duration of a file. If there is more than one stream available, the end time position of the longest stream is printed. The return value is given by milliseconds. +<P> +<B>oggLength </B> + +does not care for skeleton information. +<P> +<A NAME="lbAE"> </A> +<H2>OPTIONS</H2> + +<DL COMPACT> +<DT>-v<DD> +prints out the length of the vorbis stream. +<P> +<DT>-t<DD> +prints out the length of the theora stream. +<P> +</DL> +<A NAME="lbAF"> </A> +<H2>AUTHOR</H2> + +Joern Seger <yorn at gmx dot net> +<P> +<A NAME="lbAG"> </A> +<H2>SEE ALSO</H2> + +<B><A HREF="/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggTranscode">oggTranscode</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) + +<P> +<P> + +<HR> +<A NAME="index"> </A><H2>Index</H2> +<DL> +<DT><A HREF="#lbAB">NAME</A><DD> +<DT><A HREF="#lbAC">SYNOPSIS</A><DD> +<DT><A HREF="#lbAD">DESCRIPTION</A><DD> +<DT><A HREF="#lbAE">OPTIONS</A><DD> +<DT><A HREF="#lbAF">AUTHOR</A><DD> +<DT><A HREF="#lbAG">SEE ALSO</A><DD> +</DL> +<HR> +This document was created by +<A HREF="/cgi-bin/man/man2html">man2html</A>, +using the manual pages.<BR> +Time: 09:28:30 GMT, January 10, 2010 +</BODY> +</HTML>
View file
oggvideotools-0.8.tar.bz2/docs/oggSilence.1 -> oggvideotools-0.9.1.tar.bz2/docs/oggSilence.1
Changed
@@ -1,11 +1,11 @@ -.TH OGGSILENCE 1 "JULY 2009" Linux "User Manuals" +.TH OGGSILENCE 1 "JAN 2010" Linux "User Manuals" .SH NAME oggSilence \- creates a silence period in vorbis format .SH SYNOPSIS .B oggSilence options outfile.ogg .SH DESCRIPTION .B oggSilence -creates a vorbis file with a silence duration which length is specified by the -l +creates a vorbis file with a silence duration which length is specified by the \-l option. .SH OPTIONS .IP \-l @@ -37,7 +37,6 @@ .BR oggCat (1), .BR oggJoin (1), .BR oggSplit (1), -.BR oggResize (1), +.BR oggTranscode (1), .BR oggSlideshow (1), -.BR oggThumb (1), -.BR oggSilence (1) \ No newline at end of file +.BR oggThumb (1) \ No newline at end of file
View file
oggvideotools-0.8.tar.bz2/docs/oggSilence.html -> oggvideotools-0.9.1.tar.bz2/docs/oggSilence.html
Changed
@@ -1,10 +1,11 @@ Content-type: text/html -<HTML><HEAD><TITLE>Manpage of OGGSILENCE</TITLE> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML><HEAD><TITLE>Man page of OGGSILENCE</TITLE> </HEAD><BODY> <H1>OGGSILENCE</H1> -Section: User Manuals (1)<BR>Updated: JULY 2009<BR><A HREF="#index">Index</A> -<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR> +Section: User Manuals (1)<BR>Updated: JAN 2010<BR><A HREF="#index">Index</A> +<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR> <A NAME="lbAB"> </A> <H2>NAME</H2> @@ -63,21 +64,19 @@ <A NAME="lbAH"> </A> <H2>SEE ALSO</H2> -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggResize">oggResize</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggTranscode">oggTranscode</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), - -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) +<B><A HREF="/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1) <HR> @@ -93,8 +92,8 @@ </DL> <HR> This document was created by -<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>, +<A HREF="/cgi-bin/man/man2html">man2html</A>, using the manual pages.<BR> -Time: 03:39:57 GMT, July 17, 2009 +Time: 09:28:30 GMT, January 10, 2010 </BODY> </HTML>
View file
oggvideotools-0.8.tar.bz2/docs/oggSlideshow.1 -> oggvideotools-0.9.1.tar.bz2/docs/oggSlideshow.1
Changed
@@ -1,41 +1,40 @@ -.TH OGGSLIDESHOW 1 "JULY 2009" Linux "User Manuals" +.TH OGGSLIDESHOW 1 "JAN 2010" Linux "User Manuals" .SH NAME oggSlideshow \- creates slideshows from pictures .SH SYNOPSIS .B oggSlideshow options picture1 picture2 ... .SH DESCRIPTION .B oggSlideshow -creates a theora video from a number of pictures in JPEG- or PNG-format with different visual effects. +creates a theora video from a number of pictures in JPEG\(hy or PNG\(hyformat with different visual effects. .SH OPTIONS -.IP -s - +.IP \-s Sets the size of the video frame. The size is given as .B <width>x<height> -. The default size is set to 480x320. +The default size is set to 480x320. .I Example: \-s 320x240 -.IP -f +.IP \-f Sets the frame rate of the video. This is given by the pictures per second. The default frame rate is 24 pictures per second. -.I Example: -f 16 +.I Example: \-f 16 -.IP -o +.IP \-o Sets the output file name of the created video. The default name is slideshow.ogv. -.I Example: -o myShow.ogv +.I Example: \-o myShow.ogv -.IP -l +.IP \-l Sets the presentation time (length) of one picture. So if your have 10 pictures and specify a length of 10 seconds, then your overall video length is 1:40 (100 seconds). -.I Example: -l 10 +.I Example: \-l 10 -.IP -d +.IP \-d Sets the datarate in byte per seconds for the video encoder. This more meant to be a upper threshold. So the file may be smaller than assumed. -.I Example: -d 1024000 +.I Example: \-d 1024000 -.IP -t +.IP \-t Sets the presentation type, as shown above. Actually types are: .B kb: @@ -50,23 +49,35 @@ .B bl: Bluring at changeover -.I Example: -t p +.I Example: \-t p + +.IP \-e +Enables the reframing. In case a picture does not match the aspect ratio of the video frame, it can be "reframed", which means black borders are inserted. This option is only usefull with the Ken Burns effect (option \-t kb). The pictures are automaticaly "reframed" with the other two slideshow types to match the aspect ratio. -.IP -e -Enables the reframing. In case a picture does not match the aspect ratio of the video frame, it can be "reframed", which means black borders are inserted. This option is only usefull with the Ken Burns effect (option -t kb). The pictures are automaticaly "reframed" with the other two slideshow types to match the aspect ratio. +.I Example: \-e -.I Example: -e +.IP \-x +Overwrite an existing output file without warning. -.IP -r +.IP \-r Enables the resampling to a certain value. This is really only for experts and may not be available with newer version of oggSlideshow. To understand this option you need some more internal information: The picture is loaded by the gd lib. So the transformation from png or jpeg to a plain RGBA is done here. The second reason for using gd is the great resizing facilities as pictures are often much bigger than the video frame. OggSlideshow can handle pictures from 0.5 to 2 times of the video frame width and height best, as it uses a linear pixel interpolation. With the resizing feature of gd, oggSlideshow reads pictures with a size "near" to the video output size and can then operate with that picture. This produces a very good quality output, as you can see above. The value given with this option is the factor the picture is read in in respect of the video frame size. When the video frame size is 320x240 and the resample factor is 1.2 than the picture that is read is resized to 384x288. Specially for the ken burns effect this is important as the sliding is done on a picture bigger than the video frame size. + .SH EXAMPLE -.I oggSlideshow -l3 -tp -d1024000 -s480x320 -o demo-plain.ogv <picture1.jpg> <picture2.jpg> ... +.I oggSlideshow \-l3 \-tp \-d1024000 \-s480x320 \-o demo\-plain.ogv <picture1.jpg> <picture2.jpg> ... .SH AUTHOR Joern Seger <yorn at gmx dot net> -.\" .SH "SEE ALSO" + +.SH "SEE ALSO" +.BR oggCut (1), +.BR oggCat (1), +.BR oggJoin (1), +.BR oggSplit (1), +.BR oggTranscode (1), +.BR oggThumb (1), +.BR oggSilence (1) \ No newline at end of file
View file
oggvideotools-0.8.tar.bz2/docs/oggSlideshow.html -> oggvideotools-0.9.1.tar.bz2/docs/oggSlideshow.html
Changed
@@ -1,10 +1,11 @@ Content-type: text/html -<HTML><HEAD><TITLE>Manpage of OGGSLIDESHOW</TITLE> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML><HEAD><TITLE>Man page of OGGSLIDESHOW</TITLE> </HEAD><BODY> <H1>OGGSLIDESHOW</H1> -Section: User Manuals (1)<BR>Updated: JULY 2009<BR><A HREF="#index">Index</A> -<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR> +Section: User Manuals (1)<BR>Updated: JAN 2010<BR><A HREF="#index">Index</A> +<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR> <A NAME="lbAB"> </A> <H2>NAME</H2> @@ -26,11 +27,10 @@ <DL COMPACT> <DT>-s<DD> -<P> Sets the size of the video frame. The size is given as <B><width>x<height></B> - +The default size is set to 480x320. <P> <I>Example: -s 320x240</I> @@ -87,12 +87,16 @@ <I>Example: -e</I> <P> +<DT>-x<DD> +Overwrite an existing output file without warning. +<P> <DT>-r<DD> Enables the resampling to a certain value. This is really only for experts and may not be available with newer version of oggSlideshow. <P> To understand this option you need some more internal information: The picture is loaded by the gd lib. So the transformation from png or jpeg to a plain RGBA is done here. The second reason for using gd is the great resizing facilities as pictures are often much bigger than the video frame. OggSlideshow can handle pictures from 0.5 to 2 times of the video frame width and height best, as it uses a linear pixel interpolation. With the resizing feature of gd, oggSlideshow reads pictures with a size "near" to the video output size and can then operate with that picture. This produces a very good quality output, as you can see above. <P> The value given with this option is the factor the picture is read in in respect of the video frame size. When the video frame size is 320x240 and the resample factor is 1.2 than the picture that is read is resized to 384x288. Specially for the ken burns effect this is important as the sliding is done on a picture bigger than the video frame size. +<P> </DL> <A NAME="lbAF"> </A> <H2>EXAMPLE</H2> @@ -105,8 +109,24 @@ <H2>AUTHOR</H2> Joern Seger <yorn at gmx dot net> - <P> +<A NAME="lbAH"> </A> +<H2>SEE ALSO</H2> + +<B><A HREF="/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggTranscode">oggTranscode</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) + <HR> <A NAME="index"> </A><H2>Index</H2> @@ -117,11 +137,12 @@ <DT><A HREF="#lbAE">OPTIONS</A><DD> <DT><A HREF="#lbAF">EXAMPLE</A><DD> <DT><A HREF="#lbAG">AUTHOR</A><DD> +<DT><A HREF="#lbAH">SEE ALSO</A><DD> </DL> <HR> This document was created by -<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>, +<A HREF="/cgi-bin/man/man2html">man2html</A>, using the manual pages.<BR> -Time: 03:39:57 GMT, July 17, 2009 +Time: 09:28:30 GMT, January 10, 2010 </BODY> </HTML>
View file
oggvideotools-0.8.tar.bz2/docs/oggSplit.1 -> oggvideotools-0.9.1.tar.bz2/docs/oggSplit.1
Changed
@@ -1,8 +1,8 @@ -.TH OGGSPLIT 1 "JULY 2009" Linux "User Manuals" +.TH OGGSPLIT 1 "JAN 2010" Linux "User Manuals" .SH NAME oggSplit \- demultiplexes ogv files .SH SYNOPSIS -.B oggSplit outfile.ogv +.B oggSplit file.ogv .SH DESCRIPTION .B oggSplit demultiplexes a multiplexed ogg file into several files with one stream each. @@ -18,7 +18,7 @@ This is the audio stream encoded with the vorbis codec. The <ID> is the stream ID that is created by the encoder to uniquely identify this stream. .I unknown_<ID>.ogv: -This is an unknown stream, that could not be interpreted.The <ID> is the stream ID that is created by the encoder to uniquely identify this stream. +This is an unknown stream, that could not be interpreted. The <ID> is the stream ID that is created by the encoder to uniquely identify this stream. All files are fully playable with your favoured video or audio player (except the streams, that are uninterpreted). @@ -29,7 +29,7 @@ .BR oggCut (1), .BR oggCat (1), .BR oggJoin (1), -.BR oggResize (1), +.BR oggTranscode (1), .BR oggSlideshow (1), .BR oggThumb (1), -.BR oggSilence (1) \ No newline at end of file +.BR oggSilence (1)
View file
oggvideotools-0.8.tar.bz2/docs/oggSplit.html -> oggvideotools-0.9.1.tar.bz2/docs/oggSplit.html
Changed
@@ -1,10 +1,11 @@ Content-type: text/html -<HTML><HEAD><TITLE>Manpage of OGGSPLIT</TITLE> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML><HEAD><TITLE>Man page of OGGSPLIT</TITLE> </HEAD><BODY> <H1>OGGSPLIT</H1> -Section: User Manuals (1)<BR>Updated: JULY 2009<BR><A HREF="#index">Index</A> -<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR> +Section: User Manuals (1)<BR>Updated: JAN 2010<BR><A HREF="#index">Index</A> +<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR> <A NAME="lbAB"> </A> <H2>NAME</H2> @@ -48,19 +49,19 @@ <A NAME="lbAF"> </A> <H2>SEE ALSO</H2> -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggResize">oggResize</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggTranscode">oggTranscode</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) +<B><A HREF="/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) <HR> @@ -74,8 +75,8 @@ </DL> <HR> This document was created by -<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>, +<A HREF="/cgi-bin/man/man2html">man2html</A>, using the manual pages.<BR> -Time: 03:39:57 GMT, July 17, 2009 +Time: 09:28:30 GMT, January 10, 2010 </BODY> </HTML>
View file
oggvideotools-0.8.tar.bz2/docs/oggThumb.1 -> oggvideotools-0.9.1.tar.bz2/docs/oggThumb.1
Changed
@@ -1,4 +1,4 @@ -.TH OGGTHUMB 1 "JULY 2009" Linux "User Manuals" +.TH OGGTHUMB 1 "JAN 2010" Linux "User Manuals" .SH NAME oggThumb \- creates thumbnails from an ogg video file .SH SYNOPSIS @@ -7,11 +7,12 @@ .B oggThumb creates Thumbnails from one or more ogg video files, at a given time position or a given frame number. It is also possible to create a series of thumbnails at different time or frame positions. The pictures can be created in JPG or PNG format and can be resized to any given size. -The naming of each thumbnail series follows the following rule: +The default naming of each thumbnail series follows the following rule: .I <filename_without_extension>_x.<picture_extension> -Where x starts with 0 and is incremented with every created thumbnail. So the thumbnails are successivly numbered by the appearence order. This is even valid, if time positions and frame numbers are mixed. +Where x starts with 0 and is incremented with every created thumbnail. So the thumbnails are successivly numbered by the appearence order. This is even valid, if time positions and frame numbers are mixed. + .SH OPTIONS .IP -t Time at which a thumbnail should be created. More than one thumbnail time can be concatenated by komas. The times can be set by integer or floating point values in seconds. If the time is not exactly matching, the next frame is used. The times don't have to be sorted incrementally. @@ -32,9 +33,22 @@ Output format. This can be png or jpg. The default is jpg. .I Example: \-o png + +.IP -n +Alternative thumbnail picture name. The % can be used within the name to indicate the counter placeholder. + +In case of more than one video file, the counter continuous throughout the different videos, so that the pictures are not overwritten. + +If the name has an extension. This extension is used to identify the output picture format. + +.I Example: \-n myNo_%_thumb + + .SH EXAMPLE .I oggThumb \-t 10.3,22.4,31.9,43.4,59.4 \-f 1200 \-s 0x100 myFile.ogv +.I oggThumb \-f 200,400,300,100 -t 3.54 -n %_thumb.png myfile.ogv mysecondfile.ogv + .SH AUTHOR Joern Seger <yorn at gmx dot net> .SH "SEE ALSO" @@ -42,6 +56,6 @@ .BR oggCat (1), .BR oggJoin (1), .BR oggSplit (1), -.BR oggResize (1), +.BR oggTranscode (1), .BR oggSlideshow (1), .BR oggSilence (1) \ No newline at end of file
View file
oggvideotools-0.8.tar.bz2/docs/oggThumb.html -> oggvideotools-0.9.1.tar.bz2/docs/oggThumb.html
Changed
@@ -1,10 +1,11 @@ Content-type: text/html -<HTML><HEAD><TITLE>Manpage of OGGTHUMB</TITLE> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML><HEAD><TITLE>Man page of OGGTHUMB</TITLE> </HEAD><BODY> <H1>OGGTHUMB</H1> -Section: User Manuals (1)<BR>Updated: JULY 2009<BR><A HREF="#index">Index</A> -<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR> +Section: User Manuals (1)<BR>Updated: JAN 2010<BR><A HREF="#index">Index</A> +<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR> <A NAME="lbAB"> </A> <H2>NAME</H2> @@ -22,12 +23,13 @@ creates Thumbnails from one or more ogg video files, at a given time position or a given frame number. It is also possible to create a series of thumbnails at different time or frame positions. The pictures can be created in JPG or PNG format and can be resized to any given size. <P> -The naming of each thumbnail series follows the following rule: +The default naming of each thumbnail series follows the following rule: <P> <I><filename_without_extension>_x.<picture_extension></I> <P> -Where x starts with 0 and is incremented with every created thumbnail. So the thumbnails are successivly numbered by the appearence order. This is even valid, if time positions and frame numbers are mixed. +Where x starts with 0 and is incremented with every created thumbnail. So the thumbnails are successivly numbered by the appearence order. This is even valid, if time positions and frame numbers are mixed. +<BR> <A NAME="lbAE"> </A> <H2>OPTIONS</H2> @@ -55,6 +57,18 @@ <P> <I>Example: -o png</I> +<P> +<DT>-n<DD> +Alternative thumbnail picture name. The % can be used within the name to indicate the counter placeholder. +<P> +In case of more than one video file, the counter continuous throughout the different videos, so that the pictures are not overwritten. +<P> +If the name has an extension. This extension is used to identify the output picture format. +<P> +<I>Example: -n myNo_%_thumb</I> + +<BR> +<P> </DL> <A NAME="lbAF"> </A> <H2>EXAMPLE</H2> @@ -62,6 +76,9 @@ <I>oggThumb -t 10.3,22.4,31.9,43.4,59.4 -f 1200 -s 0x100 myFile.ogv</I> <P> +<I>oggThumb -f 200,400,300,100 -t 3.54 -n %_thumb.png myfile.ogv mysecondfile.ogv</I> + +<P> <A NAME="lbAG"> </A> <H2>AUTHOR</H2> @@ -69,19 +86,19 @@ <A NAME="lbAH"> </A> <H2>SEE ALSO</H2> -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggResize">oggResize</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggTranscode">oggTranscode</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), +<B><A HREF="/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), -<B><A HREF="http://localhost/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) +<B><A HREF="/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) <HR> @@ -97,8 +114,8 @@ </DL> <HR> This document was created by -<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>, +<A HREF="/cgi-bin/man/man2html">man2html</A>, using the manual pages.<BR> -Time: 03:39:57 GMT, July 17, 2009 +Time: 09:28:30 GMT, January 10, 2010 </BODY> </HTML>
View file
oggvideotools-0.9.1.tar.bz2/docs/oggTranscode.1
Added
@@ -0,0 +1,163 @@ +.TH OGGTRANSCODE 1 "JAN 2010" Linux "User Manuals" +.SH NAME +oggTranscode \- transcodes ogg files in multiple ways +.SH SYNOPSIS +.B oggTranscode options inputfile.ogv outputfile.ogv +.SH DESCRIPTION +.B oggTranscode +can resize an ogg file (ogg, oga or ogv) in multiple ways: +It can change the video frame size, change datarate for the video and/or audio streams +contained in the ogg file and it can also change the video frame rate or audio sample rate. + +Additionally, since version 0.8 +.B oggTranscode +can add any ogg comment and png\(hypictures with an alpha channel can be rendered into the +video at any time period before and after the resizing process. + +.B oggTranscode +was previously called +.B oggResize. + +.SH OPTIONS +.IP \-s +Sets the size of the video frame. The size is given as +.B <width>x<height>. +At default, the video frame size keeps the same. + +.I Example: \-s 320x240 + +.IP \-d +Sets the datarate in byte per seconds for the video encoder (theora). This meant +to be a upper threshold. So the file may be smaller than assumed. If not set, +the datarate of the original stream is used. + +.I Example: \-d 1024000 + +.IP \-D +Sets the datarate in byte per seconds for the audio encoder (vorbis). +If not set, the datarate of the original stream is used. + +.I Example: -D 64000 + +.IP \-f +Sets the frame rate of the video with numinator and demoninator and is the +pictures per second. If only one number is given, the denominator is set to +1. If not set, the framerate of the original video is used. + +.I Example: \-f 25:2 + +.IP \-F +Sets the sample frequency (sample rate) of the audio data in Hertz. If the +sample frequency does not match the one with the original file, resamling is invoked. + +.I Example: \-F 32000 + +.IP \-c + +Adds comments to the video (theora) stream. Comments are given by a pair +of type and value in the form 'type=value'. More than one comment can be +concatenated with a semicolon. It is recommended to use apostrophes +as the command line may use the semicolon as a seperator. + +.I Example: \-c 'AUTHOR=yorn;DATE=03.07.09' + +.IP \-C +Adds comments to the audio (vorbis) stream. Comments are given by a pair +of type and value in the form 'type=value'. More than one comment can be +concatenated with a semicolon. It is recommended to use apostrophes +as the command line may use the semicolon as a seperator. + +.I Example: \-C 'AUTHOR=yorn;DATE=03.07.09' + +.IP \-q +Specifies the quality for the resizing process. Values can be chosen between 1 (best +quality, with slight bluring) and 6 (worst quality). The default value is 2. + +.I Example: \-q1 + +.IP \-p +This option is meant to help creating a preview of a film. The number +given with this option defines the number of frames, that are omitted. E.g. +if a film has 24 frames per second and \-p24 is given, the newly created +video shows the video 24 times faster as only every 24th frame is used. +This option can be combined with the option \-f to control the framerate. +With both options nice video previews can be created. If \-p is used, the +audio stream is ignored. + +.I Example: \-p 24 + +.IP \-a +Adds a picture to the video frame before it is resized. +The expression for the picture appearances: + +.B <picture1.png>,<startTime>,<endTime>,s + +.B startTime +in seconds - value can be a floating point. +Default +.B startTime +is 0 + +.B endTime +in seconds - value can be a floating point. +default +.B endTime +is \-1, which is the end of the stream duration + +default +.B s +ist not set. If +.B s +is set, the picture slides in smoothly. + +More than one picture can be included. +To concatenate the expressions use the colon. +If the appearance time overlap, the pictures are placed on one another, +so the last picture is the uppest layer. + +.I Example: \-a etwas.png,2,7,s:etwasneues.png,5,10 + +.IP \-A +Adds a picture to the video frame after it is resized. + +The syntax follows the same expression as with option \-a. + +.SH EXAMPLE + +.I oggTranscode \-s320x240 \-d512000 orig.ogv new.ogv + +Converts a the video +.B orig.ogv +to the video +.B new.ogv +with the new frame size 320x240. If +there was an audio stream within the orig.ogv file, it is copied into the new +file. + +.I oggTranscode \-D64000 \-F16000 \-N1 orig.ogv new.ogv + +Converts only the audio stream of file +.B orig.ogv +to a sample rate of 16kHz, a datarate of 64 kBit/s and a mono channel. +The video stream is copied as is. + +.I oggTranscode \-s300x200 \-D32000 \-d1024000 \-A etwas.png,2,7,s:etwasneues.png,5,10 orig.ogv new.ogv + +Converts the audio and video stream and adds the alpha channel picture +.B etwas.png +to the video from second 2 to second 7 with a smooth fade in and fade out. +Additionally the alpha channel picture +.B etwasneues.png +is placed on top of the video frame from second 5 to second 10 without any +fading. + +.SH AUTHOR +Joern Seger <yorn at gmx dot net> +.SH "SEE ALSO" +.BR oggCut (1), +.BR oggCat (1), +.BR oggJoin (1), +.BR oggSplit (1), +.BR oggSlideshow (1), +.BR oggThumb (1), +.BR oggSilence (1)
View file
oggvideotools-0.9.1.tar.bz2/docs/oggTranscode.html
Added
@@ -0,0 +1,238 @@ +Content-type: text/html + +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML><HEAD><TITLE>Man page of OGGTRANSCODE</TITLE> +</HEAD><BODY> +<H1>OGGTRANSCODE</H1> +Section: User Manuals (1)<BR>Updated: JAN 2010<BR><A HREF="#index">Index</A> +<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR> + +<A NAME="lbAB"> </A> +<H2>NAME</H2> + +oggTranscode - transcodes ogg files in multiple ways +<A NAME="lbAC"> </A> +<H2>SYNOPSIS</H2> + +<B>oggTranscode options inputfile.ogv outputfile.ogv </B> + +<A NAME="lbAD"> </A> +<H2>DESCRIPTION</H2> + +<B>oggTranscode </B> + +can resize an ogg file (ogg, oga or ogv) in multiple ways: +It can change the video frame size, change datarate for the video and/or audio streams +contained in the ogg file and it can also change the video frame rate or audio sample rate. +<P> +Additionally, since version 0.8 +<B>oggTranscode </B> + +can add any ogg comment and png-pictures with an alpha channel can be rendered into the +video at any time period before and after the resizing process. +<P> +<B>oggTranscode</B> + +was previously called +<B>oggResize.</B> + +<P> +<A NAME="lbAE"> </A> +<H2>OPTIONS</H2> + +<DL COMPACT> +<DT>-s<DD> +Sets the size of the video frame. The size is given as +<B><width>x<height>.</B> + +At default, the video frame size keeps the same. +<P> +<I>Example: -s 320x240</I> + +<P> +<DT>-d<DD> +Sets the datarate in byte per seconds for the video encoder (theora). This meant +to be a upper threshold. So the file may be smaller than assumed. If not set, +the datarate of the original stream is used. +<P> +<I>Example: -d 1024000</I> + +<P> +<DT>-D<DD> +Sets the datarate in byte per seconds for the audio encoder (vorbis). +If not set, the datarate of the original stream is used. +<P> +<I>Example: -D 64000</I> + +<P> +<DT>-f<DD> +Sets the frame rate of the video with numinator and demoninator and is the +pictures per second. If only one number is given, the denominator is set to +1. If not set, the framerate of the original video is used. +<P> +<I>Example: -f 25:2</I> + +<P> +<DT>-F<DD> +Sets the sample frequency (sample rate) of the audio data in Hertz. If the +sample frequency does not match the one with the original file, resamling is invoked. +<P> +<I>Example: -F 32000</I> + +<P> +<DT>-c<DD> +<P> +Adds comments to the video (theora) stream. Comments are given by a pair +of type and value in the form 'type=value'. More than one comment can be +concatenated with a semicolon. It is recommended to use apostrophes +as the command line may use the semicolon as a seperator. +<P> +<I>Example: -c 'AUTHOR=yorn;DATE=03.07.09'</I> + +<P> +<DT>-C<DD> +Adds comments to the audio (vorbis) stream. Comments are given by a pair +of type and value in the form 'type=value'. More than one comment can be +concatenated with a semicolon. It is recommended to use apostrophes +as the command line may use the semicolon as a seperator. +<P> +<I>Example: -C 'AUTHOR=yorn;DATE=03.07.09'</I> + +<P> +<DT>-q<DD> +Specifies the quality for the resizing process. Values can be chosen between 1 (best +quality, with slight bluring) and 6 (worst quality). The default value is 2. +<P> +<I>Example: -q1</I> + +<P> +<DT>-p<DD> +This option is meant to help creating a preview of a film. The number +given with this option defines the number of frames, that are omitted. E.g. +if a film has 24 frames per second and -p24 is given, the newly created +video shows the video 24 times faster as only every 24th frame is used. +This option can be combined with the option -f to control the framerate. +With both options nice video previews can be created. If -p is used, the +audio stream is ignored. +<P> +<I>Example: -p 24</I> + +<P> +<DT>-a<DD> +Adds a picture to the video frame before it is resized. +The expression for the picture appearances: +<P> +<B><picture1.png>,<startTime>,<endTime>,s</B> + +<P> +default +<B>startTime </B> + +is 0 +<P> +default +<B>endTime</B> + +is -1, which is the end of the stream duration +<P> +default +<B>s </B> + +ist not set. If +<B>s </B> + +is set, the picture slides in smoothly. +<P> +More than one picture can be included. +To concatenate the expressions use the colon. +If the appearance time overlap, the pictures are placed on one another, +so the last picture is the uppest layer. +<P> +<I>Example: -a etwas.png,2,7,s:etwasneues.png,5,10</I> + +<P> +<DT>-A<DD> +Adds a picture to the video frame after it is resized. +<P> +The syntax follows the same expression as with option -a. +<P> +</DL> +<A NAME="lbAF"> </A> +<H2>EXAMPLE</H2> + +<P> +<I>oggTranscode -s320x240 -d512000 orig.ogv new.ogv</I> + +<P> +Converts a the video +<B>orig.ogv </B> + +to the video +<B>new.ogv </B> + +with the new frame size 320x240. If +there was an audio stream within the orig.ogv file, it is copied into the new +file. +<P> +<I>oggTranscode -D64000 -F16000 -N1 orig.ogv new.ogv</I> + +<P> +Converts only the audio stream of file +<B>orig.ogv </B> + +to a sample rate of 16kHz, a datarate of 64 kBit/s and a mono channel. +The video stream is copied as is. +<P> +<I>oggTranscode -s300x200 -D32000 -d1024000 -A etwas.png,2,7,s:etwasneues.png,5,10 orig.ogv new.ogv</I> + +<P> +Converts the audio and video stream and adds the alpha channel picture +<B>etwas.png </B> + +to the video from second 2 to second 7 with a smooth fade in and fade out. +Additionally the alpha channel picture +<B>etwasneues.png</B> + +is placed on top of the video frame from second 5 to second 10 without any +fading. +<P> +<A NAME="lbAG"> </A> +<H2>AUTHOR</H2> + +Joern Seger <yorn at gmx dot net> +<A NAME="lbAH"> </A> +<H2>SEE ALSO</H2> + +<B><A HREF="/cgi-bin/man/man2html?1+oggCut">oggCut</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggCat">oggCat</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggJoin">oggJoin</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSplit">oggSplit</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSlideshow">oggSlideshow</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggThumb">oggThumb</A></B>(1), + +<B><A HREF="/cgi-bin/man/man2html?1+oggSilence">oggSilence</A></B>(1) + + +<HR> +<A NAME="index"> </A><H2>Index</H2> +<DL> +<DT><A HREF="#lbAB">NAME</A><DD> +<DT><A HREF="#lbAC">SYNOPSIS</A><DD> +<DT><A HREF="#lbAD">DESCRIPTION</A><DD> +<DT><A HREF="#lbAE">OPTIONS</A><DD> +<DT><A HREF="#lbAF">EXAMPLE</A><DD> +<DT><A HREF="#lbAG">AUTHOR</A><DD> +<DT><A HREF="#lbAH">SEE ALSO</A><DD> +</DL> +<HR> +This document was created by +<A HREF="/cgi-bin/man/man2html">man2html</A>, +using the manual pages.<BR> +Time: 09:28:30 GMT, January 10, 2010 +</BODY> +</HTML>
View file
oggvideotools-0.9.1.tar.bz2/restyle.sh
Added
@@ -0,0 +1,3 @@ +#!/bin/bash +astyle --style=stroustrup -s2 --recursive *.cpp +astyle --style=stroustrup -s2 --recursive *.h src/*.h
View file
oggvideotools-0.9.1.tar.bz2/scripts/CMakeLists.txt
Added
@@ -0,0 +1,4 @@ +SET ( SCRIPT_SRC mkThumbs ) + +INSTALL ( FILES ${SCRIPT_SRC} DESTINATION sbin ) +
View file
oggvideotools-0.8.tar.bz2/scripts/mkThumbs -> oggvideotools-0.9.1.tar.bz2/scripts/mkThumbs
Changed
@@ -1,14 +1,14 @@ #!/bin/sh # This script creates a series of thumbnails from an Ogg/Theora file # usage: -# ./mkThumbs file.ogm <numberOfThumbs> <optional infos for oggThumb (e.g. resizing)> +# ./mkThumbs file.ogv <numberOfThumbs> <optional infos for oggThumb (e.g. resizing)> # # typical: # ./mkThumbs myfile.ogv 10 -s0x200 # This call creates a thumbnail series of 10 pictures with the a height of 200 pixels # -if $# -ne 3 +if $# -lt 2 then echo "usage $0 <video file> <number of pictures> <size (e.g. -s0x200)>" exit @@ -17,8 +17,10 @@ length=`oggLength $1` timestring="0" div=$(($2*1000)) -for((i=1; i<$2; i++)) do +end=`expr $2 - 1` +for i in `seq 1 $end` +do value=$(echo "scale=3; $i*$length/$div" | bc -q 2>/dev/null) timestring="$timestring,$value" done -oggThumb $3 -t$timestring $1 +oggThumb $3 $4 $5 $6 -t$timestring $1
View file
oggvideotools-0.9.1.tar.bz2/src/CMakeLists.txt
Added
@@ -0,0 +1,28 @@ +INCLUDE_DIRECTORIES ( ${THEORADEC_INCLUDE_DIRS} + ${THEORAENC_INCLUDE_DIRS} + ${VORBIS_INCLUDE_DIRS} + ${VORBISENC_INCLUDE_DIRS} + ${OGG_INCLUDE_DIRS} + ${GD_INCLUDE_DIRS} + ${CMAKE_CURRENT_LIST_DIR} + ${CMAKE_CURRENT_LIST_DIR}/base + ${CMAKE_CURRENT_LIST_DIR}/effect + ${CMAKE_CURRENT_LIST_DIR}/misc + ${CMAKE_CURRENT_LIST_DIR}/ovt_kate + ${CMAKE_CURRENT_LIST_DIR}/ovt_vorbis + ${CMAKE_CURRENT_LIST_DIR}/ovt_theora + ${CMAKE_CURRENT_LIST_DIR}/main + ${CMAKE_CURRENT_LIST_DIR}/libresample +) + +ADD_SUBDIRECTORY ( base ) +ADD_SUBDIRECTORY ( effect ) +ADD_SUBDIRECTORY ( binaries ) +ADD_SUBDIRECTORY ( misc ) +ADD_SUBDIRECTORY ( ovt_kate ) +ADD_SUBDIRECTORY ( ovt_vorbis ) +ADD_SUBDIRECTORY ( ovt_theora ) +ADD_SUBDIRECTORY ( main ) +ADD_SUBDIRECTORY ( libresample ) + +
View file
oggvideotools-0.9.1.tar.bz2/src/base
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/src/base/CMakeLists.txt
Added
@@ -0,0 +1,27 @@ +SET ( LIBRARY_BASE_SRC + oggPage.cpp + oggPacket.cpp + oggComment.cpp + oggDecoder.cpp + oggEncoder.cpp + oggRingbuffer.cpp + oggStreamDecoder.cpp + oggStreamEncoder.cpp + mediaUnit.cpp + mediaRepository.cpp + mediaDecoder.cpp + mediaEncoder.cpp + mediaConverter.cpp + granulePosInterpreter.cpp + mediaOutputDecoder.cpp + mediaInputEncoder.cpp + streamParameter.cpp + streamExtractor.cpp + bufferRepository.cpp + fileRepository.cpp + rawMediaPacket.cpp +) + +ADD_LIBRARY ( ovtbase ${LIBRARY_BASE_SRC} ) + +add_subdirectory(test) \ No newline at end of file
View file
oggvideotools-0.9.1.tar.bz2/src/base/bufferRepository.cpp
Added
@@ -0,0 +1,42 @@ +#include "bufferRepository.h" + +BufferRepository::BufferRepository(const std::string& name) + : MediaRepository(MediaUnit::readwrite, name) +{ +} + +BufferRepository::~BufferRepository() +{ +} + +MediaUnit& BufferRepository::operator<<(RawMediaPacket& packet) +{ + buffer.push_back(packet); + + return(*this); +} + +MediaUnit& BufferRepository::operator>>(RawMediaPacket& packet) +{ + if (!buffer.empty()) { + packet = buffer.front(); + buffer.pop_front(); + } + + return(*this); +} + +bool BufferRepository::isAvailable() +{ + return(!buffer.empty()); +} + +uint32 BufferRepository::getBunchSize() +{ + return(0); +} + +void BufferRepository::setBunchSize(uint32 size) +{ + return; +}
View file
oggvideotools-0.9.1.tar.bz2/src/base/bufferRepository.h
Changed
(renamed from src/bufferRepository.h)
View file
oggvideotools-0.9.1.tar.bz2/src/base/fileRepository.cpp
Added
@@ -0,0 +1,123 @@ +/* + * FileRepository is used to read or write a local file + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> +#include <cstring> +#include <cerrno> +// #include <fstream> .. later + +#include "rawMediaPacket.h" +#include "fileRepository.h" +#include "exception.h" +#include "log.h" + +FileRepository::FileRepository() + : MediaRepository(read, "FileRepository"), fileDescriptor(0), filename(""), bunchSize(4096), + eof(true) +{ + +} + +FileRepository::FileRepository(const std::string& _filename, MediaDirection_t type) + : MediaRepository(type, "FileRepository"), filename(_filename), bunchSize(4096), eof(false) +{ + eof = true; + if (mediaDirection == write) { + if ((fileDescriptor = fopen(filename.c_str(), "wb")) == 0) + logger.error() << name << "::open failed: " << strerror(errno) << "\n"; + else { + repositoryAvailable = true; + eof = false; + } + } else { + if ((fileDescriptor = fopen(filename.c_str(), "rb")) == 0) + logger.error() << name << "::open failed: " << strerror(errno) << "\n"; + else { + repositoryAvailable = true; + eof = false; + } + } +} + +FileRepository::~FileRepository() +{ +} + +void FileRepository::close() +{ + if (fileDescriptor) { + fclose(fileDescriptor); + fileDescriptor = 0; + repositoryAvailable = false; + } +} + +void FileRepository::setBunchSize(uint32 _bunchSize) +{ + bunchSize = _bunchSize; +} + +uint32 FileRepository::getBunchSize() +{ + return(bunchSize); +} + +bool FileRepository::isEndOfFile() +{ + return(eof); +} + +MediaUnit& FileRepository::operator<<(RawMediaPacket& packet) +{ + if ((mediaDirection == write) && (repositoryAvailable == true)) { + if (fwrite(&(packet->getData())0,1,packet->getSize(),fileDescriptor) != packet->getSize()) { + throw OggException(name+"::operator<<: "+strerror(errno)); + } + } + + return(*this); +} + +MediaUnit& FileRepository::operator>>(RawMediaPacket& packet) +{ + uint32 readBytes; + std::vector<uint8_t> buffer(bunchSize); + + if (mediaDirection == read) { + + if ((readBytes = fread(buffer.data(),1,bunchSize,fileDescriptor)) < 0) { + logger.error() << name << "::operator>>: "<< strerror(errno) << "\n"; + return(*this); + } + + if (buffer.size() > readBytes) + buffer.resize(readBytes); + + packet = std::make_shared<RawMediaPacketInternal>(buffer, false); // do not create copy + + if (readBytes < bunchSize) { + repositoryAvailable = false; + eof = true; + } + } + + return (*this); +}
View file
oggvideotools-0.9.1.tar.bz2/src/base/fileRepository.h
Changed
(renamed from src/fileRepository.h)
View file
oggvideotools-0.9.1.tar.bz2/src/base/granulePosInterpreter.cpp
Added
@@ -0,0 +1,20 @@ +#include "granulePosInterpreter.h" + +GranulePosInterpreter::GranulePosInterpreter() + : initialized(false), actualGranulePosition(0) +{ +} + +GranulePosInterpreter::~GranulePosInterpreter() +{ +} + +int64 GranulePosInterpreter::getPosition() +{ + return(actualGranulePosition); +} + +double GranulePosInterpreter::getActTime() +{ + return(getTime(actualGranulePosition)); +}
View file
oggvideotools-0.9.1.tar.bz2/src/base/granulePosInterpreter.h
Added
@@ -0,0 +1,83 @@ +#ifndef GRANULEPOSINTERPRETER_H_ +#define GRANULEPOSINTERPRETER_H_ + +#include "oggPacket.h" +#include "streamParameter.h" + +//! Class to interprete the granule position of a m_oggPacket +/*! Every m_oggPacket carries a granule position within its header information. + * This granule position is a 64 Bit value and is interpreted quite different + * across the available ogg encoders/decoders. + * + * To be able to convert a 64 Bit number into a time position this interpreter + * needs some more information, which are given by the initialize() method. + * + * E.g. an vorbis interpretes the granule position as the audio samples. If + * an audio file has been sample with a rate of 16 kHz, the position 0 is the + * first sample at time 0 ms. The granule Position 1000 would be a time position + * of 62.5 ms. At a sample rate of 32 kHz this would be the time position 31.25 ms. + * So in this case we need to know the sample rate as a basis for the time calculation. + * + * These decoder specific information are given by the corresponding class object + * derived from the abstract StreamParameter. + * + * This class can interpret a given granule position and it is able to caclulate + * new positions by given ones (additions of two positions) +*/ +class GranulePosInterpreter { + +protected: + bool initialized; + + int64 actualGranulePosition; + +public: + GranulePosInterpreter(); + virtual ~GranulePosInterpreter(); + + //! method to initialize the interpreter + /*! The initialization is needed to be able to + * interpret the granule position. E.g. theora splits the + * 64 Bit into a lower and upper part for the last keyframe + * position and a counter for the p-frames. This split + * is depending on the header information in the first page. + */ + virtual void initialize(StreamParameter* parameter) = 0; + + //! method to interpret the time from a granule position + /*! This method interprets the given granule position by the + * information from the first page, with which the interpreter has + * been initialized. The time does not depend on the actual + * internal position counter. + * @param granulePos granuale position, that should be interpreted with the implicite information from the interpreter + * @return the time of the position given by the parameter*/ + virtual double getTime(int64 granulePos) = 0; + + //! Method to interprete the internal position to a time + /*! This method uses the actual internal position information + * to calculate the actual time. For the interpretation the method + * uses the information given by the first page. + * */ + double getActTime(); + + //! method to return the actual granule position + /*! @return returns the actual/calculated granule position + * */ + virtual int64 getPosition(); + + //! Method places the actual stream position into an m_oggPacket. + /*! @param packet OggPacket to replace the granule position field in the header + * */ + virtual void setStreamPosition(OggPacket& packet) = 0; + + //! Method to add a second position to this position + /*! @param position that should be added to the actual (implicite) position of this object */ +// virtual GranulePosInterpreter& operator+=(GranulePosInterpreter& position) = 0; + + //! Method to substract a second position from this position + /*! @param position that should be substracted from the actual (implicite) position of this object */ +// virtual GranulePosInterpreter& operator-=(GranulePosInterpreter& position) = 0; + +}; + +#endif /*GRANULEPOSINTERPRETER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaConverter.cpp
Added
@@ -0,0 +1,109 @@ +/* + * MediaConverter is the base class for all subsequent decoders + * and encoders + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> +#include "mediaConverter.h" +#include "log.h" + +MediaConverter::MediaConverter() + : mediaConverterState(mdec_free) +{ +} + +MediaConverter::~MediaConverter() +{ +} + +void MediaConverter::setInitialized() +{ + if (mediaConverterState == mdec_free) + mediaConverterState = mdec_initialized; + else + logger.error() << "MediaConverter::setInitialized(): double initalization\n"; +} + +void MediaConverter::setConfigured() +{ + if (mediaConverterState < mdec_configured) + mediaConverterState = mdec_configured; + else + logger.error() << "MediaConverter::setConfigured(): decoder is configured\n"; +} + +void MediaConverter::setAvailable() +{ + if ((mediaConverterState >= mdec_configured) && + (mediaConverterState <= mdec_available)) + mediaConverterState = mdec_available; + else + logger.error() << "MediaConverter::setAvailable(): decoder is not configured or has ended\n"; +} + +void MediaConverter::setEmpty() +{ + if ((mediaConverterState == mdec_configured) || + (mediaConverterState == mdec_available) || + (mediaConverterState == mdec_empty)) + mediaConverterState = mdec_empty; + else + logger.error() << "MediaConverter::setEmpty(): decoder not configured correctly\n"; +} + +void MediaConverter::setEndOfStream() +{ + if (mediaConverterState > mdec_initialized) + mediaConverterState = mdec_endofStream; + else + logger.error() << "MediaConverter::setEndOfStream(): decoder not initialized\n"; +} + +void MediaConverter::setFree() +{ + mediaConverterState = mdec_free; +} + +bool MediaConverter::isInitialized() +{ + return(mediaConverterState > mdec_free); +} + +bool MediaConverter::isConfigured() +{ + return(mediaConverterState > mdec_initialized); +} + +bool MediaConverter::isAvailable() +{ + return(mediaConverterState == mdec_available); +} + +bool MediaConverter::isEmpty() +{ + return( (mediaConverterState == mdec_initialized) || + (mediaConverterState == mdec_empty) || + (mediaConverterState == mdec_configured)); +} + +bool MediaConverter::isEndOfStream() +{ + return(mediaConverterState == mdec_endofStream); +}
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaConverter.h
Added
@@ -0,0 +1,79 @@ +/* + * MediaConverter is the base class for all subsequent decoders + * and encoders + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef MEDIACONVERTER_H_ +#define MEDIACONVERTER_H_ + +#include <string> + +//! MediaConverter is a baseclass for all decoders +/*! The MediaConverter class is used with a defined decoder or encoder. It mainly implements a state machine, + which holds the actual decoder/encoder state information: + #- mdec_free: the decoder is uninitialized + #- mdec_initialized: the decoder is initialized, i.e. the stream has a defined stream type or stream ID + #- mdec_configured: the stream is able to give information about the stream, that is processed (stream header is read) + #- mdec_available: the stream is able to provide output data (e.g. a video picture etc.) + #- mdec_empty: there is actually no data available for output + #- mdec_endofStream: the end of a stream has been detected + */ +class MediaConverter { +protected: + enum MediaConverterState { + mdec_free, + mdec_initialized, + mdec_configured, + mdec_empty, + mdec_available, + mdec_endofStream + }; + +private: + MediaConverterState mediaConverterState; + +protected: + + void setInitialized(); + void setConfigured(); + void setAvailable(); + void setEmpty(); + void setFree(); + +public: + MediaConverter(); + virtual ~MediaConverter(); + + void setEndOfStream(); + + bool isInitialized(); + bool isConfigured(); + bool isAvailable(); + bool isEmpty(); + bool isEndOfStream(); + + virtual std::string configuration() const { + return (std::string("")); + } + + virtual void reset() {} +}; + +#endif /*MEDIACONVERTER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaDecoder.cpp
Changed
(renamed from src/mediaDecoder.cpp)
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaDecoder.h
Changed
(renamed from src/mediaDecoder.h)
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaEncoder.cpp
Added
@@ -0,0 +1,21 @@ +#include "mediaEncoder.h" + +MediaEncoder::MediaEncoder() + : useFixBunches(0), bunchsize(false) +{ +} + +MediaEncoder::~MediaEncoder() +{ +} + +void MediaEncoder::setBunchsize(uint32 _bunchsize) +{ + bunchsize = _bunchsize; + useFixBunches = true; +} + +void MediaEncoder::useVariableBunches() +{ + useFixBunches = false; +}
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaEncoder.h
Changed
(renamed from src/mediaEncoder.h)
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaInputEncoder.cpp
Added
@@ -0,0 +1,15 @@ +#include "mediaInputEncoder.h" + +MediaInputEncoder::MediaInputEncoder(const uint8 _streamNo) + : streamNo(_streamNo) +{ +} + +MediaInputEncoder::~MediaInputEncoder() +{ +} + +uint32 MediaInputEncoder::getStreamNo() const +{ + return(streamNo); +} \ No newline at end of file
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaInputEncoder.h
Added
@@ -0,0 +1,26 @@ +#ifndef MEDIAINPUTENCODER_H_ +#define MEDIAINPUTENCODER_H_ + +#include "mediaEncoder.h" + +#include "streamConfig.h" +#include "oggPacket.h" +#include "oggComment.h" + +class MediaInputEncoder : public MediaEncoder { + +protected: + uint8 streamNo; + +public: + MediaInputEncoder(const uint8 streamNo); + virtual ~MediaInputEncoder(); + + virtual MediaInputEncoder& operator>>(OggPacket& packet) = 0; + + virtual void configureEncoder(StreamConfig& config, std::vector<OggComment>& oggComments) = 0; + + uint32 getStreamNo() const; +}; + +#endif /*MEDIAINPUTENCODER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaOutputDecoder.cpp
Added
@@ -0,0 +1,15 @@ +#include "mediaOutputDecoder.h" + +MediaOutputDecoder::MediaOutputDecoder(const uint8 _streamNo) + : streamID(_streamNo) +{ +} + +MediaOutputDecoder::~MediaOutputDecoder() +{ +} + +uint8 MediaOutputDecoder::getStreamNo() const +{ + return(streamID); +}
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaOutputDecoder.h
Added
@@ -0,0 +1,29 @@ +#ifndef MEDIAOUTPUTDECODER_H_ +#define MEDIAOUTPUTDECODER_H_ + +#include "definition.h" + +#include "oggPacket.h" +#include "oggComment.h" +#include "mediaDecoder.h" +#include "streamConfig.h" + +class MediaOutputDecoder : public MediaDecoder { + +protected: + uint8 streamID; + +public: + MediaOutputDecoder(const uint8 _streamID = 0); + virtual ~MediaOutputDecoder(); + + virtual void initDecoder(StreamConfig& config, std::vector<OggComment>& commentList) = 0; + virtual MediaOutputDecoder& operator<<(OggPacket packet) = 0; + + virtual uint32 getPositionOfNextPacket() = 0; + + uint8 getStreamNo() const; + +}; + +#endif /*MEDIAOUTPUTDECODER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaRepository.cpp
Added
@@ -0,0 +1,42 @@ +/* + * MediaRepository is a baseclass for all communication interfaces + * (e.g. files, tcp, rtp and http streams) + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include "mediaRepository.h" + +MediaRepository::MediaRepository() + : MediaUnit(MediaUnit::read, std::string("")), repositoryAvailable(false) +{ +} + +MediaRepository::MediaRepository(MediaDirection_t type, const std::string name) + : MediaUnit(type, name), repositoryAvailable(false) +{ +} + +MediaRepository::~MediaRepository() +{ +} + +bool MediaRepository::isAvailable() +{ + return(repositoryAvailable); +}
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaRepository.h
Added
@@ -0,0 +1,81 @@ +/* + * MediaRepository is a baseclass for all communication interfaces + * (e.g. files, tcp, rtp and http streams) + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef MEDIAREPOSITORY_H_ +#define MEDIAREPOSITORY_H_ + +#include "definition.h" +#include "mediaUnit.h" +#include "rawMediaPacket.h" + +//! Baseclass for all communication interfaces. +/*! This class is used as a basis for subsequent derived classes that are able to + * handle raw data from any source. + * + * Actually the only implementation is the FileRepository class. One of + * the next implementations will be a http m_repository, that creates raw packets + * from an http media source or throughs out an http media stream. + * + * */ +class MediaRepository : public MediaUnit { + +protected: + bool repositoryAvailable; + +public: + MediaRepository(); + + //! Constructor to create a new MediaRepository object + /*! @param type The media direction + * - MediaUnit::read for opening the m_repository for reading + * - MediaUnit::write for opening the m_repository for writing + * @param name The name of the media m_repository, this could be a filename, a url etc. + * + * */ + MediaRepository(MediaDirection_t type,const std::string name); + + virtual ~MediaRepository(); + + //! Find out, if data is available + /*! @return true, if any data is available, false if not */ + virtual bool isAvailable(); + + //! Insert a new raw data packet into the m_repository + virtual MediaUnit& operator<<(RawMediaPacket& packet) = 0; + + //! Receive a new raw data packet from the m_repository + virtual MediaUnit& operator>>(RawMediaPacket& packet) = 0; + + //! Request the actual size of a raw media packet that this m_repository creates + /*! @return Returns the bunch size, that is actually used. + * */ + virtual uint32 getBunchSize() = 0; + + //! Configures the size of the raw media packet size + /*! @param size The size to which all packets should be filled */ + virtual void setBunchSize(uint32 size) = 0; + + virtual void close() = 0; + +}; + +#endif /*MEDIAREPOSITORY_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaUnit.cpp
Added
@@ -0,0 +1,45 @@ +/* + * MediaUnit is a baseclass for all media transfer units + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include "mediaUnit.h" + +#include <iostream> + +MediaUnit::MediaUnit(MediaDirection_t type, const std::string _name) + : name(_name), mediaDirection(type) +{ +} + +MediaUnit::~MediaUnit() +{ +} + +/* +void MediaUnit::setConfig(MediaConfig* _config) +{ + config = _config->clone(); +} + +MediaConfig* MediaUnit::getConfig() +{ + return(config->clone()); +} +*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/mediaUnit.h
Changed
(renamed from src/mediaUnit.h)
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggComment.cpp
Changed
(renamed from src/oggComment.cpp)
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggComment.h
Changed
(renamed from src/oggComment.h)
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggDecoder.cpp
Added
@@ -0,0 +1,156 @@ +/* + * OggDecoder + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> +#include <string.h> +#include <stdlib.h> + +#include "oggDecoder.h" +#include "oggHeader.h" +#include "log.h" +#include "exception.h" + +#define min(a,b) (((a)<(b))?(a):(b)); + +OggDecoder::OggDecoder() + : m_oggRingbuffer(71000) // max page size plus 4KB read size +{ + setConfigured(); +} + +OggDecoder::~OggDecoder() +{ +} + +void OggDecoder::clear() +{ + /* nothing to be done here */ +} + +void OggDecoder::getNextPages() +{ + + while (1) { + uint32 length(0); + + if (length = getNextPageLength()) { + + logger.debug() << "getNextPage: length="<<length<< " available length in ringbuffer=" << m_oggRingbuffer.size() + << std::endl; + + std::vector<uint8_t> data;//(length,0); + data.insert(data.end(), m_oggRingbuffer.begin(), m_oggRingbuffer.begin()+length); + m_oggRingbuffer.erase_begin(length); //m_oggRingbuffer.begin(), m_oggRingbuffer.begin()+length); + uint32 headerLength = sizeof(OggHeader) + ((OggHeader*)data.data())->tableSegments; + uint32 bodyLength = length - headerLength; + + auto page = std::make_shared<OggPageInternal>(data, headerLength, bodyLength); + + m_oggPageList.push(page); + + setAvailable(); + } else + break; + } +} + +OggDecoder& OggDecoder::operator<<(RawMediaPacket& mediaPacket) +{ + logger.debug() << "inserting: ringbuffersize before: " << m_oggRingbuffer.size() << " insert length="<<mediaPacket->getSize() << std::endl; + /* insert the raw data into the ring buffer*/ + m_oggRingbuffer.insert(m_oggRingbuffer.end(), mediaPacket->getData().begin(), mediaPacket->getData().end()); + + logger.debug() << "inserting: ringbuffersize after: " << m_oggRingbuffer.size() << std::endl; + + /* extract ogg pages */ + getNextPages(); + + return(*this); +} + +OggDecoder& OggDecoder::operator>>(OggPage& page) +{ + if (isAvailable()) { + page = m_oggPageList.front(); + m_oggPageList.pop(); + if (m_oggPageList.empty()) + setEmpty(); + } else + logger.error() << "OggDecoder::operator>>: no page available, insert a packet first\n"; + + return(*this); +} + +uint32 OggDecoder::space() +{ + return (uint32_t) (m_oggRingbuffer.capacity()-m_oggRingbuffer.size()); +} + +uint32_t OggDecoder::getNextPageLength() +{ + + uint32_t availLength = (uint32_t) m_oggRingbuffer.size(); + logger.debug() << "get new page length (if one) " << std::endl; + + if (availLength < (int) sizeof(OggHeader)) { + return (0); + } + + // test is this aligned? + char starter5; + uint32_t pos; + for (pos = 0; pos < 5; ++pos) { + starterpos = m_oggRingbufferpos; + logger.debug() << "data " << std::hex << "0x" << (int) starterpos << " (" << std::dec << starterpos << ")\n"; + } + + if (strncmp(starter, "OggS", 4) != 0) { + logger.debug() << "Error: ogg string is " << std::hex << "0x" << (int) starter0 + << " 0x" << (int) starter1 << " 0x" << (int) starter2 + << " 0x" << (int) starter3 << " 0x" << (int) starter4 << std::endl; + throw OggException("OggRingbuffer::getNextPageLength: ERROR ogg packet not aligned"); + } + + if ('\0' != starter4) { + throw OggException("OggRingbuffer::getNextPageLength: ERROR unsupported stream structure version"); + } + + //pos = sizeof(OggHeader) - 1; // jump to the segment table + + uint32_t readsegments = m_oggRingbuffer26; + + logger.debug() << "there are " << readsegments << " segments available in this packet"; + + if (availLength < (int) (sizeof(OggHeader) + readsegments)) { + return (0); + } + + // what is the data length + uint32_t data_length(0); + uint32_t header_offset(sizeof(OggHeader)); + + for (uint32_t i = 0; i < readsegments; ++i) { + data_length += m_oggRingbufferheader_offset + i; + } + + uint32_t overallLength = data_length + header_offset + readsegments; + return (overallLength<=availLength?overallLength:0); +} \ No newline at end of file
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggDecoder.h
Added
@@ -0,0 +1,99 @@ +/* + * OggDecoder + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef OGGDECODER_H_ +#define OGGDECODER_H_ + +#include <list> +#include <vector> + +#include "mediaDecoder.h" +#include "rawMediaPacket.h" +#include "oggPage.h" +#include "oggRingbuffer.h" +#include <queue> +#include <boost/circular_buffer.hpp> + +//! class to decode a raw bytestream into Ogg packets +/*! This class awaits raw packets (in form of a RawMediaPacket). These + * raw packets were inserted into a ringbuffer, from which the Ogg packets + * are extracted. + * + * When a raw packet has been inserted into the ring buffer, the OggDecoder + * tries to extract one or more Ogg packets immediately. Therefor in normal + * operations, the ring buffer can not overflow, if the ring buffer size is + * big enough to hold a full Ogg Packet. + * + * + * Example: + \code +RawMediaPacket rawPacket; +OggPage oggPage; + +FileRepository m_repository("myfile.ogg", MediaUnit::read); +OggDecoder oggDecoder; + +m_repository >> rawPacket; +oggDecoder << rawPacket; + +if (oggDecoder.isAvailable()) + oggDecoder >> oggPage; +\endcode + * */ +class OggDecoder : public MediaDecoder { + +protected: + boost::circular_buffer<uint8_t> m_oggRingbuffer; + std::queue<OggPage> m_oggPageList; + + void getNextPages(); + +public: + OggDecoder(); + virtual ~OggDecoder(); + + //! Stream input method + /*! This method inserts a RawMediaPacket, which is just a bunch of + * raw bytes, into the decoder. When a new packet arrives, the + * decoder tries to extract the oggPages, which are fully available. + * The oggPages will then be buffered within a m_oggPageList. + * The uninterpreted data is stored until the next rawdata is received. + * @param mediaPacket This is the raw media packet, created by a m_repository. + * @return A reference to the actual OggDecoder object. + * */ + virtual OggDecoder& operator<<(RawMediaPacket& mediaPacket); + + //! Stream output method + /*! This method returns the next oggPage within the list of OggPages. + * If there is no page availabe, this method leaves the OggPage object untoched. + * @param oggPage the oggPage to be filled. + * @return A reference to the actual OggDecoder object. + * */ + virtual OggDecoder& operator>>(OggPage& page); + + uint32_t getNextPageLength(); + + virtual void clear(); + + uint32 space(); +}; + +#endif /*OGGDECODER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggDecoderFactory.cpp
Added
@@ -0,0 +1,29 @@ +#include "oggDecoderFactory.h" + +OggDecoderFactory::OggDecoderFactory() +{ +} + +OggDecoderFactory::~OggDecoderFactory() +{ +} + + +OggStreamDecoder* OggDecoderFactory::getOggStreamDecoder(OggPage& page) +{ + if (oggPage.bos()) { + switch (getStreamType(OggPage)) { + case ogg_theora: + return() + } + } else + return(0); +} + + + +OggStreamDecoder* OggDecoderFactory::getOggStreamDecoder(OggPacket& packet) +{ + +} +
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggDecoderFactory.h
Changed
(renamed from src/oggDecoderFactory.h)
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggEncoder.cpp
Added
@@ -0,0 +1,133 @@ +/* + * OggEncoder + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> +#include <cstring> + +#include "oggEncoder.h" +#include "log.h" + +PageBufferElement::PageBufferElement() + : time(-1), empty(true), interpreter(0) +{ +} + +PageBufferElement::~PageBufferElement() +{ +} + +OggEncoder::OggEncoder() + : withBuffer(false) +{ + setConfigured(); +} + +OggEncoder::~OggEncoder() +{ +} + +/* +void OggEncoder::createJitterBuffer(uint8 numOfStreams) +{ + if (numOfStreams) { + oggBuffer.resize(numOfStreams); + withBuffer = true; + } +} +*/ + +void OggEncoder::flush() +{ + +} + +void OggEncoder::serializePage(OggPage& page) +{ + + rawPacketList.push_back(std::make_shared<RawMediaPacketInternal>(page->data(), true)); + + setAvailable(); +} + +void OggEncoder::insertNextPage(OggPage& page) +{ + +} + + +OggEncoder& OggEncoder::operator<<(OggPage page) +{ + if (!withBuffer) { + serializePage(page); + return(*this); + } + /* + uint8 m_streamNo(page->getStreamNo()); + double time(oggBufferm_streamNo.interpreter->getTime(page->granulepos())); + + double nextTime(-2); + uint8 nextStreamNo(0); + + while(!oggBufferm_streamNo.m_empty) { + + // find the next packet to send out + for(uint32 i(0); i<oggBuffer.size(); ++i) { + if (oggBufferi.m_empty) + continue; + if ((nextTime < -1) || (nextTime > oggBufferi.time)) { + nextTime = oggBufferi.time; + nextStreamNo = i; + } + } + + // write page to the output buffer + serializePage(oggBuffernextStreamNo.page); + + // ... and mark the buffer as m_empty + oggBuffernextStreamNo.m_empty = true; + + } + + // insert the page into the buffer + oggBufferm_streamNo.page = page; + oggBufferm_streamNo.time = time; + oggBufferm_streamNo.m_empty = false; + */ + return(*this); +} + +OggEncoder& OggEncoder::operator>>(RawMediaPacket& packet) +{ + if (isEmpty()) { + logger.error() << "OggEncoder::operator>>: no packet available\n"; + return(*this); + } + + packet = rawPacketList.front(); + rawPacketList.pop_front(); + + if (rawPacketList.empty()) + setEmpty(); + + return(*this); +} + +
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggEncoder.h
Changed
(renamed from src/oggEncoder.h)
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggHeader.h
Added
@@ -0,0 +1,57 @@ +/* + * information about the ogg header + * + * Copyright (C) 2005-2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef oggHeader_h +#define oggHeader_h + +#include "definition.h" + +struct OggHeader { + + char ogg4; + char version; + +#ifdef LITTLE_ENDIAN + char pack_type:1; + char page_type:1; + char last:1; + char reserved:5; +#else + char reserved:5; + char last:1; + char page_type:1; + char pack_type:1; +#endif + int64 position; + uint32 serial; + uint32 pageNo; + uint32 checksum; + uint8 tableSegments; + +} __attribute__ ((packed)); + +struct StreamType { + unsigned char headerType; + char typeName6; +} __attribute__ ((packed)); + + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggPacket.cpp
Added
@@ -0,0 +1,335 @@ +/* + * OggPacket will carry all relevant information of an ogg packet + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> +#include <sstream> +#include <cstring> +#include <ogg/ogg.h> + +#include "oggPacket.h" + +OggPacketInternal::OggPacketInternal() + : m_streamType(OggType::unknown), m_streamNo(255), m_streamHeader(false) +{ + // create a packet without any extra data + memset(&m_oggPacket,0, sizeof(m_oggPacket)); + m_oggPacket.granulepos = -1; + +} + +OggPacketInternal::OggPacketInternal(const ogg_packet& pkt) + : m_streamType(OggType::unknown), m_streamNo(255), m_streamHeader(false) +{ + + m_oggPacket = pkt; + + // it is unclear, who is the owner of the data!? + uint8_t* tmp = new uint8_t pkt.bytes; + memcpy(tmp, pkt.packet, pkt.bytes); + m_oggPacket.packet = tmp; + +} + +OggPacketInternal::OggPacketInternal(uint8 *data, uint32 length, + uint32 packetNo, int64 granulePos, PacketType packetType) + : m_streamType(OggType::unknown), m_streamNo(255), m_streamHeader(false) +{ + uint8_t* tmp_data(0); + + tmp_data = new uint8_tlength; + memcpy(tmp_data, data, length); + + m_oggPacket.packet = tmp_data; + m_oggPacket.bytes = length; + m_oggPacket.b_o_s = 0; + m_oggPacket.e_o_s = 0; + m_oggPacket.granulepos = granulePos; + m_oggPacket.packetno = packetNo; + + switch (packetType) { + case PacketType::bos: + m_oggPacket.b_o_s = 256; + break; + case PacketType::eos: + m_oggPacket.e_o_s = 256; + break; + default: { + } + } + +} + +OggPacketInternal::OggPacketInternal(std::vector<uint8> data, uint32 packetNo, int64 granulePos, PacketType packetType) + : m_streamType(OggType::unknown), m_streamNo(255), m_streamHeader(false) +{ + uint8_t* tmp_data(0); + + if (data.size() > 0) { + tmp_data = new uint8_tdata.size(); + memcpy(tmp_data, &data0, data.size()); + } + + m_oggPacket.packet = tmp_data; + m_oggPacket.bytes = data.size(); + m_oggPacket.b_o_s = 0; + m_oggPacket.e_o_s = 0; + m_oggPacket.granulepos = granulePos; + m_oggPacket.packetno = packetNo; + + switch (packetType) { + case PacketType::bos: + m_oggPacket.b_o_s = 256; + break; + case PacketType::eos: + m_oggPacket.e_o_s = 256; + break; + default: { + } + } + +} + + + +OggPacket OggPacketInternal::clone() +{ + OggPacket pkt = std::make_shared<OggPacketInternal>(m_oggPacket); + + /* a bit nasty, as ogg_packet is c */ +// uint8* data = new uint8m_oggPacket.bytes; +// memcpy(data, m_oggPacket.packet, m_oggPacket.bytes); +// +// PacketType packetType(PacketType::normal); +// +// if (m_oggPacket.b_o_s) +// packetType = PacketType::bos; +// +// if (m_oggPacket.e_o_s) +// packetType = PacketType::eos; +// +// OggPacket pkt = std::make_shared<OggPacketInternal>(data, m_oggPacket.bytes, m_oggPacket.packetno, m_oggPacket.granulepos, packetType); +// +// pkt->m_streamNo = m_streamNo; +// pkt->m_streamType = m_streamType; +// pkt->m_streamHeader = m_streamHeader; + + return pkt; +} + +void OggPacketInternal::liboggDelivery() +{ + uint8_t* tmp(new uint8_t m_oggPacket.bytes); + memcpy(tmp, m_oggPacket.packet, m_oggPacket.bytes); + m_oggPacket.packet = tmp; + + // libtheora/libvorbis or whatever - do whatever is neccessary with your memory + // I have my copy to use it wherever I like ;-) + +} + +OggPacket OggPacketInternal::getPtr() +{ + return shared_from_this(); +} + +OggPacket OggPacketInternal::create(uint8 *data, uint32 length, uint32 packetNo, int64 granulePos, OggPacketInternal::PacketType packetType) +{ + return std::make_shared<OggPacketInternal>(data, length, packetNo, granulePos, packetType); +} + + +OggPacketInternal::~OggPacketInternal() +{ + if (!m_streamHeader) + delete m_oggPacket.packet; +} + + +int64 OggPacketInternal::granulepos() +{ + return m_oggPacket.granulepos; +} + +void OggPacketInternal::setGranulepos(int64 pos) +{ + m_oggPacket.granulepos = pos; +} + +void OggPacketInternal::setStreamHeader() +{ + m_streamHeader = true; +} + +bool OggPacketInternal::isStreamHeader() +{ + return m_streamHeader; +} + +uint32 OggPacketInternal::getPacketNo() +{ + return m_oggPacket.packetno; +} + +uint32 OggPacketInternal::length() +{ + return (uint32) m_oggPacket.bytes; +} + +bool OggPacketInternal::isBOS() +{ + return m_oggPacket.b_o_s != 0; +} + +bool OggPacketInternal::isEOS() +{ + return m_oggPacket.e_o_s != 0; +} + +void OggPacketInternal::setBOS() +{ + m_oggPacket.b_o_s = 1; +} + +void OggPacketInternal::setEOS() +{ + m_oggPacket.e_o_s = 1; +} + +void OggPacketInternal::unsetBOS() +{ + m_oggPacket.b_o_s = 0; +} + +void OggPacketInternal::unsetEOS() +{ + m_oggPacket.e_o_s = 0; +} + +/* +ogg_packet OggPacketInternal::toLibogg() +{ + return(*objPtr); +} +*/ +uint8 OggPacketInternal::getStreamNo() +{ + return m_streamNo; +} + +OggType OggPacketInternal::getStreamType() +{ + return m_streamType; +} + +void OggPacketInternal::setStreamNo(uint8 no) +{ + m_streamNo = no; +} + +void OggPacketInternal::setStreamType(OggType type) +{ + m_streamType = type; +} + +uint8* OggPacketInternal::data() +{ + return m_oggPacket.packet; +} + +/* toString levels: + * 1) only data length information + * 2) header information + * 3) additional header information + * 4) header dump + * 5) body dump + */ +std::string OggPacketInternal::toString(uint8 level) +{ + std::stringstream retStream; + + retStream << "\nOgg Packet: packet length = " << m_oggPacket.bytes << std::endl; + + if (level < 1) + return(retStream.str()); + + retStream << "\nHeader Information:" + << "\n\tBegin of Stream : "; + + if (m_oggPacket.b_o_s) + retStream << "true"; + else + retStream << "false"; + + retStream << "\n\tEnd of Stream : "; + + if (m_oggPacket.e_o_s) + retStream << "true"; + else + retStream << "false"; + + retStream << "\n\tGranule Position : " << m_oggPacket.granulepos; + retStream << "\n\tPacket Number : " << m_oggPacket.packetno; + + retStream << std::endl; + + if (level < 3) + return(retStream.str()); + + retStream << "\n\tStream Number : " << (int)m_streamNo; + retStream << "\n\tStream Type : "; + + switch (m_streamType) { + case OggType::vorbis: + retStream << "Vorbis"; + break; + case OggType::theora: + retStream << "Theora"; + break; + case OggType::kate: + retStream << "Kate"; + break; + case OggType::unknown: + default: + retStream << "unknown"; + break; + } + retStream << std::endl; + + if (level < 4) + return(retStream.str()); + + retStream << "\nPacket Hex dump:" << std::hex; + + for (int32 c(0); c<m_oggPacket.bytes; ++c) { + if ((c%32) == 0) + retStream << std::endl; + if (((unsigned) (m_oggPacket.packetc)) < 16) + retStream << " 0"; + else + retStream << " "; + + retStream << (unsigned) (m_oggPacket.packetc); + } + + retStream << std::dec << std::endl; + + return(retStream.str()); +}
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggPacket.h
Added
@@ -0,0 +1,116 @@ +/* + * OggPacket will carry all relevant information of an ogg packet + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef OGGPACKET_H_ +#define OGGPACKET_H_ + +#include <string> +#include <memory> +#include <vector> + +#ifdef HAVE_LIBOGG +#include <ogg/ogg.h> +#endif + +#include "definition.h" +//#include "refObject.h" +#include "oggTypes.h" + +class OggPacketInternal; + +typedef std::shared_ptr<OggPacketInternal> OggPacket; + +class OggPacketInternal : public std::enable_shared_from_this<OggPacketInternal> { + +public: + + enum class PacketType { + normal, + bos, + eos + }; + +protected: + ogg_packet m_oggPacket; + + /* information about the stream type and the stream No */ + OggType m_streamType; + uint8 m_streamNo; + bool m_streamHeader; + +public: + OggPacketInternal(); + OggPacketInternal(const ogg_packet& ogg_p); + OggPacketInternal(uint8* data, uint32 length, uint32 packetNo, + int64 granulePos=-1, PacketType packetType = PacketType::normal); + OggPacketInternal(std::vector<uint8> data, uint32 packetNo, int64 granulePos, PacketType packetType); + + virtual ~OggPacketInternal(); + + OggPacket clone(); + OggPacket getPtr(); + static OggPacket create(uint8* data, uint32 length, uint32 packetNo, + int64 granulePos=-1, PacketType packetType = PacketType::normal); + + int64 granulepos(); + + void setGranulepos(int64 pos); + + uint32 getPacketNo(); + uint8 getStreamNo(); + OggType getStreamType(); + ogg_packet* getUnderlayingOggPacketPtr() { + return &m_oggPacket; + } +// void cleanPacketPtr() { m_oggPacket.packet = 0; /* no delete */ } + + void setStreamType(OggType type); + void setStreamNo(uint8 streamNo); + void setStreamHeader(); + + bool isBOS(); + bool isEOS(); + bool isStreamHeader(); + + void setBOS(); + void unsetBOS(); + void setEOS(); + void unsetEOS(); + + void setPacketno(int64_t no) { + m_oggPacket.packetno = no; + } + + void liboggDelivery(); + + uint32 length(); + uint8* data(); + + /* + ogg_packet toLibogg(); + void fromLibogg(ogg_packet packet); + */ + + std::string toString(uint8 level); + +}; + +#endif /*OGGPACKET_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggPage.cpp
Added
@@ -0,0 +1,278 @@ +/* + * OggPage will carry all relevant information of an ogg page + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <sstream> +#include <cstring> + +#include "oggPage.h" +#include "oggHeader.h" +#include "crc.h" + +/* OggPageInternal */ + +OggPageInternal::OggPageInternal() + : m_dataPtr(0), m_headerLength(0), m_bodyLength(0), m_streamNo(255), m_empty(true) +{ +} + +OggPageInternal::OggPageInternal(std::vector<uint8_t>& _dataPtr, uint32 _headerLength, uint32 _bodyLength) + : m_headerLength(_headerLength), m_bodyLength(_bodyLength), m_streamNo(255), m_empty(false) +{ + m_dataPtr = _dataPtr; +} + +OggPageInternal::~OggPageInternal() +{ + +} + +bool OggPageInternal::isContinued() +{ + return(((OggHeader*)(&m_dataPtr0))->pack_type); +} + +void OggPageInternal::setContinued() +{ + ((OggHeader*)(&m_dataPtr0))->pack_type = 1; +} + +bool OggPageInternal::isBOS() +{ + return(((OggHeader*)(&m_dataPtr0))->page_type); +} + +bool OggPageInternal::isEOS() +{ + return(((OggHeader*)(&m_dataPtr0))->last); +} + +void OggPageInternal::setBOS() +{ + ((OggHeader*)(&m_dataPtr0))->page_type = 1; +} + +void OggPageInternal::unsetBOS() +{ + ((OggHeader*)(&m_dataPtr0))->page_type = 0; +} + +void OggPageInternal::setEOS() +{ + ((OggHeader*)(&m_dataPtr0))->last = 1; +} + +void OggPageInternal::unsetEOS() +{ + ((OggHeader*)(&m_dataPtr0))->last = 0; +} + +void OggPageInternal::setStreamNo(uint8 streamNo) +{ + m_streamNo = streamNo; +} + +uint8 OggPageInternal::getStreamNo() +{ + return(m_streamNo); +} + +uint32 OggPageInternal::version() +{ + return(((OggHeader*)(&m_dataPtr0))->version); +} + +uint32 OggPageInternal::packets() +{ + uint32 segments(((OggHeader*)(&m_dataPtr0))->tableSegments); + uint32 packets(0); + uint8* oggPtr=&m_dataPtr0+sizeof(OggHeader); + + for (uint32 i(0); i<segments; ++i) + if (oggPtri<0xff)packets++; + + return(packets); + +} + +int64 OggPageInternal::granulepos() +{ + return(((OggHeader*)(&m_dataPtr0))->position); +} + +uint32 OggPageInternal::serialno() +{ + return(((OggHeader*)(&m_dataPtr0))->serial); +} + +uint32 OggPageInternal::pageno() +{ + return(((OggHeader*)(&m_dataPtr0))->pageNo); +} + +uint32 OggPageInternal::length() +{ + return(m_headerLength + m_bodyLength); +} + +std::vector<uint8_t>& OggPageInternal::data() +{ + return(m_dataPtr); +} + +bool OggPageInternal::isEmpty() +{ + return(m_empty); +} + +void OggPageInternal::createCRC() +{ + OggHeader* hdr = (OggHeader*)(&m_dataPtr0); + hdr->checksum = 0; + hdr->checksum = Crc::create(&m_dataPtr0, length()); +} + +OggPage OggPageInternal::clone() +{ + OggPage page; + + if (!m_dataPtr.empty()) { + + page = std::make_shared<OggPageInternal>(m_dataPtr, m_headerLength, m_bodyLength); + + } + + return page; +} + +OggPage OggPageInternal::create(std::vector<uint8_t>& data, uint32_t headerLength, uint32_t bodyLength) +{ + OggPage page; + + if (length() > 0) { + page = std::make_shared<OggPageInternal>(data, headerLength, bodyLength); + } + + return page; +} + +OggPage OggPageInternal::getPtr() +{ + return shared_from_this(); +} + +/* toString levels: + * 0) only data length information + * 1) header information + * 2) additional header information + * 3) header dump + * 4) body dump + */ +std::string OggPageInternal::toString(uint8 level) +{ + std::stringstream retStream; + + retStream << "Ogg Page: header length = " << std::dec << m_headerLength + << " and body length = " << std::dec << m_bodyLength + << std::endl; + + if (level < 1) + return(retStream.str()); + + OggHeader* header = (OggHeader*)(&m_dataPtr0); + retStream << "Header Information:" + << "\n\tOgg Version : " << (uint32)header->version + << "\n\tSerial No : 0x" << std::hex << header->serial << std::dec + << "\n\tPacket Type : "; + + if (header->pack_type) + retStream << "continued packet"; + else + retStream << "fresh packet"; + + retStream << "\n\tPage Type : "; + + if (header->page_type) + retStream << "begin of stream marker"; + else + retStream << "normal page"; + + retStream << "\n\tLast Page : "; + + if (header->last) + retStream << "end of stream marker"; + else + retStream << "normal page"; + + retStream << "\n\tGranule Position : " << header->position << "(0x" << std::hex << header->position << std::dec << ")"; + retStream << "\n\tPage Number : " << header->pageNo; + retStream << "\n\tChecksum : 0x" << std::hex << header->checksum << std::dec; + retStream << "\n\tTable Segments : " << (uint32) header->tableSegments; + retStream << std::endl << std::endl; + + if (level < 2) + return(retStream.str()); + + retStream << "Segments:"; + + for (uint32 c(0); c<header->tableSegments; ++c) { + if ((c%16) == 0) + retStream << std::endl; + retStream << " "<< std::hex; + if (((unsigned int) (m_dataPtrc+sizeof(OggHeader))) < 16) + retStream << "0"; + retStream << (unsigned int) (m_dataPtrc+sizeof(OggHeader)); + } + + retStream << std::endl << std::endl; + + if (level < 3) + return(retStream.str()); + + retStream << "Header Hex dump: "; + for (uint32 c(0); c<m_headerLength; ++c) { + if ((c%16) == 0) + retStream << std::endl; + retStream << " " << std::hex; + if (((unsigned int) (m_dataPtrc)) < 16) + retStream << "0"; + retStream << (unsigned int) (m_dataPtrc); + } + retStream << std::dec << std::endl << std::endl; + + if (level < 4) + return(retStream.str()); + + retStream << "Body Hex dump: "; + + for (uint32 c(0); c<m_bodyLength; ++c) { + if ((c%32) == 0) + retStream << std::endl; + retStream << " " << std::hex; + if (((unsigned int) (m_dataPtrc+m_headerLength)) < 16) + retStream << "0"; + retStream << (unsigned int) (m_dataPtrc+m_headerLength); + } + + retStream << std::dec << std::endl; + + return(retStream.str()); +} +
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggPage.h
Added
@@ -0,0 +1,105 @@ +/* + * OggPage will carry all relevant information of an ogg page + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef OGGPAGE_H_ +#define OGGPAGE_H_ + +#include <string> +#include <memory> +#include <vector> +#include <cstdint> +#include "definition.h" + +/// class to store one ogg page +/** this class is easy to handle, as it only carries the + * data area that starts with "OggS". + **/ +class OggPageInternal; +typedef std::shared_ptr<OggPageInternal> OggPage; + +class OggPageInternal : public std::enable_shared_from_this<OggPageInternal> { + +protected: + //! pointer to the packet data + std::vector<uint8_t> m_dataPtr; + + uint32 m_headerLength; + uint32 m_bodyLength; + uint8 m_streamNo; + bool m_empty; + +public: + + OggPageInternal(); + OggPageInternal(std::vector<uint8_t>& data, uint32 headerLength, uint32 bodyLength); + ~OggPageInternal(); + + + //! Is this page continued ? + bool isContinued(); + + //! Is this page a "Begin of Stream" page ? + bool isBOS(); + + //! Is this page an "End of Stream" page ? + /*! Every stream within a file (e.g. audio stream and video stream) + has it's own eos flag */ + bool isEOS(); + + bool isEmpty(); + + void setContinued(); + + void setEOS(); + void unsetEOS(); + + void setBOS(); + void unsetBOS(); + + /* what ogg version is this stream */ + uint32 version(); + uint32 packets(); + int64 granulepos(); + uint32 serialno(); + uint32 pageno(); + + void createCRC(); + + uint8 getStreamNo(); + void setStreamNo(uint8 streamNo); + + uint32 length(); + std::vector<uint8_t>& data(); + uint32 getHeaderLength() { + return m_headerLength; + } + + OggPage clone(); + OggPage create(std::vector<uint8_t>& data, uint32_t headerLength, uint32_t bodyLength); + OggPage getPtr(); + + std::string toString(uint8 level); + +}; + + + +#endif /*OGGPAGE_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggRingbuffer.cpp
Added
@@ -0,0 +1,189 @@ +/* + * Ringbuffer to prebuffer an ogg file + * + * Copyright (C) 2005-2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +/* History: + 01 2008: initial version is taken from the streamnik server project (JS) +*/ + +#include <iostream> +#include <string.h> + +#include <stdlib.h> + +#include "oggRingbuffer.h" +#include "oggHeader.h" +#include "exception.h" +#include "oggPage.h" +#include "log.h" + +OggRingbuffer::OggRingbuffer(uint32_t buffersize) + :ringbuffer(buffersize) +{ +} + +//OggRingbuffer::OggRingbuffer(uint8_t* data, uint32_t len) +// :ringbuffer(data, len) +//{ +//} + + +OggRingbuffer::~OggRingbuffer() +{ +} + +bool OggRingbuffer::getNextPageLength(uint32_t& length, int pageNum) +{ + lock(); + + int tmpend = end; + int tmpused = used; + length = 0; + + for (; pageNum; pageNum--) { + + logger.debug() << "get new page no " << pageNum << " available data is "<< tmpused << std::endl; + uint32_t tmplen = 0; + + if (tmpused < (int) sizeof(OggHeader)) { + unlock(); + return(false); + } + + // test is this aligned? + char starter5; + for (uint32_t i=0; i<5; ++i) { + starteri = fifo(tmpend+i)%size; + logger.debug() << "data " << std::hex << "0x" << (int)starteri << " ("<<std::dec <<starteri<<")\n"; + } + tmpend+=5; + tmpend%=size; + + if (strncmp(starter, "OggS", 4) != 0) { + unlock(); + logger.debug() << "Error: ogg string is " << std::hex << "0x" << (int)starter0 + << " 0x" << (int)starter1 << " 0x" << (int)starter2 + << " 0x" << (int)starter3 << " 0x" << (int)starter4 << std::endl; + dump(); + throw OggException("OggRingbuffer::getNextPageLength: ERROR ogg packet not aligned"); + } + + if ('\0' != starter4) { + unlock(); + throw OggException("OggRingbuffer::getNextPageLength: ERROR unsupported stream structure version"); + } + + tmpend += sizeof(OggHeader)-6; // jump to the segment table + tmpend %= size; + + uint32_t readsegments = fifotmpend; + + tmpend += 1; + tmpend %= size; + + tmplen += sizeof(OggHeader) + readsegments; + + if (tmpused < (int)(sizeof(OggHeader)+readsegments)) { + unlock(); + return(false); + } + + for (uint32_t i=0; i<readsegments; ++i) { + tmplen += fifotmpend; + tmpend += 1; + tmpend %= size; + } + + if (tmpused < (int)tmplen) { + unlock(); + return(false); + } + + length += tmplen; + tmpused -= tmplen; + tmpend = end + length; + tmpend %= size; + + } + unlock(); + return(true); + +} + +//bool OggRingbuffer::getNextPages(uint8_t*& data, uint32_t& length, uint32_t size) +//{ +// if (!used) +// return(false); + +// if (!getNextPageLength(length,size)) +// return(false); + +// if (!data) +// data = new uint8_tlength; + +// if (length != getData(data, length)) +// return(false); + + +// return(true); +//} + +bool OggRingbuffer::getNextPages(std::vector<uint8_t>& data, uint32_t& length, uint32_t size) +{ + if (!used) + return(false); + + if (!getNextPageLength(length,size)) + return(false); + + if (length != getData(data, length)) + return(false); + + + return(true); +} + + + +//bool OggRingbuffer::getNextPage(uint8_t*& data, uint32_t& length) +//{ +// return(getNextPages(data, length, 1)); +//} + +bool OggRingbuffer::getNextPage(std::vector<uint8_t>& data, uint32_t& length) +{ + return(getNextPages(data, length, 1)); +} + +void OggRingbuffer::dump() +{ + + for (uint32 c(0); c<used; ++c) { + if ((c%16) == 0) + std::cerr << std::endl; + std::cerr << " " << std::hex; + if (fifo(c+end)%size < 16) + std::cerr << "0"; + std::cerr << (uint32_t)fifo(c+end)%size; + } + + std::cerr << std::dec << std::endl; +} +
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggRingbuffer.h
Added
@@ -0,0 +1,50 @@ +/* + * Ringbuffer to prebuffer an ogg file + * + * Copyright (C) 2005-2009 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +/* History: + 01 2008: initial version is taken from the streamnik server project (JS) +*/ +#ifndef oggRingbuffer_h +#define oggRingbuffer_h + +#include "ringbuffer.h" +#include "oggHeader.h" + +class OggRingbuffer : public ringbuffer { + +protected: + void dump(); + +public: + OggRingbuffer(uint32_t buffersize = 64000); + OggRingbuffer(uint8_t* data, uint32_t len); + ~OggRingbuffer(); + + bool getNextPageLength(uint32_t& length, int pageNum=1); + bool getNextPage(uint8_t*& data, uint32_t& length); + bool getNextPages(uint8_t*& data, uint32_t& length, uint32_t pageNum); + + bool getNextPages(std::vector<uint8_t> &data, uint32_t &length, uint32_t size); + bool getNextPage(std::vector<uint8_t> &data, uint32_t &length); +}; + + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggStreamDecoder.cpp
Added
@@ -0,0 +1,222 @@ +/* + * oggStreamDecoder is a class to extract an ogg packet from an + * ogg page stream + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> +#include <vector> +#include <cstring> + +#include "definition.h" +#include "oggHeader.h" +#include "oggStreamDecoder.h" +#include "exception.h" +#include "log.h" + +OggStreamDecoder::SegmentElement::SegmentElement(uint8* _data, uint32 length) : + data(_data), length(length) +{ +} + +OggStreamDecoder::OggStreamDecoder() +{ +} + +OggStreamDecoder::~OggStreamDecoder() +{ + clear(); +} + +void OggStreamDecoder::init(OggPage page) +{ + + /* if this is not a Begin Of Stream page, do nothing */ + if (!page->isBOS()) { + logger.error() << "OggStreamDecoder: ogg page is not a begin of stream\n"; + return; + } + + m_packetCount = 0; + + /* extract and remember the serial number of this stream */ + m_serialNo = page->serialno(); + setConfigured(); + +} + +void OggStreamDecoder::clear() +{ + delete m_tmpSegment.data; + m_tmpSegment.data = 0; + m_tmpSegment.length = 0; +} + +uint32 OggStreamDecoder::getSerialNo() +{ + return(m_serialNo); +} + +OggStreamDecoder& OggStreamDecoder::operator<<(OggPage& page) +{ + /* if this stream is not initialized, try to initialize it */ + if (!isInitialized()) + init(page); + + /* decode the packets */ + if (!isConfigured()) { + throw OggException("OggStreamDecoder::operator<<: This stream is not is not configured yet"); + } + + if (page->serialno() != m_serialNo) { + throw OggException("OggStreamDecoder::operator<<: page does not belong to this stream"); + } + + /* extract the header */ + uint8* data(&(page->data())0); + OggHeader* header = (OggHeader*)(data); + data += sizeof(OggHeader); + + /* extract the relevant data from the header */ + unsigned char tableSegments(header->tableSegments); + + // extract the segment table + uint8* segment = (uint8*) data; + data += tableSegments; + + /* will the last packet be continued on in the next page? */ + bool willBeContinued; + + if (segmentheader->tableSegments-1 != 255) + willBeContinued = false; + else + willBeContinued = true; + + std::vector<SegmentElement> segmentDataList; + + // extract pointers to the packets in this page + SegmentElement segData(data,0); + + for (unsigned int i=0; i<tableSegments; ++i) { + data += segmenti; + segData.length += segmenti; + if (segmenti != 255) { + segmentDataList.push_back(segData); + segData = SegmentElement(data,0); + } + } + + // store the last packet if it does not end in this page + if (willBeContinued) + segmentDataList.push_back(segData); + + /* it would be good to know where the granule position belongs to */ + uint32 infoPosition(256); + /* does the last packet do not end here */ + if (!willBeContinued) + infoPosition = segmentDataList.size()-1; + else if (segmentDataList.size() > 1) + infoPosition = segmentDataList.size()-2; + + // now extract the ogg packets itself + // every segment in the list is one packet (maybe there is a + // remaining part in tmpSegment from the page before and + // there might be a segment, that is not finished on this page) + + for (unsigned int i(0); i<segmentDataList.size(); ++i) { + + uint32 overallLength = m_tmpSegment.length+segmentDataListi.length; + unsigned char* newPacketPtr = new unsigned charoverallLength; + + if (m_tmpSegment.length) + memcpy(newPacketPtr, m_tmpSegment.data, m_tmpSegment.length); + + memcpy(newPacketPtr+m_tmpSegment.length, segmentDataListi.data, segmentDataListi.length); + + // delete the temporary Segment + if (m_tmpSegment.data) { + delete m_tmpSegment.data; + m_tmpSegment = SegmentElement(); + } + if ((i == (segmentDataList.size()-1)) && willBeContinued) { + //store last segment as it is does not end here + m_tmpSegment = SegmentElement(newPacketPtr, overallLength); + } else { + // we found a full packet + OggPacketInternal::PacketType packetType(OggPacketInternal::PacketType::normal); + int64 granulePosition(-1); + + if ((i == 0) && (page->isBOS())) + packetType = OggPacketInternal::PacketType::bos; + + if ((i == segmentDataList.size()-1) && (page->isEOS())) + packetType = OggPacketInternal::PacketType::eos; + + if (i == infoPosition) + granulePosition = header->position; + + /* create the packet */ + OggPacket packet(new OggPacketInternal(newPacketPtr, overallLength, m_packetCount++, granulePosition, packetType)); + delete newPacketPtr; + + m_oggPacketList.push_back(packet); + } + } + + if (!m_oggPacketList.empty()) + setAvailable(); + + return(*this); +} + +OggPacket OggStreamDecoder::inspectNextPacket() +{ + OggPacket packet; + + if (!isAvailable()) { + throw OggException("OggStreamDecoder::inspectNextPacket: no packet available"); + } + + // we will not harm the list in any kind + packet = m_oggPacketList.front(); + + return (packet); +} + +OggStreamDecoder& OggStreamDecoder::operator>>(OggPacket& packet) +{ + if (!isAvailable()) { + throw OggException("OggStreamDecoder::operator>>: no packet available"); + } + + packet = m_oggPacketList.front(); + m_oggPacketList.pop_front(); + + /* is this the last packet within this stream, + * then set the stream status */ + if (packet->isEOS()) { + setEndOfStream(); + } else { + if (m_oggPacketList.empty()) { + setEmpty(); + } + } + return(*this); +} +
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggStreamDecoder.h
Added
@@ -0,0 +1,68 @@ +/* + * oggStreamDecoder is a class to extract an ogg packet from an + * ogg page stream + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef OGGSTREAMDECODER_H_ +#define OGGSTREAMDECODER_H_ + +#include<list> + +#include "mediaDecoder.h" +#include "oggPage.h" +#include "oggPacket.h" +#include "oggTypes.h" + +/* TODO: Exception Handling + * The library should provide a consistent exception handling */ + +class OggStreamDecoder : public MediaDecoder { + +protected: + + /*! A segment element, to cut the page into it's pieces */ + struct SegmentElement { + uint8* data; + uint32 length; + SegmentElement(uint8* data=0, uint32 length=0); + }; + + uint32 m_packetCount; + uint32 m_serialNo; + SegmentElement m_tmpSegment; + std::list<OggPacket> m_oggPacketList; + + void init(OggPage page); + +public: + OggStreamDecoder(); + virtual ~OggStreamDecoder(); + + virtual OggStreamDecoder& operator<<(OggPage& page); + virtual OggStreamDecoder& operator>>(OggPacket& packet); + + OggPacket inspectNextPacket(); + + uint32 getSerialNo(); + + virtual void clear(); +}; + +#endif /*OGGSTREAMDECODER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggStreamEncoder.cpp
Added
@@ -0,0 +1,362 @@ +/* + * oggStreamEncoder is a class to insert an ogg packet into an ogg page stream + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> +#include <cstring> +#include <cstdlib> + +#include "definition.h" +#include "oggStreamEncoder.h" +#include "oggHeader.h" +#include "crc.h" +#include "exception.h" +#include "log.h" + +#define min(a,b) ((a<b)?(a):(b)) +#define max(a,b) ((a>b)?(a):(b)) + +std::vector<uint32> OggStreamEncoder::m_usedSerialNo; + +OggStreamEncoder::OggStreamEncoder(uint32 serial) + : m_maxPageSize(4096), m_streamNo(0), m_segmentsBuffer(maxSegmentEntries), m_dataLength(0), m_dataSegments(0), m_usedData(0), m_pageCounter(0) +// packetCounter(0), positionInterpreterEnabled(false), pageKeepEnabled(false), + //posInterpreter(0) +{ + uint32 newSerial = findUniqueSerial(serial); + m_streamSerialNo = newSerial; + setInitialized(); +} + +OggStreamEncoder::~OggStreamEncoder() +{ + if (!m_oggPacketList.empty()) + logger.warning() << "OggStreamEncoder::Destructor: WARNING packet list not m_empty ("<<m_oggPacketList.size()<<" Elements)\n"; + + if (!m_oggPageList.empty()) + logger.warning() << "OggStreamEncoder::Destructor: WARNING page list not m_empty\n"; + +} + +// we need a global m_repository to keep an Eye on the serial numbers +uint32 OggStreamEncoder::findUniqueSerial(uint32 origSerial) +{ + bool isUnique(false); + uint32 serial; + + while (!isUnique) { + serial = (origSerial?origSerial:rand()); + isUnique = true; + origSerial = 0; + + for (uint32 i(0); i<m_usedSerialNo.size(); ++i) + if (serial == m_usedSerialNoi) + isUnique = false; + } + m_usedSerialNo.push_back(serial); + return(serial); +} + +/* +void OggStreamEncoder::enablePositionInterpreter() +{ + positionInterpreterEnabled = true; +} + +void OggStreamEncoder::keepOnePage() +{ + pageKeepEnabled = true; +} +*/ + +void OggStreamEncoder::addPacket(OggPacket& packet) +{ + /* if we want to interprete the position by ourself */ + /* + if (positionInterpreterEnabled && + posInterpreter && (!packet.isStreamHeader())) + posInterpreter->setStreamPosition(packet); + */ + /* This is a normal packet + * Let's start to calculate the actual length */ + m_oggPacketList.push_back(packet); + + m_dataLength += packet->length(); + uint32 actSegmentsSize = (packet->length()+255)/255; + std::vector<uint8_t> actSegments(actSegmentsSize/*maxSegmentEntries*/, 0xff); + //uint8 actSegmentsmaxSegmentEntries; + + if (actSegmentsSize > maxSegmentEntries) + throw OggException("OggStreamEncoder::addPacket: Not able to handle this packet size"); + + /* calculate the segment table part of this packet */ +// memset(actSegments, 0xff, actSegmentsSize-1); + actSegmentsactSegmentsSize-1 = packet->length()%255; + + m_segmentsBuffer.insert(m_segmentsBuffer.end(), actSegments.begin(), actSegments.end()); + +} + +bool OggStreamEncoder::getNextPacketLength(uint32 pageBorder, uint32& length, + uint32& segments) +{ + /* initialize the values */ + length = 0; + segments = 0; + + /* if the data length is in range, do nothing */ + if ((m_dataLength < pageBorder) && (m_segmentsBuffer.size() < 255)) { + return false; + } + + uint32_t allSegLength=0; + for(uint32_t tmpLen : m_segmentsBuffer) { + allSegLength += tmpLen; + } + //logger.info() << "\nsegments: "<< m_segmentsBuffer.size()<< "len: "<<allSegLength<< " data length: "<< m_dataLength<<"\n"; + + + /* and calculate, how many segments we want to include into the + * actual page */ + bool end_found(false); + for (uint32_t i(0); i<m_segmentsBuffer.size(); ++i) { + length += m_segmentsBufferi; + segments++; + if ((length >= pageBorder) || (segments >= 254)) { + if ((i+1 == m_segmentsBuffer.size()) || (m_segmentsBufferi+1 != 0)) { // this is due to an empty (0) segment + break; + } + } + } + + return true; + +} + +OggStreamEncoder& OggStreamEncoder::operator<<(OggPacket packet) +{ + if (!isInitialized()) { + logger.error() << "OggStreamEncoder::operator<<: Stream is not initialized correctly\n"; + return(*this); + } + + if (!isConfigured()) { + + // this must be the bos packet + if (!packet->isBOS()) { + logger.error() << "OggStreamEncoder::operator<<: First packet must be a BOS packet\n"; + return(*this); + } else { + // The first BOS packet defines the stream number + m_streamNo = packet->getStreamNo(); + } + /* add the packet to the temporal buffer */ + addPacket(packet); + + /* the encoder stream is configured */ + setConfigured(); + + /* flush the first packet (see Spec) */ + flush(); + + return(*this); + } + + /* add the packet to the temporal buffer */ + addPacket(packet); + + /* create as many packets as data is available */ + while ((m_dataLength >= m_maxPageSize) || (m_segmentsBuffer.size() >= 255)) { + createPage(m_maxPageSize); + } + + return(*this); +} + +OggStreamEncoder& OggStreamEncoder::operator>>(OggPage& page) +{ + if (isEmpty()) { + logger.error() << "OggStreamEncoder::opertator>>: no page available\n"; + return(*this); + } + + page = m_oggPageList.front(); + m_oggPageList.pop_front(); + + page->setStreamNo(m_streamNo); + + if (m_oggPageList.empty()) + setEmpty(); + + + return(*this); + +} + +void OggStreamEncoder::flush() +{ + while (m_dataLength || (m_segmentsBuffer.size() > 0)) { + createPage(m_dataLength); + } +} + +void OggStreamEncoder::createPage(uint32 minPageSize) +{ + uint32 bodyLength; + uint32 segmentsSize; + + /* Is there enough data available? */ + if (!getNextPacketLength(minPageSize, bodyLength, segmentsSize)) { + return; + } + + uint32 overallLength = sizeof(OggHeader) + segmentsSize + bodyLength; + std::vector<uint8_t> pageData(overallLength); + //uint8* pageData = new uint8overallLength; + + /* an ogg page looks like this: + * -------------------------------------------------------- + * | Ogg Header | Segments Table | Packet1 | Packet2 | ... + * -------------------------------------------------------- + */ + uint8_t* pageBeginPtr = &pageData0; + OggHeader* header ((OggHeader*)pageBeginPtr); + uint8* segments (pageBeginPtr+sizeof(OggHeader)); + uint8* body (segments+segmentsSize); + + /* set the header information */ + memset(header, 0x00, sizeof(OggHeader)); + + memcpy(header->ogg,"OggS",4); + header->tableSegments = segmentsSize; + header->pageNo = m_pageCounter++; + header->serial = m_streamSerialNo; + header->position = -1; + + if (m_usedData) + header->pack_type = 1; // packet starts on the previous page + + /* fill the segments */ + for (uint32_t i(0); i<segmentsSize; ++i) + segmentsi = m_segmentsBufferi; + + m_segmentsBuffer.erase_begin(segmentsSize); + + std::list<OggPacket>::iterator it(m_oggPacketList.begin()); + + /* if this is a bos packet, this would surely be the first packet */ + if ((*it)->isBOS()) + header->page_type = 1; + + uint32 arrayIndex(0); + logger.debug() << "OggStreamEncoder::create_page: packet length="<< overallLength <<"\n"; + + for (; it != m_oggPacketList.end(); it++) { + + OggPacket pkt(*it); + uint32 packetLength = pkt->length(); + uint32 cpyLength = min((packetLength-m_usedData),(bodyLength-arrayIndex)); + + logger.debug() << "OggStreamEncoder::create_page: copyLength="<<cpyLength<<" arrayIndex="<<arrayIndex<<" m_usedData="<<m_usedData<<"\n"; + + memcpy(body+arrayIndex, pkt->data()+m_usedData, cpyLength); + arrayIndex += cpyLength; + + /* is this the end of the actual page */ + if (arrayIndex == bodyLength) { + + /* the packet does not start within this page and does not end + * on this page? */ + if (m_usedData != 0) { + m_usedData += cpyLength; + if (m_usedData == packetLength) { + m_usedData = 0; + if (pkt->isEOS()) + header->last = 1; + + /* the packet is fully used, so point to the next valid packet */ + ++it; // this might be the .end() sign, however, how cares + + } + + } else { + + if (cpyLength == packetLength) { + + /* this packet ended on this page */ + m_usedData = 0; + + /* at lease the actual Packet has been completed on this page */ +// onePacketCompleted = true; + + /* Is it the end of a stream? Then mark it as such */ + if (pkt->isEOS()) + header->last = 1; + + /* the packet is fully used, so point to the next valid packet */ + ++it; // this might be the .end() sign, however, how cares + + } else { + /* keep the number of copied bytes for the next page */ + m_usedData = cpyLength; + } + } + + // we found the end of the page + if (m_usedData || it == m_oggPacketList.end()) + break; + } + + m_usedData = 0; + } + +#ifdef DEBUG + if ( arrayIndex != m_bodyLength ) { + logger.error() << "ERROR: array not matching ( index "<<arrayIndex <<" bodylength "<<m_bodyLength << ")\n"; + logger.error() << "SegmentsSize: "<<(int)segmentsSize<< " still available: "<<(int)m_segmentsBuffer.getUsed()<<"\n"; + for (uint32 i(0); i<segmentsSize; ++i) + logger.error() << " 0x"<<(int)segmentsi; + logger.error() << "\n"; + abort(); + } +#endif + + /* set the granule position if at least one packet has ended on this page + * The position is taken from the last full packet + */ + if (m_oggPacketList.begin() != it) { + std::list<OggPacket>::iterator it1 = it; + it1--; + header->position = (*it1)->granulepos(); + m_oggPacketList.erase(m_oggPacketList.begin(), it); + } + + header->checksum = Crc::create(pageBeginPtr, overallLength); + + OggPage page = std::make_shared<OggPageInternal>(pageData, sizeof(OggHeader)+segmentsSize, bodyLength); + m_oggPageList.push_back(page); + + m_dataLength -= bodyLength; + + setAvailable(); + +} + +
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggStreamEncoder.h
Added
@@ -0,0 +1,74 @@ +/* + * oggStreamEncoder is a class to insert an ogg packet into an ogg page stream + * + * Copyright (C) 2008-2009 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef OGGSTREAMENCODER_H_ +#define OGGSTREAMENCODER_H_ + +#include <list> +#include <vector> + +#include "mediaEncoder.h" +#include "oggPage.h" +#include "oggPacket.h" +#include "ringbuffer.h" +#include "definition.h" +#include <boost/circular_buffer.hpp> + +class OggStreamEncoder : public MediaEncoder { + +protected: + static const uint32 maxSegmentEntries = 4096; + + static std::vector<uint32> m_usedSerialNo; + + uint32 m_maxPageSize; + + uint32 m_streamSerialNo; + uint8 m_streamNo; + + std::list<OggPage> m_oggPageList; + std::list<OggPacket> m_oggPacketList; + boost::circular_buffer<uint8_t> m_segmentsBuffer; + + uint32 m_dataLength; //!< is the length of the actually available data + uint32 m_dataSegments; //!< is the number of the actually available segments + uint32 m_usedData; //!< is the size of data, that has already been used in the first packet + + uint32 m_pageCounter; + + uint32 findUniqueSerial(uint32 proposal); + + void addPacket(OggPacket& packet); + bool getNextPacketLength(uint32 PageBorder, uint32& length, uint32& segments); + void createPage(uint32 minPageLength); + +public: + OggStreamEncoder(uint32 serial = 0); + virtual ~OggStreamEncoder(); + + virtual OggStreamEncoder& operator<<(OggPacket packet); + virtual OggStreamEncoder& operator>>(OggPage& page); + + virtual void flush(); + +}; + +#endif /*OGGSTREAMENCODER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/oggTypes.h
Added
@@ -0,0 +1,59 @@ +/* + * this emun should carry all known streams that could be inserted into + * the ogg container + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef OGGTYPES_H_ +#define OGGTYPES_H_ + +#include <cstdint> +#include <type_traits> + +#if __GNUC__ > 4 || \ + (__GNUC__ == 4 && (__GNUC_MINOR__ > 9 || \ + (__GNUC_MINOR__ == 9 && \ + __GNUC_PATCHLEVEL__ > 2))) + +template<typename E> +constexpr auto to_integral(E e) -> typename std::underlying_type<E>::type { + return static_cast<typename std::underlying_type<E>::type>(e); +} +#else +#define to_integral(a) (int)(a) +#endif + +#define MAXIDCHARS 7 + +enum class OggType { + unknown, + vorbis, + theora, + kate, + maxOggType +}; + +static const uint8_t OggTypeMapto_integral(OggType::maxOggType)MAXIDCHARS = { + { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, + { 0x01, 'v', 'o', 'r', 'b', 'i', 's' }, + { 0x80, 't', 'h', 'e', 'o', 'r', 'a' }, + { 0x80, 'k', 'a', 't', 'e', 0x00, 0x00 } +}; + +#endif /*OGGTYPES_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/rawMediaPacket.cpp
Added
@@ -0,0 +1,93 @@ +/* + * RawMediaPacket class to carry a raw bunch of data + * + * Copyright (C) 2005-2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <string.h> +#include "rawMediaPacket.h" + +RawMediaPacketInternal::RawMediaPacketInternal() +{ +} + +RawMediaPacketInternal::RawMediaPacketInternal(std::vector<uint8_t>& _data, bool copy) +{ + setData(_data, copy); +} + +RawMediaPacketInternal::~RawMediaPacketInternal() +{ +} + +const std::vector<uint8_t> &RawMediaPacketInternal::getData() +{ + return data; +} + +void RawMediaPacketInternal::setData(std::vector<uint8_t>& _data, bool copy) +{ +// data = _data; + + if (copy) { + data = _data; + } else { + data = std::move(_data); + } +} + +uint32 RawMediaPacketInternal::getSize() +{ + return(data.size()); +} + +/*********************************/ + +//RawMediaPacket::RawMediaPacket() +//{ +//} + +//RawMediaPacket::RawMediaPacket(const RawMediaPacket& packet) +// : RefObject<RawMediaPacketInternal>(packet) +//{ +//} + +//RawMediaPacket::RawMediaPacket(RawMediaPacketInternal* m_dataPtr) +// : RefObject<RawMediaPacketInternal>(m_dataPtr) +//{ +//} + +//RawMediaPacket::~RawMediaPacket() +//{ +//} + +//uint8* RawMediaPacket::getData(uint32& length) +//{ +// return(objPtr->getData(length)); +//} + +//uint8* RawMediaPacket::getData() +//{ +// return(objPtr->getData()); +//} + +//uint32 RawMediaPacket::size() +//{ +// return(objPtr->size()); +//} +
View file
oggvideotools-0.9.1.tar.bz2/src/base/rawMediaPacket.h
Added
@@ -0,0 +1,56 @@ +/* + * RawMediaPacket class to carry a raw bunch of data + * + * Copyright (C) 2005-2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef RAWMEDIAPACKET_H_ +#define RAWMEDIAPACKET_H_ + +#include <memory> +#include <vector> +#include <cstdint> + +#include "definition.h" +//#include "refObject.h" + +class RawMediaPacketInternal; +typedef std::shared_ptr<RawMediaPacketInternal> RawMediaPacket; + +class RawMediaPacketInternal { + +protected: + std::vector<uint8_t> data; + +public: + RawMediaPacketInternal(); + RawMediaPacketInternal(std::vector<uint8_t>& _data, bool copy); + ~RawMediaPacketInternal(); + + void setData(std::vector<uint8_t>& _data, bool copy); + const std::vector<uint8_t>& getData(); + uint32 getSize(); + +}; + +static RawMediaPacket createRawMediaPacket() +{ + return std::make_shared<RawMediaPacketInternal>(); +} + +#endif /*RAWMEDIAPACKET_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/refObject.h
Added
@@ -0,0 +1,132 @@ +/* + * RefObject class to reduce complete object copy actions + * + * Copyright (C) 2005-2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef refObject_h +#define refObject_h + +//! class to keep refences instead of copies +/*! This class keeps track of an dynamically allocated + memory on the heap. + On object copy, only the object pointer is copied and + an additionally reference counter is incremented. + On object elemination, the object is deleted only in + case that no one has still a refence to this object. + (Code is inspired by Bjarne Stoustrup) + + This code is obsoleted by the boost smart pointers, + however, actually I do not plan to create a dependency + to boost +*/ +template<class C> +class RefObject { + +protected: + + unsigned int* refCounter; + C* objPtr; + +public: + RefObject(); + RefObject(C* objPtr); + RefObject(const RefObject& obj); + virtual ~RefObject(); + + RefObject& operator=(const RefObject& obj); + + C* operator->(); + + C* obj(); + void obj(C* object); + +}; + +/* Implementation Part */ + +template<class C> inline RefObject<C>::RefObject() + : refCounter(new unsigned int), objPtr(new C) +{ + (*refCounter) = 1; +} + +template<class C> inline RefObject<C>::RefObject(C* objPtr) + : refCounter(new unsigned int), objPtr(objPtr) +{ + (*refCounter) = 1; +} + +template<class C> inline RefObject<C>::RefObject(const RefObject& refObj) + : refCounter(refObj.refCounter), objPtr(refObj.objPtr) +{ + if (this == &refObj) + return; + (*refCounter)++; +} + +template<class C> inline RefObject<C>::~RefObject() +{ + (*refCounter)--; + + if ((*refCounter) == 0) { + delete refCounter; + delete objPtr; + } +} + +template<class C> inline RefObject<C>& +RefObject<C>::operator=(const RefObject& refObj) +{ + if (this == &refObj) + return(*this); + + (*refCounter)--; + + if ((*refCounter) == 0) { + delete refCounter; + delete objPtr; + } + + refCounter = refObj.refCounter; + objPtr = refObj.objPtr; + + (*refCounter)++; + return(*this); +} + +template<class C> inline C* RefObject<C>::obj() +{ + return(objPtr); +} + +template<class C> inline C* RefObject<C>::operator->() +{ + return(objPtr); +} + +template<class C> inline void RefObject<C>::obj(C* ptr) +{ + delete objPtr; + objPtr = ptr; + + /* reference pointer is not touched + DANGER: think - do you really want to use this method? */ +} + +#endif // refObject_h
View file
oggvideotools-0.9.1.tar.bz2/src/base/streamConfig.h
Changed
(renamed from src/streamConfig.h)
View file
oggvideotools-0.9.1.tar.bz2/src/base/streamExtractor.cpp
Added
@@ -0,0 +1,37 @@ +#include "streamExtractor.h" + +ExtractorInformation::ExtractorInformation() + : type(OggType::unknown), serialNo(0), parameter(0), numOfHeaderPackets(0) +{ +} + +ExtractorInformation::ExtractorInformation(const ExtractorInformation& extractorInfo) + : type(extractorInfo.type), serialNo(extractorInfo.serialNo), + parameter(0), numOfHeaderPackets(extractorInfo.numOfHeaderPackets) +{ + parameter = extractorInfo.parameter; +} + +ExtractorInformation& ExtractorInformation::operator=(const ExtractorInformation& extractorInfo) +{ + type = extractorInfo.type; + serialNo = extractorInfo.serialNo; + numOfHeaderPackets = extractorInfo.numOfHeaderPackets; + + parameter = extractorInfo.parameter; + + return(*this); +} + +ExtractorInformation::~ExtractorInformation() +{ +} + +StreamExtractor::StreamExtractor() +{ +} + +StreamExtractor::~StreamExtractor() +{ +} +
View file
oggvideotools-0.9.1.tar.bz2/src/base/streamExtractor.h
Added
@@ -0,0 +1,55 @@ +#ifndef STREAMEXTRACTOR_H_ +#define STREAMEXTRACTOR_H_ + +#include "oggPage.h" +#include "oggPacket.h" +#include "streamParameter.h" +#include "granulePosInterpreter.h" + +//! This is a baseclass for the configuration of a stream +/*! This class can be derived by more specific stream information + * For the decoding process, parameter is created while the decoder + * is initialized + * For the encoding process, the parameter pointer must carry a + * valid parameter list. + * The parameter list is always owned by the ExtractorInformation class + * and will be deleted when the ExtractorInformation object destructor is + * called */ + +class ExtractorInformation { + +public: + + ExtractorInformation(); + ExtractorInformation(const ExtractorInformation& extractorInfo); + ~ExtractorInformation(); + + //! Type of stream (e.g. ogg_vorbis, ogg_theora, ogg_speex) + OggType type; + + //! stream serial number (random number required by ogg) + uint32 serialNo; + + //! The first page/packet gives detailed information of the stream + std::shared_ptr<StreamParameter> parameter; + + //! the number of header packets must be identified by the stream type + uint8 numOfHeaderPackets; + + ExtractorInformation& operator=(const ExtractorInformation& extractorInfo); + +}; + + +class StreamExtractor { +public: + StreamExtractor(); + + virtual ~StreamExtractor(); + + virtual bool extract(OggPage& page, ExtractorInformation& information) = 0; + virtual bool extract(OggPacket& packet, ExtractorInformation& information) = 0; + +}; + +#endif /*STREAMEXTRACTOR_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/base/streamParameter.cpp
Changed
(renamed from src/streamParameter.cpp)
View file
oggvideotools-0.9.1.tar.bz2/src/base/streamParameter.h
Changed
(renamed from src/streamParameter.h)
View file
oggvideotools-0.9.1.tar.bz2/src/base/test
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/src/base/test/CMakeLists.txt
Added
@@ -0,0 +1,5 @@ +add_executable(decoderTest decoderTest.cpp) +target_link_libraries(decoderTest ovtbase ovtmisc) + +add_executable(encoderTest encoderTest.cpp) +target_link_libraries(encoderTest ovtbase ovtmisc)
View file
oggvideotools-0.9.1.tar.bz2/src/base/test/decoderTest.cpp
Added
@@ -0,0 +1,58 @@ +// +// Created by joern on 23.07.16. +// + +#include "oggDecoder.h" +#include <vector> +#include <iostream> + +int main(int argc, char* argv) +{ + + OggDecoder decoder; + + { + // create a packet, that is valid in the eyes of the decoder + std::vector<uint8_t> packet; + + OggHeader header; + memset(&header, 0, sizeof(OggHeader)); + + header.ogg0 = 'O'; + header.ogg1 = 'g'; + header.ogg2 = 'g'; + header.ogg3 = 'S'; + + header.tableSegments = 2; + uint8_t* hdr_ptr = (uint8_t*)&header; + packet.insert(packet.end(), &hdr_ptr0, &hdr_ptrsizeof(OggHeader)); + + /* add the segments table */ + packet.push_back(255); + packet.push_back(1); + + /* add all the data (that is 0xc5) */ + for (uint32_t i(0); i < 256; ++i) { + packet.push_back(0xc5); + } + + RawMediaPacket rmp = createRawMediaPacket(); + rmp->setData(packet, false); + decoder << rmp; + } + + OggPage page; + + decoder >> page; + + std::vector<uint8_t> pg_data = page->data(); + uint32_t cnt; + + for (auto i : pg_data) { + std::cout << " 0x"<<std::hex<<(int)i; + if (cnt++%16 == 0) + std::cout << std::endl; + } + + +} \ No newline at end of file
View file
oggvideotools-0.9.1.tar.bz2/src/base/test/encoderTest.cpp
Added
@@ -0,0 +1,67 @@ +// +// Created by joern on 23.07.16. +// + +#include "oggStreamEncoder.h" +#include <vector> +#include <iostream> + +void printif(OggPage page) +{ + if (page) { + std::cout << page->toString(5); + } else { + std::cout << "page is empty"<<std::endl; + } +} + +int main(int argc, char* argv) +{ + + unsigned char data = "hallo"; + uint32_t length = 6; + + OggPacket packet = OggPacketInternal::create(data, length,0,0); + OggPage page; + + OggStreamEncoder encoder; + + packet->setBOS(); + + encoder << packet; + + std::vector<uint8_t> packetData2; + packetData2.insert(packetData2.end(),254, 0x5c); + + packet = OggPacketInternal::create(&packetData20, packetData2.size(),0,0); + page.reset(); + + encoder << packet; + + while (!encoder.isEmpty()) { + page.reset(); + encoder >> page; + + printif(page); + } + + std::vector<uint8_t> packetData3; + packetData3.insert(packetData3.end(),1276, 0xb4); + + packet = OggPacketInternal::create(&packetData30, packetData3.size(),0,0); + page.reset(); + + encoder << packet; + encoder.flush(); + + while (!encoder.isEmpty()) { + page.reset(); + encoder >> page; + + printif(page); + } + + + return 0; + +}
View file
oggvideotools-0.9.1.tar.bz2/src/binaries
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/CMakeLists.txt
Added
@@ -0,0 +1,17 @@ +SET ( EXECUTABLES oggSplit oggDump oggJoin oggCut oggLength oggCat oggSilence ) + +SET ( EXEC_WITH_GD oggSlideshow oggThumb oggTranscode ) + +FOREACH ( exec ${EXECUTABLES} ) + ADD_EXECUTABLE ( ${exec} ${exec}.cpp ) + TARGET_LINK_LIBRARIES ( ${exec} ovtmain ovtkate ovtvorbis ovttheora ovtbase ovteffect ovtmisc resample ${ALL_LIBS} ) +ENDFOREACH ( exec ${EXECUTABLES} ) +INSTALL ( TARGETS ${EXECUTABLES} DESTINATION bin ) + +IF ( HAVE_LIBGD ) +FOREACH ( exec ${EXEC_WITH_GD} ) + ADD_EXECUTABLE ( ${exec} ${exec}.cpp ) + TARGET_LINK_LIBRARIES ( ${exec} ovtmain ovtkate ovtvorbis ovttheora ovtbase ovteffect ovtmisc resample ${ALL_LIBS} ) +ENDFOREACH ( exec ${EXEC_WITH_GD} ) +INSTALL ( TARGETS ${EXEC_WITH_GD} DESTINATION bin ) +ENDIF ( HAVE_LIBGD )
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/oggCat.cpp
Added
@@ -0,0 +1,710 @@ +/* + * oggCat is a command line tool, to concatenate video streams + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifdef __WIN32 +#define __GNU_LIBRARY__ +#include "../win32/getopt_win.h" +#endif + +#include <iostream> +#include <map> +#include <vector> +#include <fstream> + +#include <ctime> +#include <unistd.h> + +#include "definition.h" +#include "helper.h" +#include "fileRepository.h" +#include "oggPacket.h" +#include "streamMux.h" +#include "streamSerializer.h" + +#include "cmdlineextractor.h" +#include "theoraStreamParameter.h" +#include "vorbisStreamParameter.h" +#include "wishList.h" +#include "hookHandler.h" +#include "videoHook.h" +#include "audioHook.h" +#include "exception.h" +#include "log.h" + +void printHelpScreen(const std::string& progName) +{ + logger.error() << "usage: " << progName << " options" + << " <outputFile> <inputFile1> <inputFile2> <inputFile3> ... \n" + << " or: options -o <outputFile> <inputFile1> <inputFile2> <inputFile3> ... \n" + << " -- package and version \"" << PACKAGE_STRING << "\"\n\n" + << "Options:\n" << " -p presize cutting (-pa for audio only)\n" + << " -d datarate of output stream\n" + << " -q video quality of output stream\n" + << " -D datarate of output audio stream\n" + << " -Q audio quality of output stream\n" + << " -s video size (e.g. 240x160)\n" + << " -f video framerate\n" << " -F audio Sample rate\n" + << " -N channel numbers\n" + << " -x no existens check for output file (for interactive usage)\n" + << " -o output file (alternative - if set, the first name is an input file!)\n" + << " -rv reencode video stream\n"<< "\n"; +} + +void analyseVideoTranscoding(WishList& wishList, + std::shared_ptr<TheoraStreamParameter> theoraConfigInput, + std::shared_ptr<TheoraStreamParameter> theoraConfigOutput) +{ + /* first we believe the output should be equal for all + * parameters that are not explicitly changed */ + *theoraConfigOutput.get() = *theoraConfigInput.get(); + + if (wishList.changeVideoDatarate) { + if (theoraConfigInput->videoBitrate != wishList.videoDatarate) { + theoraConfigOutput->videoBitrate = wishList.videoDatarate; + theoraConfigOutput->videoQuality = 0; + } + } + + if (wishList.changeVideoQuality) { + if (theoraConfigInput->videoQuality != wishList.videoQuality) { + theoraConfigOutput->videoBitrate = 0; + theoraConfigOutput->videoQuality = wishList.videoQuality; + } + } + + if (wishList.changeSize) { + if ( (theoraConfigInput->pictureX != wishList.width ) + || (theoraConfigInput->pictureY != wishList.height ) + || (theoraConfigInput->aspectRatioNum != 1 ) + || (theoraConfigInput->aspectRatioDenom != 1 )) { + + theoraConfigOutput->pictureX = wishList.width; + theoraConfigOutput->pictureY = wishList.height; + + theoraConfigOutput->calculateFrame(); + + /* no reason for using another aspect ratio than 1:1, are there? */ + theoraConfigOutput->aspectRatioDenom = 1; + theoraConfigOutput->aspectRatioNum = 1; + + } + } + + if (wishList.changeFramerate) { + + if ( ( (theoraConfigOutput->framerateNum != wishList.framerateNum ) + || (theoraConfigOutput->framerateDenom + != wishList.framerateDenom ) ) + && ( (theoraConfigOutput->framerateNum*1.0 ) + / (theoraConfigOutput->framerateDenom*1.0 ) + != (wishList.framerateNum*1.0 ) + / (wishList.framerateDenom*1.0 ) )) { + theoraConfigOutput->framerateNum = wishList.framerateNum; + theoraConfigOutput->framerateDenom = wishList.framerateDenom; + } + } + +} + +void analyseAudioTranscoding(WishList& wishList, + std::shared_ptr<VorbisStreamParameter> vorbisConfigInput, + std::shared_ptr<VorbisStreamParameter> vorbisConfigOutput) +{ + /* first we believe the output should be equal for all + * parameters, that are not explicitly changed */ + *vorbisConfigOutput.get() = *vorbisConfigInput.get(); + + if (wishList.changeAudioDatarate) { + if (vorbisConfigOutput->datarate != wishList.audioDatarate) { + vorbisConfigOutput->datarate = wishList.audioDatarate; + } + } + + if (wishList.changeAudioSamplerate) { + if (vorbisConfigOutput->samplerate != wishList.audioSamplerate) { + vorbisConfigOutput->samplerate = wishList.audioSamplerate; + } + + } + + if (wishList.changeAudioChannels) { + if (vorbisConfigOutput->channels != wishList.audioChannels) { + vorbisConfigOutput->channels = wishList.audioChannels; + } + + } + return; +} + + +int oggCatCmd(int argc, char* argv) +{ + std::string programName(argv0); + std::string outputFile; + + WishList wishList; + + std::vector<OggComment> videoComments; + bool withVideoComments( false); + + std::vector<OggComment> audioComments; + bool withAudioComments( false); + + bool reencodeVideo(false); +// bool reencodeAudio(true); is always used + + bool existenceTest(true); + + srand((uint) time(0)); + + int opt; + while ((opt = getopt(argc, argv, "hp:d:q:o:D:s:f:F:N:tC:c:r:x")) != EOF) + + switch (opt) { + + case 'h': + case '?': + printHelpScreen(programName); + exit(-1); + + case 'o': + outputFile = std::string(optarg); + break; + + case 'd': + wishList.videoDatarate = CmdlineExtractor::atoi(optarg); + wishList.changeVideoDatarate = true; + break; + + case 'D': + wishList.audioDatarate = CmdlineExtractor::atoi(optarg); + wishList.changeAudioDatarate = true; + break; + + case 'q': + wishList.videoQuality = CmdlineExtractor::atoi(optarg); + wishList.changeVideoQuality = true; + break; + + case 's': { + std::deque<uint32> framesize; + CmdlineExtractor::extractUint32(framesize, optarg, 'x'); + if (framesize.size() != 2) { + logger.error() + << "please specify the size in the following way: -s320x480\n"; + exit( -1); + } + wishList.width = framesize0; + wishList.height = framesize1; + wishList.changeSize = true; + break; + + } + + case 'f': { + std::deque<uint32> framerate; + CmdlineExtractor::extractUint32(framerate, optarg, ':'); + + if (framerate.size() == 1) { + wishList.framerateNum = framerate0; + wishList.framerateDenom = 1; + wishList.changeFramerate = true; + break; + } + + if (framerate.size() == 2) { + wishList.framerateNum = framerate0; + wishList.framerateDenom = (framerate1 == 0 ) ? 1 + : framerate1; + wishList.changeFramerate = true; + break; + } + logger.error() + << "please specify the framerate in the following way -f25:2 or -f24\n"; + exit( -1); + + break; + + } + + case 'F': + wishList.audioSamplerate = CmdlineExtractor::atoi(optarg); + wishList.changeAudioSamplerate = true; + break; + + case 'N': + wishList.audioChannels = CmdlineExtractor::atoi(optarg); + wishList.changeAudioChannels = true; + break; + + case 't': + wishList.stretch = true; + break; + + case 'c': + withVideoComments = true; + CmdlineExtractor::extractCommentPairs(videoComments, optarg, ';', + '='); + break; + + case 'C': + withAudioComments = true; + CmdlineExtractor::extractCommentPairs(audioComments, optarg, ';', + '='); + break; + + case 'r': + switch (optarg0) { +// case 'a': +// reencodeAudio = true; +// break; + case 'v': + reencodeVideo = true; + break; + } + break; + + case 'x': + existenceTest = false; + break; + default: + logger.error() << "option \"-" << opt << "\" is unknown" << std::endl; + } + + argc -= optind; + argv += optind; + + /* There are two possibilities to get the output file + * "old" version is via -o option. In this case the output file is + * not m_empty. In the other case the output file is given as the first + * argument (except the options). */ + if (outputFile.empty()) { + if (argc > 1) { + + outputFile = std::string(argv0); + argc -= 1; + argv += 1; + + } else { + printHelpScreen(programName); + exit(-1); + } + } + + if (existenceTest && check_file_exists(outputFile)) + exit(0); + + if (argc < 2) { + printHelpScreen(programName); + exit(-1); + } + + logger.debug() << "Output file is : "<<outputFile<<" next file is "<<argv0<<std::endl; + + std::string baseFile(argv0); + + /* open the first file to be read */ + std::vector<StreamConfig> originalConfigList; + StreamSerializer* serializer = new StreamSerializer; + + if (!serializer->open(baseFile)) { + logger.error() << "Can not open file <" << baseFile << ">\n"; + exit(-1); + } + + /* read the stream configuration */ + serializer->getStreamConfig(originalConfigList); + + /* we create a vector for the input stream and set every + * value to 255 (means: ignore this stream). + * If the stream is used, the value added is the stream, where this + * input stream should be mapped to */ + std::vector<uint8> streamMap; + streamMap.resize(originalConfigList.size(), 255); + + /* These are the information ordered, by the stream IDs from the input stream */ + std::vector<std::shared_ptr<HookHandler> > hookList; + std::vector<StreamConfig> muxerInformation; + + bool foundTheora(false); + bool foundVorbis(false); + + uint8 streamCounter( 0); + uint32 startInputfiles(1); + /* create the first resize round */ + + for (uint32 i=0; i<originalConfigList.size(); ++i) { + + StreamConfig& decoderConfig(originalConfigListi); + + if (decoderConfig.type == OggType::theora) { + if (!foundTheora) { + foundTheora = true; + StreamConfig encoderConfig; + + std::shared_ptr<TheoraStreamParameter> theoraEncoderConfig; + std::shared_ptr<TheoraStreamParameter> theoraDecoderConfig; + + std::shared_ptr<VideoHook> vHook = std::make_shared<VideoHook>(streamCounter, false, true ); + + if (reencodeVideo) + vHook->forceReencoding(); + + /* here, we configure things, that do not change + * the transcoding process (alpha blend etc) */ + VideoHook::Config videoHookConfig; + videoHookConfig.stretch = wishList.stretch; + + /* configure the video hook */ + vHook->configureProcess(videoHookConfig); + + hookList.push_back(vHook); + + /* We only need these information for the information printout */ + std::vector<OggComment> decoderComments; + + /* configure encoder config (StreamConfig/OggComment here) */ + vHook->setDecoderConfig(decoderConfig, decoderComments); + + /* grap the information extracted by the decoder */ + theoraDecoderConfig + = std::dynamic_pointer_cast<TheoraStreamParameter>(decoderConfig.parameter); + + /* create a config for the output stream and keep a pointer */ + theoraEncoderConfig = std::make_shared<TheoraStreamParameter>(); + + analyseVideoTranscoding(wishList, theoraDecoderConfig, + theoraEncoderConfig); + + if (reencodeVideo) + theoraEncoderConfig->calculateFrame(); + + if (!withVideoComments) + videoComments = decoderComments; + + /* add the pointer to the configuration */ + encoderConfig.parameter = theoraEncoderConfig; + + /* the decoder Comments are used as well in case, keepComments + * is set within the HookHandler */ + vHook->setEncoderConfig(encoderConfig, videoComments); + + /* the configuration ID must match the stream ID */ + muxerInformation.push_back(encoderConfig); + + /* calculate how to handle the input, to create the correct output */ + vHook->initAndConnect(); + + /* set the stream ID, to which this stream should be maped to */ + streamMapi = streamCounter; +// theoraStreamID = streamCounter; + + streamCounter++; + + } else { + logger.warning() + << "oggCat found more than one theora stream, only the first stream is handled\n"; + } + continue; + } + + if (decoderConfig.type == OggType::vorbis) { + if (!foundVorbis) { + StreamConfig encoderConfig; + + std::shared_ptr<VorbisStreamParameter> vorbisEncoderConfig; + std::shared_ptr<VorbisStreamParameter> vorbisDecoderConfig; + + foundVorbis = true; + + std::shared_ptr<AudioHook> aHook = std::make_shared<AudioHook>(streamCounter, false, true ); + hookList.push_back(aHook); + + /* We only need these information for the information printout */ + std::vector<OggComment> decoderComments; + + /* configure encoder config (StreamConfig/OggComment here) */ + aHook->setDecoderConfig(decoderConfig, decoderComments); + + /* create a config for this stream */ + vorbisEncoderConfig = std::make_shared<VorbisStreamParameter>(); + + /* */ + vorbisDecoderConfig = std::dynamic_pointer_cast<VorbisStreamParameter>(decoderConfig.parameter); + + /* */ + encoderConfig.parameter = vorbisEncoderConfig; + + analyseAudioTranscoding(wishList, vorbisDecoderConfig, + vorbisEncoderConfig); + + if (!withAudioComments) + audioComments = decoderComments; + + /* the decoder Comments are used as well in case, keepComments + * is set within the HookHandler */ + aHook->setEncoderConfig(encoderConfig, audioComments); + + /* calculate how to handle the input, to create the correct output */ + aHook->initAndConnect(); + + muxerInformation.push_back(encoderConfig); + + /* set the stream ID, to which this stream should be maped to */ + streamMapi = streamCounter; +// vorbisStreamID = streamCounter; + + streamCounter++; + } else { + logger.warning() + << "oggCat found more than one vorbis stream, only the first stream is handled\n"; + } + continue; + } + +// logger.error() +// << "There is actually no stream handler available to resize this stream \n"; + } + + logger.info() << "Output Configuration: " << std::endl + << "--------------------- " << std::endl; + + for (uint32 i(0); i< hookList.size(); ++i) { + logger.info() << hookListi->encoderConfiguration() << std::endl; + } + + logger.info() << "Mapping\n"; + for (uint32 i(0); i<streamMap.size(); ++i) { + if (streamMapi == 255) + logger.info() << " Input Stream "<<i<< " is not used"<<std::endl; + else + logger.info() << " Input Stream "<<i<< " maps to output stream "<< (uint32)streamMapi<<std::endl; + } + + //++++++++++++++++++++++++++++ + + FileRepository* repository (0); + try { + repository = new FileRepository( outputFile, MediaUnit::write ); + } catch (std::exception e) { + logger.error() << e.what() << std::endl; + exit(-1); + } + + StreamMux streamCreate(repository); + streamCreate.configureStreams(muxerInformation); + streamCreate.recreatePacketPosition(false); + + /* run through the stream */ + OggPacket packet; + double time; + + while (serializer->available() ) { + time = serializer->getNextPacket(packet); + + logger.info() << " " << time << " \r"; + + uint32 hookStreamID = streamMappacket->getStreamNo(); + + if (hookStreamID == 255) + continue; + + HookHandler& hook(*hookListhookStreamID); + + hook << packet; + + while (hook.available()) { + hook >> packet; + streamCreate << packet; + } + } + + logger.info() << "\n"; + // end of the road + delete serializer; + + // handle the other files given with the arguments list + for (uint32 j(startInputfiles); j<(uint32)argc; ++j) { + + StreamSerializer serializer; + + /* try to open the file. If file is not available switch to the next one */ + std::string filename(argvj); + if (!serializer.open(filename)) { + logger.error() << "Can not open file <" << filename << ">\n"; + continue; + } + + logger.info() << "Concatenating file <"<<filename<<">"<<std::endl; + + uint32 newStreamCounter(0); + + std::vector<StreamConfig> ConfigList; + + /* read the stream configuration of the actual file */ + serializer.getStreamConfig(ConfigList); + + foundTheora = false; + foundVorbis = false; + + /* create a new stream Map */ + streamMap.clear(); + streamMap.resize(ConfigList.size(), 255); + + for (uint32 l( 0); l<ConfigList.size(); ++l) { + + StreamConfig& decoderConfig(ConfigListl); + + /* of the actual stream is a theora stream investigate more */ + if (decoderConfig.type == OggType::theora) { + /* run through the stream map to find the original stream, + * this stream should be mapped to */ + for (uint32 k(0); k<hookList.size(); ++k) { + if ((hookListk->getType() == OggType::theora) && !foundTheora) { + foundTheora = true; +// logger.debug() << "Theora found ("<< l <<") -> "<<k<<std::endl; + VideoHook& vHook = dynamic_cast<VideoHook&>(*hookListk); + + /* We only need these information for the information printout */ + std::vector<OggComment> decoderComments; + + /* configure encoder config (StreamConfig/OggComment here) */ + vHook.setDecoderConfig(decoderConfig, decoderComments); + /* as not every stream is de- and encoded, the encoder + * may be confused */ + vHook.resetEncoder(); + + /* calculate how to handle the input, to create the correct output */ + vHook.initAndConnect(); + + /* set the stream ID, to which this stream should be maped to */ + streamMapl = (uint8)k; + + newStreamCounter++; + + } + continue; + } + } + + if (decoderConfig.type == OggType::vorbis) { + /* run through the stream map to find the original stream, + * this stream should be mapped to */ + for (uint32 k(0); k<hookList.size(); ++k) { + if ((hookListk->getType() == OggType::vorbis) && !foundVorbis) { + foundVorbis = true; +// logger.debug() << "Vorbis found ("<< l <<") -> "<<k<<std::endl; + AudioHook& aHook = dynamic_cast<AudioHook&>(*hookListk); + + /* We only need these information for the information printout */ + std::vector<OggComment> decoderComments; + + /* configure encoder config (StreamConfig/OggComment here) */ + aHook.setDecoderConfig(decoderConfig, decoderComments); + + /* calculate how to handle the input, to create the correct output */ + aHook.initAndConnect(); + + /* set the stream ID, to which this stream should be maped to */ + streamMapl = (uint8)k; + + newStreamCounter++; + + } + continue; + } + +// logger.error() +// << "There is actually no stream handler available to resize this stream \n"; + } + } + + if (streamCounter != newStreamCounter) { + logger.error() << "File <"<<argvj + <<"> does not carry enough streams\n"; + continue; + } + + + logger.info() << "Mapping\n"; + for (uint32 i(0); i<streamMap.size(); ++i) { + if (streamMapi == 255) + logger.info() << " Input Stream "<<i<< " is not used"<<std::endl; + else + logger.info() << " Input Stream "<<i<< " maps to output stream "<< (uint32)streamMapi<<std::endl; + } + + + while (serializer.available()) { + time = serializer.getNextPacket(packet); + + logger.info() << " " << time << " \r"; + + uint32 hookStreamID = streamMappacket->getStreamNo(); + + if (hookStreamID == 255) + continue; + + HookHandler& hook(*hookListhookStreamID); + + hook << packet; + + while (hook.available()) { + hook >> packet; + streamCreate << packet; + } + } + + serializer.close(); + + } + + /* flush all data */ + for (uint32 i(0); i<hookList.size() ; ++i) { + hookListi->flush(); + + while (hookListi->available()) { + (*hookListi) >> packet; + streamCreate << packet; + } + + } + + /* set end of stream and do everything neccessary */ + streamCreate.setEndOfStream(); + + streamCreate.close(); + + logger.info() << std::endl; + + return (0); +} + +int main(int argc, char* argv) +{ + try { + return oggCatCmd(argc, argv); + } catch (OggException & e) { + logger.error() << "Fatal error: " << e.what() << std::endl; + return -1; + } +} +
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/oggCut.cpp
Added
@@ -0,0 +1,323 @@ +/* + * oggCut is a command line tool, to cut a video stream + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifdef __WIN32 +#define __GNU_LIBRARY__ +#include "../win32/getopt_win.h" +#endif + +#include <iostream> +#include <sstream> +#include <map> +#include <cstdlib> +#include <ctime> +#include <unistd.h> + +#include "fileRepository.h" +#include "streamSerializer.h" +#include "streamMux.h" +#include "oggEncoder.h" +#include "oggStreamEncoder.h" +#include "exception.h" +#include "log.h" + +struct ListElement { + double time; + OggPacket packet; + ListElement(double _time, OggPacket _packet) : + time(_time), packet(_packet) { + } +}; + +static std::list<ListElement> packetList; +static double bufferTime(0.5); // buffer 500 ms + +uint32 _atoi(const char* data) +{ + std::stringstream stream; + uint32 value; + + stream << data; + stream >> value; + + return(value); +} + +void printHelpScreen(const std::string& progName) +{ + logger.error() << "usage: "<< progName << "options <input.ogv> <output.ogv> \n" + << "or : "<< progName << "options -i <input.ogv> -o <output.ogv> \n" + << " -- package and version \"" << PACKAGE_STRING << "\"\n\n" + << "Options are:\n" + << " -s time : Start time in milliseconds from start\n" + << " if no start time is given, 0 is assumed\n" + << " -e time : End time in milliseconds\n" + << " if no end time or -1 is given, the end of the\n" + << " file is assumed\n" + << " -l length : Length of the cut area\n" + << " -i input : Input file (alternative) \n" + << " -o output : Output file (alternative) \n"; +} + +void bufferedOutput(StreamMux& streamMux, double time, OggPacket packet) +{ + ListElement elem(time, packet); + + std::list<ListElement>::iterator iter(packetList.begin()); + while ((iter != packetList.end()) && (elem.time < iter->time)) + ++iter; + packetList.insert(iter, elem); + + double lastTime(packetList.front().time); + while ((lastTime - packetList.back().time) > bufferTime) { + streamMux << packetList.back().packet; + packetList.pop_back(); + } +} + +void flushBuffer(StreamMux& streamMux) +{ + while (!packetList.empty()) { + streamMux << packetList.back().packet; + packetList.pop_back(); + } +} + +/* TODO: take offset into account + * The offset should be taken into account, so that the audio stream is + * exactly as long as the video. + * + */ + +int oggCutCmd(int argc, char* argv) +{ + int32 startTime(0); + int32 endTime(-1); + int32 length(-1); + + std::string inputFile; + std::string outputFile; + std::string programName(argv0); + + srand(time(0)); + + int opt; + while ((opt = getopt(argc, argv, "hi:o:s:e:l:")) != EOF) + + switch (opt) { + + case 'h': + printHelpScreen(programName); + exit(-1); + + case 'i': + inputFile = std::string(optarg); + break; + + case 'o': + outputFile = std::string(optarg); + break; + + case 's': + startTime = _atoi(optarg); + break; + + case 'e': + endTime = _atoi(optarg); + break; + + case 'l': + length = _atoi(optarg); // yes, I know the atoi bug + break; + + } + + argc -= optind; + argv += optind; + + if ((argc > 2)) { + printHelpScreen(programName); + exit (-1); + } + + if (argc > 0) { + inputFile = std::string(argv0); + } + + if (argc > 1) { + outputFile = std::string(argv1); + } + + /* Handle wrong parameter and parameter combinations */ + if (inputFile.empty() || outputFile.empty()) { + printHelpScreen(programName); + exit (-1); + } + + if (startTime < 0) { + logger.error() << "Error: start time is invalid\n"; + exit (-1); + } + + if ((endTime > 0) && (length > 0)) { + logger.warning() << "Warning: end time and length set, ignoring length\n"; + } + + if (endTime == -1) { + if (length > 0) { + endTime = startTime + length; + } else { + if (startTime == 0) { + logger.error() << "No need to cut, just use copy!\n"; + exit (-1); + } + } + } + + double startTimeSec(startTime*1.0/1000.0); + double endTimeSec(endTime*1.0/1000.0); + + /* create a stream serializer */ + StreamSerializer streamSerializer; + bool foundTheora(false); + + /* try to open the file. If there is no such file, abort with a message */ + if (!streamSerializer.open(inputFile)) { + logger.error() << "Error: can not open file <"<<inputFile<<">\n"; + exit (-1); + } + + /* create a repository for the new files and give the repository to the stream Muxer */ + FileRepository* outfile = new FileRepository(outputFile, MediaUnit::write); + StreamMux streamMux(outfile); + + /* grep the configuration for all streams */ + std::vector<StreamConfig> streamConfigList; + streamSerializer.getStreamConfig(streamConfigList); + + /* create the time synchronizer, which holds the time offset for every stream */ + std::vector<double> offset(streamConfigList.size(),0.0); + + /* Output some stream information and reset the offset */ + for (uint32 i(0); i<streamConfigList.size(); ++i) { + StreamConfig& conf(streamConfigListi); + logger.info() << "Stream No: "<<(int)conf.streamNo<<"(0x"<<std::hex + << conf.serialNo<<std::dec<<")\n"; + if (streamConfigListi.parameter) + // logger.info() << streamConfigListi.parameter->toString(); + if (streamConfigListi.type == OggType::theora) + foundTheora = true; + offseti = -1; + } + + /* configure the output streams */ + streamMux.configureStreams(streamConfigList); + + /* */ + OggPacket packet; + double time; + double beginTime(0); + bool startMarker(false); + + /* copy the stream if the packets are within the cut area + * and the first video keyframe has been found */ + while (streamSerializer.available()) { + + /* get the actual packet and it's time information */ + /* the time is meant to be the presentation start time */ + time = streamSerializer.getNextPacket(packet); + +#ifdef DEBUG + if (packet.getStreamType() == OggType::theora) { + logger.debug() << "theora "; + } + + if (packet.getStreamType() == OggType::vorbis) { + logger.debug() << "vorbis "; + } + + logger.debug() << time << std::endl; +#endif + + /* look deeper into the packets, if the belong into the cutting + * area */ + if ((time >= startTimeSec) && (time < endTimeSec)) { + + /* are we within our cut interval and found the first keyframe? */ + if (!startMarker) { + + /* we are doing packet analysation by ourselfs - may be changed */ + if ((!foundTheora) || ((packet->getStreamType() == OggType::theora) + &&(!(packet->data()0 & 0x40)))) { + startMarker = true; + beginTime = time; + offsetpacket->getStreamNo() = time; + } + } + + /* have we found the real starting position? */ + if (startMarker) { + + /* if this stream has no offset calculated, do it now */ + if (offsetpacket->getStreamNo() < 0) { + offsetpacket->getStreamNo() = time; +#ifdef DEBUG + logger.debug() << "offset for stream No <"<<(int)packet.getStreamNo() + <<"> is "<<offsetpacket->getStreamNo() - beginTime <<std::endl; +#endif // DEBUG + } + + /* we need to bufferd the output to the stream, as the streams are not 100% in sync */ + bufferedOutput(streamMux, (time - offsetpacket->getStreamNo()), packet); + } + + } + + /* the end of the cut area has reached */ + if (time >= endTimeSec) { + break; + } + } + + /* first flush all buffers to be ordered correct */ + flushBuffer(streamMux); + + /* set the end of the stream and close the file, + * which flushed the all internal stream encoder to flush all pages */ + streamMux.setEndOfStream(); + streamMux.close(); + + /* close the stream serializer with a big thank you */ + streamSerializer.close(); + + return(0); +} + +int main(int argc, char* argv) +{ + try { + return oggCutCmd(argc, argv); + } catch (OggException & e) { + logger.error() << "Fatal error: " << e.what() << std::endl; + return -1; + } +} +
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/oggDump.cpp
Added
@@ -0,0 +1,368 @@ +/* + * oggDump will dump out an ogg file either by packets or by pages + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifdef __WIN32 +#define __GNU_LIBRARY__ +#include "../win32/getopt_win.h" +#endif + +#include <iostream> +#include <map> +#include <vector> +#include <sstream> +#include <fstream> +#include <ostream> +#include <cstdlib> +#include <unistd.h> + +#include "fileRepository.h" +#include "rawMediaPacket.h" +#include "oggDecoder.h" +#include "oggEncoder.h" +#include "oggStreamDecoder.h" +#include "oggPacket.h" +#include "oggBOSExtractorFactory.h" +#include "streamSerializer.h" +#include "exception.h" +#include "log.h" + +struct OutputUnit { + OggEncoder encoder; + FileRepository repository; +}; + +void printHelp(std::string programName) +{ + logger.error() << "usage <"<<programName<<"> options file" << std::endl; + logger.error() << "Options are:\n" + << " -h : help screen \n" + << " -g : dump pages \n" + << " -p : dump packets \n" + << " -l <level> : information depth; default: 5 (most information)\n" + << " -s : promt for streams to dump\n" + << " -o <file> : output dump information to a file\n"; +} + +void dumpPacketof(std::string& file, uint8 dumpLevel, bool promptForStreams, std::string& outFilename) +{ + /* open the first file to be read */ + std::vector<StreamConfig> configList; + StreamSerializer serializer; + + std::ofstream outStream; + + /* if there is a filename given, write the data to this file */ + if (!outFilename.empty()) + outStream.open(outFilename.c_str()); + + if (!serializer.open(file)) { + logger.error() << "Can not open file <" << file << ">\n"; + exit(-1); + } + + /* read the stream configuration */ + serializer.getStreamConfig(configList); + + std::vector<uint32> outputStreamNo; + + for (uint32 i(0); i<configList.size(); ++i) { + std::cout << "Config of stream No. "<<i<<"\n" + << "StreamType: "; + switch (configListi.type) { + case OggType::kate: + std::cout << "kate\n"; + break; + case OggType::theora: + std::cout << "theora\n"; + break; + case OggType::vorbis: + std::cout << "vorbis\n"; + break; + } + + std::cout << "serial No : 0x"<< std::hex << configListi.serialNo; + if (configListi.parameter) + //std::cout << configListi.parameter->toString(); + + if (promptForStreams) { + std::cout << "Dump this stream? (y/n) \n"; + char answer; + std::cin >> answer; + + if (answer != 'Y' && answer != 'y') + outputStreamNo.push_back(configListi.streamNo); + + std::cout << answer << "\n"; + } + } + + OggPacket packet; + double _time; + bool print; + + while (serializer.available()) { + + _time = serializer.getNextPacket(packet); + + print = true; + for (uint32 i(0); i<outputStreamNo.size(); ++i) + if (outputStreamNoi == packet->getStreamNo()) + print = false; + + if (!print) + continue; + + if (outFilename.empty()) { + std::cout << "\nTime: " << _time; + std::cout << packet->toString(dumpLevel); + } else { + outStream << "\nTime: " << _time; + outStream << packet->toString(dumpLevel); + } + } +} + +int oggDumpCmd(int argc, char* argv) +{ + + /* default values + * for the command line arguments */ + + uint8 dumpLevel(5); + std::string outFilename(""); + bool dumpPages(false); + bool dumpPackets(false); + bool promptForStreams(false); + + std::string programName(argv0); + + int opt; + while ((opt = getopt(argc, argv, "hgpl:so:")) != EOF) + + switch (opt) { + + case 'h': + printHelp(argv0); + exit(-1); + + case 'g': + dumpPages = true; + break; + + case 'p': + dumpPackets = true; + break; + + case 's': + promptForStreams = true; + break; + + case 'o': + outFilename = std::string(optarg); + break; + + case 'l': + dumpLevel = atoi(optarg); // yes, I know the atoi bug + break; + + } + + argc -= optind; + argv += optind; + + std::string analysisFile; + + if (argc == 1) + analysisFile = std::string(argv0); + else { + printHelp(programName); + exit(-1); + } + + if ((!dumpPages) && (!dumpPackets)) { + logger.error() << "Specify whether you want to dump pages, packet or both by -g and/or -p\n"; + exit(-1); + } + + if (dumpPackets) { + dumpPacketof(analysisFile, dumpLevel, promptForStreams, outFilename); + return(0); + } + + std::ofstream outStream; + + /* if there is a filename given, write the data to this file */ + if (!outFilename.empty()) + outStream.open(outFilename.c_str()); + + /* open the m_repository + in this easy example, it is a simple file */ + FileRepository repository(analysisFile, MediaUnit::read); + + OggDecoder oggDecoder; + std::map<uint32, OggStreamDecoder> oggStreamDecoderList; + std::vector<OggPage> bosPages; + + /* run through the m_repository until there is no data left */ + while (!repository.isEndOfFile()) { + + RawMediaPacket rawDecoderPacket; + + /* extract a raw data bunch from the file .. */ + repository >> rawDecoderPacket; + + /* .. and insert it into the ogg decoder */ + oggDecoder << rawDecoderPacket; + + /* are there any complete ogg Pages available ? */ + while (oggDecoder.isAvailable()) { + + OggPage oggPage; + + /* grap the next page */ + oggDecoder >> oggPage; + + /* what ID has this page / what stream does this page belongs to */ + uint32 serialID = oggPage->serialno(); + + if (oggPage->isBOS()) { + + bool addPage(false); + + switch (OggBOSExtractorFactory::getStreamType(oggPage)) { + + case OggType::theora: { + std::cout << "Found theora stream with ID= 0x" << std::hex + << serialID << std::dec << std::endl; + if (promptForStreams) { + std::cout << "Dump this stream? (y/n) \n"; + char answer; + std::cin >> answer; + if (answer == 'Y' || answer == 'y') + addPage = true; + std::cout << answer << "\n"; + } else + addPage = true; + } + break; + + case OggType::vorbis: { + std::cout << "Found vorbis stream with ID= 0x" << std::hex + << serialID << std::dec << std::endl; + if (promptForStreams) { + std::cout << "Dump this stream? (y/n) "; + char answer; + std::cin >> answer; + if (answer == 'Y' || answer == 'y') + addPage = true; + std::cout << answer << "\n"; + } else + addPage = true; + + } + break; + + case OggType::kate: { + std::cout << "Found kate stream with ID= 0x" << std::hex + << serialID << std::dec << std::endl; + if (promptForStreams) { + std::cout << "Dump this stream? (y/n) "; + char answer; + std::cin >> answer; + if (answer == 'Y' || answer == 'y') + addPage = true; + std::cout << answer << "\n"; + } else + addPage = true; + + } + break; + + default: { + std::cout << "Found unknown stream with ID= 0x" << std::hex + << serialID << std::dec << std::endl; + if (promptForStreams) { + std::cout << "Dump this stream? (y/n) \n"; + char answer; + std::cin >> answer; + if (answer == 'Y' || answer == 'y') + addPage = true; + std::cout << answer << "\n"; + } else + addPage = true; + } + break; + } + if (addPage) { + oggStreamDecoderListserialID = OggStreamDecoder(); + oggStreamDecoderListserialID << oggPage; + bosPages.push_back(oggPage); + } + + } else { + + /* does the user want to dump this stream */ + if (oggStreamDecoderList.find(serialID) != oggStreamDecoderList.end()) { + + if (dumpPages) { + + std::string outputString; + + // are there any bos pages, then toString them first + if (!bosPages.empty()) { + for (uint32 j(0); j<bosPages.size(); ++j) + outputString += bosPagesj->toString(dumpLevel); + bosPages.clear(); + } + + outputString += oggPage->toString(dumpLevel); + + if (outFilename.empty()) + std::cout << outputString; + else + outStream << outputString; + + } + + } + } + } + } + + /* close all files */ + repository.close(); + if (!outFilename.empty()) + outStream.close(); + + return (0); +} + +int main(int argc, char* argv) +{ + //logger.setLevel(OggLog::LOG_DEBUG); + try { + return oggDumpCmd(argc, argv); + } catch (OggException & e) { + logger.error() << "Fatal error: " << e.what() << std::endl; + return -1; + } +} +
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/oggJoin.cpp
Added
@@ -0,0 +1,228 @@ +/* + * oggJoin will multiplex a number of video and audiostreams to one ogg file + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> +#include <vector> +#include <string> +#include <cstdlib> + +#include "fileRepository.h" +#include "oggDecoder.h" +#include "oggEncoder.h" +#include "oggStreamDecoder.h" +#include "vorbisPosInterpreter.h" +#include "theoraPosInterpreter.h" +#include "oggPage.h" +#include "oggBOSExtractorFactory.h" +#include "exception.h" +#include "log.h" + +struct JoinElement { + FileRepository repository; + OggDecoder decoder; + GranulePosInterpreter* position; + OggPage nextPage; + bool closed; +}; + +bool getNextPage(JoinElement* element, OggPage& page) +{ + if (element->decoder.isAvailable()) { + /* if there is a packet available, get it */ + element->decoder >> page; + return(true); + } + + /* there is actually no packet available, so grap a data + * bunch and transfer it into the decoder and see if we can + * then extract a packet */ + + while (element->decoder.isEmpty()) { + + /* if we can not grap any more data, return false */ + if (element->repository.isEndOfFile()) { + element->closed = true; + return(false); + } + + /* transfer a new raw packet */ + RawMediaPacket rawPacket; + element->repository >> rawPacket; + element->decoder << rawPacket; + + } + + element->decoder >> page; + return(true); +} + +void printHelpScreen(const std::string& progName) +{ + logger.error() << "usage: " << progName + << " <outputFile> <inputFile1> <inputFile2> <inputFile3> ... \n" + << " -- package and version \"" << PACKAGE_STRING << "\"\n\n" + << "oggJoin will multiplex a number of ogg streams into \n" + << "one file. Actually every stream must be placed in a \n" + << "single file.\n\n"; +} + +int oggJoinCmd(int argc, char* argv) +{ + + std::string help("-h"); + if ((argc > 1) && (help == argv1)) { + printHelpScreen(argv0); + exit(-1); + } + + + if (argc < 3) { + printHelpScreen(argv0); + exit(-1); + } + + std::vector<JoinElement*> decoderList; + + /* open the m_repository and encoder for the joined file */ + FileRepository outRepository = FileRepository(argv1, MediaUnit::write); + OggEncoder oggEncoder; + + /* run through the file list given by the command line */ + for (uint32 i(2); i < (uint32)argc; ++i) { + + /* create a new element for one stream */ + JoinElement* newElement = new JoinElement; + newElement->closed = false; + newElement->repository = FileRepository(argvi, MediaUnit::read); + + /* if we can not open the file, do not insert it in the decoder list */ + if (newElement->repository.isEndOfFile()) { + logger.warning() << "Warning: can not open file <"<<argvi<<"> for reading\n\n"; + delete newElement; + } else { + + /* get the first packet bunch from the file and place it into the decoder */ + RawMediaPacket packet; + newElement->repository >> packet; + newElement->decoder << packet; + + /* there must be at least the bos page */ + OggPage page; + newElement->decoder >> page; + + ExtractorInformation config; + if (!OggBOSExtractorFactory::extractInformation(page,config)) { + logger.warning() << "Warning: <"<<argvi<<"> is not a valid ogg file"; + newElement->repository.close(); + delete newElement; + continue; + } + + newElement->position = OggBOSExtractorFactory::extractPositionInterpreter(config); + + /* if we found a valid stream, create the rest of the infrastructure */ + if (newElement->position != 0) { + + /* insert the BOS page into the new file (the first pages must be the BOS + * pages) */ + oggEncoder << page; + + /* request the next page */ + getNextPage(newElement, newElement->nextPage); + decoderList.push_back(newElement); + } else { + logger.warning() << "Warning: can not interpret ogg stream\n"; + /* we can not interpret the granual position of this stream, + * so we close it */ + newElement->repository.close(); + delete newElement; + } + } + } + + if (decoderList.empty()) { + logger.error() << "Error: could not open any stream - abort\n"; + exit(-1); + } + + uint32 closeCounter(0); + + /* run through the different streams and assemble them until there are no more pages */ + while (closeCounter < decoderList.size()) { + + double smallestTime(-10); + uint32 smallestID(0); + + /* find the element, that should be inserted into the new file */ + for (uint32 i(0); i<decoderList.size(); ++i) { + + /* are there no more pages available? */ + if (decoderListi->closed) + continue; + + double testTime(decoderListi->position->getTime(decoderListi->nextPage->granulepos())); + if ((smallestTime < -9) || (smallestTime > testTime)) { + smallestTime = testTime; + smallestID = i; + } + } + + /* insert the next page into the new file */ + oggEncoder << decoderListsmallestID->nextPage; + + /* try to get the next page */ + if (!getNextPage(decoderListsmallestID, decoderListsmallestID->nextPage)) { + + /* if this was the last page in this stream, clean up */ + decoderListsmallestID->closed = true; + decoderListsmallestID->repository.close(); + delete decoderListsmallestID->position; + + closeCounter++; + } + + while (oggEncoder.isAvailable()) { + RawMediaPacket outPacket; + oggEncoder >> outPacket; + outRepository << outPacket; + } + } + + /* cleanup the heap */ + for (uint32 i(0); i<decoderList.size(); ++i) + delete decoderListi; + + /* close the new file */ + outRepository.close(); + + return(0); +} + +int main(int argc, char* argv) +{ + try { + return oggJoinCmd(argc, argv); + } catch (OggException & e) { + logger.error() << "Fatal error: " << e.what() << std::endl; + return -1; + } +} +
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/oggLength.cpp
Added
@@ -0,0 +1,142 @@ +/* + * oggLength is a command line tool, to return the length of an ogg file + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifdef __WIN32 +#define __GNU_LIBRARY__ +#include "../win32/getopt_win.h" +#endif + +#include <iostream> +#include <string> +#include <cstdlib> +#include <unistd.h> + +#include "fileRepository.h" +#include "streamSerializer.h" +#include "exception.h" +#include "log.h" + +void printHelpScreen(std::string& progName) +{ + logger.error() << "usage: " << progName << " <inputFile> \n"; +} + +int oggLengthCmd(int argc, char* argv) +{ + + std::string inputFile; + std::string programName(argv0); + + bool printVorbisExtra(false); + bool printTheoraExtra(false); + + int opt; + while ((opt = getopt(argc, argv, "hvtVT")) != EOF) + + switch (opt) { + + case 'h': + printHelpScreen(programName); + exit(-1); + + case 'v': + case 'V': + printVorbisExtra = true; + break; + + case 't': + case 'T': + printTheoraExtra = true; + break; + + } + + argc -= optind; + argv += optind; + + if (argc == 1) + inputFile = std::string(argv0); + else { + printHelpScreen(programName); + exit(-1); + } + + /* create the stream serializer */ + StreamSerializer streamSerializer; + + /* open the file */ + if (!streamSerializer.open(inputFile)) { + logger.error() << "Error: can not open file <"<<inputFile<<">\n"; + exit(-1); + } + + /* create the headers */ + std::vector<StreamConfig> streamConfigList; + streamSerializer.getStreamConfig(streamConfigList); + +// for (uint32 i(0); i<streamConfigList.size(); ++i) { +// logger.info() << streamConfigListi.parameter->toString(); +// } + + OggPacket packet; + double timeVorbis; + double timeTheora; + double time; + double retTime(-1); + + /* copy the stream if the packets are within the cut area + * and the first video keyframe has been found */ + while (streamSerializer.available()) { + + time = streamSerializer.getNextPacket(packet); + + if (time < 0) { + break; + } else if (packet->getStreamType() == OggType::theora) + timeTheora = time; + if (packet->getStreamType() == OggType::vorbis) + timeVorbis = time; + + retTime = time; + + } + + std::cout << (int)(retTime*1000) << std::endl; + + if (printVorbisExtra) + std::cout << " Vorbis End-Time (packet basis): " << (int)(timeVorbis*1000) << std::endl; + + if (printTheoraExtra) + std::cout << " Theora End-Time : " << (int)(timeTheora*1000) << std::endl; + + return((int)(retTime*1000)); +} + +int main(int argc, char* argv) +{ + try { + return oggLengthCmd(argc, argv); + } catch (OggException & e) { + logger.error() << "Fatal error: " << e.what() << std::endl; + return -1; + } +} +
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/oggScroll.cpp
Added
@@ -0,0 +1,217 @@ +/* + * oggScroll is a tool to scroll through a theora stream + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> +#include <map> +#include <termios.h> +#include <SDL/SDL.h> + +#include "fileRepository.h" +#include "streamSerializer.h" +#include "theoraDecoder.h" +#include "theoraStreamParameter.h" +#include "SDLvideoOutput.h" +#include "exception.h" +#include "log.h" + +void printHelpScreen(std::string& progName) +{ + logger.error() << "usage: " << progName << "options\n"; +} + +int getChar() +{ + termios origTerminal; + termios tempTerminal; + int character; + + /* get the actuall terminal state */ + if ((tcgetattr (STDIN_FILENO, &tempTerminal)) == -1) + exit(-1); + + origTerminal = tempTerminal; + + + tempTerminal.c_iflag = + tempTerminal.c_iflag & ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON); + tempTerminal.c_oflag = tempTerminal.c_iflag & ~(OPOST); + tempTerminal.c_cflag = tempTerminal.c_cflag & ~(CSIZE | PARENB); + tempTerminal.c_lflag = tempTerminal.c_lflag & ~(ECHO|ICANON|IEXTEN|ISIG); + tempTerminal.c_cflag = tempTerminal.c_cflag | CS8; + tempTerminal.c_ccVMIN = 1; + tempTerminal.c_ccVTIME = 0; + + /*Jetzt setzten wir den raw-Modus*/ + /* + * if ((tcsetattr (fd, TCSAFLUSH, &new_io)) == -1) + */ + + /* change terminal to raw behaviour */ + tcsetattr (STDIN_FILENO, TCSAFLUSH, &tempTerminal); +// cfmakeraw(&tempTerminal); + + /* wait for a keypress event */ + character = getchar(); + + /* restore the old terminal */ + tcsetattr (STDIN_FILENO, TCSANOW, &origTerminal); + + return(character); +} + +int oggScrollCmd(int argc, char* argv) +{ + std::string inputFile; + std::string programName(argv0); + + int opt; + while ((opt = getopt(argc, argv, "h")) != EOF) + + switch (opt) { + + case 'h': + printHelpScreen(programName); + exit(-1); + + } + + argc -= optind; + argv += optind; + + if (argc == 1) + inputFile = std::string(argv0); + else { + printHelpScreen(programName); + exit(-1); + } + + if (inputFile.empty()) { + logger.error() << "Error: please define an input and output file with -i and -o\n\n"; + return(-1); + } + + /* create the */ + StreamSerializer streamSerializer; + TheoraDecoder theoraDecoder; + uint8 foundTheora(0); + std::vector<OggComment> commentList; + + if (!streamSerializer.open(inputFile)) { + logger.error() << "Error: can not open file <"<<inputFile<<">\n"; + return(-1); + } + + uint8 theoraStreamNo(0); + + /* create the headers */ + std::vector<StreamConfig> streamConfigList; + streamSerializer.getStreamConfig(streamConfigList); + + TheoraStreamParameter* theoraConfig(0); + + /* Output some stream information */ + for (uint32 i(0); i<streamConfigList.size(); ++i) { + if (streamConfigListi.type != ogg_unknown) { + logger.info() << streamConfigListi.parameter->toString(); + } + if (streamConfigListi.type == ogg_theora) { + // take the first theora stream + if (!foundTheora) { + theoraStreamNo = streamConfigListi.streamNo; + theoraConfig = (TheoraStreamParameter*)streamConfigListi.parameter; + theoraDecoder.initDecoder(streamConfigListi, commentList); + } + foundTheora++; + } + } + + OggPacket packet; + double time; + + if (foundTheora == 0) { + logger.error() << "I did not find any theora stream\n"; + exit(-1); + } + + /* create SDL video object */ + VideoInfo sdlInfo; + sdlInfo.frame_width = theoraConfig->pictureX; + sdlInfo.frame_height = theoraConfig->pictureY; + sdlInfo.offset_x=0; + sdlInfo.offset_y=0; + + //TheoraVideoPacket picture; + th_ycbcr_buffer picture; + SDLvideoOutput videoOut; + videoOut.init(sdlInfo); + + /* play back the pictures */ + bool keyframeSearch(false); + bool avail(true); + + while (1==1) { + + time = streamSerializer.getNextPacket(packet); + while (avail) { +// logger.debug() << time<<" - Stream No: "<<(int)packet.getStreamNo()<< " theora Stream No: "<<(int)theoraStreamNo<<"\n"; + if ((packet.getStreamNo() != theoraStreamNo) || ((keyframeSearch) && (!TheoraDecoder::isPacketKeyframe(packet)))) { + if (!streamSerializer.available()) + avail = false; + else + time = streamSerializer.getNextPacket(packet); + } else + break; + + } + + if (!avail) + break; + + theoraDecoder << packet; + theoraDecoder >> picture; + videoOut << picture; + + logger.info() << "\rTime: "<<time<<" "; + + int key(getChar()); + if (key == 'q') + break; + + if (key == '+') + keyframeSearch=true; + else + keyframeSearch=false; + } + + + return(0); +} + +int main(int argc, char* argv) +{ + try { + return oggScrollCmd(argc, argv); + } catch (OggException & e) { + logger.error() << "Fatal error: " << e.what() << std::endl; + return -1; + } +} +
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/oggSilence.cpp
Added
@@ -0,0 +1,219 @@ +/* + * oggSilence is a command line tool, to create silence vorbis files + * + * Copyright (C) 2009 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifdef __WIN32 +#define __GNU_LIBRARY__ +#include "../win32/getopt_win.h" +#endif + +#include <string> +#include <vector> +#include <iostream> +#include <sstream> +#include <cstdlib> +#include <ctime> +#include <unistd.h> + +#include "vorbisEncoder.h" +#include "streamMux.h" +#include "fileRepository.h" +#include "oggComment.h" +#include "cmdlineextractor.h" +#include "exception.h" +#include "log.h" + +#define BUNCHSIZE 512 + +void printHelpScreen(std::string& name) +{ + logger.error() << "usage "<<name<< " -d <datarate in bit/s> -n <number of channels> -r <sample rate in Hz> -l <length in ms> <output file>\n"; +} + +AudioPacket getSilencePacket(uint32 channels, uint32 length) +{ + float silencelength; + + for (uint32 i(0); i<length; ++i) + silencei = 0.0; + + AudioPacketInternal* internal = new AudioPacketInternal(channels,length); + + for (uint32 j(0); j<channels; ++j) + internal->setDataOfChannel(j, silence); + + // funny stack stuff ;-) + return(AudioPacket(internal)); +} + +int oggSilenceCmd( int argc, char* argv ) +{ + + VorbisEncoder encoder(0); + AudioPacket audioPacket; + AudioPacket lastAudioPacket; + + uint32 samplerate(44100); + uint32 channels(2); + uint32 datarate(64000); + uint32 length(60000); // 1 minute + + /* Initialisation */ + + std::string outputFile; + std::string programName(argv0); + + srand(time(0)); + + int opt; + while ((opt = getopt(argc, argv, "ho:d:n:r:l:")) != EOF) + + switch (opt) { + + case 'h': + printHelpScreen(programName); + exit(-1); + + case 'd': + datarate = CmdlineExtractor::atoi(optarg); + break; + + case 'o': + outputFile = std::string(optarg); + break; + + case 'n': + channels = CmdlineExtractor::atoi(optarg); + break; + + case 'r': + samplerate = CmdlineExtractor::atoi(optarg); + break; + + case 'l': + length = CmdlineExtractor::atoi(optarg); + break; + + } + + argc -= optind; + argv += optind; + + if ((argc > 1)) { + printHelpScreen(programName); + exit (-1); + } + + if (argc > 0) { + outputFile = std::string(argv0); + } + + /* Handle wrong parameter and parameter combinations */ + if (outputFile.empty()) { + printHelpScreen(programName); + exit (-1); + } + + StreamMux muxer(new FileRepository(outputFile, MediaUnit::write)); + + muxer.recreatePacketPosition(false); + + /* configure encoder */ + std::shared_ptr<VorbisStreamParameter> config = std::make_shared<VorbisStreamParameter>(); + config->datarate = datarate; + config->channels = channels; + config->samplerate = samplerate; + + StreamConfig streamConfig; + streamConfig.parameter = config; + + std::vector<OggComment> comments; // none + + try { + encoder.configureEncoder(streamConfig, comments); + } catch (std::exception & e) { + logger.error() << e.what() << std::endl; + exit(-1); + } catch (...) { + //logger.error() << what(); + exit(-1); + } + + logger.error() << "Creating ogg file with the following parameters\n"<<streamConfig.parameter->toString(); + + /* there is only one stream in this file */ + std::vector<StreamConfig> configList; + configList.push_back(streamConfig); + + /* configure the muxer */ + muxer.configureStreams(configList); + + uint32 completeSamples((float)length/1000.0*samplerate); + + /* create one silence packet */ + audioPacket = getSilencePacket(channels, BUNCHSIZE); + + if (completeSamples%BUNCHSIZE != 0) { + lastAudioPacket = getSilencePacket(channels, completeSamples%BUNCHSIZE); + } + + OggPacket packet; + + for (uint32 i(0); i<completeSamples/BUNCHSIZE; ++i) { + + logger.debug() <<(i+1)*BUNCHSIZE<<"\r"; + + encoder << audioPacket; + if (encoder.isAvailable()) { + encoder >> packet; + muxer << packet; + } + } + + logger.debug() << "\n"; + + if (completeSamples%BUNCHSIZE != 0) { + logger.debug() << "\nwrite last frame with "<<completeSamples%BUNCHSIZE<<std::endl; + encoder << lastAudioPacket; + } + + encoder.flush(); + + while (encoder.isAvailable()) { + encoder >> packet; + muxer << packet; + } + + muxer.setEndOfStream(); + muxer.close(); + + return(0); +} + +int main(int argc, char* argv) +{ + try { + return oggSilenceCmd(argc, argv); + } catch (OggException & e) { + logger.error() << "Fatal error: " << e.what() << std::endl; + return -1; + } +} +
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/oggSlideshow.cpp
Added
@@ -0,0 +1,514 @@ +/* + * oggSlideshow creates a slideshow from a number of pictures + * + * Copyright (C) 2008-2009 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + + + +#ifdef __WIN32 +#define __GNU_LIBRARY__ +#include "../win32/getopt_win.h" +#endif + +#include <iostream> +#include <map> +#include <vector> +#include <string> +#include <sstream> +#include <cstdlib> +#include <cmath> +#include <cstring> +#include <ctime> +#include <exception> +#include <memory> +#include <unistd.h> + +#include "th_helper.h" + +#include "definition.h" +#include "theoraEncoder.h" +#include "fileRepository.h" +#include "streamMux.h" +#include "cmdlineextractor.h" + +#include "effector.h" +#include "effectorTypes.h" +#include "crossfader.h" +#include "kenburnseffect.h" +#include "lowpassEffect.h" +#include "plainPicture.h" +#include "shiftEffect.h" +#include "shiftblendEffect.h" + +#include "pictureLoader.h" +#include "pictureResize.h" + +#include "log.h" +#include "exception.h" + +void printHelpScreen(std::string& name) +{ + std::cerr << "usage: "<< name <<" options <picture1.bmp> <picture2.bmp> \n"; + std::cerr << "Options: \n" + << " -s <width>x<height>: picture width/height of the output frame\n" + << " -f <frames/s> : frames per second\n" + << " -o <output file> : name of the output file\n" + << " -l <length> : number of frames per picture frequence\n" + << " -d <datarate> : datarate in bit/second\n" + << " -r <resample> : resizes the original pictures to video frame width/height and the additional resample factor\n" + << " -e : reframe picture\n" + << " -t <type> : kb - Ken Burns\n" + << " cf - cross fade\n" + << " p - plain\n" + << " bl - blur\n" + << " s - shift\n" + << " b - shiftblend\n" + << " -q <quality> : quality (0-63)\n" + << " -c : comments in form type=value;type=value\n"; + + std::cerr << "\nadditionally you are able to set a prefix walk with -tkb:<prefixNum>\n"; +} + +//int main(int argc, char* argv) +int oggSlideshowCmd(int argc, char* argv) +{ + /* default values */ + uint32 width(480); + uint32 height(320); + uint32 framesPerSecond(24); + std::string outputFile("slideshow.ogv"); + uint32 datarate(0); + uint32 quality(32); + float resample(1.4); + bool reframe(false); + std::vector<OggComment> oggComments; + int32 predefine(0); + SlideshowElement defaultSlide; + defaultSlide.duration = 8; + defaultSlide.type = KenBurns; + + srand(time(0)); + + std::string programName(argv0); + + int opt; + while ((opt = getopt(argc, argv, "hp:f:o:l:d:r:t:s:ec:q:")) != EOF) + + switch (opt) { + + case 'h': + case '?': + printHelpScreen(programName); + exit(-1); + + case 's': { + std::deque<uint32> framesize; + CmdlineExtractor::extractUint32(framesize, optarg, 'x'); + if (framesize.size() != 2) { + logger.error() << "please specify the size in the following way: -s320x480\n"; + exit(-1); + } + width = framesize0; + height = framesize1; + + } + break; + + case 'q': + quality = atoi(optarg); + break; + + case 'f': + framesPerSecond = atoi(optarg); + break; + + case 'o': + outputFile = std::string(optarg); + break; + + case 'l': + defaultSlide.duration = atof(optarg); + break; + + case 'd': + datarate = atoi(optarg); + break; + + case 'r': + resample = atof(optarg); + if ((resample < 1) || (resample > 2)) + resample = 1.2; + break; + + case 'e': { + logger.debug() << "reframing\n"; + reframe = true; + break; + } + + case 't': { + + std::string typeStr; + std::string teststring(optarg); + std::stringstream tmp; + + std::string::size_type pos = teststring.find(':'); + typeStr = teststring.substr(0,pos); + if ((pos != std::string::npos) && (pos+1 < teststring.size())) { + tmp << teststring.substr(pos+1, std::string::npos); + tmp >> predefine; + std::cerr << "Predefine: "<< predefine<<std::endl; + } + + if ((typeStr == "kb") || (typeStr =="KenBurns")|| (typeStr == "KB")) { + + defaultSlide.type = KenBurns; + break; + } + if ((typeStr == "cf") || (typeStr =="crossfade")) { + defaultSlide.type = Crossfade; + break; + } + + if ((typeStr == "p") || (typeStr =="plain")|| (typeStr == "simple")) { + defaultSlide.type = Plain; + break; + } + + if ((typeStr == "b") || (typeStr =="bl") || (typeStr == "blur") || + (typeStr == "lp") || (typeStr == "lowpass")) { + defaultSlide.type = Blur; + break; + } + + if ((typeStr == "s") || (typeStr =="sh") || (typeStr == "shift")) { + defaultSlide.type = Shift; + break; + } + + if ((typeStr =="sb") || (typeStr == "shiftlend")) { + defaultSlide.type = ShiftBlend; + break; + } + + std::cerr << "Unknown Type: (" << typeStr << ") using Ken Burns"; + defaultSlide.type = KenBurns; + } + break; + + case 'c': { + CmdlineExtractor::extractCommentPairs ( oggComments, optarg, ';', '=' ); + + } + + + } + + argc -= optind; + argv += optind; + + if ((argc < 1)) { + printHelpScreen(programName); + return (-1); + } + + StreamConfig streamConf; + std::shared_ptr<TheoraStreamParameter> config = std::make_shared<TheoraStreamParameter>(); + streamConf.parameter = config; + +// for valgrind +#ifdef HAVE_BZERO +// bzero(config,sizeof(TheoraStreamParameter)); +#else +// memset(config, 0x00, sizeof(TheoraStreamParameter)); +#endif + + /* create configuration */ + config->pictureX = width; + config->pictureY = height; + config->calculateFrame(); + config->aspectRatioDenom = 1; + config->aspectRatioNum = 1; + config->framerateNum = framesPerSecond; + config->framerateDenom = 1; + config->keyframeShift = 6; + config->pixel_fmt = TheoraStreamParameter::pf_420;//TheoraStreamParameter::pf_444; + config->colorspace = TheoraStreamParameter::unspecified; + + config->videoBitrate = datarate; + config->videoQuality = quality; + + /* create stream configuration */ + TheoraEncoder theoraEncoder(0); + + /* configure the theora encoder and get a stream config back + * which configures the stream multiplexer */ + try { + theoraEncoder.configureEncoder(streamConf, oggComments); + } catch (std::exception e) { + std::cerr << e.what(); + exit(-1); + } + + // encoder might want another frame size: + + std::vector<StreamConfig> configList; + configList.push_back(streamConf); + + /* create a m_repository, where the data should be placed */ + FileRepository* repository = new FileRepository(outputFile, MediaUnit::write); + + /* create a stream multiplexer */ + StreamMux streamCreate(repository); + + /* configure the stream multiplexer */ + streamCreate.configureStreams(configList); + + /* extract the RGB picture plane */ + RGBPlane pictureRGB; + + std::shared_ptr<Effector> effector; + + bool first(true); + bool noneFound(true); + // run through all pictures in command line + for (int32 i(0); i<argc; ++i) { + + bool last = (i == (argc-1)); + try { + + // initialize the slide specification with default values + SlideshowElement slide(defaultSlide); + + // extract the actual slide specifications from the next argument + CmdlineExtractor::extractSlideshow(argvi,',',slide); + + logger.info() << "\ncreating video stream for picture <" + << slide.filename << ">\n"; + + // extract parameters + + uint32 loadWidth; + uint32 loadHeight; + + if (slide.type == KenBurns) { + loadWidth = (uint32)(width*resample); + loadHeight = (uint32)(height*resample); + } else { + loadWidth = width; + loadHeight = height; + } + + bool biggest = (!reframe); + if (PictureLoader::load(pictureRGB, slide.filename, loadWidth, loadHeight, biggest) == false) { + continue; + } + noneFound = false; + + /* add borders, if aspect ratio does not match and the user wants that */ + if (reframe && ((loadWidth != pictureRGB->width) || (loadHeight != pictureRGB->height))) { + logger.info() << "Picture aspect ratio does not match, doing reframing\n"; + pictureRGB = PictureResize::reframe(pictureRGB, loadWidth, loadHeight); + } + + /* configure the effector */ + switch (slide.type) { + + case KenBurns: { + + KenBurnsEffect::KenBurnsConfig config; + if (predefine == 0) + config = KenBurnsEffect::createKBconfigRandom(pictureRGB, loadWidth, loadHeight, width, height, slide.duration*framesPerSecond, framesPerSecond); + else if (predefine < 0) { + config.startpointX = slide.startPosX; + config.startpointY = slide.startPosY; + config.endpointX = slide.endPosX; + config.endpointY = slide.endPosY; + config.zoomStart = slide.startZoom; + config.zoomEnd = slide.endZoom; + config.sequenceLength = slide.duration * framesPerSecond; + config.blindLength = framesPerSecond; + config.origPlane = pictureRGB; + config.outputWidth = width; + config.outputHeight = height; + + std::cerr << "s:" << slide.startPosX<<":"<<slide.startPosY<<" -> "<<slide.endPosX<<":"<<slide.endPosY<<"\n"; + } else + config = KenBurnsEffect::createKBconfigPredefine(pictureRGB, loadWidth, loadHeight, width, height, slide.duration*framesPerSecond, framesPerSecond, predefine); + + + config.first = first; + config.last = last; + + if (!effector.get() || GetEffectorType()(*effector) != KenBurns) { + effector.reset(new KenBurnsEffect); + } + static_cast<KenBurnsEffect*>(effector.get())->configure(config); + + break; + } + + + case Crossfade: { + + Crossfader::CrossfaderConfig config; + + config.origPlane = pictureRGB; + config.blindLength = framesPerSecond; + config.sequenceLength = slide.duration*framesPerSecond; + config.outputWidth = width; + config.outputHeight = height; + config.first = first; + + if (!effector.get() || GetEffectorType()(*effector) != Crossfade) { + effector.reset(new Crossfader); + } + static_cast<Crossfader*>(effector.get())->configure(config); + + break; + } + + case Shift: { + + ShiftEffect::ShiftConfig config; + + config.origPlane = pictureRGB; + config.blindLength = framesPerSecond; + config.sequenceLength = slide.duration*framesPerSecond; + config.outputWidth = width; + config.outputHeight = height; + config.first = first; + + if (!effector.get() || GetEffectorType()(*effector) != Shift) { + effector.reset(new ShiftEffect); + } + static_cast<ShiftEffect*>(effector.get())->configure(config); + + break; + } + + case ShiftBlend: { + + ShiftblendEffect::ShiftConfig config; + + config.origPlane = pictureRGB; + config.blindLength = framesPerSecond; + config.sequenceLength = slide.duration*framesPerSecond; + config.outputWidth = width; + config.outputHeight = height; + config.first = first; + config.type = ShiftblendEffect::ShiftConfig::Right; + + if (!effector.get() || GetEffectorType()(*effector) != ShiftBlend) { + effector.reset(new ShiftblendEffect); + } + static_cast<ShiftblendEffect*>(effector.get())->configure(config); + + break; + } + + case Plain: { + + PlainPicture::PlainPictureConfig config; + + config.origPlane = pictureRGB; + config.sequenceLength = slide.duration*framesPerSecond; + config.outputWidth = width; + config.outputHeight = height; + + if (!effector.get() || GetEffectorType()(*effector) != Plain) { + effector.reset(new PlainPicture); + } + static_cast<PlainPicture*>(effector.get())->configure(config); + + break; + } + + case Blur : { + + LowpassEffect::LowPassPictureConfig config; + + config.origPlane = pictureRGB; + config.blindLength = framesPerSecond; + config.sequenceLength = slide.duration*framesPerSecond; + config.outputWidth = width; + config.outputHeight = height; + config.first = first; + config.last = last; + + if (!effector.get() || GetEffectorType()(*effector) != Blur) { + effector.reset(new LowpassEffect); + } + static_cast<LowpassEffect*>(effector.get())->configure(config); + break; + } + } + + RGBPlane outputPlane; + OggPacket packet; + th_ycbcr_buffer theoraPictureBuffer; + th_clean_ycbcr(theoraPictureBuffer); + + while (effector->available()) { + + (*effector) >> outputPlane; + + PictureLoader::exportYCrCb_theora(outputPlane, theoraPictureBuffer); + + theoraEncoder << theoraPictureBuffer; + theoraEncoder >> packet; + std::cerr << "\r " <<std::fixed << packet->getPacketNo()*1.0/(framesPerSecond*1.0)<<" "; + streamCreate << packet; + + } + + th_free_ycbcr(theoraPictureBuffer); + + } catch (const char* errorString) { + std::cout << errorString << std::endl; + return(-1); + } + first = false; + } + + if (noneFound) + return(-1); + + streamCreate.setEndOfStream(); + streamCreate.close(); + + std::cout << std::endl; +#ifdef OSX_MALLOC_DEBUG + std::cout << "Done!\n"; + while (1==1) { } +#endif + + return(0); +} + +int main(int argc, char* argv) +{ + logger.setLevel(OggLog::LOG_INFO); + try { + return oggSlideshowCmd(argc, argv); + } catch (OggException & e) { + logger.error() << "Fatal error: " << e.what() << std::endl; + return (-1); + } +}
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/oggSplit.cpp
Added
@@ -0,0 +1,163 @@ +/* + * oggSplit will demultiplex a number of video and audio streams from an ogg file + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> +#include <map> +#include <sstream> +#include <string> +#include <cstdlib> + +#include "fileRepository.h" +#include "rawMediaPacket.h" +#include "oggDecoder.h" +#include "oggEncoder.h" +#include "oggStreamDecoder.h" +#include "oggBOSExtractorFactory.h" +#include "exception.h" +#include "log.h" + +struct OutputUnit { + OggEncoder encoder; + FileRepository repository; +}; +void printHelpScreen(const std::string& progName) +{ + logger.error() << "usage: " << progName << " <file.ogv>\n" + << " -- package and version \"" << PACKAGE_STRING << "\"\n\n" + << "oggSplit demultiplexes an ogg file into its streams.\n" + << "Every stream is placed into a single file, which are\n" + << "called theora_<serialNo>.ogg or vorbis_<serialNo>.ogg.\n" + << "The serial number is the unique ogg serial number of\n" + << "this stream.\n\n"; +} + +int oggSplitCmd(int argc, char* argv) +{ + + if (argc != 2) { + printHelpScreen(argv0); + exit(-1); + } + + std::string help("-h"); + + if (help == argv1) { + printHelpScreen(argv0); + exit(-1); + } + + /* open the m_repository + in this easy example, it is a simple file */ + FileRepository repository(argv1, MediaUnit::read); + + /* open the file to write the new stream */ + std::map<uint32, OutputUnit> outputFileList; + + RawMediaPacket rawDecoderPacket; + OggDecoder oggDecoder; + + /* run through the m_repository until there is no data left */ + while (!repository.isEndOfFile()) { + + /* extract a raw data bunch from the file .. */ + repository >> rawDecoderPacket; + + /* .. and insert it into the ogg decoder */ + oggDecoder << rawDecoderPacket; + + /* are there any complete ogg Pages available ? */ + while (oggDecoder.isAvailable()) { + + OggPage oggPage; + + /* grap the next page */ + oggDecoder >> oggPage; + + /* what ID has this page / what stream does this page belongs to */ + uint32 serialID = oggPage->serialno(); + + /* if this is the start of a stream, create a m_repository file for it */ + if (oggPage->isBOS()) { + + std::stringstream filename; + + switch (OggBOSExtractorFactory::getStreamType(oggPage)) { + + case OggType::theora: + filename << "theora_" << std::hex << serialID << std::dec + << ".ogv"; + break; + + case OggType::vorbis: + filename << "vorbis_" << std::hex << serialID << std::dec + << ".oga"; + break; + + case OggType::kate: + filename << "kate_" << std::hex << serialID << std::dec + << ".ogv"; + break; + + default: + logger.warning() << "unknown type ID "<< std::hex << serialID << std::dec <<"\n"; + filename << "unknown_" << std::hex << serialID << std::dec + << ".ogv"; + + } + + logger.info() << "creating file <"<<filename.str()<<">\n"; + outputFileListserialID.repository = FileRepository( + filename.str(), MediaUnit::write); + outputFileListserialID.encoder = OggEncoder(); + } + + /* if this is a simple page, insert it into the decoder it + belongs to */ + outputFileListserialID.encoder << oggPage; + while (outputFileListserialID.encoder.isAvailable()) { + + RawMediaPacket rawOutput; + + /* extract the raw packets */ + outputFileListserialID.encoder >> rawOutput; + outputFileListserialID.repository << rawOutput; + + } + if (oggPage->isEOS()) + outputFileListserialID.repository.close(); + } + } + + repository.close(); + + return (0); +} + +int main(int argc, char* argv) +{ + try { + return oggSplitCmd(argc, argv); + } catch (OggException & e) { + logger.error() << "Fatal error: " << e.what() << std::endl; + return -1; + } +} +
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/oggThumb.cpp
Added
@@ -0,0 +1,574 @@ +/* + * oggThumb creates thumbs from an ogg/theora video + * + * Copyright (C) 2008-2009 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifdef __WIN32 +#define __GNU_LIBRARY__ +#include "../win32/getopt_win.h" +#else +#include <getopt.h> +#endif + +#include <vector> +#include <deque> +#include <limits> +#include <sstream> +#include <string> +#include <iostream> +#include <cstdlib> +#include <queue> + +#include "fileRepository.h" +#include "streamSerializer.h" +#include "theoraDecoder.h" +#include "theoraStreamParameter.h" +#include "oggComment.h" +#include "rgbPlane.h" +#include "pictureLoader.h" +#include "pictureResize.h" +#include "exception.h" +#include "log.h" + +const std::string validChars("0123456789,.x"); + +void extractUint32(std::deque<uint32>& list, const std::string& _argument, + char seperator) +{ + std::string argument(_argument); + std::stringstream str; + std::string substr; + + // if there is no argument given, the first frame will be created as a thumbnail + if (argument.empty()) { + list.push_back(0); + return; + } + + // delete all invalid data + std::size_t pos; + while ((pos = argument.find_first_not_of(validChars)) != std::string::npos) { + logger.debug() << "erasing <"<<argument.at(pos)<<">\n"; + argument.erase(pos,1); + } + + str << argument; + + uint32 value(0); + while (!str.eof()) { + std::stringstream part; + getline(str, substr, seperator); + part << substr; + part >> value; + list.push_back(value); + } + +} + +void extractUint32Sort(std::deque<uint32>& list, const std::string& _argument, + char seperator) +{ + std::string argument(_argument); + std::stringstream str; + std::string substr; + + std::priority_queue<uint32> _list; + + // if there is no argument given, the first frame will be created as a thumbnail + if (argument.empty()) { + list.push_back(0); + return; + } + + // delete all invalid data + std::size_t pos; + while ((pos = argument.find_first_not_of(validChars)) != std::string::npos) { + logger.debug() << "erasing <"<<argument.at(pos)<<">\n"; + argument.erase(pos,1); + } + + str << argument; + + uint32 value(0); + while (!str.eof()) { + std::stringstream part; + getline(str, substr, seperator); + part << substr; + part >> value; + _list.push(value); + } + + while (!_list.empty()) { + list.push_front(_list.top()); + _list.pop(); + } +} + + +void extractDoubleSort(std::deque<double>& list, const std::string& _argument, + char seperator) +{ + std::string argument(_argument); + std::stringstream str; + std::string substr; + + std::priority_queue<double> _list; + + // if there is no argument given, the first frame will be created as a thumbnail + if (argument.empty()) { + list.push_back(0); + return; + } + + std::size_t pos; + while ((pos = argument.find_first_not_of(validChars)) != std::string::npos) + argument.erase(pos); + + str << argument; + + double value(0); + while (!str.eof()) { + std::stringstream part; + getline(str, substr, seperator); + part << substr; + part >> value; + _list.push(value); + } + + while (!_list.empty()) { + list.push_front(_list.top()); + _list.pop(); + } + +} + +void writeActualFrame(TheoraDecoder& decoder, std::deque<OggPacket>& packetList, + const std::string& name, uint32 width, uint32 height) +{ + th_ycbcr_buffer picture; + RGBPlane plane; + + if (!TheoraDecoder::isPacketKeyframe(packetList0)) { + logger.error() << "first packet is not a keyframe\n"; + return; // could not happen ;-) + } + + for (uint32 i(0); i<packetList.size(); ++i) { + decoder << packetListi; + decoder >> picture; + } + + plane = PictureLoader::importYCrCb_theora(picture, decoder.getWidth(), decoder.getHeight(), decoder.getInfo().pic_x, decoder.getInfo().pic_y, decoder.getInfo().pixel_fmt); + + PictureLoader::save(plane, name, width, height); + +} + +std::string getThumbname(const std::string& filename, const std::string& forcedThumbname, + const std::string& extension, uint32& counter, uint32 reqCount) +{ + std::stringstream thumbname; + if (forcedThumbname.empty()) { + std::size_t filenamestart = filename.find_last_of('/'); + std::size_t filenamelength = filename.find_last_of('.'); + + if (filenamestart == std::string::npos) + filenamestart = 0; + else + filenamestart++; + + if ((filenamelength != std::string::npos) && (filenamelength > filenamestart)) + filenamelength = filenamelength - filenamestart; + else + filenamelength = std::string::npos; + + thumbname << filename.substr(filenamestart,filenamelength); + thumbname << "_" << counter++ << extension; + } else if (reqCount == 1) { + thumbname << forcedThumbname; + thumbname << extension; + } else { + std::size_t replacePos = forcedThumbname.find_first_of('%'); + if (replacePos != std::string::npos ) { + thumbname << forcedThumbname.substr(0, replacePos); + thumbname << (counter++); + thumbname << forcedThumbname.substr(replacePos + 1); + } else { + thumbname << forcedThumbname; + } + thumbname << extension; + } + return(thumbname.str()); +} + +void printHelpScreen(std::string& prog) +{ + logger.error() << "\nusage: "<<prog<<" options file1.ogv file2.ogv file3.ogv ... \n" + << "Options:\n" + << " -t <time1, time2, time3, ...> : create thumbnail from frame at time position time1, time2, time3 second\n" + << " -f <frameNo1, frameNo2, frameNo3, ...>: create thumbnail from frame number frameNo1, frameNo2, frameNo3\n" + << " -s <width>x<height> : resize to given values (if one argument is set to 0, it is calculated to meet the aspect ratio)\n" + << " -o <output format> : formats are jpg or png\n" + << " -n <filename> : force output filename\n" + << "The filename could be given with a %, which will be replaced by the actual picture number\n" + << "\n\n"; + +} + +int oggThumbCmd(int argc, char* argv) +{ + std::deque<double> timePosList; + std::deque<uint32> frameNoList; + + uint32 width(0); + uint32 height(0); + uint32 requestedFrameCount(0); + + std::string programName(argv0); + std::string extension(".jpg"); + std::string forcedThumbname; + + int opt; + + enum { + opt_help = 256, + opt_verbose + }; + +//#ifdef with_eclipse_CDTBUG + option longOpts = { + { /* name: */ "help" + , /* has_arg: */ 0, + /* flag: */ NULL, + /* val: */ opt_help + }, + { /* name: */ "verbose", + /* has_arg: */ 1, + /* flag: */ NULL, + /* val: */ opt_verbose + } + }; +//#endif + + while ((opt = getopt_long(argc, argv, "hf:t:s:o:n:v:", longOpts, NULL)) != EOF) + switch (opt) { + + case '?': + case 'h': + case opt_help: + printHelpScreen(programName); + return -1; + + case 'f': + extractUint32Sort(frameNoList, optarg, ','); + break; + + case 't': + extractDoubleSort(timePosList,optarg, ','); + break; + + case 's': { + std::deque<uint32> framesize; + extractUint32(framesize, optarg, 'x'); + if (framesize.size() != 2) { + logger.error() << "please specify the size in the following way: -s320x480\n"; + return -1; + } + width = framesize0; + height = framesize1; + } + break; + + case 'o': + extension = optarg; + extension = "." + extension; + break; + + case 'n': + forcedThumbname = optarg; + std::size_t extendPos; + if ((extendPos = forcedThumbname.find_last_of(".")) != std::string::npos) { + extension = forcedThumbname.substr(extendPos); + forcedThumbname = forcedThumbname.substr(0,extendPos); + } + logger.debug() << "Forced thumbnail name is "<<forcedThumbname<<std::endl; + break; + case 'v': + case opt_verbose: { + std::string vstr(optarg); + std::stringstream tempStream; + int verbosity(0); + + if (vstr == "debug") { + logger.setLevel(OggLog::LOG_DEBUG); + } else if (vstr == "info") { + logger.setLevel(OggLog::LOG_INFO); + } else if (vstr == "warning") { + logger.setLevel(OggLog::LOG_WARNING); + } else if (vstr == "error") { + logger.setLevel(OggLog::LOG_ERROR); + } else { + tempStream << vstr; + tempStream >> verbosity; + if (tempStream.fail() || verbosity < 0 || verbosity > 3) { + logger.error() << "Error: Invalid verbosity \"" << optarg << "\"\n"; + return(-1); + } + switch (verbosity) { + case 0: + logger.setLevel(OggLog::LOG_ERROR); + break; + case 1: + logger.setLevel(OggLog::LOG_WARNING); + break; + case 2: + logger.setLevel(OggLog::LOG_INFO); + break; + case 3: + logger.setLevel(OggLog::LOG_DEBUG); + } + } + break; + } + } + + argc -= optind; + argv += optind; + + requestedFrameCount = frameNoList.size() + timePosList.size(); + + if (argc == 0) { + logger.error() << "Please specify at least one ogg file\n"; + return -1; + } + + logger.info() << "Creating thumbs under the following option:\n"; + + if (!timePosList.empty()) { + logger.info() << "Frames at time (in seconds): "; + for (uint32 i(0); i<timePosList.size(); ++i) + logger.info() << timePosListi <<" "; + logger.info() << "\n"; + } + + if (!frameNoList.empty()) { + logger.info() << "Frame numbers: "; + for (uint32 i(0); i<frameNoList.size(); ++i) + logger.info() << frameNoListi <<" "; + logger.info() << "\n"; + } + + if (width) + logger.info() << "width is set to: "<<width<<"\n"; + + if (height) + logger.info() << "height is set to: "<<height<<"\n"; + + logger.info() << "file type: " << extension << "\n"; + + logger.info() << "The following ogg media files will be used: "; + for (int i(0); i<argc; ++i) + logger.info() << argvi << " "; + + logger.info() << "\n"; + uint32 counter(0); + + // go through the files + for (int i(0); i<argc; ++i) { + + /* create the stream serializer */ + StreamSerializer streamSerializer; + TheoraDecoder theoraDecoder; + uint8 foundTheora(0); + std::string filename(argvi); + double aspectCorrection; + + std::deque<double> tmptimePosList = timePosList; + std::deque<uint32> tmpframeNoList = frameNoList; + + if (forcedThumbname.empty()) + counter=0; + + if (!streamSerializer.open(filename)) { + logger.error() << "Error: can not open file <"<<filename<<">\n"; + continue; + } + + uint8 theoraStreamNo(0); + + /* create the headers */ + std::vector<StreamConfig> streamConfigList; + streamSerializer.getStreamConfig(streamConfigList); + + std::vector<OggComment> oggComments; + + /* Output some stream information */ + for (uint32 i(0); i<streamConfigList.size(); ++i) { + + if (streamConfigListi.type == OggType::theora) { + // take the first theora stream + if (!foundTheora) { + theoraStreamNo = streamConfigListi.streamNo; + TheoraStreamParameter& theoraConfig = dynamic_cast<TheoraStreamParameter&>(*streamConfigListi.parameter.get()); + theoraDecoder.initDecoder(streamConfigListi, oggComments); + logger.info() << "Info:\n" << theoraDecoder.configuration()<<std::endl; + + if (theoraDecoder.getInfo().aspect_numerator > 0 && theoraDecoder.getInfo().aspect_denominator > 0) + aspectCorrection = (theoraDecoder.getInfo().aspect_numerator*1.0)/(theoraDecoder.getInfo().aspect_denominator*1.0); + else + aspectCorrection = 1; + + if ((width == 0) && (height == 0)) { + width = theoraConfig.pictureX * aspectCorrection; //theoraConfig.frameX; + height = theoraConfig.pictureY; //theoraConfig.frameY; + } else { + if (height == 0) + height = (uint32)((width * theoraConfig.pictureY*1.0)/(theoraConfig.pictureX*aspectCorrection*1.0) + 0.5); + else if (width == 0) + width = (uint32)((height * theoraConfig.pictureX*aspectCorrection*1.0)/(theoraConfig.pictureY*1.0) +0.5); + } + + logger.info() << "width: "<<width<<" and height: "<<height<<"\n"; + + } + foundTheora++; + } + } + + if (!foundTheora) { + logger.warning() << "There is no theora stream in file <"<<filename<<">\n"; + continue; + } + + if (foundTheora > 2) + logger.warning() << "Found more than one theora stream in file <"<<filename<<"> using first stream\n"; + + /* set up first time/frame */ + double nextTime; + uint32 nextFrame; + + bool noMoreTime(false); + bool noMoreFrame(false); + + if (tmpframeNoList.empty()) { + nextFrame = std::numeric_limits<uint32>::max(); + noMoreFrame = true; + } else { + nextFrame = tmpframeNoList.front(); + tmpframeNoList.pop_front(); + } + + if (tmptimePosList.empty()) { + nextTime = std::numeric_limits<double>::max(); + noMoreTime = true; + } else { + nextTime = tmptimePosList.front(); + tmptimePosList.pop_front(); + } + + std::deque<OggPacket> packetList; + double time; + OggPacket packet; + + while (streamSerializer.available()) { + + // get the next packet + time = streamSerializer.getNextPacket(packet); + + // is this packet a theora frame + if (packet->getStreamType() != OggType::theora) + continue; + + // write actual time + logger.info() << "\r "<<time<<" "; + + // if this is a keyframe, we are able to decode from this + if (TheoraDecoder::isPacketKeyframe(packet)) { + packetList.clear(); + } + + // store packets for decoding since last keyframe + packetList.push_back(packet); + + // should this packet be written due to frame number comparison? + if (nextFrame == packet->getPacketNo()) { + + if (tmpframeNoList.empty()) { + nextFrame = std::numeric_limits<uint32>::max(); + noMoreFrame = true; + } else { + nextFrame = tmpframeNoList.front(); + tmpframeNoList.pop_front(); + } + + + std::string thumbname = getThumbname(filename, forcedThumbname, extension, + counter, requestedFrameCount); + logger.info() << "writing "<<thumbname<<std::endl; + writeActualFrame(theoraDecoder, packetList, thumbname, width, height); + } + + // should this packet be written due to time limit? + if (time >= nextTime) { + + if (tmptimePosList.empty()) { + nextTime = std::numeric_limits<uint32>::max(); + noMoreTime = true; + } else { + nextTime = tmptimePosList.front(); + tmptimePosList.pop_front(); + } + + std::string thumbname = getThumbname(filename, forcedThumbname, extension, + counter, requestedFrameCount); + + logger.info() << "writing "<<thumbname<<std::endl; + writeActualFrame(theoraDecoder, packetList, thumbname, width, height); + + } + + if (noMoreTime && noMoreFrame) + break; + } + + streamSerializer.close(); + + } + + + logger.info() << std::endl; + +#ifdef OSX_MALLOC_DEBUG + std::cout << "Done!\n"; + while (1==1) { } +#endif + + return(0); +} + +int main(int argc, char* argv) +{ + try { + return oggThumbCmd(argc, argv); + } catch (OggException & e) { + logger.error() << "Fatal error: " << e.what() << std::endl; + return -1; + } +} +
View file
oggvideotools-0.9.1.tar.bz2/src/binaries/oggTranscode.cpp
Added
@@ -0,0 +1,740 @@ +/* + * oggResize creates a resized video + * + * Copyright (C) 2008-2009 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifdef __WIN32 +#define __GNU_LIBRARY__ +#include "../win32/getopt_win.h" +#endif + +#include <iostream> +#include <map> +#include <vector> +#include <string> +#include <sstream> + +#include <cstring> +#include <cstdlib> +#include <cmath> +#include <ctime> +#include <unistd.h> + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <boost/lexical_cast.hpp> + +#include "definition.h" +#include "helper.h" + +#include "rgbPlane.h" +#include "pictureBlend.h" +#include "pictureLoader.h" +#include "oggComment.h" + +#include "videoHook.h" +#include "audioHook.h" + +#include "fileRepository.h" +#include "streamSerializer.h" +#include "streamMux.h" + +#include "cmdlineextractor.h" +#include "wishList.h" +#include "exception.h" +#include "log.h" + +void printHelpScreen(const std::string& progname) +{ + logger.error() << "usage: "<<progname << " -- package and version \"" + << PACKAGE_STRING << "\"\n\n" + << " Options originalFile.ogv newFile.ogv\n" << " Option: \n" + << " -h this helpscreen\n" + << " -o specify output file name (optional)\n" + << " -s <width x height> new frame size\n" + << " -f video framerate in frames per second\n" + << " -F audio samplerate in Hz\n" + << " -d video datarate in Bit/s\n" + << " -D audio datarate in Bit/s\n" + << " -q theora video quality\n" + << " -N audio channels\n" + << " -a add png with alpha channel on top of a frame\n" + << " before the resize process \n" + << " form: file.png,<startTime>,<endTime>,s\n" + << " start and end time is in seconds and can be a floating point\n" + << " -A add png with alpha channel on top of a frame\n" + << " after the resize process (same parameters as -a)\n" + << " -p only use every <x>th packet to create the new video\n" + << " -c comments for the video stream\n" + << " -C comments for the audio stream\n" + << " -x do not ask for overwriting output file\n" + << " -rv force reencode video stream\n" + << " -ra force reencode audio stream\n" + << " -Q resize quality (1=best/slow; 6=worst/fast)\n" + << " -t stretch picture to new size\n\n"; + +} + +void readPictures(std::vector<BlendElement>& blendList) +{ + for (uint32 i(0); i < blendList.size(); ++i) { + RGBPlane plane; + try { + PictureLoader::load ( plane, blendListi.getPictureName() ); + blendListi.setPicturePlane( plane ); + } catch (std::exception & e) { + logger.error() << "Error: " << e.what() << std::endl; + } + + } +} + +/* you can create a alpha blend object with the following option + * -a picturex.png,1.23,2.34;picturey.png,5.12,7,s */ + +void alphaBlend(double time, RGBPlane& inPlane, + std::vector<BlendElement>& blendList, float intensityStair) +{ + + for (uint32 i( 0); i<blendList.size(); ++i) { + switch (blendListi.state) { + case BlendElement::blend_off: { + if (time >= blendListi.startTime) { + if (blendListi.smooth) { + blendListi.state = BlendElement::blend_slideIn; + } else { + blendListi.intensity = 1.0; + blendListi.state = BlendElement::blend_on; + } + } + } + break; + + case BlendElement::blend_slideIn: { + blendListi.intensity += intensityStair; + + if (blendListi.intensity >= 1.0) { + blendListi.state = BlendElement::blend_on; + blendListi.intensity = 1.0; + } + + } + break; + + case BlendElement::blend_on: { + if ( (blendListi.endTime > 0.0 ) + && (time >= blendListi.endTime )) { + if (blendListi.smooth) { + blendListi.state = BlendElement::blend_slideOut; + } else { + blendListi.intensity = 0.0; + blendListi.state = BlendElement::blend_end; + } + } + } + break; + + case BlendElement::blend_slideOut: { + blendListi.intensity -= intensityStair; + + if (blendListi.intensity <= 0.0) { + blendListi.state = BlendElement::blend_end; + blendListi.intensity = 0.0; + } + + } + break; + + case BlendElement::blend_end: { + /* do nothing */ + } + break; + + } + + if ( (blendListi.state != BlendElement::blend_end ) + && (blendListi.state != BlendElement::blend_off )) + inPlane = PictureBlend::alphaBlend(inPlane, blendListi.picture, + blendListi.intensity); + + } + +} + +void analyseVideoTranscoding(WishList& wishList, + std::shared_ptr<TheoraStreamParameter> theoraConfigInput, + std::shared_ptr<TheoraStreamParameter> theoraConfigOutput) +{ + /* first we believe the output should be equal for all + * parameters that are not explicitly changed */ + *theoraConfigOutput.get() = *theoraConfigInput.get(); + + if (wishList.changeVideoDatarate) { + if (theoraConfigInput->videoBitrate != wishList.videoDatarate) { + theoraConfigOutput->videoBitrate = wishList.videoDatarate; + theoraConfigOutput->videoQuality = 0; + } + } + + if (wishList.changeVideoQuality) { + if (theoraConfigInput->videoQuality != wishList.videoQuality) { + theoraConfigOutput->videoBitrate = 0; + theoraConfigOutput->videoQuality = wishList.videoQuality; + } + } + + if (wishList.changeSize) { + if ( (theoraConfigInput->pictureX != wishList.width ) + || (theoraConfigInput->pictureY != wishList.height ) + || (theoraConfigInput->aspectRatioNum != 1 ) + || (theoraConfigInput->aspectRatioDenom != 1 )) { + + theoraConfigOutput->pictureX = wishList.width; + theoraConfigOutput->pictureY = wishList.height; + + theoraConfigOutput->frameX = (theoraConfigOutput->pictureX+15)&~0xF; + theoraConfigOutput->frameY = (theoraConfigOutput->pictureY+15)&~0xF; + + // We force the offset to be even. + // This ensures that the chroma samples align properly with the luma + // samples. + + theoraConfigOutput->frameXOffset = ((theoraConfigOutput->frameX - theoraConfigOutput->pictureX)/2)&~1; + theoraConfigOutput->frameYOffset = ((theoraConfigOutput->frameY - theoraConfigOutput->pictureY)/2)&~1; + + /* no reason for using another aspect ratio than 1:1, are there? */ + theoraConfigOutput->aspectRatioDenom = 1; + theoraConfigOutput->aspectRatioNum = 1; + + } + } + + if (wishList.changeFramerate) { + + if ( ( (theoraConfigOutput->framerateNum != wishList.framerateNum ) + || (theoraConfigOutput->framerateDenom + != wishList.framerateDenom ) ) + && ( (theoraConfigOutput->framerateNum*1.0 ) + / (theoraConfigOutput->framerateDenom*1.0 ) + != (wishList.framerateNum*1.0 ) + / (wishList.framerateDenom*1.0 ) )) { + theoraConfigOutput->framerateNum = wishList.framerateNum; + theoraConfigOutput->framerateDenom = wishList.framerateDenom; + } + } + +} + +void analyseAudioTranscoding(WishList& wishList, + std::shared_ptr<VorbisStreamParameter> vorbisConfigInput, + std::shared_ptr<VorbisStreamParameter> vorbisConfigOutput) +{ + /* first we believe the output should be equal for all + * parameters, that are not explicitly changed */ + *vorbisConfigOutput.get() = *vorbisConfigInput.get(); + + if (wishList.changeAudioDatarate) { + if (vorbisConfigOutput->datarate != wishList.audioDatarate) { + vorbisConfigOutput->datarate = wishList.audioDatarate; + } + } + + if (wishList.changeAudioSamplerate) { + if (vorbisConfigOutput->samplerate != wishList.audioSamplerate) { + vorbisConfigOutput->samplerate = wishList.audioSamplerate; + } + + } + + if (wishList.changeAudioChannels) { + if (vorbisConfigOutput->channels != wishList.audioChannels) { + vorbisConfigOutput->channels = wishList.audioChannels; + } + + } + return; +} + +int oggTranscodeCmd(int argc, char* argv) +{ + + bool copyTheora( true); + bool copyVorbis( true); + + WishList wishList; + + std::vector<OggComment> videoComments; + + std::vector<OggComment> audioComments; + + bool forceVideoReencode(false); + bool forceAudioReencode(true); + bool existenceTest(true); + + std::vector<BlendElement> blendListBefore; + std::vector<BlendElement> blendListAfter; + + std::string programName(argv0); + + std::string inputFile; + std::string outputFile; + + srand( (int) time(0) ); + + int opt; + while ( (opt = getopt(argc, argv, "hs:f:d:tD:c:C:N:F:a:A:q:p:xr:o:Q:") ) != EOF) + + switch (opt) { + + case 'h': + case '?': + printHelpScreen(programName); + exit( -1); + + case 'a': { + CmdlineExtractor::extractBlend(blendListBefore, optarg, ':', ','); + copyTheora = false; + } + break; + + case 'A': { + CmdlineExtractor::extractBlend(blendListAfter, optarg, ':', ','); + copyTheora = false; + } + break; + + case 'Q': { + uint8 _quality = boost::lexical_cast<uint8>(optarg); + + if (_quality < 1) + _quality = 1; + if (_quality > 5) + _quality = 5; + + // non linear + switch (_quality) { + + case 1: + wishList.quality = 2; + break; + case 2: + wishList.quality = 3; + break; + case 3: + wishList.quality = 4; + break; + case 4: + wishList.quality = 6; + break; + case 5: + wishList.quality = 10; + break; + } + + break; + } + + case 'q': { + wishList.changeVideoQuality = true; + wishList.videoQuality = boost::lexical_cast<uint32_t>(optarg); + break; + } + + case 's': { + std::deque<uint32> framesize; + CmdlineExtractor::extractUint32(framesize, optarg, 'x'); + if (framesize.size() != 2) { + logger.error() + << "please specify the size in the following way: -s320x480\n"; + exit( -1); + } + wishList.changeSize = true; + wishList.width = framesize0; + wishList.height = framesize1; + + } + break; + + case 'f': { + std::deque<uint32> framerate; + CmdlineExtractor::extractUint32(framerate, optarg, ':'); + if (framerate.size() == 1) { + wishList.changeFramerate = true; + wishList.framerateNum = framerate0; + wishList.framerateDenom = 1; + break; + } + if (framerate.size() == 2) { + wishList.changeFramerate = true; + wishList.framerateNum = framerate0; + wishList.framerateDenom = (framerate1 == 0 ) ? 1 + : framerate1; + break; + } + logger.error() + << "please specify the framerate in the following way -f25:2 or -f24\n"; + exit( -1); + + } + break; + + case 'd': + wishList.changeVideoDatarate = true; + wishList.videoDatarate = boost::lexical_cast<uint32_t>(optarg); + break; + + case 'D': + wishList.changeAudioDatarate = true; + wishList.audioDatarate = boost::lexical_cast<uint32_t>(optarg); + break; + + case 'c': + CmdlineExtractor::extractCommentPairs(videoComments, optarg, ';', + '='); + break; + + case 'C': + CmdlineExtractor::extractCommentPairs(audioComments, optarg, ';', + '='); + break; + + case 'N': + wishList.changeAudioChannels = true; + wishList.audioChannels = boost::lexical_cast<uint32_t>(optarg); + if ( (wishList.audioChannels != 1 ) + && (wishList.audioChannels != 2 )) + wishList.changeAudioChannels = false; + break; + + case 'F': + wishList.changeAudioSamplerate = true; + wishList.audioSamplerate = boost::lexical_cast<uint32_t>(optarg); + break; + + case 't': + wishList.stretch = true; + break; + + case 'p': + wishList.preview = boost::lexical_cast<uint32_t>(optarg); + wishList.ignoreVorbis = true; + break; + + case 'r': + if (optarg0 == 'v') + forceVideoReencode = true; + if (optarg0 == 'a') + forceAudioReencode = true; + break; + + case 'x': + existenceTest = false; + break; + + case 'o': + outputFile = std::string(optarg); + break; + } + + argc -= optind; + argv += optind; + + if (existenceTest && check_file_exists(outputFile)) + exit(0); + + if (outputFile.empty() && (argc == 2)) { + inputFile = std::string(argv0); + outputFile = std::string(argv1); + } else { + if (!outputFile.empty() && (argc == 1)) + inputFile = std::string(argv0); + else { + printHelpScreen(programName); + return ( -1 ); + } + } + + /* create configuration */ + + StreamSerializer inStream; + if ( !inStream.open(inputFile) ) { + logger.error() << "can not open file <"<<inputFile<<">\n"; + return ( -1 ); + } + + + /* load all png pictures that should later be used */ + for (uint32 i(0); i<blendListBefore.size(); ++i) { + try { + RGBPlane plane; + PictureLoader::load( plane, blendListBeforei.getPictureName() ); + blendListBeforei.setPicturePlane(plane); + } catch (std::exception e) { + logger.error() << e.what(); + } + } + + for (uint32 i(0); i<blendListAfter.size(); ++i) { + try { + RGBPlane plane; + PictureLoader::load( plane, blendListAfteri.getPictureName() ); + blendListAfteri.setPicturePlane(plane); + } catch (std::exception e) { + logger.error() << e.what(); + } + } + + /* create special configuration for the video stream */ + VideoHook::Config videoHookConfig; + + videoHookConfig.stretch = wishList.stretch; + videoHookConfig.quality = wishList.quality; + videoHookConfig.preview = wishList.preview; + videoHookConfig.trimDatarateOrQuality = false; + videoHookConfig.blendListBefore = blendListBefore; + videoHookConfig.blendListAfter = blendListAfter; + + + /* */ + + /* get all information from the stream */ + std::vector<StreamConfig> demuxerInformation; + + /* read in the stream configuration that are avalable in this stream + * The information, we need is the stream ID and the corresponding + * stream type everything else is not needed */ + inStream.getStreamConfig(demuxerInformation); + + + /* Please notice! */ + /* At this time, the stream Information are extracted from the header + * in further analysation, we will replace these information + * by the more accurate information created by the decoder */ + + /* we create a vector for the input stream and set every + * value to 255 (means: ignore this stream). + * If the stream is used, the value added is the stream, where this + * input stream should be mapped to */ + std::vector<uint8> streamMap; + streamMap.resize(demuxerInformation.size(), 255); + + /* These are the information ordered, by the stream IDs from the input stream */ + std::vector<std::shared_ptr<HookHandler> > hookList; + std::vector<StreamConfig> muxerInformation; + + bool foundTheora( false); + bool foundVorbis( false); + + uint8 streamCounter( 0); + + FileRepository* repository = new FileRepository( outputFile, MediaUnit::write ); + + for (uint32 i( 0); i<demuxerInformation.size(); ++i) { + + StreamConfig& decoderConfig(demuxerInformationi); + + if (decoderConfig.type == OggType::theora) { + if (!foundTheora) { + foundTheora = true; + StreamConfig encoderConfig; + + std::shared_ptr<TheoraStreamParameter> theoraEncoderConfig; + std::shared_ptr<TheoraStreamParameter> theoraDecoderConfig; + + std::shared_ptr<VideoHook> vHook = std::make_shared<VideoHook>(streamCounter, false, true ); + + /* configure the video hook */ + vHook->configureProcess(videoHookConfig); + + hookList.push_back(vHook); + + /* We only need these information for the information printout */ + std::vector<OggComment> decoderComments; + + /* configure encoder config (StreamConfig/OggComment here) */ + vHook->setDecoderConfig(decoderConfig, decoderComments); + + /* grap the information extracted by the decoder */ + theoraDecoderConfig = std::dynamic_pointer_cast<TheoraStreamParameter>(decoderConfig.parameter); + + /* create a config for the output stream and keep a pointer */ + theoraEncoderConfig = std::make_shared<TheoraStreamParameter>(); + + /* add the pointer to the configuration */ + encoderConfig.parameter = theoraEncoderConfig; + + analyseVideoTranscoding(wishList, theoraDecoderConfig, + theoraEncoderConfig); + + if (forceVideoReencode) + vHook->forceReencoding(); + + /* the decoder Comments are used as well in case, keepComments + * is set within the HookHandler */ + vHook->setEncoderConfig(encoderConfig, videoComments); + + /* calculate how to handle the input, to create the correct output */ + vHook->initAndConnect(); + + /* the configuration ID must match the stream ID */ + muxerInformation.push_back(encoderConfig); + + /* set the stream ID, to which this stream should be maped to */ + streamMapi = streamCounter; + streamCounter++; + + } else { + logger.warning() + << "oggResize found more than one theora stream, only the first stream is handled\n"; + } + continue; + } + + if (decoderConfig.type == OggType::vorbis) { + if (!foundVorbis) { + StreamConfig encoderConfig; + + std::shared_ptr<VorbisStreamParameter> vorbisEncoderConfig; + std::shared_ptr<VorbisStreamParameter> vorbisDecoderConfig; + + foundVorbis = true; + + std::shared_ptr<AudioHook> aHook = std::make_shared<AudioHook>(streamCounter, false, true ); + hookList.push_back(aHook); + + /* We only need these information for the information printout */ + std::vector<OggComment> decoderComments; + + /* configure encoder config (StreamConfig/OggComment here) */ + aHook->setDecoderConfig(decoderConfig, decoderComments); + + /* create a config for this stream */ + vorbisEncoderConfig = std::make_shared<VorbisStreamParameter>(); + + /* */ + vorbisDecoderConfig + = std::dynamic_pointer_cast<VorbisStreamParameter>(decoderConfig.parameter); + + /* */ + encoderConfig.parameter = vorbisEncoderConfig; + + + analyseAudioTranscoding(wishList, vorbisDecoderConfig, + vorbisEncoderConfig); + + /* the decoder Comments are used as well in case, keepComments + * is set within the HookHandler */ + aHook->setEncoderConfig(encoderConfig, videoComments); + + /* calculate how to handle the input, to create the correct output */ + aHook->initAndConnect(); + + muxerInformation.push_back(encoderConfig); + + /* set the stream ID, to which this stream should be maped to */ + streamMapi = streamCounter; + streamCounter++; + } else { + logger.warning() + << "oggResize found more than one vorbis stream, only the first stream is handled\n"; + } + continue; + } + + logger.warning() << "There is actually no stream handler available to resize stream "<< decoderConfig.streamNo<<"\n"; + } + + /* configure stream hook */ + + logger.info() << "Input Configuration: " << std::endl + << "-------------------- " << std::endl; + + for (uint32 i(0); i< hookList.size(); ++i) { + logger.info() << hookListi->decoderConfiguration() << std::endl; + } + + logger.info() << "Output Configuration: " << std::endl + << "--------------------- " << std::endl; + + for (uint32 i(0); i< hookList.size(); ++i) { + logger.info() << hookListi->encoderConfiguration() << std::endl; + } + + StreamMux streamCreate ( repository ); + streamCreate.configureStreams ( muxerInformation ); + streamCreate.recreatePacketPosition(false); + + /* run through the stream */ + OggPacket packet; + double time; + + while (inStream.available() ) { + time = inStream.getNextPacket(packet); + + logger.info() << " "<<time<<" \r"; + + uint32 hookStreamID = streamMappacket->getStreamNo(); + + if (hookStreamID == 255) + continue; + + HookHandler& hook(*hookListhookStreamID); + + hook << packet; + + while (hook.available()) { + hook >> packet; + streamCreate << packet; + } + } + + /* flush all data */ + for (uint32 i(0); i<hookList.size() ; ++i) { + hookListi->flush(); + + while (hookListi->available()) { + (*hookListi) >> packet; + streamCreate << packet; + } + + } + + /* set end of stream and do everything neccessary */ + streamCreate.setEndOfStream(); + + streamCreate.close(); + inStream.close(); + + logger.info() << std::endl; + + return(0); +} + +int main(int argc, char* argv) +{ + try { + return oggTranscodeCmd(argc, argv); + } catch (OggException & e) { + logger.error() << "Fatal error: " << e.what() << std::endl; + return -1; + } +} +
View file
oggvideotools-0.8.tar.bz2/src/definition.h -> oggvideotools-0.9.1.tar.bz2/src/definition.h
Changed
@@ -45,7 +45,7 @@ struct ogg_packet { uint8* packet; - int32 bytes; + int32 bytes; uint32 b_o_s; uint32 e_o_s;
View file
oggvideotools-0.9.1.tar.bz2/src/effect
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/src/effect/CMakeLists.txt
Added
@@ -0,0 +1,18 @@ +SET ( LIBRARY_VIDEOEFFECT_SRC + effector.cpp + effectorTypes.cpp + effectorVisitor.cpp + crossfader.cpp + plainPicture.cpp + lowpassEffect.cpp + kenburnseffect.cpp + pictureResize.cpp + pictureBlend.cpp + pictureLoader.cpp + shiftEffect.cpp + shiftblendEffect.cpp + basePlane.cpp + rgbPlane.cpp + blendElement.cpp ) + +ADD_LIBRARY ( ovteffect ${LIBRARY_VIDEOEFFECT_SRC} )
View file
oggvideotools-0.9.1.tar.bz2/src/effect/basePlane.cpp
Added
@@ -0,0 +1,30 @@ +// +// C++ Implementation: basePlane +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#include "basePlane.h" + +BasePlane::BasePlane() + : width(0), height(0), plane(0) +{ +} + +BasePlane::BasePlane(uint32 _width, uint32 _height, uint32 color) + : width(_width), height(_height), plane(new uint8_height*_width*4) +{ + uint32* ptr((uint32*)plane); + for (uint32 i(0); i<(_height*_width); ++i) + ptri = color; +} + +BasePlane::~BasePlane() +{ + delete plane; +}
View file
oggvideotools-0.9.1.tar.bz2/src/effect/basePlane.h
Added
@@ -0,0 +1,40 @@ +// +// C++ Interface: basePlane +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef BASEPLANE_H +#define BASEPLANE_H + +#include "definition.h" + +/** +BasePlane contains the picture information (width, height and picture plane) + + + @author Yorn <yorn@gmx.net> +*/ +class BasePlane { + +public: + uint32 width; + uint32 height; + + uint8* plane; + + + BasePlane(); + + BasePlane(uint32 _width, uint32 _height, uint32 color = 0x00000000 ); + + virtual ~BasePlane(); + +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/blendElement.cpp
Added
@@ -0,0 +1,45 @@ +// +// C++ Implementation: blendElement +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#include <iostream> + +#include "blendElement.h" +#include "pictureLoader.h" + +BlendElement::BlendElement() + : startTime ( 0 ), endTime ( -1 ), + smooth ( false ), unavailable(true), state ( blend_off ), intensity ( 0.0 ) +{ +} + +BlendElement::BlendElement ( const std::string& _pictureName, double _startTime, double _endTime, + bool _smooth ) : + pictureName ( _pictureName ), startTime ( _startTime ), endTime ( _endTime ), + smooth ( _smooth ), unavailable(true), state ( blend_off ), intensity ( 0.0 ) +{ +} + + +BlendElement::~BlendElement() +{ +} + +std::string BlendElement::getPictureName() const +{ + return (pictureName); +} + +void BlendElement::setPicturePlane(const RGBPlane& _picture ) +{ + picture = _picture; + unavailable = false; +} +
View file
oggvideotools-0.9.1.tar.bz2/src/effect/blendElement.h
Added
@@ -0,0 +1,56 @@ +// +// C++ Interface: blendElement +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef BLENDELEMENT_H +#define BLENDELEMENT_H + +#include <string> + +#include "rgbPlane.h" + +/** + @author Yorn <yorn@gmx.net> +*/ +class BlendElement { + +public: + + enum BlendState { + blend_off, + blend_slideIn, + blend_on, + blend_slideOut, + blend_end + }; + + std::string pictureName; + RGBPlane picture; + double startTime; + double endTime; + bool smooth; + bool unavailable; + + BlendState state; + float intensity; + + BlendElement(); + + BlendElement ( const std::string& pictureName, double _startTime, double _endTime, + bool _smooth ); + + std::string getPictureName() const; + void setPicturePlane(const RGBPlane& plane); + void setUnavailable(); + + virtual ~BlendElement(); +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/crossfader.cpp
Added
@@ -0,0 +1,121 @@ +// +// C++ Implementation: crossfader +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#include "crossfader.h" + +#include <iostream> +#include <cstring> + +#include "pictureBlend.h" +#include "pictureResize.h" +#include "log.h" +#include "effectorVisitor.h" + +Crossfader::Crossfader() + : Effector(), state(unconfigured), framecounter(0) +{ +} + + +Crossfader::~Crossfader() +{ +} + +void Crossfader::configure(CrossfaderConfig& _config) +{ + + framecounter = 0; + + config = _config; + + if (config.first) { + + lastPlane = RGBPlane(config.outputWidth, config.outputHeight); + + /* blank the plane */ + uint32 planesize = config.outputWidth*config.outputHeight*4; // 3 Colors + Alpha channel + memset(lastPlane->plane, 0x00, planesize); + + } + + + /* resize the picture to the correct size */ + presentationPlane = PictureResize::reframe(config.origPlane, config.outputWidth, config.outputHeight); + + logger.debug() << "Picture size: "<< presentationPlane->width<<" x "<<presentationPlane->height + <<" -> frame size "<<config.outputWidth <<" x "<<config.outputHeight<<std::endl; + + if (config.first) + state = presentation; + else + state = crossfade; + +} + +void Crossfader::doCrossfade(RGBPlane & plane) +{ + + plane = PictureBlend::crossfade(lastPlane, presentationPlane,(framecounter*1.0)/(config.blindLength*1.0)); + + framecounter++; + if (framecounter > config.blindLength) { + state = presentation; + } + +} + +void Crossfader::doPresentation(RGBPlane & plane) +{ + + plane = presentationPlane; + + framecounter++; + if (framecounter > config.sequenceLength) { + lastPlane = presentationPlane; + + state = unavailable; + } + +} + +bool Crossfader::available() +{ + return((state!=unavailable) && (state!=unconfigured)); +} + +void Crossfader::accept(EffectorVisitor& visitor) const +{ + visitor.visit(*this); +} + +Effector & Crossfader::operator >>(RGBPlane & plane) +{ + + switch (state) { + + case crossfade: { + doCrossfade(plane); + break; + } + + case presentation: { + doPresentation(plane); + break; + } + + default: { + logger.error() << "KenBurnsEffect: no frame available\n"; + break; + } + } + + return(*this); +}
View file
oggvideotools-0.9.1.tar.bz2/src/effect/crossfader.h
Added
@@ -0,0 +1,69 @@ +// +// C++ Interface: crossfader +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef CROSSFADER_H +#define CROSSFADER_H + +#include "effector.h" + +/** + @author Yorn <yorn@gmx.net> +*/ +class Crossfader : public Effector { +public: + class CrossfaderConfig { + public: + bool first; + + uint32 sequenceLength; /* in frames */ + uint32 blindLength; /* in frames */ + + uint32 outputWidth; + uint32 outputHeight; + + RGBPlane origPlane; + }; + + RGBPlane presentationPlane; + +protected: + enum State { + unconfigured, + crossfade, + presentation, + unavailable + }; + + State state; + + RGBPlane lastPlane; + uint32 framecounter; + + CrossfaderConfig config; + + void doCrossfade(RGBPlane& plane); + void doPresentation(RGBPlane& plane); + +public: + Crossfader(); + ~Crossfader(); + + void configure(CrossfaderConfig& config); + + virtual Effector& operator>>(RGBPlane& plane); + + virtual bool available(); + + virtual void accept(EffectorVisitor& visitor) const; + +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/effector.cpp
Changed
(renamed from src/effector.cpp)
View file
oggvideotools-0.9.1.tar.bz2/src/effect/effector.h
Added
@@ -0,0 +1,39 @@ +// +// C++ Interface: effector +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef EFFECTOR_H +#define EFFECTOR_H + +#include "rgbPlane.h" + +// Forward declaration +class EffectorVisitor; + +/** + @author Yorn <yorn@gmx.net> +*/ +class Effector { + +public: + + Effector(); + + virtual ~Effector(); + + virtual Effector& operator>>(RGBPlane& plane) = 0; + + virtual bool available() = 0; + + virtual void accept(EffectorVisitor& visitor) const = 0; + +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/effectorTypes.cpp
Added
@@ -0,0 +1,60 @@ +// +// C++ Implementation: effectortypes +// +// Description: +// +// +// Copyright (C) 2010 Bjarne Juul Pasgaard <bjvest@users.sourceforge.net> +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +#include "effectorTypes.h" + +EffectorType GetEffectorType::operator()(const Effector& effector) +{ + effector.accept(*this); + return t; +} + +void GetEffectorType::visit(const KenBurnsEffect&) +{ + t = KenBurns; +} + +void GetEffectorType::visit(const Crossfader&) +{ + t = Crossfade; +} + +void GetEffectorType::visit(const LowpassEffect&) +{ + t = Blur; +} + +void GetEffectorType::visit(const PlainPicture&) +{ + t = Plain; +} + +void GetEffectorType::visit(const ShiftEffect&) +{ + t = Shift; +} + +void GetEffectorType::visit(const ShiftblendEffect&) +{ + t = ShiftBlend; +}
View file
oggvideotools-0.9.1.tar.bz2/src/effect/effectorTypes.h
Added
@@ -0,0 +1,83 @@ +// +// C++ Interface: effectortypes +// +// Description: +// Enumeration of effector types and a a specialized EffectorVisitor that +// allows for a more effective effector type detection than dynamic_cast<>. +// +// Copyright (C) 2010 Bjarne Juul Pasgaard <bjvest@users.sourceforge.net> +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +#ifndef EFFECTORTYPES_H +#define EFFECTORTYPES_H + +#include "effector.h" +#include "effectorVisitor.h" + +/// @brief Enumeration of the available effector types. +enum EffectorType { + KenBurns, ///< Ken Burns effect + Crossfade, ///< Cross fading + Plain, ///< Plain pictures + Blur, ///< Bluring at changeover + Shift, ///< Shift left effect + ShiftBlend ///< Shift and blend left effect +}; + +// Forward declarations +class KenBurnsEffect; +class Crossfader; +class LowpassEffect; +class PlainPicture; +class ShiftEffect; +class ShiftblendEffect; + +/// @brief A functor that determines the type of an +/// effector specialization. +/// +/// This is an alternative to dynamic_cast<>, but is often +/// far more effective and has the advantage of a known +/// constant-time complexity (in contrast to dynamic_cast<>). +class GetEffectorType : protected EffectorVisitor { +public: + + /// @brief The entry point of the functor. + /// + /// @param effector The effector to determine the type of. + /// + /// @return The type of the supplied effector. + EffectorType operator()(const Effector& effector); + + virtual ~GetEffectorType() {} + +protected: + + // Overridden base class methods + virtual void visit(const KenBurnsEffect&); + virtual void visit(const Crossfader&); + virtual void visit(const LowpassEffect&); + virtual void visit(const PlainPicture&); + virtual void visit(const ShiftEffect&); + virtual void visit(const ShiftblendEffect&); + +protected: + + EffectorType t; + +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/effectorVisitor.cpp
Added
@@ -0,0 +1,48 @@ +// +// C++ Implementation: effectorvisitor +// +// Description: +// +// +// Copyright (C) 2010 Bjarne Juul Pasgaard <bjvest@users.sourceforge.net> +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +#include "effectorVisitor.h" + +void EffectorVisitor::visit(const KenBurnsEffect&) +{ +} + +void EffectorVisitor::visit(const Crossfader&) +{ +} + +void EffectorVisitor::visit(const LowpassEffect&) +{ +} + +void EffectorVisitor::visit(const PlainPicture&) +{ +} + +void EffectorVisitor::visit(const ShiftEffect&) +{ +} + +void EffectorVisitor::visit(const ShiftblendEffect&) +{ +}
View file
oggvideotools-0.9.1.tar.bz2/src/effect/effectorVisitor.h
Added
@@ -0,0 +1,54 @@ +// +// C++ Interface: effectorvisitor +// +// Description: +// A visitor (in accordance with the visitor design patter) for +// specializations of the Effector class. +// +// Copyright (C) 2010 Bjarne Juul Pasgaard <bjvest@users.sourceforge.net> +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +#ifndef EFFECTORVISITOR_H +#define EFFECTORVISITOR_H + +// Forward declarations +class KenBurnsEffect; +class Crossfader; +class LowpassEffect; +class PlainPicture; +class ShiftEffect; +class ShiftblendEffect; + +/// @brief A visitor of Effector specialisations +/// +/// This class takes the role of a visitor in accordance with the +/// visitor design pattern. +class EffectorVisitor { +public: + + virtual ~EffectorVisitor() {}; + + virtual void visit(const KenBurnsEffect&); + virtual void visit(const Crossfader&); + virtual void visit(const LowpassEffect&); + virtual void visit(const PlainPicture&); + virtual void visit(const ShiftEffect&); + virtual void visit(const ShiftblendEffect&); + +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/kenburnseffect.cpp
Added
@@ -0,0 +1,353 @@ +// +// C++ Implementation: kenburnseffect +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#include "kenburnseffect.h" + +#include <iostream> +#include <cmath> +#include <cstring> +#include <cstdlib> + +#include "pictureResize.h" +#include "pictureBlend.h" +#include "log.h" +#include "effectorVisitor.h" + +KenBurnsEffect::KenBurnsEffect() : + Effector(), state(unconfigured) +{ +} + +KenBurnsEffect::~KenBurnsEffect() +{ +} + +void KenBurnsEffect::configure(KenBurnsEffect::KenBurnsConfig& _config) +{ + + config = _config; + + stepX = ((config.endpointX - config.startpointX) * 1.0) + / (config.sequenceLength * 1.0); + stepY = ((config.endpointY - config.startpointY) * 1.0) + / (config.sequenceLength * 1.0); + stepZoom = ((config.zoomEnd - config.zoomStart) * 1.0) + / (config.sequenceLength * 1.0); + + actX = config.startpointX; + actY = config.startpointY; + actZoom = config.zoomStart; + + blackPlane = RGBPlane(config.outputWidth, config.outputHeight); + presentationPlane = config.origPlane; + + /* blank the plane */ + uint32 planesize = config.outputWidth * config.outputHeight * 4; // 3 Colors + Alpha channel + memset(blackPlane->plane, 0x00, planesize); + + frameCounter = 0; + + if (config.first) + state = presentation; + else + state = blindIn; + +} + +void KenBurnsEffect::doBlindIn(RGBPlane& plane) +{ + + logger.debug() << " --- Position " << actX <<" x "<< actY <<" "<<( 1.0/actZoom); + + // get the picture to be fade in + plane = PictureResize::subframe(presentationPlane, config.outputWidth, + config.outputHeight, actX, actY, 1.0 / actZoom); + + // calculate the next fader picture + plane = PictureBlend::crossfade(blackPlane, plane, (frameCounter * 1.0) + / (config.blindLength * 1.0)); + + // let the fading go on + actX += stepX; + actY += stepY; + actZoom += stepZoom; + + frameCounter++; + if (frameCounter > config.blindLength) { + state = presentation; + } +} + +void KenBurnsEffect::doPresentation(RGBPlane& plane) +{ + logger.debug() << " --- Position " << actX <<" x "<< actY <<" "<<( 1.0/actZoom); + + // get the picture to be fade in + plane = PictureResize::subframe(presentationPlane, config.outputWidth, + config.outputHeight, actX, actY, 1.0 / actZoom); + + // let the fading go on + actX += stepX; + actY += stepY; + actZoom += stepZoom; + + frameCounter++; + if (frameCounter > (config.sequenceLength - config.blindLength)) { + if (!config.last) { + state = blindOut; + } else { + if (frameCounter >= config.sequenceLength) { + state = unavailable; + } + } + } + +} + +void KenBurnsEffect::doBlindOut(RGBPlane & plane) +{ +#ifdef DEBUG + logger.debug() << " --- Position " << actX <<" x "<< actY <<" "<<( 1.0/actZoom); +#endif + // get the picture to be fade in + plane = PictureResize::subframe(presentationPlane, config.outputWidth, + config.outputHeight, actX, actY, 1.0 / actZoom); + + // calculate the next fader picture + plane = PictureBlend::crossfade(blackPlane, plane, ((config.sequenceLength + - frameCounter) * 1.0) / (config.blindLength * 1.0)); + + // let the fading go on + actX += stepX; + actY += stepY; + actZoom += stepZoom; + + frameCounter++; + if (frameCounter >= config.sequenceLength) { + state = unavailable; + } + +} + +bool KenBurnsEffect::available() +{ + return ((state != unavailable) && (state != unconfigured)); +} + +void KenBurnsEffect::accept(EffectorVisitor& visitor) const +{ + visitor.visit(*this); +} + +Effector & KenBurnsEffect::operator >>(RGBPlane & plane) +{ + switch (state) { + + case blindIn: { + doBlindIn(plane); + break; + } + + case blindOut: { + doBlindOut(plane); + break; + } + + case presentation: { + doPresentation(plane); + break; + } + + default: { + logger.error() << "KenBurnsEffect: no frame available\n"; + break; + } + } + return(*this); +} + +KenBurnsEffect::KenBurnsConfig KenBurnsEffect::createKBconfigRandom( + RGBPlane& plane, uint32 pictureWidth, uint32 pictureHeight, + uint32 frameWidth, uint32 frameHeight, uint32 sequenceLength, + uint32 blindLength) +{ + + KenBurnsConfig config; + + config.origPlane = plane; + config.outputWidth = frameWidth; + config.outputHeight = frameHeight; + config.sequenceLength = sequenceLength; + config.blindLength = blindLength; + + float maxZoomfactor; + if ((pictureWidth * 1.0) / (frameWidth * 1.0) * (frameHeight * 1.0) + < (pictureHeight * 1.0)) + maxZoomfactor = (pictureWidth * 1.0) / (frameWidth * 1.0); + else + maxZoomfactor = (pictureHeight * 1.0) / (frameHeight * 1.0); + + config.zoomStart = maxZoomfactor * 0.75 + rand() * (maxZoomfactor * 0.25) + / (RAND_MAX * 1.0); + config.zoomEnd = maxZoomfactor * 0.75 + rand() * (maxZoomfactor * 0.25) + / (RAND_MAX * 1.0); + +#ifdef DEBUG + logger.debug() << "Zooming ("<<maxZoomfactor<<") from factor "<<config.zoomStart<<" to "<<config.zoomEnd<<std::endl; +#endif + + float availableXStart = pictureWidth - frameWidth * config.zoomStart; + float availableYStart = pictureHeight - frameHeight * config.zoomStart; + + float availableXEnd = pictureWidth - frameWidth * config.zoomEnd; + float availableYEnd = pictureHeight - frameHeight * config.zoomEnd; + + if ((availableXStart < 0) || (availableYStart < 0) || (availableXEnd < 0) || (availableYEnd < 0)) { + logger.error()<< "KenBurnsSequence: picture too small\n"; + // what should we do on error? + } + + float availLengthSqr(powf((availableXStart - availableXEnd), 2.0) + powf( + (availableYStart - availableYEnd), 2.0)); + float lengthSqr; + + do { + config.startpointX = (((float) rand()) * availableXStart) / (RAND_MAX + * 1.0); + config.startpointY = (((float) rand()) * availableYStart) / (RAND_MAX + * 1.0); + + config.endpointX = (((float) rand()) * availableXEnd) + / (RAND_MAX * 1.0); + config.endpointY = (((float) rand()) * availableYEnd) + / (RAND_MAX * 1.0); + + // calculate walklength + float lengthX = fabs(config.startpointX - config.endpointX); + float lengthY = fabs(config.startpointY - config.endpointY); + + lengthSqr = powf(lengthX, 2.0) + powf(lengthY, 2.0); + + } while (lengthSqr < availLengthSqr / 4.0); + + return (config); +} + +KenBurnsEffect::KenBurnsConfig KenBurnsEffect::createKBconfigPredefine( + RGBPlane& plane, uint32 pictureWidth, uint32 pictureHeight, + uint32 frameWidth, uint32 frameHeight, uint32 sequenceLength, + uint32 blindLength, uint32 predefine) +{ + + KenBurnsConfig config; + + config.origPlane = plane; + config.outputWidth = frameWidth; + config.outputHeight = frameHeight; + config.sequenceLength = sequenceLength; + config.blindLength = blindLength; + + float maxZoomfactor; + if ((pictureWidth * 1.0) / (frameWidth * 1.0) * (frameHeight * 1.0) + < (pictureHeight * 1.0)) + maxZoomfactor = (pictureWidth * 1.0) / (frameWidth * 1.0); + else + maxZoomfactor = (pictureHeight * 1.0) / (frameHeight * 1.0); + + if (predefine < 5) { + config.zoomStart = maxZoomfactor * 0.9;//maxZoomfactor*0.75+rand()*(maxZoomfactor*0.25)/(RAND_MAX*1.0); + config.zoomEnd = maxZoomfactor * 0.9;//maxZoomfactor*0.75+rand()*(maxZoomfactor*0.25)/(RAND_MAX*1.0); + } else { + if (predefine < 9) { + config.zoomStart = maxZoomfactor * 0.8;//maxZoomfactor*0.75+rand()*(maxZoomfactor*0.25)/(RAND_MAX*1.0); + config.zoomEnd = maxZoomfactor * 0.9;//maxZoomfactor*0.75+rand()*(maxZoomfactor*0.25)/(RAND_MAX*1.0); + predefine -= 4; + } else { + if (predefine < 13) { + config.zoomStart = maxZoomfactor * 0.9;//maxZoomfactor*0.75+rand()*(maxZoomfactor*0.25)/(RAND_MAX*1.0); + config.zoomEnd = maxZoomfactor * 0.8;//maxZoomfactor*0.75+rand()*(maxZoomfactor*0.25)/(RAND_MAX*1.0); + predefine -= 8; + } else { + logger.error() << "Predefine No. <" << predefine + << "> not available\n"; + exit(-1); + } + } + } + +#ifdef DEBUG + logger.error()<< "Zooming (" << maxZoomfactor << ") from factor " + << config.zoomStart << " to " << config.zoomEnd << std::endl; +#endif + + float availableXStart = pictureWidth - frameWidth * config.zoomStart; + float availableYStart = pictureHeight - frameHeight * config.zoomStart; + + float availableXEnd = pictureWidth - frameWidth * config.zoomEnd; + float availableYEnd = pictureHeight - frameHeight * config.zoomEnd; + + if ((availableXStart < 0) || (availableYStart < 0) || (availableXEnd < 0) + || (availableYEnd < 0)) { + logger.error() << "KenBurnsSequence: picture to small\n"; + // was machen bei einem Fehler? + } + + float availLengthSqr(powf((availableXStart - availableXEnd), 2.0) + powf( + (availableYStart - availableYEnd), 2.0)); + float lengthSqr; + + // do { + + switch (predefine) { + case 1: { + config.startpointX = 0; + config.startpointY = 0; + + config.endpointX = availableXEnd; + config.endpointY = availableYEnd; + break; + } + case 2: { + config.startpointX = availableXStart; + config.startpointY = 0; + + config.endpointX = 0; + config.endpointY = availableYEnd; + break; + } + case 3: { + config.startpointX = availableXStart; + config.startpointY = availableYStart; + + config.endpointX = 0; + config.endpointY = 0; + break; + } + case 4: { + config.startpointX = 0; + config.startpointY = availableYStart; + + config.endpointX = availableXEnd; + config.endpointY = 0; + break; + } + } + + // calculate walklength + float lengthX = fabs(config.startpointX - config.endpointX); + float lengthY = fabs(config.startpointY - config.endpointY); + + lengthSqr = powf(lengthX, 2.0) + powf(lengthY, 2.0); + + // } while (false); //lengthSqr < availLengthSqr/4.0); + + return (config); +}
View file
oggvideotools-0.9.1.tar.bz2/src/effect/kenburnseffect.h
Added
@@ -0,0 +1,87 @@ +// +// C++ Interface: kenburnseffect +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef KENBURNSEFFECT_H +#define KENBURNSEFFECT_H + +#include "effector.h" + +/** + @author Yorn <yorn@gmx.net> +*/ +class KenBurnsEffect : public Effector { + +public: + class KenBurnsConfig { + public: + bool first; + bool last; + + uint32 sequenceLength; /* in frames */ + uint32 blindLength; /* in frames */ + + uint32 outputWidth; + uint32 outputHeight; + + float startpointX; + float startpointY; + float endpointX; + float endpointY; + float zoomStart; + float zoomEnd; + + RGBPlane origPlane; + }; + +protected: + enum State { + unconfigured, + blindIn, + presentation, + blindOut, + unavailable + }; + + KenBurnsConfig config; + uint32 frameCounter; + + State state; + + RGBPlane blackPlane; + RGBPlane presentationPlane; + + float stepX; + float stepY; + float stepZoom; + + float actX; + float actY; + float actZoom; + + void doBlindIn(RGBPlane& plane); + void doPresentation(RGBPlane& plane); + void doBlindOut(RGBPlane& plane); + +public: + KenBurnsEffect(); + ~KenBurnsEffect(); + + void configure(KenBurnsConfig& config); + + virtual Effector& operator>>(RGBPlane& plane); + virtual bool available(); + virtual void accept(EffectorVisitor& visitor) const; + + static KenBurnsConfig createKBconfigRandom(RGBPlane& plane, uint32 pictureWidth, uint32 pictureHeight, uint32 frameWidth, uint32 frameHeight, uint32 sequenceLength, uint32 blindLength); + static KenBurnsConfig createKBconfigPredefine(RGBPlane& plane, uint32 pictureWidth, uint32 pictureHeight, uint32 frameWidth, uint32 frameHeight, uint32 sequenceLength, uint32 blindLength, uint32 predefine); +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/lowpassEffect.cpp
Added
@@ -0,0 +1,135 @@ +// +// C++ Implementation: lowpassEffect +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#include "lowpassEffect.h" + +#include <iostream> +#include <cmath> + +#include "pictureResize.h" +#include "log.h" +#include "effectorVisitor.h" + +LowpassEffect::LowpassEffect() + : state(unconfigured) +{ +} + + +LowpassEffect::~LowpassEffect() +{ +} + +void LowpassEffect::configure(LowPassPictureConfig & _config) +{ + + config = _config; + framecounter = 0; + + factor = 0.5; + + presentationPlane = PictureResize::reframe(config.origPlane, config.outputWidth, config.outputHeight); + + if (config.first) + state = presentation; + else + state = blindIn; +} + +Effector & LowpassEffect::operator >>(RGBPlane & plane) +{ + switch (state) { + + case blindIn: { + doBlindIn(plane); + break; + } + + case blindOut: { + doBlindOut(plane); + break; + } + + case presentation: { + doPresentation(plane); + break; + } + + default: { + logger.error() << "LowpassEffect: no frame available\n"; + break; + } + } + + +} + +void LowpassEffect::doBlindIn(RGBPlane & plane) +{ + uint32 n = (config.blindLength - framecounter); + + float filterValue = n*1.0/(config.blindLength*1.0);//1.0/(2.0+(n*1.0/(config.blindLength*1.0)*100.0)); //powf(factor,n); +// logger.debug() << " -- blindin - fr "<< framecounter <<" fa "<<factor << " n "<<n <<" fw "<<filterValue<< " "; + + plane = PictureResize::kernelLowpass(presentationPlane, 1.0-filterValue);//lowpassFilter(filterValue); + + framecounter++; + if (framecounter > config.blindLength) { + state = presentation; + } + +} + +void LowpassEffect::doPresentation(RGBPlane & plane) +{ + + plane = presentationPlane; //.reframe(config.outputWidth, config.outputHeight); + + framecounter++; + if (framecounter > (config.sequenceLength - config.blindLength)) { + if (!config.last) { + state = blindOut; + } else { + if (framecounter >= config.sequenceLength) { + state = unavailable; + } + } + + } + +} + +void LowpassEffect::doBlindOut(RGBPlane & plane) +{ + uint32 n = (framecounter - (config.sequenceLength - config.blindLength)); + + float filterValue = n*1.0/(config.blindLength*1.0);//1.0/(2.0+(n*1.0/(config.blindLength*1.0)*100.0)); //powf(factor,n); + + logger.debug() << " -- blindout - fr "<< framecounter <<" fa "<<factor << " n "<<n <<" fw "<<filterValue<<" "; + + plane = PictureResize::kernelLowpass(presentationPlane, 1.0-filterValue);//lowpassFilter(filterValue); + + framecounter++; + if (framecounter >= config.sequenceLength) { + state = unavailable; + } + +} + +bool LowpassEffect::available() +{ + return((state != unavailable) && (state != unconfigured)); +} + +void LowpassEffect::accept(EffectorVisitor& visitor) const +{ + visitor.visit(*this); +}
View file
oggvideotools-0.9.1.tar.bz2/src/effect/lowpassEffect.h
Added
@@ -0,0 +1,74 @@ +// +// C++ Interface: lowpassEffect +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef LOWPASSEFFECT_H +#define LOWPASSEFFECT_H + +#include "effector.h" + +/** + @author Yorn <yorn@gmx.net> +*/ +class LowpassEffect : public Effector { + +public: + class LowPassPictureConfig { + public: + + bool first; + bool last; + + uint32 sequenceLength; /* in frames */ + uint32 blindLength; /* in frames */ + + uint32 outputWidth; + uint32 outputHeight; + + RGBPlane origPlane; + }; + +protected: + + enum State { + unconfigured, + blindIn, + presentation, + blindOut, + unavailable + }; + + State state; + RGBPlane presentationPlane; + uint32 framecounter; + float factor; + + LowPassPictureConfig config; + + void doBlindIn(RGBPlane& plane); + void doBlindOut(RGBPlane& plane); + void doPresentation(RGBPlane& plane); + +public: + LowpassEffect(); + virtual ~LowpassEffect(); + + void configure(LowPassPictureConfig& config); + + virtual Effector& operator>>(RGBPlane& plane); + + virtual bool available(); + + virtual void accept(EffectorVisitor& visitor) const; + +}; + + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/pictureBlend.cpp
Added
@@ -0,0 +1,119 @@ +// +// C++ Implementation: pictureBlend +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#include "pictureBlend.h" +#include "exception.h" + +PictureBlend::PictureBlend() +{ +} + + +PictureBlend::~PictureBlend() +{ +} + +RGBPlane PictureBlend::crossfade(RGBPlane & plane1, RGBPlane & plane2, float velocity) +{ + + if ((plane1->width != plane2->width) || (plane1->height != plane2->height)) + throw OggException("can not crossfade, planes not matching"); + + uint32 size = plane1->width*plane1->height*4; + + RGBPlane retPlane(plane1->width, plane1->height); + + uint32 pixel1; + uint32 pixel2; + uint32 newPixel; + + for (uint32 i(0); i<size; i+=4) { + + /* red */ + pixel1 = plane1->planei; + pixel2 = plane2->planei; + newPixel = (uint32)(pixel1*(1.0-velocity) + pixel2*velocity); + + if (newPixel> 0xFF) + newPixel = 0xFF; + + retPlane->planei = (uint8)newPixel; + + /* green */ + pixel1 = plane1->planei+1; + pixel2 = plane2->planei+1; + newPixel = (uint32)(pixel1*(1.0-velocity) + pixel2*velocity); + + if (newPixel> 0xFF) + newPixel = 0xFF; + + retPlane->planei+1 = (uint8)newPixel; + + /* blue */ + pixel1 = plane1->planei+2; + pixel2 = plane2->planei+2; + newPixel = (uint32)(pixel1*(1.0-velocity) + pixel2*velocity); + + if (newPixel> 0xFF) + newPixel = 0xFF; + + retPlane->planei+2 = (uint8)newPixel; + + } + + return (retPlane); +} + +RGBPlane PictureBlend::alphaBlend(RGBPlane& origPlane, RGBPlane & alphaPlane, float intensity) +{ + float factor; + uint32 position; + + uint32 pixel1; + uint32 pixel2; + uint32 newPixel; + + RGBPlane retPlane(origPlane->width, origPlane->height); + + uint32 positionAlpha; + + for (uint32 j(0); j < origPlane->height; ++j) + for (uint32 i(0); i < origPlane->width; ++i) { + + // if the alpha plane is smaller than the original plane, just copy the data + if ((i<alphaPlane->width) && (j<alphaPlane->height)) { + position = 4*(j*origPlane->width+i); + + positionAlpha = 4*(j*alphaPlane->width+i); + + factor = intensity*((127-alphaPlane->planepositionAlpha+3)*1.0)/127.0; + for (uint32 k(0); k<3; ++k) { + pixel1 = origPlane->planeposition+k; + pixel2 = alphaPlane->planepositionAlpha+k; + newPixel = (uint32)(pixel1 * (1.0-factor) + pixel2 * factor ); + + if (newPixel> 0xFF) + newPixel = 0xFF; + + retPlane->planeposition+k = (uint8)newPixel; + } + + } else { + position = j*origPlane->width+i; + ((uint32*)(retPlane->plane))position = ((uint32*)(origPlane->plane))position; + } + + } + return (retPlane); + +} + +
View file
oggvideotools-0.9.1.tar.bz2/src/effect/pictureBlend.h
Changed
(renamed from src/pictureBlend.h)
View file
oggvideotools-0.9.1.tar.bz2/src/effect/pictureLoader.cpp
Added
@@ -0,0 +1,584 @@ +// +// C++ Implementation: pictureLoader +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#include "pictureLoader.h" + +#include <iostream> +#include <cstring> +#include <errno.h> +#include "exception.h" +#include "log.h" + +#define SCALEBITS 8 +#define ONE_HALF (1 << (SCALEBITS - 1)) +#define FIX(x) ((int) ((x) * (1L<<SCALEBITS) + 0.5)) +#define CLAMP255(x) ((unsigned char)((((x)<0)-1)&((x)|-((x)>255)))) + +PictureLoader::PictureLoader() +{ +} + + +PictureLoader::~PictureLoader() +{ +} + +#ifdef WITH_GD2LIB +bool PictureLoader::load(RGBPlane& retPlane, const std::string& filename, uint32 _width, uint32 _height, + bool useBiggest) +{ + SuffixType type = identifySuffix(filename); + if (type == suffix_unknown) { + logger.error() << "PictureLoader::load: Cannot identify suffix of <"<<filename<<">\n"; + return(false); + } + + gdImagePtr im(0); + + FILE* in; + in = fopen(filename.c_str(), "rb"); + + if (in == 0) { + logger.error() << "PictureLoader::load: Cannot open file <"<<filename<<">: " + << strerror(errno) << "\n"; + return(false); + } + + if (type == suffix_jpg) { + im = gdImageCreateFromJpeg(in); + } else if (type == suffix_png) { + im = gdImageCreateFromPng(in); + } else if (type == suffix_gif) { + im = gdImageCreateFromGif(in); + } + + fclose(in); + + if (im == 0) { + logger.error() << "PictureLoader::load: Error reading image file <"<<filename<<">\n"; + return(false); + } + + if ((_width != 0) && (_height != 0) && ( _width != gdImageSX(im) ) && + (_height != gdImageSY(im))) { + + uint32 origWidth(gdImageSX(im)); + uint32 origHeight(gdImageSY(im)); + + /* calculate the new size -> picture must fit into the given rectangle */ + float factorX = (_width*1.0)/(origWidth*1.0); + float factorY = (_height*1.0)/(origHeight*1.0); + float factor(1.0); + +#ifdef DEBUG + logger.debug() << "wanted: "<<_width<<"x"<<_height<<" orig: " + <<origWidth<<"x"<<origHeight<<std::endl; +#endif + + if (useBiggest) { + if (factorX < factorY) + factor = factorY; + else + factor = factorX; + } else { + if (factorX < factorY) + factor = factorX; + else + factor = factorY; + } +#ifdef DEBUG + logger.debug() << "recalculating ("<<factor<<") image to " + <<(uint32) (origWidth*factor+0.5)<< "x" + << (uint32) (origHeight*factor+0.5)<<std::endl; +#endif + + gdImagePtr resampled = gdImageCreateTrueColor((uint32) (origWidth + *factor+0.5), (uint32) (origHeight*factor+0.5)); + + if (!resampled) { + throw OggException("PictureLoader::load: failed to allocate image buffer\n"); + } + + gdImageCopyResampled(resampled, im, 0, 0, 0, 0, resampled->sx, + resampled->sy, origWidth, origHeight); + + retPlane = convertToRgbPlane(resampled); + + gdImageDestroy(resampled); + } else { + retPlane = convertToRgbPlane(im); + } + + gdImageDestroy(im); + + return (true); +} + +RGBPlane PictureLoader::convertToRgbPlane(gdImagePtr im) +{ + + uint32 width = gdImageSX(im); + uint32 height = gdImageSY(im); + + RGBPlane pic(width, height); + + int c(0); + uint32 x(0); + + for (uint32 i(0); i<height; ++i) + for (uint32 j(0); j<width; ++j) { + c = gdImageGetPixel(im, j, i); + pic->planex++ = gdImageRed(im, c); + pic->planex++ = gdImageGreen(im, c); + pic->planex++ = gdImageBlue(im,c); + pic->planex++ = gdImageAlpha(im,c); + } + + return(pic); +} + +PictureLoader::SuffixType PictureLoader::identifySuffix(const std::string& filename) +{ + std::string::size_type suffixStart(filename.find_last_of('.')); + + if (suffixStart == std::string::npos) { + return (suffix_unknown); + } + + std::string suffix(filename.substr(suffixStart+1)); + + if ((suffix == "jpg") || (suffix == "JPG") || (suffix == "jpeg") || (suffix + == "JPEG")) { + return (suffix_jpg); + } + + if ((suffix == "png") || (suffix == "PNG")) { + return (suffix_png); + } + + if ((suffix == "gif") || (suffix == "GIF")) { + return (suffix_gif); + } + + return (suffix_unknown); + +} + +bool PictureLoader::save(RGBPlane& pic, const std::string& filename, uint32 newWidth, + uint32 newHeight) +{ + + int actColor; + int planeCount(0); + + SuffixType type = identifySuffix(filename); + if (type == suffix_unknown) { + logger.error() << "PictureLoader::identifySuffix: Cannot identify suffix of <" + << filename << ">\n"; + return(false); + } + + gdImagePtr im = gdImageCreateTrueColor(pic->width, pic->height); + + for (uint32 i(0); i < pic->height; ++i) + for (uint32 j(0); j < pic->width; ++j) { + int red = pic->planeplaneCount++; + int green = pic->planeplaneCount++; + int blue = pic->planeplaneCount++; + actColor = gdImageColorAllocate(im, red, green, blue); + + planeCount++; // alpha channel not in use + + gdImageSetPixel(im, j, i, actColor); + + } + + FILE* out = fopen(filename.c_str(), "wb"); + if (out == 0) { + logger.error() << "PictureLoader::save: Cannot open file <"<<filename<<">: " + << strerror(errno) << "\n"; + return(false); + } + + if ((newWidth != 0) || (newHeight != 0)) { + + if (newWidth == 0) + newWidth = pic->width*newHeight/pic->height; + + if (newHeight == 0) + newHeight = pic->height*newWidth/pic->width; + + gdImagePtr resampled; + resampled = gdImageCreateTrueColor(newWidth, newHeight); + if (!resampled) { + throw OggException("PictureLoader::save: failed to allocate image buffer\n"); + } + + gdImageCopyResampled(resampled, im, 0, 0, 0, 0, resampled->sx, + resampled->sy, pic->width, pic->height); + + switch (type) { + + case suffix_jpg: + gdImageJpeg(resampled, out, -1); + break; + + case suffix_png: + gdImagePng(resampled, out); + break; + + // case suffix_gif: + + default: + logger.error() << "cannot identify suffix\n"; + + } + /* Write JPEG using default quality */ + gdImageDestroy(resampled); + + } else { + + switch (type) { + + case suffix_jpg: + gdImageJpeg(im, out, -1); + break; + + case suffix_png: + gdImagePng(im, out); + break; + + // case suffix_gif: + + default: + logger.error() << "cannot identify suffix\n"; + + } + + } + + /* Close file */ + if (fclose(out) != 0) { + logger.error() << "Error writing file <" << filename << ">: " + << strerror(errno) << "\n"; + gdImageDestroy(im); + return(false); + } + + /* Destroy the image */ + gdImageDestroy(im); + + return (true); +} +#endif //WITH_GD2LIB + +#ifdef HAVE_LIBTHEORAENC + +void PictureLoader::exportYCrCb_theora(RGBPlane& picture, th_ycbcr_buffer& buffer, int pixel_format ) +{ + + uint32 frameWidth; + uint32 frameHeight; + uint32 XOffset; + uint32 YOffset; + + /* recalculate the buffer (must be multiple of 16) */ + frameWidth = (picture->width+15)&~0xF; + frameHeight = (picture->height+15)&~0xF; + + // We force the offset to be even. + // This ensures that the chroma samples align properly with the luma + // samples. + + XOffset = ((frameWidth - picture->width)/4); //&~1; + YOffset = ((frameHeight - picture->height)/4); //&~1; + +// logger.debug() << width <<" x "<<height<<" "<<frameWidth<<" x "<<frameHeight <<" "<<XOffset<<" "<<YOffset<<std::endl; + + uint32 stride = frameWidth; + + if ((frameWidth != (uint32)buffer0.width) || + (frameHeight != (uint32)buffer0.height)) { + + /* delete old planes */ + delete buffer0.data; + delete buffer1.data; + delete buffer2.data; + + /* create a new YCbCrPlane */ + buffer0.width = frameWidth; + buffer0.height = frameHeight; + buffer0.stride = stride; + buffer0.data = new uint8frameWidth*frameHeight; +// memset(buffer0.data, 0x00, frameWidth*frameHeight); + + buffer1.width = frameWidth/2; + buffer1.height = frameHeight/2; + buffer1.stride = stride/2; + buffer1.data = new uint8frameWidth*frameHeight/4; +// memset(buffer1.data, 0x00, frameWidth*frameHeight/4); + + buffer2.width = frameWidth/2; + buffer2.height = frameHeight/2; + buffer2.stride = stride/2; + buffer2.data = new uint8frameWidth*frameHeight/4; +// memset(buffer2.data, 0x00, frameWidth*frameHeight/4); + + } + + + int wrap, wrap3; + + wrap = stride; + wrap3 = picture->width * 4; + + uint32 HeightPrecalculation0x; + uint32 HeightPrecalculation1x; + uint32 CromaPrecalculation; + + uint32 position00; + uint32 position01; + uint32 position10; + uint32 position11; + + uint32 inPos00; + uint32 inPos01; + uint32 inPos10; + uint32 inPos11; + + uint32 red_sample; + uint32 green_sample; + uint32 blue_sample; + + uint32 cromaPos; + + for (uint32 i(0); i<(uint32)(picture->height+1)/2; ++i) { + + HeightPrecalculation0x = (2*(i+YOffset))*buffer0.stride; + HeightPrecalculation1x = (2*(i+YOffset)+1)*buffer0.stride; + CromaPrecalculation = (i+YOffset)*buffer1.stride; + + for (uint32 j(0); j<(uint32)(picture->width+1)/2; ++j) { + + position00 = HeightPrecalculation0x+(2*(j+XOffset)); + position01 = HeightPrecalculation0x+(2*(j+XOffset)+1); + position10 = HeightPrecalculation1x+(2*(j+XOffset)); + position11 = HeightPrecalculation1x+(2*(j+XOffset)+1); + + inPos00 = 4*((2*i)*picture->width+(2*j)); + inPos01 = 4*((2*i)*picture->width+(2*j+1)); + inPos10 = 4*((2*i+1)*picture->width+(2*j)); + inPos11 = 4*((2*i+1)*picture->width+(2*j+1)); + + cromaPos = CromaPrecalculation+(j+XOffset); + + + buffer0.dataposition00 = (FIX(0.29900) * picture->planeinPos00 + + FIX(0.58700) * picture->planeinPos00+1 + + FIX(0.11400) * picture->planeinPos00+2 + + ONE_HALF) >> SCALEBITS; + + buffer0.dataposition01 = (FIX(0.29900) * picture->planeinPos01 + + FIX(0.58700) * picture->planeinPos01+1 + + FIX(0.11400) * picture->planeinPos01+2 + + ONE_HALF) >> SCALEBITS; + + buffer0.dataposition10 = (FIX(0.29900) * picture->planeinPos10 + + FIX(0.58700) * picture->planeinPos10+1 + + FIX(0.11400) * picture->planeinPos10+2 + + ONE_HALF) >> SCALEBITS; + + buffer0.dataposition11 = (FIX(0.29900) * picture->planeinPos11 + + FIX(0.58700) * picture->planeinPos11+1 + + FIX(0.11400) * picture->planeinPos11+2 + + ONE_HALF) >> SCALEBITS; + + red_sample = picture->planeinPos00 + picture->planeinPos01 + picture->planeinPos10 + picture->planeinPos11; + + green_sample = picture->planeinPos00+1 + picture->planeinPos01+1 + picture->planeinPos10+1 + picture->planeinPos11+1; + + blue_sample = picture->planeinPos00+2 + picture->planeinPos01+2 + picture->planeinPos10+2 + picture->planeinPos11+2; + + buffer1.datacromaPos = ((-FIX(0.16874) * red_sample - FIX(0.33126) * green_sample +FIX(0.50000) * blue_sample + 4 * ONE_HALF- 1) >> (SCALEBITS + 2)) + 128; + + buffer2.datacromaPos = ((FIX(0.50000) * red_sample - FIX(0.41869) * green_sample -FIX(0.08131) * blue_sample + 4 * ONE_HALF - 1) >> (SCALEBITS + 2)) + 128; + + + } + } +} + + +void PictureLoader::exportYCrCb_444_theora(RGBPlane& picture, th_ycbcr_buffer& buffer) +{ + + uint32 frameWidth; + uint32 frameHeight; + uint32 XOffset; + uint32 YOffset; + + /* recalculate the buffer (must be multiple of 16) */ + frameWidth = (picture->width+15)&~0xF; + frameHeight = (picture->height+15)&~0xF; + + // We force the offset to be even. + // This ensures that the chroma samples align properly with the luma + // samples. + + XOffset = ((frameWidth - picture->width)/2)&~1; + YOffset = ((frameHeight - picture->height)/2)&~1; + +// logger.debug() << width <<" x "<<height<<" "<<frameWidth<<" x "<<frameHeight <<" "<<XOffset<<" "<<YOffset<<std::endl; + + uint32 stride = frameWidth; + + if ((frameWidth != (uint32)buffer0.width) || + (frameHeight != (uint32)buffer0.height)) { + + /* delete old planes */ + delete buffer0.data; + delete buffer1.data; + delete buffer2.data; + + /* create a new YCbCrPlane */ + buffer0.width = frameWidth; + buffer0.height = frameHeight; + buffer0.stride = stride; + buffer0.data = new uint8frameWidth*frameHeight; + + buffer1.width = frameWidth; + buffer1.height = frameHeight; + buffer1.stride = stride; + buffer1.data = new uint8frameWidth*frameHeight; + + buffer2.width = frameWidth; + buffer2.height = frameHeight; + buffer2.stride = stride; + buffer2.data = new uint8frameWidth*frameHeight; + + } + + uint32 HeightPrecalculation; + uint32 ycrcbPosition; + uint32 rgbPosition; + + uint8 red_sample; + uint8 green_sample; + uint8 blue_sample; + + uint32 cromaPos; + + for (uint32 i(0); i<(uint32)picture->height; ++i) { + + HeightPrecalculation = (i+YOffset)*buffer0.stride; + + for (uint32 j(0); j<(uint32)picture->width; ++j) { + + ycrcbPosition = HeightPrecalculation+(j+XOffset); + + rgbPosition = 4*(i*picture->width+j); + + red_sample = picture->planergbPosition; + green_sample = picture->planergbPosition+1; + blue_sample = picture->planergbPosition+2; + + buffer0.dataycrcbPosition = (FIX(0.29900) * red_sample + + FIX(0.58700) * green_sample + + FIX(0.11400) * blue_sample + + ONE_HALF) >> SCALEBITS; + buffer0.dataycrcbPosition = 0; + + int32 cr = ( -1 * FIX(0.168736) * red_sample + - FIX(0.331264) * green_sample + + FIX(0.5) * blue_sample + + ONE_HALF ) >> SCALEBITS ; + static uint32 cn(0); + //cr = + if (i < picture->height/4 ) + buffer1.dataycrcbPosition = cn++;//128 + cr; + else + buffer1.dataycrcbPosition = 0;//128 + cr; + // logger.debug() << (uint32) buffer1.dataycrcbPosition << " "; + + int32 cb = (FIX(0.5) * red_sample + - FIX(0.418688) * green_sample + - FIX(0.081312) * blue_sample + + ONE_HALF) >> SCALEBITS; + buffer2.dataycrcbPosition = 0; //128 +cb; + + } + } + //abort(); +} + + +RGBPlane PictureLoader::importYCrCb_theora(const th_ycbcr_buffer& buffer, uint32 _width, uint32 _height, uint32 XOffset, uint32 YOffset, int pixel_format) +{ + + uint32 width; + uint32 height; + + // what size to use? + if ((_width == 0) || (_height == 0)) { + width = buffer0.width; + height = buffer0.height; + XOffset = 0; + YOffset = 0; + } else { + width = _width; + height = _height; + } + + RGBPlane retPlane(width, height); + + /* Theora spec 4.4.1/4.4.2/4.4.3: + 4:2:0 is subsampled on X and Y, 4:2:2 on X, and 4:4:4 is not subsampled. */ + unsigned int CbCr_subshift_x = (pixel_format==TH_PF_444)?0:1; + unsigned int CbCr_subshift_y = (pixel_format==TH_PF_420)?1:0; + + uint8* out = retPlane->plane; + for (int row=YOffset; row<height+YOffset; row++) { + for (int col=XOffset; col<width+XOffset; col++) { + int Y = buffer0.datarow*buffer0.stride+col; + /* Theora spec 4.4.4: + The sampling locations are defined relative to the frame, not the picture region.*/ + int CrCb_pos = (row>>CbCr_subshift_y)*buffer1.stride+(col>>CbCr_subshift_x); + int Cb = buffer1.dataCrCb_pos; + int Cr = buffer2.dataCrCb_pos; + /* Theora spec 4.3.1/4.3.2: + Y,Cb,Cr have offsets 16, 128, and 128 respectively.*/ + /* This can be made marginally faster by performing all + computation over a common power-of-two denominator to conserve the + multiplication on Y and replace the division with a shift. + Although somewhat faster it doesn't make it fast compared to a SIMD implementation + so this instead favors accuracy. + This can also be made faster on some platforms for using a table to + replace multiplication, but that isn't likely to be helpful if only + a single smallish frame is being written. + The two (minor) speedups mentioned here are implemented in libtheora's + player_example.c. An inaccurate but fairly fast SIMD implementation + can be found in liboggplay. */ + int r=(1904000*Y+2609823*Cr-363703744)/1635200; + *(out++) = CLAMP255(r); + int g=(3827562*Y-1287801*Cb-2672387*Cr+447306710)/3287200; + *(out++) = CLAMP255(g); + int b=(952000*Y+1649289*Cb-225932192)/817600; + *(out++) = CLAMP255(b); + *(out++) = 255; + } + } + + return(retPlane); +} + +#endif + +
View file
oggvideotools-0.9.1.tar.bz2/src/effect/pictureLoader.h
Added
@@ -0,0 +1,66 @@ +// +// C++ Interface: pictureLoader +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef PICTURELOADER_H +#define PICTURELOADER_H + +#include <string> + +#include "rgbPlane.h" + +#ifdef WITH_GD2LIB +#include <gd.h> +#endif + +#ifdef HAVE_LIBTHEORAENC +#include <theora/codec.h> +#endif + +/** + @author Yorn <yorn@gmx.net> +*/ +class PictureLoader { + +protected: + enum SuffixType { + suffix_unknown, + suffix_jpg, + suffix_png, + suffix_gif + }; + +#ifdef WITH_GD2LIB + static RGBPlane convertToRgbPlane(gdImagePtr im); + static SuffixType identifySuffix(const std::string& filename); +#endif + +public: + + PictureLoader(); + + virtual ~PictureLoader(); + +#ifdef WITH_GD2LIB + static bool load(RGBPlane& retPlane, const std::string& filename, uint32 width=0, uint32 height=0, bool useBiggest = true); + static bool save(RGBPlane& pic, const std::string& filename, uint32 width=0, uint32 height=0); +#endif + +#ifdef HAVE_LIBTHEORAENC + static void exportYCrCb_theora(RGBPlane& plane, th_ycbcr_buffer& buffer, int pixel_format=TH_PF_420); + static void exportYCrCb_444_theora(RGBPlane& picture, th_ycbcr_buffer& buffer); + + static RGBPlane importYCrCb_theora(const th_ycbcr_buffer& buffer, uint32 width, uint32 height, uint32 XOffset=0, uint32 YOffset=0, int pixel_format=TH_PF_420); +#endif + + +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/pictureResize.cpp
Added
@@ -0,0 +1,757 @@ +// +// C++ Implementation: pictureResize +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#include "pictureResize.h" + +#include <cmath> +#include <iostream> +#include <cstdlib> +#include <cstring> +#include "exception.h" +#include "log.h" + +#define INIT_CLIP int32 tmp +#define CLIP(x,n) tmp = (int32)(x+0.5); \ + if (tmp > 255) n=255; \ + else if (tmp < 0) n=0; \ + else n = (uint8)(tmp); + +#define MIN(x,y) (((x)<(y))?(x):(y)) +#define MAX(x,y) (((x)<(y))?(y):(x)) + +PictureResize::PictureResize() +{ +} + +PictureResize::~PictureResize() +{ +} + +uint32 PictureResize::calculateKernelValue(RGBPlane& pic, float posX, + float posY, float radius, bool p) +{ + + radius = sqrt(radius); + + uint32 xStart(MAX(0,posX-radius+0.5)); + uint32 xEnd(MIN(posX+radius+0.5,(float)pic->width)); + + uint32 yStart(MAX(0,posY-radius+0.5)); + uint32 yEnd(MIN(posY+radius+0.5,(float)pic->height)); + + float weightsCounter(0); + + float valueRed(0); + float valueGreen(0); + float valueBlue(0); + + float tmpWeight; + float tmpDistance; + uint32 position; + uint32 positionHeight; + +#ifdef DEBUG + uint32 counter1(0); + uint32 overall(0); + + if (p) { + logger.debug() << "kernel calculation at position "<<posX<<" x "<<posY + <<" rad "<<radius <<" kerne "<<xStart<<"x"<<yStart<<"->"<<xEnd + <<"x"<<yEnd<<" \n"; + } +#endif + + for (uint32 i(yStart); i<yEnd; ++i) { + + positionHeight = i*pic->width; + + for (uint32 j(xStart); j<xEnd; ++j) { + + tmpDistance = (((float)i)-posY)*(((float)i)-posY) + (((float)j) + -posX)*(((float)j)-posX); + tmpDistance = sqrt(tmpDistance); + tmpWeight = getWeight(tmpDistance, radius); // getWeight(sqrt(tmpDistance), radius); +#ifdef DEBUG + overall++; +#endif + if (tmpWeight <= 0) { +#ifdef DEBUG + if (p) { + logger.debug() << " Pos: "<<j<<" x "<<i<<" -> distance " + <<tmpDistance <<"radius: "<<radius<<" weight: " + <<tmpWeight << " - UNCOUNTED "; + } + counter1++; +#endif + continue; + } + + //static uint32 cnt(0); + // if ((cnt++ % 10) == 0) + //logger.debug() << "."; + + position = 4*(positionHeight+j); +#ifdef DEBUG + if (p) { + logger.debug() << " Pos: "<<j<<" x "<<i<<" -> distance " + <<tmpDistance <<"radius: "<<radius<<" weight: " + <<tmpWeight; + } + + if (position > 4*pic->width*pic->height) { + logger.error() << "Error: calculating for Position "<<posX<<" x " + <<posY<<" at kernel position "<<j<<" x "<<i + <<" with radius "<<radius<<" \n"; + logger.error() << "Picture size: "<<pic->width << " x " + << pic->height<<" Kernel window: "<<xStart <<":" + <<yStart<<" -> "<<xEnd<<":"<<yEnd<<"\n"; + abort(); + } +#endif + valueRed += pic->planeposition*tmpWeight; + valueGreen += pic->planeposition+1*tmpWeight; + valueBlue += pic->planeposition+2*tmpWeight; + weightsCounter += tmpWeight; + } + } +#ifdef DEBUG + if (p) + logger.debug() << " Unused: "<<counter1<<"/"<<overall<<"\n"; +#endif + uint32 retValue(0); + + uint8* RGB = (uint8*)(&retValue); + + INIT_CLIP; + + CLIP((valueRed/weightsCounter), RGB0) + ; + CLIP((valueGreen/weightsCounter), RGB1) + ; + CLIP((valueBlue/weightsCounter), RGB2) + ; + + return (retValue); +} + +uint32 PictureResize::calculateKernelValueFix(RGBPlane& pic, float posX, + float posY, float radius, bool p) +{ + + radius = sqrt(radius); + + uint32 xStart(MAX(0,posX-radius+0.5)); + uint32 xEnd(MIN(posX+radius+0.5,(float)pic->width)); + + uint32 yStart(MAX(0,posY-radius+0.5)); + uint32 yEnd(MIN(posY+radius+0.5,(float)pic->height)); + + uint32 radiusF(radius+0.51); + + uint32 weightsCounter(0); + + uint32 valueRed(0); + uint32 valueGreen(0); + uint32 valueBlue(0); + + int32 tmpWeight; + uint32 tmpDistance; + uint32 position; + uint32 positionHeight; + + uint32 posXF = (uint32)(posX+0.5); + uint32 posYF = (uint32)(posY+0.5); + + uint32 factor(1); + uint32 factorCounter(0); + uint32 size(((xEnd-xStart)*(yEnd-yStart))); + + if (size > 128) { + factor = size / 32; + } + +#ifdef DEBUG + uint32 counter1(0); + uint32 overall(0); + + if (p) { + logger.debug() << "kernel calculation at position "<<posXF<<" x "<<posYF + <<" rad "<<radiusF <<" kerne "<<xStart<<"x"<<yStart<<"->"<<xEnd + <<"x"<<yEnd<<" \n"; + } +#endif + + struct pos { + uint32 x; + uint32 y; + }; + + uint32 i; + uint32 j; + + for (uint32 r(0); r<2*radiusF; ++r) { + + j = xStart + rand()%(xEnd - xStart); + i = yStart + rand()%(yEnd - yStart); + + positionHeight = i*pic->width; + + tmpDistance = (i-posYF)*(i-posYF) + (j-posXF)*(j-posXF); + tmpDistance = (uint32)(sqrt(tmpDistance)+0.5); + tmpWeight = getWeightFix(tmpDistance, radiusF); + +#ifdef DEBUG + overall++; +#endif + if (tmpWeight <= 0) { +#ifdef DEBUG + if (p) { + logger.debug() << " Pos: "<<j<<" x "<<i<<" -> distance " + <<tmpDistance <<" radius: "<<radiusF<<" weight: " + <<tmpWeight << " - UNCOUNTED "; + } + counter1++; +#endif + continue; + } + +#ifdef DEBUG + if (p) { + logger.debug() << " Pos: "<<j<<" x "<<i<<" -> distance " + <<tmpDistance <<" radius: "<<radiusF<<" weight: " + <<tmpWeight; + } +#endif + + position = 4*(positionHeight+j); + +#ifdef DEBUG + if (position > 4*pic->width*pic->height) { + logger.debug() << "Error: calculating for Position "<<posX<<" x "<<posY + <<" at kernel position "<<j<<" x "<<i<<" with radius " + <<radiusF<<" \n"; + logger.debug() << "Picture size: "<<pic->width << " x "<< pic->height + <<" Kernel window: "<<xStart <<":"<<yStart<<" -> "<<xEnd + <<":"<<yEnd<<"\n"; + abort(); + } +#endif + + valueRed += pic->planeposition*tmpWeight; + valueGreen += pic->planeposition+1*tmpWeight; + valueBlue += pic->planeposition+2*tmpWeight; + weightsCounter += tmpWeight; + } + +#ifdef DEBUG + if (p) + logger.debug() << " Unused: "<<counter1<<"/"<<overall<<"\n"; +#endif + + uint32 retValue(0); + + uint8* RGB = (uint8*)(&retValue); + + INIT_CLIP; + + if (weightsCounter != 0) { + CLIP((valueRed/weightsCounter), RGB0) + ; + CLIP((valueGreen/weightsCounter), RGB1) + ; + CLIP((valueBlue/weightsCounter), RGB2) + ; + } else { + RGB0 = pic->plane4*(posYF*pic->width+posXF); + RGB1 = pic->plane4*(posYF*pic->width+posXF)+1; + RGB2 = pic->plane4*(posYF*pic->width+posXF)+2; + } + + return (retValue); +} + +float PictureResize::getWeight(float distance, float radius) +{ + // should be a sinc + + /* -> lets save time on the expence of security + * if ((radius <= 0) || (distance > radius)) + * return(0); + */ + return (1.0 - distance/radius); + + // return(1.0 - sqrt(distance)/sqrt(radius)); +} + +int32 PictureResize::getWeightFix(uint32 distance, uint32 radius) +{ + // should be a sinc + + /* -> lets save time on the expence of security + * if ((radius <= 0) || (distance > radius)) + * return(0); + */ + return (1000 - distance*1000/radius); +} + +RGBPlane PictureResize::kernelLowpass(RGBPlane& picture, float radius) +{ + + RGBPlane retPlane(picture->width, picture->height); + + float kernelRadius((1.0-radius)*picture->height/4.0); + + kernelRadius *= kernelRadius; + + if (kernelRadius < 0.708) // sqrt(0.5) this is the lease radius size, a picture can be + kernelRadius = 0.708; + + uint32 heightAddition; + + for (uint32 i(0); i<retPlane->height; ++i) { + + heightAddition = 4*i*picture->width; + + for (uint32 j(0); j<retPlane->width; ++j) { + uint32* _plane = (uint32*)(&retPlane->planeheightAddition + 4*j); + (*_plane) = calculateKernelValueFix(picture, j, i, kernelRadius); + } + } + + // logger.debug() << " DONE ! \n"; + + return (retPlane); + +} + +uint32 PictureResize::linearInterpolation(RGBPlane pic, float x, float y) +{ + uint32 pixelDistance = 4; + uint32 pos_x1 = (int)(x); + uint32 pos_x2 = (int)(x+1.0); + uint32 pos_y1 = (int)(y); + uint32 pos_y2 = (int)(y+1.0); + + if (pos_x2 >= pic->width) + pos_x2 = pic->width-1; + + if (pos_y2 >= pic->height) + pos_y2 = pic->height-1; + + float part_x = (float)(x - pos_x1); + float part_y = (float)(y - pos_y1); + + float value_x1y1; + float value_x1y2; + float value_x2y1; + float value_x2y2; + + float inter_x1y1_x1y2; + float inter_x2y1_x2y2; + float endpoint; + + uint32 retValue(0); + + uint8* RGB = (uint8*)(&retValue); + + /* red */ + + value_x1y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x1); + value_x1y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x1); + value_x2y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x2); + value_x2y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x2); + + inter_x1y1_x1y2 = (value_x1y2-value_x1y1)*part_y + value_x1y1; + inter_x2y1_x2y2 = (value_x2y2-value_x2y1)*part_y + value_x2y1; + + endpoint = (inter_x2y1_x2y2 - inter_x1y1_x1y2) * part_x + inter_x1y1_x1y2 + + 0.5; + + if (endpoint > 255) + endpoint = 255; + + if (endpoint < 0) + endpoint = 0; + + RGB0 = (uint8)endpoint; + + /* green */ + + value_x1y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x1)+1; + value_x1y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x1)+1; + value_x2y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x2)+1; + value_x2y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x2)+1; + + inter_x1y1_x1y2 = (value_x1y2-value_x1y1)*part_y + value_x1y1; + inter_x2y1_x2y2 = (value_x2y2-value_x2y1)*part_y + value_x2y1; + + endpoint = (inter_x2y1_x2y2 - inter_x1y1_x1y2) * part_x + inter_x1y1_x1y2 + + 0.5; + + if (endpoint > 255) + endpoint = 255; + + if (endpoint < 0) + endpoint = 0; + + RGB1 = (uint8)endpoint; + + /* blue */ + + value_x1y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x1)+2; + value_x1y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x1)+2; + value_x2y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x2)+2; + value_x2y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x2)+2; + + inter_x1y1_x1y2 = (value_x1y2-value_x1y1)*part_y + value_x1y1; + inter_x2y1_x2y2 = (value_x2y2-value_x2y1)*part_y + value_x2y1; + + endpoint = (inter_x2y1_x2y2 - inter_x1y1_x1y2) * part_x + inter_x1y1_x1y2 + + 0.5; + + if (endpoint > 255) + endpoint = 255; + + if (endpoint < 0) + endpoint = 0; + + RGB2 = (uint8)endpoint; + + /* ALPHA */ + + value_x1y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x1)+3; + value_x1y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x1)+3; + value_x2y1 = pic->planepixelDistance*(pos_y1*pic->width+pos_x2)+3; + value_x2y2 = pic->planepixelDistance*(pos_y2*pic->width+pos_x2)+3; + + inter_x1y1_x1y2 = (value_x1y2-value_x1y1)*part_y + value_x1y1; + inter_x2y1_x2y2 = (value_x2y2-value_x2y1)*part_y + value_x2y1; + + endpoint = (inter_x2y1_x2y2 - inter_x1y1_x1y2) * part_x + inter_x1y1_x1y2 + + 0.5; + + if (endpoint > 255) + endpoint = 255; + + if (endpoint < 0) + endpoint = 0; + + RGB3 = (uint8)endpoint; + + return (retValue); + +} + +RGBPlane PictureResize::resize(RGBPlane& picture, uint32 width, uint32 height, + uint8 quality) +{ + + RGBPlane retPlane(width, height); + + float resizeFactorX(((float)picture->width)/((float)retPlane->width)); + float resizeFactorY(((float)picture->height)/((float)retPlane->height)); + float radius((resizeFactorX*resizeFactorX + resizeFactorY*resizeFactorY) + /(0.5*quality)); + uint32 heightAddition; + + if (radius < 0.708) + radius = 0.708; + +#ifdef DEBUG + logger.debug() << "Resizing from "<<picture->width<<" : "<<picture->height + <<" to "<<retPlane->width<<" : "<<retPlane->height<<"\n"; + logger.debug() << "using resizefactor "<<resizeFactorX<<" : "<<resizeFactorY + <<" with radius "<<radius<<"\n"; +#endif + bool p(false); + + if ((resizeFactorX < 0.6) || (resizeFactorX > 1.6)) { + logger.debug() << "\nKernel\n"; + for (uint32 i(0); i< retPlane->height; ++i) { + + heightAddition = i*retPlane->width; + + for (uint32 j(0); j < retPlane->width; ++j) { +#ifdef DEBUG + if ((j==100) && (i==100)) + p=true; + else + p=false; +#endif + + ((uint32*)(retPlane->plane))j+heightAddition + = calculateKernelValue(picture, j *resizeFactorX, i + *resizeFactorY, radius, p); + } + } + } else { + logger.debug() << "\nLinear\n"; + for (uint32 i(0); i< retPlane->height; ++i) { + + heightAddition = i*retPlane->width; + + for (uint32 j(0); j < retPlane->width; ++j) { + +#ifdef DEBUG + if ((j==100) && (i==100)) + p=true; + else + p=false; +#endif + + ((uint32*)(retPlane->plane))j+heightAddition + = linearInterpolation(picture, j *resizeFactorX, i + *resizeFactorY); + } + } + } + + return (retPlane); + +} + +RGBPlane PictureResize::resize(RGBPlane& picture, float resizeFactorX, float resizeFactorY, uint8 quality) +{ + + RGBPlane retPlane(picture->width*resizeFactorX, picture->height*resizeFactorY); + + float radius((resizeFactorX*resizeFactorX + resizeFactorY*resizeFactorX)/(0.5*quality)); + uint32 heightAddition; + + if (radius < 1.2) // sqrt(0.5) this is the lease radius size, a picture can be + radius = 1.2; + +// if (radius < 0.708) // sqrt(0.5) this is the lease radius size, a picture can be +// radius = 0.708; + + bool p(false); + + logger.debug() << "\n\nKernel\n\n"; + + for (uint32 i(0); i< retPlane->height; ++i) { + + heightAddition = i*retPlane->width; + + for (uint32 j(0); j < retPlane->width; ++j) { + if ((i==100) && (j==100)) + p=true; + else + p=false; + + ((uint32*)(retPlane->plane))j+heightAddition = calculateKernelValue(picture, ((float)j) + *resizeFactorX, ((float)i)*resizeFactorY, radius); + } + } + + return (retPlane); + +} + +RGBPlane PictureResize::resize(RGBPlane& picture, float resizeFactor, + uint8 quality) +{ + return (resize(picture, resizeFactor, resizeFactor, quality)); +} + +RGBPlane PictureResize::reframe(RGBPlane & picture, uint32 width, + uint32 height, uint8 quality, uint32 background, double aspectCorrection) +{ + if ((picture->width == width) && (picture->height == height)) + return (picture); + + if (((picture->width == width) || (picture->height == height)) && aspectCorrection > 0.999 && aspectCorrection < 1.0001 ) + return reframe_fixed(picture, width, height, background); + + RGBPlane newPlane(width, height); + + uint32 planesize(width*height); + + // fill the plane with the given background + uint32* plPtr((uint32*)(newPlane->plane)); + for (uint32 i(0); i<planesize; ++i) + plPtri = background; + // setBackground + + uint32 offsetY(0); + uint32 offsetX(0); + float resizeFactor(1); + + if (((float)(picture->height*newPlane->width)/((float)picture->width*aspectCorrection)) + < ((float)newPlane->height)) { + // we work with a height offset + offsetY = (uint32) ((((float)newPlane->height) + - (((float)(picture->height * newPlane->width)) + /((float)picture->width*aspectCorrection)))/2.0+0.5); + offsetX = 0; + resizeFactor = (((float)picture->width*aspectCorrection/(float)newPlane->width)); //((float)newPlane->width)/((float)width); + } else { + // we work with a width offset + offsetY = 0; + offsetX = (uint32) ((((float)newPlane->width) + - (((float)(picture->width*aspectCorrection *newPlane->height)) + /((float)picture->height)))/2.0+0.5); + resizeFactor = (((float)picture->height/(float)newPlane->height)); //((float)newPlane->height)/((float)picture->height); + } + +#ifdef DEBUG + logger.debug() << "Reframe - OffsetX: "<<offsetX<<" OffsetY: "<<offsetY + <<" resize : "<<resizeFactor<<std::endl; +#endif + + uint32 position_new; + float resizePlaneCounterX(0); + float resizePlaneCounterY(0); + float radius((resizeFactor*resizeFactor)/(0.25*quality)); + // float radius(resizeFactor/2.0); +// if (radius < 1.2) // sqrt(0.5) this is the lease radius size, a picture can be +// radius = 1.2; + if (radius < 1) // sqrt(0.5) this is the lease radius size, a picture can be + radius = 1; + + // place the picture into the new frame + + for (uint32 i(offsetY); i<(newPlane->height-offsetY); ++i) { + for (uint32 j(offsetX); j <(newPlane->width-offsetX); ++j) { + position_new = (((float)i)*newPlane->width+j); + ((uint32*)(newPlane->plane))position_new + = calculateKernelValue(picture, resizePlaneCounterX, + resizePlaneCounterY, radius); + resizePlaneCounterX += (resizeFactor/aspectCorrection); + } + resizePlaneCounterY += resizeFactor; + resizePlaneCounterX = 0; + } + + return (newPlane); +} + +RGBPlane PictureResize::reframe_fixed(RGBPlane & picture, uint32 width, + uint32 height, uint32 background) +{ + std::cout << "fixed reframe (from " << picture->width <<":"<<picture->height<<" to " << width << ":"<<height<<") \n"; + if (picture->width > width || picture->height > height) + throw OggException("picture too big"); + + if ((picture->width == width) && (picture->height == height)) + return (picture); + + RGBPlane newPlane(width, height); + + uint32 planesize(width*height); + + // fill the plane with the given background + uint32* plPtr((uint32*)(newPlane->plane)); + for (uint32 i(0); i<planesize; ++i) + plPtri = background; + // setBackground + + uint32* plPtrOrig((uint32*)(picture->plane)); + uint32 offsetX((width - picture->width)/2); + uint32 offsetY((height - picture->height)/2); + + std::cout << "offset: X=" << offsetX << " offset Y=" << offsetY << std::endl; + + for (uint32 i(0); i<picture->height; ++i) { + uint heightAddNew = (i+offsetY)*width; + uint heightAddOrig = i*picture->width; + for (uint32 j(0); j < picture->width; ++j) { + plPtrheightAddNew+offsetX+j = plPtrOrigheightAddOrig+j; + } + } + + return (newPlane); +} + +RGBPlane PictureResize::subframe(RGBPlane & picture, uint32 newWidth, + uint32 newHeight, float offsetWidth, float offsetHeight, + float scaleFactor, uint8 quality) +{ + + if (((((float)newWidth)/scaleFactor)+offsetWidth> picture->width) + || ((((float)newHeight) /scaleFactor)+offsetHeight> picture->height)) { + logger.error() << "new width: "<<newWidth<<" / "<<scaleFactor<<" + " + <<offsetWidth << " = " << (((float)newWidth)/scaleFactor) + +offsetWidth <<" must be smaller then "<<picture->width + <<std::endl; + logger.error() << "new width: "<<newHeight<<" / "<< scaleFactor<<" + " + <<offsetHeight << " = " <<(((float)newHeight)/scaleFactor) + +offsetHeight <<" must be smaller then "<<picture->height + <<std::endl; + throw OggException("PicConverter::subPic: new width/height is/are to big"); + } + + RGBPlane retPlane = RGBPlane(newWidth, newHeight); + + float resizeFactor(1.0/scaleFactor); + float radius((resizeFactor*resizeFactor)/(0.5*quality)); + uint32 heightAddition; + + if (radius < 0.708) // sqrt(0.5) this is the lease radius size, a picture can be + radius = 0.708; + + // logger.debug() << "subframe: resize factor (j*resize) "<<resizeFactor<<" radius: "<<radius<<"\n"; + if ((resizeFactor < 0.6) || (resizeFactor > 1.6)) { + + for (uint32 i(0); i < newHeight; ++i) { + heightAddition = i*newWidth; + for (uint32 j(0); j < newWidth; ++j) { + ((uint32*)(retPlane->plane))j+heightAddition + = calculateKernelValue(picture, ((float)j) + *resizeFactor+offsetWidth, ((float)i) + *resizeFactor+offsetHeight, radius); + + } + } + } else { + for (uint32 i(0); i < newHeight; ++i) { + heightAddition = i*newWidth; + for (uint32 j(0); j < newWidth; ++j) { + ((uint32*)(retPlane->plane))j+heightAddition + = linearInterpolation(picture, ((float)j) *resizeFactor + +offsetWidth, ((float)i)*resizeFactor + +offsetHeight); + + } + } + + } + + return (retPlane); + +} + +RGBPlane PictureResize::concatenate(RGBPlane& picture1, RGBPlane& picture2, RGBPlane& picture3) +{ + if (picture1.getHeight() != picture2.getHeight()) { + + logger.error() + << picture1.getHeight() <<" " <<picture2.getHeight(); + throw(OggException("Height of picture 1 and 2 do not match")); + } + + if (picture1.getWidth() != picture2.getWidth()) { + throw(OggException("Width of picture 1 and 2 do not match")); + } + + RGBPlane retPlane(picture1.getWidth()*2, picture1.getHeight(), 0xffffffff); + + uint32 width = picture1.getWidth(); + for (uint32 hcnt(0); hcnt<picture1.getHeight(); ++hcnt) { + uint32* retRgbaPlane = ((uint32*)retPlane->plane)+width*hcnt*2; + uint32* pic1RgbaPlane = ((uint32*)picture1->plane)+width*hcnt; + uint32* pic2RgbaPlane = ((uint32*)picture2->plane)+width*hcnt; + memcpy(retRgbaPlane, pic1RgbaPlane, width*sizeof(uint32)); + memcpy(retRgbaPlane+width, pic2RgbaPlane, width*sizeof(uint32)); + } + + return retPlane; +} +
View file
oggvideotools-0.9.1.tar.bz2/src/effect/pictureResize.h
Added
@@ -0,0 +1,57 @@ +// +// C++ Interface: pictureResize +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef PICTURERESIZE_H +#define PICTURERESIZE_H + +#include "definition.h" +#include "rgbPlane.h" + +/** + @author Yorn <yorn@gmx.net> +*/ +class PictureResize { + +protected: + static uint32 calculateKernelValue(RGBPlane& pic, float posX, float posY, float radius, bool p=false); + static float getWeight(float distance, float radius); + + static uint32 calculateKernelValueFix(RGBPlane& pic, float posX, float posY, float radius, bool p=false); + static int32 getWeightFix(uint32 distance, uint32 radius); + + static uint32 linearInterpolation(RGBPlane pic, float x, float y); +public: + PictureResize(); + + virtual ~PictureResize(); + + //! Method transforms the original picture through a lowpass/bluring filter + static RGBPlane kernelLowpass(RGBPlane& picture, float radius=1); + + //! method resizes the picture and stretches if necessary + static RGBPlane resize(RGBPlane& picture, uint32 width, uint32 height, uint8 quality=1); + + static RGBPlane resize(RGBPlane& picture, float factorX, float factorY, uint8 quality=1); + + static RGBPlane resize(RGBPlane& picture, float factor, uint8 quality=1); + + //! Method keeps the aspect ratio during resize + static RGBPlane reframe(RGBPlane& picture, uint32 width, uint32 height, uint8 quality=1, uint32 background=0, double aspectCorrection=1); + + static RGBPlane reframe_fixed(RGBPlane & picture, uint32 width, uint32 height, uint32 background); + + static RGBPlane subframe(RGBPlane& picture, uint32 newWidth, uint32 newHeight, float offsetWidth, float offsetHeight, float resizeFactor, uint8 quality=1); + + static RGBPlane concatenate(RGBPlane& picture1, RGBPlane& picture2, RGBPlane& picture3); + +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/plainPicture.cpp
Added
@@ -0,0 +1,78 @@ +// +// C++ Implementation: PlainPicture +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// + +#include <iostream> +#include "plainPicture.h" +#include "pictureResize.h" +#include "pictureLoader.h" +#include <cstdlib> +#include "log.h" +#include "effectorVisitor.h" + +PlainPicture::PlainPicture() + : Effector(), state(unconfigured), framecounter(0) +{ +} + + +PlainPicture::~PlainPicture() +{ +} + +Effector & PlainPicture::operator >>(RGBPlane & plane) +{ + + if (!available()) + return(*this); + + plane = presentationPlane; + + framecounter++; + if (framecounter > config.sequenceLength) { + state = unavailable; + } + + return(*this); +} + +void PlainPicture::configure(PlainPictureConfig & _config) +{ + + framecounter = 0; + config = _config; + + logger.debug() << "PlanePicture::configure: "<< config.origPlane->width << "x" << config.origPlane->height<<" -> " + <<config.outputWidth<<"x"<<config.outputHeight<<std::endl; + + /* resize the picture to the correct size */ + if ((config.origPlane->width != config.outputWidth) || (config.origPlane->height != config.outputHeight)) { + logger.debug() << "reframing"<<std::endl; + presentationPlane = PictureResize::reframe(config.origPlane, config.outputWidth, config.outputHeight); + } else + presentationPlane = config.origPlane; + + logger.debug() << "new Picture: "<< presentationPlane->width << "x"<<presentationPlane->height<<std::endl; + state = presentation; + +} + +bool PlainPicture::available() +{ + + return((state!=unavailable) && (state!=unconfigured)); + +} + +void PlainPicture::accept(EffectorVisitor& visitor) const +{ + visitor.visit(*this); +}
View file
oggvideotools-0.9.1.tar.bz2/src/effect/plainPicture.h
Added
@@ -0,0 +1,63 @@ +// +// C++ Interface: plainPicture +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef PLAINPICTURE_H +#define PLAINPICTURE_H + +#include "effector.h" + +/** + @author Yorn <yorn@gmx.net> +*/ +class PlainPicture : public Effector { + +public: + + class PlainPictureConfig { + public: + + uint32 sequenceLength; /* in frames */ + + uint32 outputWidth; + uint32 outputHeight; + + RGBPlane origPlane; + }; + +protected: + + enum State { + unconfigured, + presentation, + unavailable + }; + + State state; + RGBPlane presentationPlane; + PlainPictureConfig config; + uint32 framecounter; + + +public: + PlainPicture(); + virtual ~PlainPicture(); + + void configure(PlainPictureConfig& config); + + virtual Effector& operator>>(RGBPlane& plane); + + virtual bool available(); + + virtual void accept(EffectorVisitor& visitor) const; + +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/rgbPlane.cpp
Added
@@ -0,0 +1,29 @@ +// +// C++ Implementation: rgbPlane +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#include "rgbPlane.h" + + +RGBPlane::RGBPlane() +{ +} + + +RGBPlane::~RGBPlane() +{ +} + +RGBPlane::RGBPlane(uint32 width, uint32 height, uint32 color) + : RefObject<BasePlane>(new BasePlane(width, height, color)) +{ +} + +
View file
oggvideotools-0.9.1.tar.bz2/src/effect/rgbPlane.h
Added
@@ -0,0 +1,42 @@ +// +// C++ Interface: rgbPlane +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef RGBPLANE_H +#define RGBPLANE_H + +#include "refObject.h" +#include "basePlane.h" + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +/** + @author Yorn <yorn@gmx.net> +*/ +class RGBPlane : public RefObject<BasePlane> { + +public: + RGBPlane(); + RGBPlane(uint32 width, uint32 height, uint32 color = 0x00000000 ); + + virtual ~RGBPlane(); + + const uint32 getWidth() const { + return objPtr->width; + } + const uint32 getHeight() const { + return objPtr->height; + } + +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/effect/shiftEffect.cpp
Added
@@ -0,0 +1,136 @@ +/* + * shiftEffect.cpp + * + * Created on: 16.03.2014 + * Author: seger + */ + +#include "shiftEffect.h" + +#include <iostream> +#include <cstring> +#include <cmath> + +#include "pictureBlend.h" +#include "pictureResize.h" +#include "log.h" +#include "effectorVisitor.h" + +ShiftEffect::ShiftEffect() + :state(unconfigured), framecounter(0) +{ + +} + +ShiftEffect::~ShiftEffect() +{ + +} + +bool ShiftEffect::available() +{ + return((state!=unavailable) && (state!=unconfigured)); +} + +void ShiftEffect::accept(EffectorVisitor& visitor) const +{ + visitor.visit(*this); +} + +Effector& ShiftEffect::operator >>(RGBPlane& plane) +{ + + switch (state) { + + case shifting: { + doShift(plane); + break; + } + + case presentation: { + doPresentation(plane); + break; + } + + default: { + logger.error() << "no frame available\n"; + break; + } + } + + return(*this); + +} + +void ShiftEffect::configure(ShiftConfig& _config) +{ + + framecounter = 0; + + config = _config; + + if (config.first) { + + lastPlane = RGBPlane(config.outputWidth, config.outputHeight); + + /* blank the plane */ + uint32 planesize = config.outputWidth*config.outputHeight*4; // 3 Colors + Alpha channel + memset(lastPlane->plane, 0x00, planesize); + + } + + + /* resize the picture to the correct size */ + presentationPlane = PictureResize::reframe(config.origPlane, config.outputWidth, config.outputHeight); + + logger.debug() << "Picture size: "<< presentationPlane->width<<" x "<<presentationPlane->width + <<" -> frame size "<<config.outputWidth <<" x "<<config.outputHeight<<std::endl; + + if (config.first) + state = presentation; + else { + logger.debug() << "Shifting -- \n"; + shiftPlane = PictureResize::concatenate(lastPlane, presentationPlane, lastPlane); + logger.debug() << "Shifting -- (" << shiftPlane.getWidth()<<":"<<shiftPlane.getHeight()<<") \n"; + state = shifting; + } +} + +void ShiftEffect::doShift(RGBPlane& plane) +{ + + // linear + // float factor((framecounter*1.0)/(config.blindLength*1.0)); + static const float pi = 3.14159265359; + // + float fact((framecounter*1.0)/(config.blindLength*1.0)*pi + pi); + float factor = (1.0 + cos(fact))/2.0; + + logger.debug() << " Shifting:"<< factor <<" \n"; + plane = PictureResize::subframe(shiftPlane, config.outputWidth, config.outputHeight, ((float)config.outputWidth)*factor, 0, 1); + + logger.debug() << " Subframe -- (" << plane.getWidth()<<":"<<plane.getHeight()<<") \n"; + + framecounter++; + if (framecounter > config.blindLength) { + logger.debug() << "Presenting -- \n"; + state = presentation; + } + +} + +void ShiftEffect::doPresentation(RGBPlane& plane) +{ + + plane = presentationPlane; + + framecounter++; + if (framecounter > config.sequenceLength) { + lastPlane = presentationPlane; + + state = unavailable; + } + +} + +
View file
oggvideotools-0.9.1.tar.bz2/src/effect/shiftEffect.h
Added
@@ -0,0 +1,64 @@ +/* + * shiftEffect.h + * + * Created on: 16.03.2014 + * Author: seger + */ + +#ifndef SHIFTEFFECT_H_ +#define SHIFTEFFECT_H_ + +#include "effector.h" + +class ShiftEffect: public Effector { +public: + class ShiftConfig { + public: + bool first; + + uint32 sequenceLength; /* in frames */ + uint32 blindLength; /* in frames */ + + uint32 outputWidth; + uint32 outputHeight; + + RGBPlane origPlane; + }; + +protected: + RGBPlane presentationPlane; + + enum State { + unconfigured, + shifting, + presentation, + unavailable + }; + + State state; + + RGBPlane lastPlane; + RGBPlane shiftPlane; + uint32 framecounter; + + ShiftConfig config; + + void doShift(RGBPlane& plane); + void doPresentation(RGBPlane& plane); + + +public: + ShiftEffect(); + virtual ~ShiftEffect(); + + void configure(ShiftConfig& config); + + virtual Effector& operator>>(RGBPlane& plane); + + virtual bool available(); + + virtual void accept(EffectorVisitor& visitor) const; + +}; + +#endif /* SHIFTEFFECT_H_ */
View file
oggvideotools-0.9.1.tar.bz2/src/effect/shiftblendEffect.cpp
Added
@@ -0,0 +1,141 @@ +/* + * shiftEffect.cpp + * + * Created on: 16.03.2014 + * Author: seger + */ + +#include "shiftblendEffect.h" + +#include <iostream> +#include <cstring> +#include <cmath> + +#include "pictureBlend.h" +#include "pictureResize.h" +#include "log.h" +#include "effectorVisitor.h" + +ShiftblendEffect::ShiftblendEffect() + :state(unconfigured), framecounter(0) +{ + +} + +ShiftblendEffect::~ShiftblendEffect() +{ + +} + +bool ShiftblendEffect::available() +{ + return((state!=unavailable) && (state!=unconfigured)); +} + +void ShiftblendEffect::accept(EffectorVisitor& visitor) const +{ + visitor.visit(*this); +} + +Effector& ShiftblendEffect::operator >>(RGBPlane& plane) +{ + + switch (state) { + + case shifting: { + doShift(plane); + break; + } + + case presentation: { + doPresentation(plane); + break; + } + + default: { + logger.error() << "no frame available\n"; + break; + } + } + + return(*this); + +} + +void ShiftblendEffect::configure(ShiftConfig& _config) +{ + + framecounter = 0; + + config = _config; + + if (config.first) { + + lastPlane = RGBPlane(config.outputWidth, config.outputHeight); + + /* blank the plane */ + uint32 planesize = config.outputWidth*config.outputHeight*4; // 3 Colors + Alpha channel + memset(lastPlane->plane, 0x00, planesize); + + } + + /* resize the picture to the correct size */ + presentationPlane = PictureResize::reframe(config.origPlane, config.outputWidth, config.outputHeight); + + logger.debug() << "Picture size: "<< presentationPlane->width<<" x "<<presentationPlane->width + <<" -> frame size "<<config.outputWidth <<" x "<<config.outputHeight<<std::endl; + + RGBPlane blackplane_full_alpha(config.outputWidth, config.outputHeight, 0x7f7f7f7f ); + + if (config.first) + state = presentation; + else { + logger.debug() << "Shifting -- \n"; +// shiftPlane = PictureResize::concatenate(lastPlane, blackplane_full_alpha, lastPlane); + shiftPlane = PictureResize::concatenate(lastPlane, blackplane_full_alpha, lastPlane); + logger.debug() << "Shifting -- (" << shiftPlane.getWidth()<<":"<<shiftPlane.getHeight()<<") \n"; + state = shifting; + } + +} + +void ShiftblendEffect::doShift(RGBPlane& plane) +{ + + // linear + + static const float pi = 3.14159265359; + // + float fact((framecounter*1.0)/(config.blindLength*1.0)*pi + pi); + float factor = (1.0 + cos(fact))/2.0; + + logger.debug() << " Shifting:"<< factor <<" \n"; + RGBPlane tmpframe = PictureResize::subframe(shiftPlane, config.outputWidth, config.outputHeight, ((float)config.outputWidth)*factor, 0, 1); + + plane = PictureBlend::alphaBlend(presentationPlane, tmpframe, 1-factor); + + logger.debug() << " Subframe -- (" << plane.getWidth()<<":"<<plane.getHeight()<<") \n"; + + framecounter++; + if (framecounter > config.blindLength) { + logger.debug() << "Presenting -- \n"; + state = presentation; + } + +} + +void ShiftblendEffect::doPresentation(RGBPlane& plane) +{ + + plane = presentationPlane; + + framecounter++; + if (framecounter > config.sequenceLength) { + lastPlane = presentationPlane; + + state = unavailable; + } + +} + +
View file
oggvideotools-0.9.1.tar.bz2/src/effect/shiftblendEffect.h
Added
@@ -0,0 +1,71 @@ +/* + * ShiftblendEffect.h + * + * Created on: 16.03.2014 + * Author: seger + */ + +#ifndef SHIFTBLENDEFFECT_H_ +#define SHIFTBLENDEFFECT_H_ + +#include "effector.h" + +class ShiftblendEffect: public Effector { +public: + class ShiftConfig { + public: + bool first; + + uint32 sequenceLength; /* in frames */ + uint32 blindLength; /* in frames */ + + uint32 outputWidth; + uint32 outputHeight; + + enum Type { + Left, + Right + }; + + Type type; + + RGBPlane origPlane; + }; + +protected: + RGBPlane presentationPlane; + + enum State { + unconfigured, + shifting, + presentation, + unavailable + }; + + State state; + + RGBPlane lastPlane; + RGBPlane shiftPlane; + uint32 framecounter; + + ShiftConfig config; + + void doShift(RGBPlane& plane); + void doPresentation(RGBPlane& plane); + + +public: + ShiftblendEffect(); + virtual ~ShiftblendEffect(); + + void configure(ShiftConfig& config); + + virtual Effector& operator>>(RGBPlane& plane); + + virtual bool available(); + + virtual void accept(EffectorVisitor& visitor) const; + +}; + +#endif /* ShiftblendEffect_H_ */
View file
oggvideotools-0.9.1.tar.bz2/src/exception.h
Added
@@ -0,0 +1,12 @@ +#ifndef EXCEPTION_H +#define EXCEPTION_H + +#include <stdexcept> + +class OggException : public std::runtime_error { +public: + OggException(const std::string & msg) + : std::runtime_error(msg) {} +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/header.dat
Added
@@ -0,0 +1,51 @@ +SDLvideoOutput.h +audioPacket.h +crc.h +definition.h +fileRepository.h +granulePosInterpreter.h +jackAudioOutput.h +mediaConfig.h +mediaContainer.h +mediaControlPacket.h +mediaConverter.h +mediaDecoder.h +mediaEncoder.h +mediaOutputDecoder.h +mediaPacket.h +mediaRepository.h +mediaStream.h +mediaUnit.h +oggBOSExtractorFactory.h +oggConfig.h +oggDecoder.h +oggDecoderFactory.h +oggEncoder.h +oggHeader.h +oggPacket.h +oggPage.h +oggRingbuffer.h +oggStreamDecoder.h +oggStreamEncoder.h +oggTypes.h +rawMediaPacket.h +refObject.h +ringbuffer.h +streamConfig.h +streamExtractor.h +streamMux.h +streamParameter.h +streamSerializer.h +theoraConfig.h +theoraDecoder.h +theoraExtractor.h +theoraHeader.h +theoraPosInterpreter.h +theoraStreamParameter.h +theoraVideoPacket.h +videoInfo.h +vorbisDecoder.h +vorbisExtractor.h +vorbisHeader.h +vorbisPosInterpreter.h +vorbisStreamParameter.h
View file
oggvideotools-0.9.1.tar.bz2/src/libresample/CMakeLists.txt
Added
@@ -0,0 +1,8 @@ +SET ( LIBRARY_RESAMPLE_SRC + filterkit.c + resample.c + resamplesubs.c + ) + +ADD_LIBRARY ( resample ${LIBRARY_RESAMPLE_SRC} ) +
View file
oggvideotools-0.8.tar.bz2/src/libresample/libresample.h -> oggvideotools-0.9.1.tar.bz2/src/libresample/libresample.h
Changed
@@ -18,24 +18,24 @@ extern "C" { #endif /* __cplusplus */ - void *resample_open(int highQuality, - double minFactor, - double maxFactor); +void *resample_open(int highQuality, + double minFactor, + double maxFactor); - void *resample_dup(const void *handle); +void *resample_dup(const void *handle); - int resample_get_filter_width(const void *handle); +int resample_get_filter_width(const void *handle); - int resample_process(void *handle, - double factor, - float *inBuffer, - int inBufferLen, - int lastFlag, - int *inBufferUsed, - float *outBuffer, - int outBufferLen); +int resample_process(void *handle, + double factor, + float *inBuffer, + int inBufferLen, + int lastFlag, + int *inBufferUsed, + float *outBuffer, + int outBufferLen); - void resample_close(void *handle); +void resample_close(void *handle); #ifdef __cplusplus } /* extern "C" */
View file
oggvideotools-0.9.1.tar.bz2/src/main
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/src/main/CMakeLists.txt
Added
@@ -0,0 +1,13 @@ +SET ( LIBRARY_MAIN_SRC + audioConverter.cpp + audioHook.cpp + hookHandler.cpp + videoHook.cpp + oggBOSExtractorFactory.cpp + streamMux.cpp + streamSerializer.cpp + cmdlineextractor.cpp + ) + +ADD_LIBRARY ( ovtmain ${LIBRARY_MAIN_SRC} ) +
View file
oggvideotools-0.9.1.tar.bz2/src/main/audioConverter.cpp
Added
@@ -0,0 +1,142 @@ +#include "audioConverter.h" + +#include <cmath> +#include <iostream> + +#include "libresample/libresample.h" +#include "log.h" + +AudioConverter::AudioConverter() + : channelData(0), tmp(0), handle(0), used(0), ratio(0), channels(0) +{ +} + +AudioConverter::~AudioConverter() +{ +} + +void AudioConverter::initResample(uint8 _channels, double _ratio) +{ + + ratio = _ratio; + channels = _channels; + + handle = (void **) new charchannels * sizeof(void *); + + channelData = new float*channels; + tmp = new float*channels; + + for (uint8 c=0; c<channels; c++) { + handlec = resample_open(1, ratio, ratio); + channelDatac = new floatmaxSamples; + tmpc = new floatmaxSamples; + } +} + +void AudioConverter::closeResample() +{ + + for (uint8 c=0; c<channels; c++) { + delete channelDatac; + delete tmpc; + + resample_close(handlec); + } + + delete channelData; + delete tmp; + delete handle; +} + +bool AudioConverter::resample(AudioPacket packet, AudioPacket& resampled) +{ + + uint32 length; + + // upmix -> we want stereo and have mono + if ((channels == 2) && (packet->getChannels() == 1)) { + + for (uint32 pos(0); pos < packet->getLength(); ++pos) + channelData0used+pos = packet->getDataOfChannel(0)pos; + + for (uint32 pos(0); pos < packet->getLength(); ++pos) + channelData1used+pos = packet->getDataOfChannel(0)pos; + + } + + // downmix -> we want mono and have stereo + if ((channels == 1) && (packet->getChannels() == 2)) { + + for (uint32 pos(0); pos < packet->getLength(); ++pos) { + channelData0used+pos = packet->getDataOfChannel(0)pos*0.5 + + packet->getDataOfChannel(1)pos*0.5; + + if (channelData0used+pos> 1.0) + channelData0used+pos = 1.0; + } + } + + // plane copy + if (channels == packet->getChannels()) { + + for (uint32 c(0); c < channels; ++c) + for (uint32 pos(0); pos < packet->getLength(); ++pos) + channelDatacused+pos = packet->getDataOfChannel(c)pos; + + } + + if (ratio == 1.0) { + length = packet->getLength(); + AudioPacketInternal* newInternalPacket = new AudioPacketInternal(channels, length); + + for (uint32 i(0); i<channels; ++i) { + newInternalPacket->setDataOfChannel(i,channelDatai); + } + + resampled = AudioPacket(newInternalPacket); + return(true); + } + + + uint32 availableSamples = used+packet->getLength(); + int32 inUsed=0; + + // do resampling + for (uint32 i(0); i<channels; ++i) { + length = resample_process(handlei, ratio, channelDatai, availableSamples, 0, + &inUsed, tmpi, maxSamples); + } + + AudioPacketInternal* newInternalPacket = new AudioPacketInternal(channels, length); + + for (uint32 i(0); i<channels; ++i) { + newInternalPacket->setDataOfChannel(i,tmpi); + } + + resampled = AudioPacket(newInternalPacket); + + // save data + used = availableSamples-inUsed; + for (uint32 i(0); i < used; ++i) { + for (uint32 ch(0); ch<channels; ++ch) { + channelDatachi = channelDatachinUsed + i; + } + + return (length> 0); + } + + return(true); +} + +bool AudioConverter::resampleflush(AudioPacket & resampled) +{ + + if (used==0) + return(false); + + logger.error() << "AudioConverter::resampleflush: not implemented "<<used<<" original samples are not resampled\n"; + + return(false); + +} +
View file
oggvideotools-0.9.1.tar.bz2/src/main/audioConverter.h
Changed
(renamed from src/audioConverter.h)
View file
oggvideotools-0.9.1.tar.bz2/src/main/audioHook.cpp
Added
@@ -0,0 +1,152 @@ +#include "audioHook.h" +#include <iostream> +#include "exception.h" + +#include "vorbisEncoder.h" +#include "vorbisDecoder.h" +#include "log.h" + +AudioHook::AudioHook() +{} + +AudioHook::AudioHook(uint8 outStreamID, const bool copy, const bool keepComments) + : HookHandler(copy, keepComments), changeAudioSamplerate(false), changeChannel(false) +{ +// logger.debug() << "Vorbis Encoder stream No "<<(int)outStreamID<<std::endl; + + outputDecoder.reset(new VorbisDecoder); + inputEncoder.reset(new VorbisEncoder(outStreamID)); + +} + +AudioHook::~AudioHook() +{ + converter.closeResample(); +} + +void AudioHook::initAndConnect() +{ + VorbisDecoder& decoder = static_cast<VorbisDecoder&>(*outputDecoder.get()); + VorbisEncoder& encoder = static_cast<VorbisEncoder&>(*inputEncoder.get()); + + copy = true; + + if (!copyOnly) + copy = decoder.getInfo() == encoder.getInfo(); + + if (!copy) { + if (decoder.getInfo().channels != encoder.getInfo().channels) + changeChannel = true; + + if (decoder.getInfo().rate != encoder.getInfo().rate) + changeAudioSamplerate = true; + + } + + converter.closeResample(); + + converter.initResample(encoder.getInfo().channels, + (encoder.getInfo().rate * 1.0 ) + / (decoder.getInfo().rate * 1.0 )); + +} + +static uint64 cnt(0); + +HookHandler& AudioHook::operator<<(OggPacket& packet) +{ + if (!outputDecoder) + throw OggException("AudioHook::callHook: no outputDecoder given"); + + if (!inputEncoder) + throw OggException("AudioHook::callHook: no inputEncoder given"); + + VorbisDecoder& decoder = static_cast<VorbisDecoder&>(*outputDecoder); + VorbisEncoder& encoder = static_cast<VorbisEncoder&>(*inputEncoder); + + if (copy) { + packet->setStreamNo(encoder.getStreamNo()); + packetList.push_back(packet); + } else { + // relevant packet + try { + decoder << packet; + while ( decoder.isAvailable() ) { + decoder >> audioPacket; + + if ( changeAudioSamplerate || changeChannel ) { + AudioPacket tmp; + + if ( converter.resample ( audioPacket,tmp ) ) { + encoder << tmp; + + } + } else { + encoder << audioPacket; + } + while ( encoder.isAvailable() ) { + OggPacket pckt; + encoder >> pckt; + + packetList.push_back(pckt); + } +// 16868466 + } + + } catch ( std::exception error ) { + logger.error() << "Exception: " << error.what(); + } + } +} + +void AudioHook::flush() +{ + if (!outputDecoder) + throw OggException("AudioHook::callHook: no outputDecoder given"); + + if (!inputEncoder) + throw OggException("AudioHook::callHook: no inputEncoder given"); + + VorbisDecoder& decoder = static_cast<VorbisDecoder&>(*outputDecoder); + VorbisEncoder& encoder = static_cast<VorbisEncoder&>(*inputEncoder); + + /* write resampled data, if there is some */ + if (converter.resampleflush(audioPacket)) { + + if ( audioPacket->getLength() > 0 ) + encoder << audioPacket; + } + + encoder.flush(); + + while ( encoder.isAvailable() ) { + + OggPacket pckt; + encoder >> pckt; + + packetList.push_back(pckt); + + } + +} + +OggType AudioHook::getType() const +{ + return(OggType::vorbis); +} + +static bool operator==(const vorbis_info& info1, const vorbis_info& info2) +{ + return ((info1.bitrate_lower == info2.bitrate_lower) && + (info1.bitrate_nominal == info2.bitrate_nominal) && + (info1.bitrate_upper == info2.bitrate_upper) && + (info1.bitrate_window == info2.bitrate_window) && + (info1.channels == info2.channels) && + (info1.rate == info2.rate) + ); +} + +static bool operator!=(const vorbis_info& info1, const vorbis_info& info2) +{ + return(!(info1==info2)); +}
View file
oggvideotools-0.9.1.tar.bz2/src/main/audioHook.h
Added
@@ -0,0 +1,40 @@ +#ifndef AUDIOHOOK_H_ +#define AUDIOHOOK_H_ + +#include "hookHandler.h" +#include "audioConverter.h" +#include "audioPacket.h" + +#include "vorbisDecoder.h" +#include "vorbisEncoder.h" + +class AudioHook : public HookHandler { + +private: + bool changeAudioSamplerate; + bool changeChannel; + bool copy; + + AudioConverter converter; + AudioPacket audioPacket; + + AudioHook(); + +public: + AudioHook(uint8 outStreamID, const bool copy, const bool keepComments); + virtual ~AudioHook(); + + virtual HookHandler& operator<<(OggPacket& packet); + + virtual void initAndConnect(); + + virtual void flush(); + + virtual OggType getType() const; +}; + +static bool operator==(const vorbis_info& info1, const vorbis_info& info2); +static bool operator!=(const vorbis_info& info1, const vorbis_info& info2); + + +#endif /*AUDIOHOOK_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/main/cmdlineextractor.cpp
Added
@@ -0,0 +1,392 @@ +// +// C++ Implementation: cmdlineextractor +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#include "cmdlineextractor.h" + +#include <iostream> +#include <sstream> +#include <vector> +#include <string> +#include <sstream> + +#include "definition.h" +#include "oggComment.h" +#include "pictureLoader.h" +#include "log.h" +#include "effectorTypes.h" + +CmdlineExtractor::CmdlineExtractor() +{ +} + +CmdlineExtractor::~CmdlineExtractor() +{ +} + +void CmdlineExtractor::extractCommentPairs(std::vector<OggComment>& list, + const std::string& _argument, char tokenSeparator, + char commentSeparator) +{ + std::string argument(_argument); + std::stringstream str; + std::string substr; + + // delete all invalid data + std::size_t pos; + while ((pos = argument.find_first_not_of(validTextChars)) + != std::string::npos) { +#ifdef DEBUG + logger.debug() << "Erasing sign <"<<argument.at(pos) <<"> - it is invalid\n"; +#endif + argument.erase(pos, 1); + } + + // if there is no argument given, the first frame will be created as a thumbnail + if (argument.empty()) { + return; + } + + str << argument; + + while (!str.eof()) { + getline(str, substr, tokenSeparator); + + std::size_t commentSeparatorPos; + if ((commentSeparatorPos = substr.find_first_of(commentSeparator)) + != std::string::npos) { + OggComment comment; + comment.tag = substr.substr(0, commentSeparatorPos); + comment.value = substr.substr(commentSeparatorPos + 1, + std::string::npos); + list.push_back(comment); + // logger.debug() << "Found pair "<<comment.tag<<" "<<comment.value + // <<std::endl; + } + + } + +} + +void CmdlineExtractor::extractUint32(std::deque<uint32>& list, + const std::string& _argument, char seperator) +{ + std::string argument(_argument); + std::stringstream str; + std::string substr; + + // delete all invalid data + std::size_t pos; + while ((pos = argument.find_first_not_of(validChars)) != std::string::npos) { +#ifdef DEBUG + logger.debug() << "erasing <"<<argument.at(pos) <<">\n"; +#endif + argument.erase(pos, 1); + } + + // if there is no argument given, the first frame will be created as a thumbnail + if (argument.empty()) { + list.push_back(0); + return; + } + + str << argument; + + uint32 value(0); + while (!str.eof()) { + std::stringstream part; + getline(str, substr, seperator); + part << substr; + part >> value; + list.push_back(value); + } + +} + +void CmdlineExtractor::extractBlend(std::vector<BlendElement>& list, + const std::string& _argument, char tokenSeparator, + char valueSeparator) +{ + + std::string argument(_argument); + std::stringstream str; + std::string substr; + + // delete all invalid data + std::size_t pos; + while ((pos = argument.find_first_not_of(validTextChars)) + != std::string::npos) { + argument.erase(pos, 1); + } + + // if there is no argument given, the first frame will be created as a thumbnail + if (argument.empty()) { + return; + } + + str << argument; + + while (!str.eof()) { + getline(str, substr, tokenSeparator); + + /* extract picture name */ + std::size_t valueSeparatorPos = substr.find_first_of(valueSeparator); + + std::string filename = substr.substr(0, valueSeparatorPos); + + /* extract all extra data if some (start time, end time, smoothing)*/ + double startTime(0); + double endTime(-1); + bool smooth(false); + std::stringstream tmp; + + /* are there any other information given? */ + if (valueSeparatorPos != std::string::npos) { + + /* analysing start time */ + substr = substr.substr(valueSeparatorPos + 1); + + valueSeparatorPos = substr.find_first_of(valueSeparator); + + tmp << substr.substr(0, valueSeparatorPos); + tmp >> startTime; + tmp.clear(); + + if (valueSeparatorPos != std::string::npos) { + + /* analysing start time */ + substr = substr.substr(valueSeparatorPos + 1); + + valueSeparatorPos = substr.find_first_of(valueSeparator); + + tmp << substr.substr(0, valueSeparatorPos); + tmp >> endTime; + + if (valueSeparatorPos != std::string::npos) { + + /* analysing start time */ + substr = substr.substr(valueSeparatorPos + 1); + + if (substr.substr(0, valueSeparator) == "s") + smooth = true; + } + } + + } + + BlendElement elem(filename, startTime, endTime, smooth); + // elem.loadPicture(); + list.push_back(elem); + + } + +#ifdef DEBUG + for (uint32 i( 0); i<list.size(); ++i) { + logger.debug() << "Info: picture"<<i<<": startTime="<<listi.startTime + <<" endTime="<<listi.endTime<<" smooth="; + if (listi.smooth == true) + logger.debug() << "true\n"; + else + logger.debug() << "false\n"; + + } +#endif +} + +uint32 CmdlineExtractor::atoi(const std::string& _argument) +{ + std::stringstream stream; + uint32 value; + + stream << _argument; + stream >> value; + + return (value); + +} + +float CmdlineExtractor::atof(const std::string& _argument) +{ + std::stringstream stream; + float value; + + stream << _argument; + stream >> value; + + return (value); + +} + +uint32 CmdlineExtractor::getNextUint32(std::string& argument, + char tokenSeparator) +{ + uint32 retValue(0); + + if (!argument.empty()) { + + std::stringstream tmp; + + std::size_t tokenPosition(argument.find_first_of(tokenSeparator)); + tmp << argument.substr(0, tokenPosition); + tmp >> retValue; + + argument = argument.substr(tokenPosition + 1); + + } + + return (retValue); +} + +float CmdlineExtractor::getNextFloat(std::string& argument, + char tokenSeparator) +{ + float retValue(0.0); + + if (!argument.empty()) { + + std::stringstream tmp; + + std::size_t tokenPosition(argument.find_first_of(tokenSeparator)); + tmp << argument.substr(0, tokenPosition); + tmp >> retValue; + + argument = argument.substr(tokenPosition + 1); + + } + + return (retValue); +} + +std::string CmdlineExtractor::getNextString(std::string& argument, + char tokenSeparator) +{ + std::string retValue(0); + + if (!argument.empty()) { + + std::stringstream tmp; + + std::size_t tokenPosition(argument.find_first_of(tokenSeparator)); + tmp << argument.substr(0, tokenPosition); + tmp >> retValue; + + argument = argument.substr(tokenPosition + 1); + + } + + return (retValue); +} + +void CmdlineExtractor::extractSlideshow(const std::string& _argument, + char tokenSeparator, SlideshowElement& slideshowElement) +{ + /* A full specified picture would look like this (speparator is ",") + * name.jpg:<duration>,<type>,<typeSpecificData> + * This should go into a creator factory later: + * start and end position is written as <X-Position>,<YPosition>,<Zoom> + * The X and Y Position is from the left upper corner. The Zoom is 1 if + * the pixel is just copy. In that case, the subframe is as big is the + * outgoing frame */ + + std::string argument(_argument); + std::stringstream tmp; + + // delete all invalid data + std::size_t pos; + while ((pos = argument.find_first_not_of(validTextChars)) + != std::string::npos) { + argument.erase(pos, 1); + } + + // if there is no argument given, the first frame will be created as a thumbnail + if (argument.empty()) { + return; + } + + /* extract picture name */ + std::size_t tokenPosition(argument.find_first_of(tokenSeparator)); + slideshowElement.filename = argument.substr(0, tokenPosition); + + std::string substr = argument.substr(tokenPosition + 1); + + /* extract length */ +// if (tokenPosition != std::string::npos) { +// std::string substr = argument.substr(tokenPosition + 1); +// tokenPosition = substr.find_first_of(tokenSeparator); +// tmp << substr.substr(0, tokenPosition); +// tmp >> slideshowElement.duration; +// substr = substr.substr(tokenPosition + 1); +// std::cout << substr << std::endl; + +// if (tokenPosition != std::string::npos) { +// tokenPosition = substr.find_first_of(tokenSeparator); +// std::string typeName(substr.substr(0, tokenPosition)); +// std::cout << substr << std::endl; +// +// if ((typeName == "kb") || (typeName == "KB") +// || (typeName == "KenBurns") || (typeName == "kenburns")) +// slideshowElement.type = KenBurns; +// +// if ((typeName == "p") || (typeName == "pl") || (typeName == "plain") +// || (typeName == "Plain")) +// slideshowElement.type = Plain; +// +// if ((typeName == "cf") || (typeName == "crossfade") +// || (typeName == "CF") || (typeName == "Crossfade")) +// slideshowElement.type = Crossfade; +// +// if ((typeName == "bl") || (typeName == "b") || (typeName == "B") +// || (typeName == "blur") || (typeName == "bluring")) +// slideshowElement.type = Blur; + + substr = substr.substr(tokenPosition + 1); + + if (tokenPosition != std::string::npos) { + std::cout << "F " << substr << std::endl; + + slideshowElement.startPosX = getNextUint32(substr, + tokenSeparator); + std::cout << substr << std::endl; + slideshowElement.startPosY = getNextUint32(substr, + tokenSeparator); + std::cout << substr << std::endl; + slideshowElement.startZoom = getNextFloat(substr, + tokenSeparator); + std::cout << substr << std::endl; + slideshowElement.endPosX = getNextUint32(substr, + tokenSeparator); + std::cout << substr << std::endl; + slideshowElement.endPosY = getNextUint32(substr, + tokenSeparator); + std::cout << substr << std::endl; + slideshowElement.endZoom = getNextFloat(substr, tokenSeparator); + } +// } + //} +} + +void CmdlineExtractor::extractCrossSequence(std::vector<std::string>& list, + const std::string& _argument, char tokenSeparator) +{ + std::string argument(_argument); + + // delete all invalid data + std::size_t pos; + while ((pos = argument.find_first_not_of(validTextChars)) + != std::string::npos) { + argument.erase(pos, 1); + } + + while (!argument.empty()) + list.push_back(getNextString(argument, tokenSeparator)); + + return; +} +
View file
oggvideotools-0.9.1.tar.bz2/src/main/cmdlineextractor.h
Added
@@ -0,0 +1,68 @@ +// +// C++ Interface: cmdlineextractor +// +// Description: +// +// +// Author: Yorn <yorn@gmx.net>, (C) 2009 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef CMDLINEEXTRACTOR_H +#define CMDLINEEXTRACTOR_H + +#include <deque> +#include <vector> +#include <string> + +#include "definition.h" +#include "oggComment.h" +#include "blendElement.h" +#include "effectorTypes.h" + +const std::string validChars ( "0123456789,x" ); +const std::string +validTextChars ( "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 /\\.,=;:-_" ); + +class SlideshowElement { +public: + std::string filename; + float duration; + EffectorType type; + uint32 startPosX; + uint32 startPosY; + float startZoom; + uint32 endPosX; + uint32 endPosY; + float endZoom; +}; + +class CmdlineExtractor { +public: + CmdlineExtractor(); + + ~CmdlineExtractor(); + + static void extractCommentPairs ( std::vector<OggComment>& list, + const std::string& _argument, char tokenSeparator, char commentSeparator ); + + static void extractUint32 ( std::deque<uint32>& list, const std::string& _argument, + char seperator ); + + static void extractBlend ( std::vector<BlendElement>& list, const std::string& _argument, + char tokenSeparator, char valueSeparator ); + + static uint32 atoi(const std::string& _argument); + static float atof(const std::string& _argument); + + static uint32 getNextUint32(std::string& substring, char tokenSeparator); + static float getNextFloat(std::string& substring, char tokenSeparator); + static std::string getNextString(std::string& substring, char tokenSeparator); + + static void extractSlideshow(const std::string& _argument, char tokenSeparator, SlideshowElement& slideShowElement); + static void extractCrossSequence(std::vector<std::string>& list, const std::string& _argument, char tokenSeparator); + +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/main/hookHandler.cpp
Added
@@ -0,0 +1,68 @@ +#include "exception.h" +#include "hookHandler.h" + +HookHandler::HookHandler(const bool _copy, const bool _keepComments) + : copyOnly(_copy), reencode(false), keepComments(_keepComments), inPacketCounter(0), outPacketCounter(0) +{ +} + +HookHandler::~HookHandler() +{ +} + +/* refactor StreamConfig to be const*/ +void HookHandler::setDecoderConfig(StreamConfig& config, + std::vector<OggComment>& commentList) +{ + if (!outputDecoder) + throw OggException("No decoder available to configure"); + + outputDecoder->clear(); + outputDecoder->initDecoder(config, commentList); + +} + +void HookHandler::setEncoderConfig(StreamConfig& config, + std::vector<OggComment>& commentList) +{ + if (!inputEncoder) + throw OggException("No encoder available to configure"); + + inputEncoder->configureEncoder(config, commentList); +} + +std::string HookHandler::decoderConfiguration() const +{ + return (outputDecoder->configuration()); +} + +std::string HookHandler::encoderConfiguration() const +{ + return (inputEncoder->configuration()); +} + +HookHandler& HookHandler::operator>>(OggPacket& packet) +{ + if (packetList.empty()) + throw OggException("VideoHook::operator>>: No packet available"); + + packet = packetList.front(); + packetList.pop_front(); + + return (*this); +} + +bool HookHandler::available() +{ + return (!packetList.empty()); +} + +OggType HookHandler::getType() const +{ + return (OggType::unknown); +} + +void HookHandler::resetEncoder() +{ + +}
View file
oggvideotools-0.9.1.tar.bz2/src/main/hookHandler.h
Added
@@ -0,0 +1,85 @@ +#ifndef HOOKHANDLER_H_ +#define HOOKHANDLER_H_ + +#include <vector> +#include <deque> + +#include "mediaOutputDecoder.h" +#include "mediaInputEncoder.h" +#include "oggComment.h" + +class HookHandler { + +protected: + bool copyOnly; /* specifies, if resize is disallowed */ + bool reencode; + bool keepComments; + uint64 inPacketCounter; + uint64 outPacketCounter; + std::vector<OggComment> comments; + + std::unique_ptr<MediaOutputDecoder> outputDecoder; + std::unique_ptr<MediaInputEncoder> inputEncoder; + std::deque<OggPacket> packetList; + + +public: + HookHandler(const bool copy=true, const bool keepComments=true); + virtual ~HookHandler(); + + virtual void setDecoderConfig(StreamConfig& config, + std::vector<OggComment>& commentList); + + virtual void setEncoderConfig(StreamConfig& config, + std::vector<OggComment>& commentList); + + virtual void resetEncoder(); + + void setCopyOnly(); + bool isCopyOnly(); + void resetCopyOnly(); + + void forceReencoding(); + void resetForceReencoding(); + + //! method to compare both configurations and to calculate the reencoding parameters + virtual void initAndConnect() = 0; + + virtual HookHandler& operator<<(OggPacket& packet) = 0; + virtual HookHandler& operator>>(OggPacket& packet); + + virtual OggType getType() const; + virtual bool available(); + + virtual void flush() = 0; + + virtual std::string decoderConfiguration() const; + virtual std::string encoderConfiguration() const; +}; + +inline void HookHandler::setCopyOnly() +{ + copyOnly = true; +} + +inline bool HookHandler::isCopyOnly() +{ + return(copyOnly); +} + +inline void HookHandler::resetCopyOnly() +{ + copyOnly = false; +} + +inline void HookHandler::forceReencoding() +{ + reencode = true; +} + +inline void HookHandler::resetForceReencoding() +{ + reencode = false; +} + +#endif /*HOOKHANDLER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/main/oggBOSExtractorFactory.cpp
Added
@@ -0,0 +1,142 @@ +#include <string.h> +#include "oggBOSExtractorFactory.h" +#include "theoraExtractor.h" +#include "vorbisExtractor.h" +#include "kateExtractor.h" +#include "theoraPosInterpreter.h" +#include "vorbisPosInterpreter.h" +#include "katePosInterpreter.h" +//#include "theoraDecoder.h" +//#include "vorbisEncoder.h" + +OggBOSExtractorFactory::OggBOSExtractorFactory() +{ +} + +OggBOSExtractorFactory::~OggBOSExtractorFactory() +{ +} + +/* +static MediaDecoder* OggBOSExtractorFactory::createDecoder(OggPage& page) +{ + +} + +static MediaDecoder* OggBOSExtractorFactory::createEncoder(OggPacket& packet) +{ + +} +*/ + +bool OggBOSExtractorFactory::extractInformation(OggPage& page, ExtractorInformation& information) +{ + switch (getStreamType(page)) { + + case OggType::theora: { + TheoraExtractor extractor; + return(extractor.extract(page, information)); + } + + case OggType::vorbis: { + VorbisExtractor extractor; + return(extractor.extract(page, information)); + } + + case OggType::kate: { + KateExtractor extractor; + return(extractor.extract(page, information)); + } + + default: + break; + + } + + /* could not interpret the bos page */ + return(false); +} + +bool OggBOSExtractorFactory::extractInformation(OggPacket& packet, ExtractorInformation& information) +{ + switch (getStreamType(packet)) { + + case OggType::theora: { + TheoraExtractor extractor; + return(extractor.extract(packet, information)); + } + + case OggType::vorbis: { + VorbisExtractor extractor; + return(extractor.extract(packet, information)); + } + + case OggType::kate: { + KateExtractor extractor; + return(extractor.extract(packet, information)); + } + + default: + break; + + } + + /* could not interpret the bos page */ + return(false); +} + +GranulePosInterpreter* OggBOSExtractorFactory::extractPositionInterpreter(ExtractorInformation& info) +{ + GranulePosInterpreter* retPosInterpreter(0); + + switch (info.type) { + case OggType::theora: + retPosInterpreter = new TheoraPosInterpreter; + break; + + case OggType::vorbis: + retPosInterpreter = new VorbisPosInterpreter; + break; + + case OggType::kate: + retPosInterpreter = new KatePosInterpreter; + break; + + default: + break; + } + + if (retPosInterpreter) + retPosInterpreter->initialize(info.parameter.get()); + + return(retPosInterpreter); +} + +OggType OggBOSExtractorFactory::getStreamType(OggPage& page) +{ + uint8* type = &(page->data())0+page->getHeaderLength(); + + uint8 i=1; + for (; i< to_integral(OggType::maxOggType); ++i) { + if (memcmp(type, OggTypeMapi, MAXIDCHARS) == 0) +// if ((*type) == OggTypeMapi) + return ((OggType)i); + } + + return (OggType::unknown); + +} + +OggType OggBOSExtractorFactory::getStreamType(OggPacket& packet) +{ + uint8* type = packet->data(); + + uint8 i=1; + for (; i< to_integral(OggType::maxOggType); ++i) { + if (memcmp(type, OggTypeMapi, MAXIDCHARS) == 0) +// if ((*type) == OggTypeMapi) + return ((OggType)i); + } + + return (OggType::unknown); +}
View file
oggvideotools-0.9.1.tar.bz2/src/main/oggBOSExtractorFactory.h
Changed
(renamed from src/oggBOSExtractorFactory.h)
View file
oggvideotools-0.9.1.tar.bz2/src/main/streamMux.cpp
Added
@@ -0,0 +1,385 @@ +/* + * streamMux will multiplex a number streams to one ogg file + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> + +#include "streamMux.h" + +#include "rawMediaPacket.h" +#include "oggBOSExtractorFactory.h" +#include "log.h" + +MuxStreamEntry::MuxStreamEntry() + : used(false), streamEncoder(0), posInterpreter(0), + nextTime(-2), empty(true), bufferElemCounter(0) +{ +} + +MuxStreamEntry::MuxStreamEntry(StreamConfig& config, + OggStreamEncoder* _streamEncoder, + GranulePosInterpreter* _posInterpreter) + : used(true), streamConfig(config), streamEncoder(_streamEncoder), + posInterpreter(_posInterpreter), nextTime(-2), empty(true), lastPacketNo(2), + bufferElemCounter(0) +{ +} + +MuxStreamEntry::~MuxStreamEntry() +{ +} + +StreamMux::StreamMux(MediaRepository* _repository) + : m_timeOfLastPage(0.0), m_redoTiming(true), m_repository(_repository) +{ +} + +StreamMux::~StreamMux() +{ + for (uint32 i(0); i<m_streamList.size(); ++i) { + delete m_streamListi.streamEncoder; + delete m_streamListi.posInterpreter; + } + close(); + +} + +void StreamMux::recreatePacketPosition(bool _redoTiming) +{ + m_redoTiming = _redoTiming; +} + +void StreamMux::writeToRepository() +{ + RawMediaPacket rawPacket; + + // write the data bunches to the m_repository + while (m_oggEncoder.isAvailable()) { + m_oggEncoder >> rawPacket; + (*m_repository) << rawPacket; + } + +} + +void StreamMux::insertHeader() +{ + OggPage oggPage; + + /* first set all BOS Packets/Pages */ + for (uint32 i(0); i<m_streamList.size(); ++i) { + + if (!m_streamListi.used) + continue; + + // easier access + OggStreamEncoder& encoder = *m_streamListi.streamEncoder; + + //logger.info() << "inserting first header packet: \n" << m_streamListi.streamConfig.headerList0->toString(10); + + encoder << m_streamListi.streamConfig.headerList0; + + // we do not have to flush, the encoder knows, that the bos + // page needs a clean page + + if (encoder.isAvailable()) { + encoder >> oggPage; + m_oggEncoder << oggPage; + + } + } + + /* then set the rest of the packets */ + for (uint32 i(0); i<m_streamList.size(); ++i) { + + /* if there are no additional header available, do nothing */ + if (m_streamListi.streamConfig.headerList.size() <= 1) + continue; + + // easier access + OggStreamEncoder& encoder = *m_streamListi.streamEncoder; + + // insert the rest of the header files + for (uint32 j(1); j<m_streamListi.streamConfig.headerList.size(); ++j) { +// logger.info() << "inserting first header packet: \n" << m_streamListi.streamConfig.headerListj->toString(3); + encoder << m_streamListi.streamConfig.headerListj; + } + + // place the additional header packets on a clean page + encoder.flush(); + + // write all pages to the ogg encoder + while (encoder.isAvailable()) { + encoder >> oggPage; + m_oggEncoder << oggPage; + } + + m_streamListi.lastPacketNo = m_streamListi.streamConfig.headerList.size()-1; + } + + // write the data to the m_repository + writeToRepository(); + +} + +void StreamMux::writeToOggEncoder() +{ + // write data to the ogg encoder, as long as there is + // at least one packet of every stream available + // This is because we might not know the end of stream + + while (!m_outputPageList.empty()) { + + // get the first page + OggPage nextPage = m_outputPageList.back().page; + + // logger.info() << nextPage->toString(5); + + uint8 streamNo(nextPage->getStreamNo()); + + // this is the real return reason, the Page list + // should never be m_empty + if (m_streamList.at(streamNo).bufferElemCounter < 2) + break; + + // insert the packet into the ogg encoder + m_oggEncoder << nextPage; + + // decrement the marker for the elements of this stream + m_streamList.at(streamNo).bufferElemCounter--; + m_outputPageList.pop_back(); + + } + + writeToRepository(); +} + +void StreamMux::flushOggEncoder() +{ + // now we search for the last page of every stream + // and mark it as the "End of Stream" + + while (!m_outputPageList.empty()) { + + // get the first page + OggPage nextPage = m_outputPageList.back().page; + + uint8 streamNo(nextPage->getStreamNo()); + + // is this the last page of this stream, then mark it + if (m_streamList.at(streamNo).bufferElemCounter == 1) { + nextPage->setEOS(); + nextPage->createCRC(); + } + + // insert the packet into the ogg encoder + m_oggEncoder << nextPage; + + // decrement the marker for the elements of this stream + m_streamList.at(streamNo).bufferElemCounter--; + + m_outputPageList.pop_back(); + } + + // flush the encoder (actually does nothing) + m_oggEncoder.flush(); + +} + +bool StreamMux::allBuffersEmpty() +{ + // run through the list and find out, if there is + // a filled buffer + + for (uint32 i(0); i<m_streamList.size(); ++i) + if (!m_streamListi.empty) + return(false); + + return(true); +} + +bool StreamMux::findAndInsertNextPage() +{ + double nextTime(-2); + uint8 nextID(0); + + for (uint32 i(0); i<m_streamList.size(); ++i) { + + if (m_streamListi.empty) + continue; + + if ((nextTime < -1) || (m_streamListi.nextTime < nextTime)) { + nextTime = m_streamListi.nextTime; + nextID = i; + } + } + + // if we have not found any packet, do nothing + if (nextTime < -1) + return(false); + + // insert the found page into the page list + OutputElement elem(m_streamListnextID.nextPage, m_streamListnextID.nextTime); + + std::list<OutputElement>::iterator iter(m_outputPageList.begin()); + + // -1 is a problem! + if (elem.time < 0) { + elem.time = m_timeOfLastPage; // should we care for the stream No? + } + + while ((iter != m_outputPageList.end()) && (elem.time < iter->time)) + ++iter; + + m_outputPageList.insert(iter, elem); + + m_timeOfLastPage = elem.time; + + // page has been added to the output list, mark the entry as free + m_streamListnextID.empty = true; + + // increment the number of elements in the, that + // belongs to this stream + // we need to know that, to be able to ensure that at least + // one packet of every stream is not written to the ogg encoder + m_streamListnextID.bufferElemCounter++; + + // write the data + writeToOggEncoder(); + + return(true); +} + +void StreamMux::handleNextPage(OggPage& page, uint8 streamNo) +{ + /* here we look, if there is a page in the buffer + * if yes, look into the other buffers and insert the pages into + * the m_outputPageList by their time order until the page buffer, + * we are looking for is free */ + + page->setStreamNo(streamNo); + MuxStreamEntry& entry = m_streamList.at(streamNo); + + while (!entry.empty) { + findAndInsertNextPage(); + } + + entry.nextPage = page; + entry.empty = false; + entry.nextTime = entry.posInterpreter->getTime(page->granulepos()); + return; + +} + +void StreamMux::configureStreams(std::vector<StreamConfig>& config) +{ + m_streamList.resize(config.size()); + + for (uint32 i(0); i<config.size(); ++i) { + + if (configi.type == OggType::unknown) { + continue; + } + + // create the encoder and the position interpreter + OggStreamEncoder* streamEncoder = new OggStreamEncoder; + GranulePosInterpreter* posInterpreter = + OggBOSExtractorFactory::extractPositionInterpreter(configi); + + MuxStreamEntry entry(configi, streamEncoder, posInterpreter); + + m_streamListconfigi.streamNo = entry; + + } + + // write the header pages (they are available within the StreamConfig information) + insertHeader(); +} + +StreamMux& StreamMux::operator<<(OggPacket& packet) +{ + + // easier access + MuxStreamEntry& entry = m_streamList.at(packet->getStreamNo()); + + // can we handle this packet - if not, this packet will be discarded + if (!entry.used) { + logger.error() << "StreamMux::operator<< no valid stream to put a packet with stream no:"<<(uint32) packet->getStreamNo()<<std::endl; + return(*this); + } + + OggStreamEncoder& encoder = *entry.streamEncoder; + + // first we set a valid granule position to the packet + if (m_redoTiming) + entry.posInterpreter->setStreamPosition(packet); + + // then we place this packet into the stream encoder + encoder << packet; + + // now it is becomming difficult, as the pages must be in the correct order + // therefor we need a lot of buffering stuff :-/ + OggPage page; + + // if there are one or more pages, handle the buffering + while (encoder.isAvailable()) { + encoder >> page; + handleNextPage(page, packet->getStreamNo()); + } + + return(*this); +} + +void StreamMux::setEndOfStream() +{ + // flush the rest, if there is some + for (uint32 i(0); i<m_streamList.size(); ++i) { + + MuxStreamEntry& entry = m_streamListi; + + if (!entry.used) + continue; + + entry.streamEncoder->flush(); + + while (entry.streamEncoder->isAvailable()) { + OggPage page; + + *entry.streamEncoder >> page; + handleNextPage(page, i); + } + } + + // insert all buffered pages + while (findAndInsertNextPage()); + + // flush the page list + flushOggEncoder(); + + writeToRepository(); +} + +void StreamMux::close() +{ + if (m_repository) { + m_repository->close(); + delete m_repository; + m_repository = 0; + } +}
View file
oggvideotools-0.9.1.tar.bz2/src/main/streamMux.h
Added
@@ -0,0 +1,118 @@ +/* + * streamMux will multiplex a number streams to one ogg file + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ +#ifndef STREAMMUX_H_ +#define STREAMMUX_H_ + +#include <deque> +#include <vector> + +#include "definition.h" +#include "oggPacket.h" +#include "oggEncoder.h" +#include "oggStreamEncoder.h" +#include "granulePosInterpreter.h" +#include "mediaRepository.h" + +class MuxStreamEntry { + +public: + + /* entry information */ + bool used; + + /* stream information */ + StreamConfig streamConfig; + OggStreamEncoder* streamEncoder; + GranulePosInterpreter* posInterpreter; + + /* packet information */ + OggPage nextPage; + double nextTime; + bool empty; + + uint32 lastPacketNo; + + /* stream buffer information */ + int bufferElemCounter; + + MuxStreamEntry(); + MuxStreamEntry(StreamConfig& config, OggStreamEncoder* streamEncoder, GranulePosInterpreter* posInterpreter); + + virtual ~MuxStreamEntry(); + +}; + +//! streamMux creates a new ogg media stream +/*! This object awaits a m_repository with the constructor, which informs + * the object about where to write the information to. + * Additional it awaits a vector of Stream Config information to set up + * the header and the granule position correctly. + * From that moment, the StreamMux object receives OggPackets which are + * placed into the media stream with the correct packaging. + * */ +class StreamMux { + +protected: + + struct OutputElement { + OggPage page; + double time; + OutputElement(OggPage _page, double _time) + : page(_page), time(_time) {} + }; + + double m_timeOfLastPage; + + bool m_redoTiming; + + OggEncoder m_oggEncoder; + MediaRepository* m_repository; + + std::vector<MuxStreamEntry> m_streamList; + //std::list<OggPage> m_outputPageList; + std::list<OutputElement> m_outputPageList; + + bool allBuffersEmpty(); + + void writeToRepository(); + void writeToOggEncoder(); + + void flushOggEncoder(); + + bool findAndInsertNextPage(); + void insertHeader(); + void handleNextPage(OggPage& page, uint8 streamNo); + +public: + StreamMux(MediaRepository* repository); + virtual ~StreamMux(); + + void configureStreams(std::vector<StreamConfig>& config); + void setEndOfStream(); + + StreamMux& operator<<(OggPacket& page); + + void recreatePacketPosition(bool redoTiming); + + void close(); +}; + +#endif /*STREAMMUX_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/main/streamSerializer.cpp
Added
@@ -0,0 +1,434 @@ +/* + * streamSerialize will output a serialized stream of packets from a file + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <iostream> + +#include "streamSerializer.h" + +#include "fileRepository.h" +#include "oggBOSExtractorFactory.h" +#include "log.h" + +StreamEntry::StreamEntry() : + streamDecoder(0), posInterpreter(0), nextTime(-1), endOfStream(false), + empty(true) +{ +} + +StreamEntry::StreamEntry(StreamConfig& config, OggStreamDecoder* sDecoder) : + streamConfig(config), streamDecoder(sDecoder), posInterpreter(0), nextTime(-1), + endOfStream(false), empty(true) +{ +} + +StreamEntry::~StreamEntry() +{ +} + +bool StreamEntry::allHeadersCollected() +{ + return(streamConfig.numOfHeaderPackets == streamConfig.headerList.size()); +} + +StreamSerializer::StreamSerializer() : + initState(created), repository(0), oggDecoder(new OggDecoder), + streamEndCounter(0) +{ +} + +StreamSerializer::~StreamSerializer() +{ + close(); +} + +bool StreamSerializer::open(std::string& datasource) +{ + + // actually only file + repository = new FileRepository(datasource, MediaUnit::read); + + /* has there been a problem with opening the file */ + if (!repository->isAvailable()) + return (false); + + initState = reposOpened; + + // extract the streams + bool retValue = extractStreams(); + + // fill one packet to every stream item + std::map<uint32, StreamEntry>::iterator it(streamList.begin()); + for (; it != streamList.end(); ++it) { + StreamEntry& entry = it->second; + fillStreams(); + insertNextPacket(entry); + } + + return (retValue); +} + +bool StreamSerializer::open(MediaRepository* _repository) +{ + // actually only file + repository = _repository; + + /* has there been a problem with opening the file */ + if (!repository->isAvailable()) + return (false); + + initState = reposOpened; + + bool retValue = extractStreams(); + + // fill one packet to every stream item + std::map<uint32, StreamEntry>::iterator it(streamList.begin()); + for (; it != streamList.end(); ++it) { + StreamEntry& entry = it->second; + fillStreams(); + insertNextPacket(entry); + } + + return (retValue); +} + +bool StreamSerializer::extractStreams() +{ + + RawMediaPacket rawPacket; + OggPage oggPage; + OggPacket oggPacket; + + int8 streamCounter = 0; + + while (repository->isAvailable()) { + + /* extract a raw data bunch from the file and place it into + the ogg decoder */ + (*repository) >> rawPacket; + (*oggDecoder) << rawPacket; + + /* if there is a complete ogg page available, grab it */ + while (oggDecoder->isAvailable()) { + + (*oggDecoder) >> oggPage; + + /* what ID has this page / to what stream does this page belong to */ + uint32 serialID = oggPage->serialno(); + + /* if this is a "begin of stream" packet, + * create a new stream decoder instance */ + if (oggPage->isBOS()) { + + StreamEntry entry; + + /* get all the relevant information from the stream */ + OggBOSExtractorFactory::extractInformation(oggPage, entry.streamConfig); + entry.streamConfig.streamNo = streamCounter++; + + /* create the stream encoder */ + entry.streamDecoder = new OggStreamDecoder; + entry.posInterpreter + = OggBOSExtractorFactory::extractPositionInterpreter(entry.streamConfig); + + streamListserialID = entry; + + // insert the first page + *(streamListserialID.streamDecoder) << oggPage; + + } else { + // insert the next page + + OggPacket oggPacket; + StreamEntry& entry = streamListserialID; + OggStreamDecoder& streamDecoder = *(entry.streamDecoder); + + streamDecoder << oggPage; + + /* as long as we need headers and there are packets available + * fill the header list */ + while ((!entry.allHeadersCollected()) && + (entry.streamDecoder->isAvailable())) { + + /* if the list of header packets is not completed, add + * the next packet to the list */ + streamDecoder >> oggPacket; + entry.streamConfig.headerList.push_back(oggPacket); + } + + /* find out, if all header packets have been found */ + + bool allStreamsReady(true); + std::map<uint32, StreamEntry>::iterator it(streamList.begin()); + for (; it != streamList.end(); ++it) { + if (!it->second.allHeadersCollected()) { + allStreamsReady = false; + break; + } + } + + if (allStreamsReady) + return (true); + } + } + } + + logger.error() + << "StreamSerializer::extractStreams(): extracter was not able to grab all stream header\n"; + return (false); +} + +void StreamSerializer::getStreamConfig(std::vector<StreamConfig>& packetList) +{ + + std::map<uint32, StreamEntry>::iterator it(streamList.begin()); + + fillStreams(); + + // it is a bit difficult, we need the original folge + packetList.resize(streamList.size()); + + for (; it != streamList.end(); ++it) { + StreamEntry& entry = it->second; + packetListentry.streamConfig.streamNo = entry.streamConfig; + } + +} + +void StreamSerializer::close() +{ + + delete oggDecoder; + oggDecoder = 0; + + /* close the m_repository */ + if (repository) { + repository->close(); + delete repository; + repository = 0; + } + + std::map<uint32, StreamEntry>::iterator it = streamList.begin(); + + /* delete all list entries */ + for (; it != streamList.end(); ++it) { + StreamEntry entry = it->second; + + delete entry.streamDecoder; + delete entry.posInterpreter; + +// if (entry.streamConfig.parameter) +// delete entry.streamConfig.parameter; + + /* we do not need to delete the header List + * it is controled by the refObject structure */ + } + streamList.clear(); + +} + +bool StreamSerializer::fillPage() +{ + + RawMediaPacket rawPacket; + OggPage oggPage; + + while (1==1) { + + // is there no packet available within the ogg page decoder + while (!oggDecoder->isAvailable()) { + + // is there any data bunch available from the m_repository? + if (!repository->isAvailable()) { + + // if there is no more data at the m_repository, there is an error + // in the stream/file + return (false); + } + + // get a bunch of raw data and place it into the ogg page decoder + *repository >> rawPacket; + *oggDecoder << rawPacket; + + // repeat this until there is at least one page available + } + + // get the next ogg page + *oggDecoder >> oggPage; + + // find out to what stream this packet belongs and forget the + // page if the stream has not been configured befor + if (streamList.find(oggPage->serialno()) == streamList.end()) + continue; + + // get the stream item for easier access + StreamEntry& item = streamListoggPage->serialno(); + + // insert the ogg page into the right stream decoder + *(item.streamDecoder) << oggPage; + + return (true); + } + +} + +/* method is called to be sure, that there is at least one packet in every stream + * or the stream has finished */ +bool StreamSerializer::fillStreams() +{ + + /* are there no more packets to process, return false */ + if (streamEndCounter == streamList.size()) + return (false); + + std::map<uint32, StreamEntry>::iterator it = streamList.begin(); + + // ensure that every stream can deliver at least one packet or + // the stream has been ended + for (; it != streamList.end(); ++it) { + + // create a local reference for easier access + StreamEntry& item = it->second; + + // if this stream has ended, do not fill this stream any more + if (item.endOfStream) + continue; + + // if there is no packet available within this particular stream + // try to get more input + while (!item.streamDecoder->isAvailable()) { + + // if the stream has not ended, fill up the stream + // if the stream has ended, increment the end counter + if (item.streamDecoder->isEndOfStream()) { + break; + } else { + if (!fillPage()) { + logger.error() << "StreamSerializer::fillStreams: stream ended without an end-of-stream indicator\n"; + return (false); + } + } + } + } + + return (true); +} + +void StreamSerializer::insertNextPacket(StreamEntry& entry) +{ + // insert next packet into the streamEntry + if (entry.streamDecoder->isEndOfStream()) { + // if the stream has ended, set a marker + if (entry.endOfStream == false) { + entry.endOfStream = true; + entry.empty = true; +// logger.debug() << "Stream <"<<std::hex << entry.streamDecoder->getSerialNo()<< std::dec<<"> has ended \n"; + streamEndCounter++; + } +// entry.endOfStream = true; + } else { + + // get the next packet from this stream decoder + OggPacket newPacket; + *(entry.streamDecoder) >> newPacket; + + // set some additional data + newPacket->setStreamType(entry.streamConfig.type); + newPacket->setStreamNo(entry.streamConfig.streamNo); + + // if there is a position interpreter, use it to set the time + // else set the time to 0 + if (entry.posInterpreter) { +// logger.debug() << "granpos stream: "<<newPacket->granulepos(); + if (newPacket->granulepos() == -1) { + entry.posInterpreter->setStreamPosition(newPacket); + entry.nextTime = entry.posInterpreter->getActTime(); + } else { + int64 grPos = newPacket->granulepos(); + // the interpreter needs to be pushed forward + entry.posInterpreter->setStreamPosition(newPacket); + newPacket->setGranulepos(grPos); + entry.nextTime = entry.posInterpreter->getTime(newPacket->granulepos()); + } +// logger.debug() << " calc: "<<newPacket->granulepos()<<std::endl; + } else { + entry.nextTime = 0; + } + + // set the new packet + entry.nextPacket = newPacket; + entry.empty = false; + + } + +} + +bool StreamSerializer::available() +{ + + /* are there no more packets to process, return false */ + if (streamEndCounter == streamList.size()) + return (false); + + return(true); +} + +double StreamSerializer::getNextPacket(OggPacket& packet) +{ + + /* we need to know, which packet is the next + * to archive this, we are going to call the next packet of every + * stream and interpret the granule position, to get + * the time in seconds, so we are able to compare these positions */ + + double time(-1); + uint32 nextStreamID = 0; + + std::map<uint32, StreamEntry>::iterator it = streamList.begin(); + + /* delete all list entries */ + for (; it != streamList.end(); ++it) { + + StreamEntry& entry = it->second; + + /* if this stream has ended, continue with the next stream */ + if (entry.endOfStream) + continue; + + /* if this is the first packet in this round, take it + * as a reference else compare both times */ + + if ((time < 0) || ((!entry.empty) && (entry.nextTime < time))) { + time = entry.nextTime; + nextStreamID = it->first; + } + } + + if (time > -1) { + /* copy the next packet to the requested one */ + packet = streamListnextStreamID.nextPacket; + if (fillStreams()) + insertNextPacket(streamListnextStreamID); + else + streamEndCounter = streamList.size(); + } + + return (time); +}
View file
oggvideotools-0.9.1.tar.bz2/src/main/streamSerializer.h
Added
@@ -0,0 +1,98 @@ +/* + * streamSerialize will output a serialized stream of packets from a file + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef STREAMSERIALIZER_H_ +#define STREAMSERIALIZER_H_ + +#include<map> +#include<vector> + +#include "definition.h" +#include "mediaRepository.h" +#include "oggDecoder.h" +#include "oggStreamDecoder.h" +#include "granulePosInterpreter.h" +#include "streamConfig.h" + +class StreamEntry { + +public: + StreamConfig streamConfig; + OggStreamDecoder* streamDecoder; + GranulePosInterpreter* posInterpreter; + + OggPacket nextPacket; + double nextTime; + bool endOfStream; + bool empty; + + StreamEntry(); + StreamEntry(StreamConfig& config, OggStreamDecoder* sDecoder); + virtual ~StreamEntry(); + + bool allHeadersCollected(); +}; + +//! class to reserialize ogg packets +/* reserializing an ogg stream is not as easy as it seems: + * you always */ +class StreamSerializer { + +protected: + enum InitStates { + created, + reposOpened, + initialized + }; + + InitStates initState; + MediaRepository* repository; + OggDecoder* oggDecoder; + std::map<uint32, StreamEntry> streamList; + + uint32 streamEndCounter; + + bool fillPage(); + bool fillStreams(); + bool extractStreams(); + + void insertNextPacket(StreamEntry& entry); + + // none copieable serializer + StreamSerializer(const StreamSerializer& streamSerializer) {} + +public: + StreamSerializer(); + virtual ~StreamSerializer(); + + void getStreamConfig(std::vector<StreamConfig>& configList); + + bool available(); + + bool open(std::string& datasource); + bool open(MediaRepository* _repository); + void close(); + + double getNextPacket(OggPacket& packet); + +}; + +#endif /*STREAMSERIALIZER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/main/videoHook.cpp
Added
@@ -0,0 +1,335 @@ +#include <iostream> + +#include <stdlib.h> + +#include "videoHook.h" + +#include "theoraDecoder.h" +#include "theoraEncoder.h" + +#include "rgbPlane.h" +#include "pictureLoader.h" +#include "pictureResize.h" +#include "pictureBlend.h" +#include "th_helper.h" +#include "exception.h" +#include "log.h" + +VideoHook::Config::Config() + : stretch(false), trimDatarateOrQuality(false), quality(3), preview(1) +{ +} + +VideoHook::VideoHook(uint8 outStreamID, const bool copy, const bool keepComments) : + HookHandler(copy, keepComments), framerateDecoder(1), framerateEncoder(1), + aspectCorrection(1), time(0), nextTime(0), timeOffset(0), intensityStair(1), + changeSize(false) +{ + config.stretch = false; // Try to keep the aspect ratio + config.quality = 3; // use good quality for resizing + config.preview = 1; // don't use any preview functionality + + // we create the decoder/encoder pair, + // even if we don't need them + // specially the encoder may be needed later, if the + // input comes from another source + + outputDecoder.reset(new TheoraDecoder); + inputEncoder.reset(new TheoraEncoder(outStreamID)); + + th_clean_ycbcr(outycbcr); + th_clean_ycbcr(inycbcr); + +} + +VideoHook::~VideoHook() +{ + th_free_ycbcr(outycbcr); + // th_free_ycbcr(inycbcr); +} + +HookHandler& VideoHook::operator<<(OggPacket& packet) +{ + + if (!outputDecoder) + throw OggException("VideoHook::callHook: no outputDecoder given"); + + if (!inputEncoder) + throw OggException("VideoHook::callHook: no inputEncoder given"); + + TheoraDecoder& decoder = static_cast<TheoraDecoder&>(*outputDecoder.get()); + TheoraEncoder& encoder = static_cast<TheoraEncoder&>(*inputEncoder.get()); + + // What is the best way to receive the time?! + // best way may be to recalculate the time due to the number of packets + // and the framerate + time = (inPacketCounter*framerateEncoder) + timeOffset; + nextTime = (outPacketCounter*framerateDecoder) + timeOffset; +// logger.debug() << "Time "<<time<<" Next Time "<<nextTime<<" counterIn "<<inPacketCounter<<" counterOut "<<outPacketCounter<<std::endl; + inPacketCounter++; + + if (copy) { + packet->setStreamNo(encoder.getStreamNo()); + // in case, this is just a packet transfer, we need to create + // the correct position + if (TheoraPosInterpreter::packetIsKeyframe(packet)) + posCreator.addKeyframe(); + else + ++posCreator; + + packet->setGranulepos(posCreator.getPosition()); + outPacketCounter++; + packetList.push_back(packet); + + } else { + try { + decoder << packet; + decoder >> inycbcr; + + while ( (uint64)(time*1000.0+0.5) >= (uint64)(nextTime*1000.0+0.5) ) { + + inPlane = PictureLoader::importYCrCb_theora ( inycbcr, decoder.getWidth(), decoder.getHeight(), decoder.getInfo().pic_x, decoder.getInfo().pic_y, decoder.getInfo().pixel_fmt ); + + /* should be an alpha blend applied before resizing */ + if ( !config.blendListBefore.empty() ) { + alphaBlend ( time, inPlane, config.blendListBefore ); + } + + if ( changeSize ) { + if (config.stretch) + inPlane = PictureResize::resize ( inPlane, encoder.width(), encoder.height(), config.quality ); + else + inPlane = PictureResize::reframe ( inPlane, encoder.width(), encoder.height(), config.quality, 0, aspectCorrection ); + } + + /* should be an alpha blend applied after resizing? */ + if ( !config.blendListAfter.empty() ) { + alphaBlend ( time, inPlane, config.blendListAfter ); + } + + if ( ( !config.blendListBefore.empty() ) || ( !config.blendListAfter.empty() ) || changeSize ) { + + /* there are changes written to the outycbcr */ + PictureLoader::exportYCrCb_theora ( inPlane, outycbcr, encoder.getInfo().pixel_fmt ); + + if (inPacketCounter%config.preview == 0) + encoder << outycbcr; + } else { + + /* use the original data */ + if (outPacketCounter%config.preview == 0) + encoder << inycbcr; + } + + if (encoder.isAvailable()) { + outPacketCounter++; + encoder >> packet; + + if (TheoraPosInterpreter::packetIsKeyframe(packet)) + posCreator.addKeyframe(); + else + ++posCreator; + + packet->setGranulepos(posCreator.getPosition()); + packetList.push_back(packet); + nextTime = (outPacketCounter*framerateDecoder) + timeOffset; + + } + + } + // logger.debug() << std::endl; + } catch (std::exception & e) { + logger.error() << "Exception: " << e.what(); + } + } + + return(*this); +} + +void VideoHook::setEncoderConfig(StreamConfig& config, + std::vector<OggComment>& commentList) +{ + HookHandler::setEncoderConfig(config, commentList); + posCreator.initialize(config.parameter.get()); +} + +void VideoHook::resetEncoder() +{ + TheoraEncoder& encoder = static_cast<TheoraEncoder&>(*inputEncoder); + encoder.reset(); +} + +void VideoHook::initAndConnect() +{ + // maybe we could copy the stream even, when it's not strictly + // specified + // at this point every thing must be configured. + // So the comparison could take place + TheoraDecoder& decoder = static_cast<TheoraDecoder&>(*outputDecoder.get()); + TheoraEncoder& encoder = static_cast<TheoraEncoder&>(*inputEncoder.get()); + + /* if this is a reinitialisation, remember the offset */ + timeOffset = time; + inPacketCounter = 0; + outPacketCounter = 0; + + if (!config.blendListAfter.empty() || !config.blendListBefore.empty()) + reencode = true; + + /* if it is ok, that we do a reencoding, than we could trim the output */ + if (!copyOnly) { + /* if both stream configurations are equal, they could be copied */ + copy = (decoder.getInfo() == encoder.getInfo()) && !reencode; + + /* maybe only the datarate/quality is different in this case, we can copy the + * stream. But maybe somebody wants to trim the datarate/quality. In this case + * we do not copy (very difficult ;-)*/ + + /* if the picture size is different, we need to resize the video */ + if ((decoder.getInfo().pic_width != encoder.getInfo().pic_width) || + (decoder.getInfo().pic_height != encoder.getInfo().pic_height)) + changeSize = true; + + /* if the aspect ratio is different, we also need resizing */ + if ((decoder.getInfo().aspect_numerator != encoder.getInfo().aspect_numerator) || + (decoder.getInfo().aspect_denominator != encoder.getInfo().aspect_denominator)) + changeSize = true; + + /* calculate the framerate Input and framerate Output */ + if (decoder.getInfo().fps_denominator > 0) + framerateDecoder = decoder.getInfo().fps_numerator*1.0/decoder.getInfo().fps_denominator; + else + framerateDecoder = 1; + + if (encoder.getInfo().fps_denominator > 0) + framerateEncoder = encoder.getInfo().fps_numerator*1.0/encoder.getInfo().fps_denominator; + else + framerateEncoder = 1; + + // logger.debug() << "changeing framerate from "<< framerateInput<<" to "<<framerateOutput<<std::endl; + + /* We do not use any aspect ratio other than 1 for the output, so + * we need a correction factor */ + if ((decoder.getInfo().aspect_numerator <= 0) || + (decoder.getInfo().aspect_denominator <= 0) ) + aspectCorrection = 1; + else + aspectCorrection = (decoder.getInfo().aspect_numerator*1.0)/(decoder.getInfo().aspect_denominator*1.0); + + } else { + copy = true; + } + +} + + +void VideoHook::configureProcess(VideoHook::Config& _config) +{ + config = _config; +} + +/* you can create a alpha blend object with the following option + * -a picturex.png,1.23,2.34;picturey.png,5.12,7,s */ + +void VideoHook::alphaBlend(double time, RGBPlane& inPlane, + std::vector<BlendElement>& blendList) +{ + + for (uint32 i( 0); i<blendList.size(); ++i) { + switch (blendListi.state) { + case BlendElement::blend_off: { + if (time >= blendListi.startTime) { + if (blendListi.smooth) { + blendListi.state = BlendElement::blend_slideIn; + } else { + blendListi.intensity = 1.0; + blendListi.state = BlendElement::blend_on; + } + } + } + break; + + case BlendElement::blend_slideIn: { + blendListi.intensity += intensityStair; + + if (blendListi.intensity >= 1.0) { + blendListi.state = BlendElement::blend_on; + blendListi.intensity = 1.0; + } + + } + break; + + case BlendElement::blend_on: { + if ( (blendListi.endTime > 0.0 ) + && (time >= blendListi.endTime )) { + if (blendListi.smooth) { + blendListi.state = BlendElement::blend_slideOut; + } else { + blendListi.intensity = 0.0; + blendListi.state = BlendElement::blend_end; + } + } + } + break; + + case BlendElement::blend_slideOut: { + blendListi.intensity -= intensityStair; + + if (blendListi.intensity <= 0.0) { + blendListi.state = BlendElement::blend_end; + blendListi.intensity = 0.0; + } + + } + break; + + case BlendElement::blend_end: { + /* do nothing */ + } + break; + + } + + if ( (blendListi.state != BlendElement::blend_end ) + && (blendListi.state != BlendElement::blend_off )) + inPlane = PictureBlend::alphaBlend(inPlane, blendListi.picture, + blendListi.intensity); + + } + +} + +void VideoHook::flush() +{ + +} + +OggType VideoHook::getType() const +{ + return(OggType::theora); +} + +static bool operator==(const th_info& info1, const th_info& info2) +{ + return ( (info1.aspect_denominator == info2.aspect_denominator) && + (info1.aspect_numerator == info2.aspect_numerator) && + (info1.colorspace == info2.colorspace) && + (info1.fps_denominator == info2.fps_denominator ) && + (info1.fps_numerator == info2.fps_numerator) && + (info1.frame_height == info2.frame_height) && + (info1.frame_width == info2.frame_width) && + (info1.keyframe_granule_shift == info2.keyframe_granule_shift) && + (info1.pic_height == info2.pic_height) && + (info1.pic_width == info2.pic_width) && + (info1.pic_x == info2.pic_x) && + (info1.pic_y == info2.pic_y) && + (info1.pixel_fmt == info2.pixel_fmt) && + (info1.quality == info2.quality) && + (info1.target_bitrate == info2.target_bitrate) ); +} + +static bool operator!=(const th_info& info1, const th_info& info2) +{ + return (!(info1==info2)); +}
View file
oggvideotools-0.9.1.tar.bz2/src/main/videoHook.h
Added
@@ -0,0 +1,83 @@ +#ifndef VIDEOHOOK_H_ +#define VIDEOHOOK_H_ + +// #include <deque> + +#include "hookHandler.h" + +#include "theoraDecoder.h" +#include "theoraEncoder.h" +#include "rgbPlane.h" +#include "theoraPosInterpreter.h" + +#include "blendElement.h" + +class VideoHook : public HookHandler { +public: + + class Config { + public: + bool stretch; + bool trimDatarateOrQuality; + uint32 quality; + uint32 preview; + std::vector<BlendElement> blendListBefore; + std::vector<BlendElement> blendListAfter; + Config(); + }; + +private: + Config config; + + /* precalculations from known values */ + double framerateDecoder; + double framerateEncoder; + + double aspectCorrection; + double time; + double nextTime; + double timeOffset; + + double intensityStair; + + bool copy; + + bool changeSize; + RGBPlane inPlane; + + TheoraPosInterpreter posCreator; + + th_ycbcr_buffer inycbcr; + th_ycbcr_buffer outycbcr; + + VideoHook(); + + void alphaBlend(double time, RGBPlane& inPlane, + std::vector<BlendElement>& blendList); + +public: + + VideoHook(uint8 outStreamID, const bool copy=true, const bool keepComments=true); + virtual ~VideoHook(); + + void configureProcess(Config& config); + + virtual void setEncoderConfig(StreamConfig& config, + std::vector<OggComment>& commentList); + + virtual void resetEncoder(); + + virtual HookHandler& operator<<(OggPacket& packet); + + virtual void initAndConnect(); + + virtual OggType getType() const; + + virtual void flush(); + +}; + +static bool operator==(const th_info& info1, const th_info& info2); +static bool operator!=(const th_info& info1, const th_info& info2); + +#endif /*VIDEOHOOK_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/misc
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/src/misc/CMakeLists.txt
Added
@@ -0,0 +1,8 @@ +SET ( LIBRARY_MISC_SRC + ringbuffer.cpp + log.cpp + helper.cpp + crc.cpp +) + +ADD_LIBRARY ( ovtmisc ${LIBRARY_MISC_SRC} )
View file
oggvideotools-0.9.1.tar.bz2/src/misc/crc.cpp
Changed
(renamed from src/crc.cpp)
View file
oggvideotools-0.9.1.tar.bz2/src/misc/crc.h
Changed
(renamed from src/crc.h)
View file
oggvideotools-0.9.1.tar.bz2/src/misc/helper.cpp
Added
@@ -0,0 +1,22 @@ +#include "helper.h" +#include <fstream> +#include <iostream> + +bool check_file_exists (std::string& filename) +{ + bool exists(false); + std::string answer; + std::ifstream fin; + + fin.open (filename.c_str()); + if (fin.fail()) + return(false); + fin.close(); + + std::cerr << "The file <"<<filename<<"> exists, overwrite? "; + std::cin >> answer; + if (answer == "yes" || answer =="y" || answer == "Yes" || answer == "Y" ) + return(false); + + return(true); +}
View file
oggvideotools-0.9.1.tar.bz2/src/misc/helper.h
Added
@@ -0,0 +1,9 @@ +#ifndef helper_h +#define helper_h + +#include <string> + +//! returns true, if file exists and should not be overwritten +bool check_file_exists (std::string& filename); + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/misc/log.cpp
Added
@@ -0,0 +1,44 @@ +#include "log.h" +#include <iostream> + +OggLog logger; + +void OggLog::setLevel(Severity newLevel) +{ + currentLevel = newLevel; +} + +OggLog::Severity OggLog::getLevel() const +{ + return currentLevel; +} + +std::ostream & OggLog::error() const +{ + return getStream(LOG_ERROR); +} + +std::ostream & OggLog::warning() const +{ + return getStream(LOG_WARNING); +} + +std::ostream & OggLog::info() const +{ + return getStream(LOG_INFO); +} + +std::ostream & OggLog::debug() const +{ + return getStream(LOG_DEBUG); +} + +std::ostream & OggLog::getStream(Severity severity) const +{ + if (severity >= currentLevel) { + return std::cerr; + } else { + return (std::ostream&)fakeStream; + } +} +
View file
oggvideotools-0.9.1.tar.bz2/src/misc/log.h
Added
@@ -0,0 +1,48 @@ +#ifndef LOG_H +#define LOG_H + +#include <iostream> + +class FakeStreambuf : public std::streambuf { +public: + FakeStreambuf() {} +}; + +class FakeStream : public std::ostream { +public: + FakeStreambuf buf; + + FakeStream() + : std::ostream(&buf) {} +}; + +class OggLog { +public: + enum Severity { + LOG_DEBUG, + LOG_INFO, + LOG_WARNING, + LOG_ERROR + }; + + OggLog() + : currentLevel(LOG_INFO) {} + + void setLevel(Severity newLevel); + Severity getLevel() const; + + std::ostream & error() const; + std::ostream & warning() const; + std::ostream & info() const; + std::ostream & debug() const; + + std::ostream & getStream(Severity severity) const; +protected: + Severity currentLevel; + FakeStream fakeStream; +}; + +// Global instance +extern OggLog logger; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/misc/ringbuffer.cpp
Added
@@ -0,0 +1,331 @@ +/* + * simple ring buffer + * + * Copyright (C) 2005-2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include <string.h> +#include "ringbuffer.h" +#include "exception.h" +#include "log.h" + +ringbuffer::ringbuffer(uint32_t buffersize) + : size(buffersize), used(0), begin(0), end(0) +{ + lock(); + logger.debug() <<"creating ringbuffer with size " << buffersize << std::endl; + fifo.resize(buffersize); //reserve(buffersize);// = new unsigned charbuffersize; + unlock(); +} + +//ringbuffer::ringbuffer(unsigned char* data, uint32_t len) +// : size(len), used(len), begin(0), end(0) +//{ +// // gonna make a copy for safety: +// lock(); +// fifo.reserve(len);// = new unsigned charlen; +// fifo.insert(fifo.end(), data.data(), &datalen); //memcpy(fifo, data, len); +// unlock(); +//} + +ringbuffer::~ringbuffer() +{ +} + +//uint32_t ringbuffer::addData(const unsigned char* data, uint32_t len) +//{ +// lock(); + +// if ((!len) || (!data)) { +// unlock(); +// return(0); +// } + +// if (len > size) { +// unlock(); +// throw OggException("Ring buffer write overflow"); +// } +// if (begin+len < size) { +// memcpy(fifo.data()+begin,data,len); +// } else { +// // split +// int part1 = (size - begin); +// int part2 = len - part1; +// memcpy(fifo.data()+begin,data,part1); +// memcpy(fifo.data(),data+part1,part2); +// } + +// begin += len; +// begin %= size; + +// if (len > (size-used)) { +// throw OggException("Ring buffer overrun"); +// } else { +// used += len; +// } + +// unlock(); + +// return (len); + +//} + +uint32_t ringbuffer::addData(const std::vector<uint8_t>& data, uint32_t len) +{ + lock(); + + if ((!len) || (data.empty())) { + unlock(); + return(0); + } + + if (len > size) { + unlock(); + throw OggException("Ring buffer write overflow"); + } + if (begin+len < size) { + logger.debug() << "fifo: capacity " << fifo.capacity() << " size: "<< fifo.size() << std::endl; + logger.debug() << "writing data with length " << len << " as one block " << std::endl; + logger.debug() << "ringbuffer begin: " << begin << " end: " << end <<" size: " << size << std::endl; + memcpy(fifo.data()+begin,data.data(),len); + } else { + // split + int part1 = (size - begin); + int part2 = len - part1; + logger.debug() << "writing data with length " << len << " splitted " << part1 <<" / " << part2 << std::endl; + logger.debug() << "ringbuffer begin: " << begin << " end: " << end <<" size: " << size << std::endl; + memcpy(fifo.data()+begin,data.data(),part1); + memcpy(fifo.data(),data.data()+part1,part2); + } + + begin += len; + begin %= size; + + if (len > (size-used)) { + throw OggException("Ring buffer overrun"); + } else { + used += len; + } + + unlock(); + + return (len); + +} + + + +uint32_t ringbuffer::getData(unsigned char* data, uint32_t len) +{ + lock(); + + if (used < len) + len = used; + + if (len > size) { + throw OggException("Ring buffer read overflow"); + } + if (size < (end + len)) { + // split + int part1 = size - end; + int part2 = len - part1; + memcpy(data, fifo.data()+end, part1); + memcpy(data+part1, fifo.data(), part2); + } else + memcpy(data, fifo.data()+end, len); + + end += len; + end %= size; + used -= len; + + /* + for(uint32_t i=0; i<len; ++i) { + datai = fifoend++; + end %= size; + } + */ + + unlock(); + + return (len); +} + +uint32_t ringbuffer::getData(std::vector<uint8_t>& data, uint32_t len) +{ + lock(); + + if (used < len) + len = used; + + if (len > size) { + throw OggException("Ring buffer read overflow"); + } + + data.clear(); + data.reserve(len); +// data.insert(data.end(),len); + + if (size < (end + len)) { + // split + int part1 = size - end; + int part2 = len - (size-end); + //data.insert(std::end(data),std::begin(fifo)+end, std::end(fifo)); //std::begin(fifo)+end+part1); + data.insert(data.end(),fifo.begin()+end, fifo.end()); //std::end(fifo)); + data.insert(std::end(data),std::begin(fifo), std::begin(fifo)+part2); +// memcpy(data.data(), fifo.data()+end, part1); +// memcpy(data.data()+part1, fifo.data(), part2); + } else { + data.insert(std::end(data),std::begin(fifo)+end, std::begin(fifo)+end+len); +// memcpy(data.data(), fifo.data()+end, len); + } + + end += len; + end %= size; + used -= len; + + /* + for(uint32_t i=0; i<len; ++i) { + datai = fifoend++; + end %= size; + } + */ + + unlock(); + + return (len); +} + +uint32_t ringbuffer::getAvailable() +{ + uint32_t retValue; + + lock(); + retValue = size-used; + unlock(); + + return(retValue); +} + +uint32_t ringbuffer::getUsed() +{ + uint32_t retValue; + + lock(); + retValue = used; + unlock(); + + return(retValue); +} + +void ringbuffer::clean() +{ + lock(); + begin = end = used = 0; + unlock(); +} + +//uint32_t ringbuffer::peekBack(unsigned char* data, uint32_t len) +//{ +// lock(); +// if (len>used) +// len = used; + +// int tmpEnd = begin-1; +// for (int i=len-1; i>=0; --i) { +// if (tmpEnd < 0) +// tmpEnd = size-1; +// datai = fifotmpEnd--; +// } +// unlock(); + +// return (len); +//} + +uint32_t ringbuffer::peekBack(std::vector<uint8_t>& data, uint32_t len) +{ + lock(); + if (len>used) + len = used; + + /* clean data and fill with zeros in specified length */ + data.clear(); + data.insert(std::begin(data), len, 0); + + int tmpEnd = begin-1; + for (int i=len-1; i>=0; --i) { + if (tmpEnd < 0) + tmpEnd = size-1; + datai = fifotmpEnd--; + } + unlock(); + + return (len); +} + + +//uint32_t ringbuffer::peekFront(unsigned char* data, uint32_t len) +//{ +// lock(); +// if (used < len) +// len = used; + +// uint32_t tmpEnd = end; +// for (uint32_t i=0; i<len; ++i) { +// datai = fifotmpEnd++; +// tmpEnd %= size; +// } +// unlock(); + +// return (len); +//} + +uint32_t ringbuffer::peekFront(std::vector<uint8_t>& data, uint32_t len) +{ + lock(); + if (used < len) + len = used; + + /* clean data and fill with zeros in specified length */ + data.clear(); + data.insert(std::begin(data), len, 0); + + uint32_t tmpEnd = end; + for (uint32_t i=0; i<len; ++i) { + datai = fifotmpEnd++; + tmpEnd %= size; + } + unlock(); + + return (len); +} + + +uint32_t ringbuffer::inc(uint32_t len) +{ + lock(); + if (used < len) + len = used; + + end += len; + end %= size; + used -= len; + + unlock(); + + return (len); +}
View file
oggvideotools-0.9.1.tar.bz2/src/misc/ringbuffer.h
Added
@@ -0,0 +1,71 @@ +/* + * simple ring buffer + * + * Copyright (C) 2005-2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef ringbuffer_h +#define ringbuffer_h + +#include <cstdint> +#include <vector> + +class ringbuffer { + +protected: + //unsigned char* fifo; + std::vector<std::uint8_t> fifo; + + uint32_t size; + uint32_t used; + uint32_t begin; //! first available sign + uint32_t end; //! oldest packet + + void lock() {} + void unlock() {} + +public: + ringbuffer(uint32_t buffersize = 8000); +// ringbuffer(uint8_t* rawdata, uint32_t len); + + ~ringbuffer(); + +// uint32_t addData(const unsigned char* data, uint32_t len); + uint32_t getData(unsigned char* data, uint32_t len); + + uint32_t getAvailable(); + uint32_t getUsed(); + + // read newest nBytes +// uint32_t peekBack(unsigned char* data, uint32_t len); + + // read oldest nBytes +// uint32_t peekFront(unsigned char* data, uint32_t len); + + // delete the oldest len bytes + uint32_t inc(uint32_t len); + + void clean(); + + uint32_t addData(const std::vector<uint8_t> &data, uint32_t len); + uint32_t getData(std::vector<uint8_t> &data, uint32_t len); + uint32_t peekBack(std::vector<uint8_t> &data, uint32_t len); + uint32_t peekFront(std::vector<uint8_t> &data, uint32_t len); +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_kate
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_kate/CMakeLists.txt
Added
@@ -0,0 +1,8 @@ +SET ( LIBRARY_KATE_SRC + katePosInterpreter.cpp + kateStreamParameter.cpp + kateExtractor.cpp + ) + +ADD_LIBRARY ( ovtkate ${LIBRARY_KATE_SRC} ) +
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_kate/kateExtractor.cpp
Added
@@ -0,0 +1,89 @@ +#include <iostream> +#include <cstring> + +#include "kateExtractor.h" +#include "definition.h" +#include "oggTypes.h" +#include "oggHeader.h" +#include "kateHeader.h" +#include "kateStreamParameter.h" +#include "katePosInterpreter.h" +#include "log.h" + +KateExtractor::KateExtractor() +{ +} + +KateExtractor::~KateExtractor() +{ +} + +bool KateExtractor::_extract(uint8* data, ExtractorInformation& info) +{ + + StreamType* streaminfo = (StreamType*) (data); + KateHeader* kateHeader = (KateHeader*) (data + sizeof(StreamType)); + + /* if this is not a kate header, return with an error */ + if ((streaminfo->headerType != 0x80) || + (memcmp(streaminfo->typeName, "kate\0\0\0", 7) != 0)) { + // TODO: no size of the passed data, the above could overflow (on read) + logger.error() << "KatePosInterpreter::initialize: This page is not a kate bos\n"; + return(false); + } + + // first extract the parameters + std::shared_ptr<KateStreamParameter> param(new KateStreamParameter); + + param->granulerateNum = (kateHeader->granulerateNumerator); + param->granulerateDenom = (kateHeader->granulerateDenominator); + param->granuleShift = kateHeader->granuleShift; + + param->language = std::string(kateHeader->language, 16); + param->category = std::string(kateHeader->category, 16); + + /* are there any old info stored, then delete them */ + info.parameter = param; + + /* set the ogg type and the number of header packets */ + info.type = OggType::kate; + info.numOfHeaderPackets = kateHeader->numHeaders; + + return(true); +} + +bool KateExtractor::extract(OggPage& oggPage, ExtractorInformation& information) +{ + /* if this is not a Begin Of Stream page, return immediately */ + if (!oggPage->isBOS()) { + logger.error() << "KatePosInterpreter::extract: This page is not a BOS (Begin Of Stream) page\n"; + return(false); + } + + uint8_t* dataPtr = &(oggPage->data())0; + + /* get the information starting points within the raw data */ + OggHeader* oggHeader = (OggHeader*) dataPtr; + uint8* data = dataPtr + sizeof(OggHeader) + oggHeader->tableSegments; + + if (_extract(data, information) == false) + return(false); + + information.serialNo = oggHeader->serial; + + return(true); +} + +bool KateExtractor::extract(OggPacket& packet, ExtractorInformation& information) +{ + // if this is not a Begin Of Stream page, return immediately + if (!packet->isBOS()) { + logger.error() << "TheoraPosInterpreter::extract: This packet is not a BOS (Begin Of Stream) page\n"; + return(false); + } + + if (_extract(packet->data(), information) == false) + return(false); + + return(true); +}
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_kate/kateExtractor.h
Changed
(renamed from src/kateExtractor.h)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_kate/kateHeader.h
Changed
(renamed from src/kateHeader.h)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_kate/katePosInterpreter.cpp
Added
@@ -0,0 +1,145 @@ +#include "katePosInterpreter.h" +#include "kateStreamParameter.h" +#include "log.h" + +#include <iostream> +#include <typeinfo> + + +KatePosInterpreter::KatePosInterpreter() + : granuleShift(0), granulerateNumerator(1), granulerateDenominator(1) +{ +} + +KatePosInterpreter::~KatePosInterpreter() +{ +} + +uint32 KatePosInterpreter::getGranulerateNumerator() +{ + return(granulerateNumerator); +} + +uint32 KatePosInterpreter::getGranulerateDenominator() +{ + return(granulerateDenominator); +} + +uint8 KatePosInterpreter::getGranuleShift() +{ + return(granuleShift); +} + +void KatePosInterpreter::extractFramePos(int64 granulePosition, int64& base, int64& offset) +{ + + base = granulePosition>>granuleShift; + + uint64 mask(1); + mask <<= granuleShift; + mask -= 1; + offset = (granulePosition&mask); +} + +void KatePosInterpreter::initialize(StreamParameter* _param) +{ + KateStreamParameter* param = dynamic_cast<KateStreamParameter*>(_param); + + if (!param) { + logger.error() << "KatePosInterpreter::initialize: parameter not set correctly\n"; + return; + } + + granuleShift = param->granuleShift; + granulerateNumerator = param->granulerateNum; + granulerateDenominator = param->granulerateDenom; + + initialized = true; + return; +} + +double KatePosInterpreter::getTime(int64 granulePos) +{ + if (!initialized) { + logger.error() << "KatePosInterpreter::initialize: The position interpreter is not initialized yet\n"; + return(-2); + } + + if (granulePos == -1) + return(-1); + + int64 base; + int64 offset; + + extractFramePos(granulePos, base, offset); + + double time = (granulerateDenominator*1.0/granulerateNumerator*1.0)*(base+offset); + + return(time); +} + +#if 0 +KatePosInterpreter& KatePosInterpreter::operator++() +{ + actualGranulePosition+=1; + return(*this); +} +#endif + +#if 0 +GranulePosInterpreter& TheoraPosInterpreter::operator+=(GranulePosInterpreter& _otherPosition) +{ + if (typeid(_otherPosition) != typeid(*this)) { + logger.error() << "GranulePosInterpreter::operator+=: type is not matching\n"; + return(*this); + } + + TheoraPosInterpreter* otherPosition = static_cast<TheoraPosInterpreter*>(&_otherPosition); + + if ((keyframeShift != otherPosition->keyframeShift) || + (framerateNumerator != otherPosition->framerateNumerator) || + (framerateDenominator != otherPosition->framerateDenominator)) { + logger.error() << "GranulePosInterpreter::operator+=: granulePositions does not match in shift value or framerate\n"; + return(*this); + } + + if ((actualGranulePosition < 0) || (otherPosition->actualGranulePosition < 0)) { + logger.error() << "GranulePosInterpreter::operator+=: one or both granulePositions are not valid\n"; + return(*this); + } + + int64 ownPos1; + int32 ownPos2; + + extractFramePos(actualGranulePosition, ownPos1, ownPos2); + + int64 otherPos1; + int32 otherPos2; + + extractFramePos(otherPosition->actualGranulePosition, otherPos1, otherPos2); + + ownPos1 += (otherPos1 + otherPos2); + + actualGranulePosition = ((ownPos1<<keyframeShift)|(ownPos2)); + + return(*this); +} +#endif + +void KatePosInterpreter::setStreamPosition(OggPacket& packet) +{ + int64_t granpos = packet->granulepos(); + if (granpos >= 0) { + actualGranulePosition = packet->granulepos(); + packet->setGranulepos(actualGranulePosition); + } +} + + +GranulePosInterpreter& KatePosInterpreter::operator-=(GranulePosInterpreter& position) +{ + logger.error() << "GranulePosInterpreter& operator-=: not implemented\n"; + + return(*this); +} +
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_kate/katePosInterpreter.h
Changed
(renamed from src/katePosInterpreter.h)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_kate/kateStreamParameter.cpp
Added
@@ -0,0 +1,80 @@ +#include <iostream> +#include <sstream> + +#include "kateStreamParameter.h" +#include "log.h" + +KateStreamParameter::KateStreamParameter() +{ +} + +KateStreamParameter::~KateStreamParameter() +{ +} + +bool KateStreamParameter::operator==(const StreamParameter& _param) +{ + StreamParameter* _param_unconst = const_cast<StreamParameter*>(&_param); + KateStreamParameter* param = dynamic_cast<KateStreamParameter*>(_param_unconst); + + if (!param) + return(false); + + if (granuleShift != param->granuleShift) { + logger.error() << "kate parameter compare: the granule shift is not matching\n"; + return(false); + } + + if ((granulerateNum != param->granulerateNum) || + (granulerateDenom != param->granulerateDenom)) { + logger.error() << "kate parameter compare: granulerate does not match: " + << granulerateNum << "/" << param->granulerateDenom + << " != " << param->granulerateNum << "/" << param->granulerateDenom + << std::endl; + return(false); + } + + if (language != param->language) { + logger.error() << "kate parameter compare: language does not match: " + << language << param->language + << std::endl; + return(false); + } + + if (category != param->category) { + logger.error() << "kate parameter compare: category does not match: " + << category << param->category + << std::endl; + return(false); + } + + return(true); +} + +std::string KateStreamParameter::toString() +{ + std::stringstream stream; + + stream << std::endl; + stream << "Language : " << language << "\n"; + stream << "Category : " << category << "\n"; + stream << "Granulerate : " << granulerateNum/granulerateDenom << "\n"; + + stream << std::endl; + + return(stream.str()); + +} + +StreamParameter* KateStreamParameter::clone() +{ + // create a clone + KateStreamParameter* streamParameter = new KateStreamParameter(); + + // copy the original data to the clone + (*streamParameter) = (*this); + + // return the clone + return(streamParameter); + +}
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_kate/kateStreamParameter.h
Changed
(renamed from src/kateStreamParameter.h)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/CMakeLists.txt
Added
@@ -0,0 +1,11 @@ +SET ( LIBRARY_THEORA_SRC + theoraEncoder.cpp + theoraDecoder.cpp + theoraExtractor.cpp + theoraPosInterpreter.cpp + theoraStreamParameter.cpp + ) +# theoraConfig.cpp + +ADD_LIBRARY ( ovttheora ${LIBRARY_THEORA_SRC} ) +
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/theoraDecoder.cpp
Added
@@ -0,0 +1,403 @@ +/* + * TheoraDecoder wrapper + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include "theoraDecoder.h" +#include <climits> + +#ifdef HAVE_LIBTHEORADEC + +#include "theoraStreamParameter.h" +#include "exception.h" + +#include <iostream> +#include <sstream> +#include <string> + +#include <theora/codec.h> +#include <theora/theoradec.h> +#include <ogg/ogg.h> +#include "exception.h" +#include "log.h" + +TheoraDecoder::TheoraDecoder(uint8 _streamID) : + MediaOutputDecoder(_streamID), setupInfo(NULL), theoraDecState(NULL), + initCount(0) +{ +} + +TheoraDecoder::~TheoraDecoder() +{ + clear(); +} + +void TheoraDecoder::clear() +{ + if (isConfigured()) { + /* delete all packets, that may be left within the queue */ + packetList.clear(); + + /* clean up everything regarding the decoding process */ + th_setup_free(setupInfo); + setupInfo=0; + th_decode_free(theoraDecState); + theoraDecState=0; + th_info_clear(&theoraInfo); + th_comment_clear(&theoraComment); + setFree(); + } +} + +void TheoraDecoder::initDecoder(StreamConfig& config, + std::vector<OggComment>& oggComments) +{ + if (isConfigured()) + throw OggException("TheoraDecoder::initDecoder: could not configure twice"); + + + /* initialize the info and comment handler structs */ + th_info_init(&theoraInfo); + th_comment_init(&theoraComment); + + /* initialize the packet counter */ + packetCount = 0; + + /* configure the decoders */ + for (uint8 i(0); i<config.headerList.size(); ++i) { + + /* Insert the header + * Give an error message if the data does not fit the current codec */ + int retVal = th_decode_headerin(&theoraInfo, &theoraComment, + &setupInfo, config.headerListi->getUnderlayingOggPacketPtr()); + if (retVal <= 0) { + // TODO: cleanup everything that has been set up until now + th_comment_clear(&theoraComment); + if (retVal == 0) { + // There was a video packet in config.headerList. This should not happen, + // because we only read 3 packets (numOfHeaderPackets) + throw OggException("TheoraDecoder::initDecoder: unexpected video packet"); + } else { + reportTheoraError(retVal); + } + } + + } + + /* extract the comments */ + for (uint8 i(0); i<theoraComment.comments; ++i) { + /* We have to extract the tags by ourself */ + std::string commentStr(theoraComment.user_commentsi, + theoraComment.comment_lengthsi); + + std::size_t commentSeparatorPos; + if ((commentSeparatorPos = commentStr.find_first_of("=")) + != std::string::npos) { + OggComment comment; + comment.tag = commentStr.substr(0, commentSeparatorPos); + comment.value = commentStr.substr(commentSeparatorPos+1, + std::string::npos); + oggComments.push_back(comment); + } + + } + + th_comment_clear(&theoraComment); + + /* finish initialization, if the frame does exceed 4096x4096 Pixel + it will not be handled. This must handle integer overflow. */ + if ( (theoraInfo.frame_height>INT_MAX/theoraInfo.frame_width) + || ((theoraInfo.frame_width*theoraInfo.frame_height) + >= maxVideoPlaneSize)) { + throw OggException("TheoraDecoder::initDecoder: could not set up decoder, frame is too big"); + } + + theoraDecState = th_decode_alloc(&theoraInfo, setupInfo); + if (theoraDecState == NULL) { + throw OggException("TheoraDecoder::initDecoder: th_decode_alloc failed"); + } + + TheoraStreamParameter& theoraConfig = dynamic_cast<TheoraStreamParameter&>(*config.parameter.get()); + + theoraConfig.aspectRatioDenom = theoraInfo.aspect_denominator; + theoraConfig.aspectRatioNum = theoraInfo.aspect_numerator; + theoraConfig.colorspace = (TheoraStreamParameter::ColorSpace) theoraInfo.colorspace; + theoraConfig.framerateDenom = theoraInfo.fps_denominator; + theoraConfig.framerateNum = theoraInfo.fps_numerator; + theoraConfig.pictureX = theoraInfo.pic_width; + theoraConfig.pictureY = theoraInfo.pic_height; + theoraConfig.frameX = theoraInfo.frame_width; + theoraConfig.frameY = theoraInfo.frame_height; + theoraConfig.frameXOffset = theoraInfo.pic_x; + theoraConfig.frameYOffset = theoraInfo.pic_y; + theoraConfig.keyframeShift = theoraInfo.keyframe_granule_shift; + theoraConfig.pixel_fmt = (TheoraStreamParameter::PixFormat) theoraInfo.pixel_fmt; + theoraConfig.videoBitrate = theoraInfo.target_bitrate; + theoraConfig.videoQuality = theoraInfo.quality; + + /* set the state machine */ + setConfigured(); + +} + +MediaOutputDecoder& TheoraDecoder::operator<<(OggPacket packet) +{ + /* if the stream is not initialized, initialize the first structs */ + if (!isConfigured()) + throw OggException("TheoraDecoder::initDecoder: Theora decoder is not configured"); + + /* while inserting data into the stream, we do not + * decode. We just store the packets and will decode them + * on demand */ + packetList.push_back(packet); + + /* has there not been a packet in the queue before */ + if (isEmpty()) { + + /* set the internal state */ + setAvailable(); + + } + + /* count the video packets, to have a gimps of the actual position */ + packetCount++; + return(*this); +} + +bool TheoraDecoder::isNextPacketKeyframe() +{ + return ((th_packet_iskeyframe(packetList.front()->getUnderlayingOggPacketPtr()) == 1)); +} + +bool TheoraDecoder::isPacketKeyframe(OggPacket packet) +{ + return ((th_packet_iskeyframe(packet->getUnderlayingOggPacketPtr()) == 1)); +} + +uint32 TheoraDecoder::getPositionOfNextPacket() +{ + if (isEmpty()) + return (0xFFFFFFFF); + + return (packetCount - packetList.size()); +} + +TheoraDecoder& TheoraDecoder::operator>>(th_ycbcr_buffer& picture) +{ + if (!isConfigured()) + throw OggException("TheoraDecoder::operator>>: Theora decoder is not configured"); + + if (isEmpty()) + throw OggException("TheoraDecoder::operator>>: No packet available"); + + /* get the first packet from the packet list */ + OggPacket packet = packetList.front(); + packetList.pop_front(); + + /* insert the packet into the theora decoder */ + ogg_int64_t dummy; + int result; + result = th_decode_packetin(theoraDecState, packet->getUnderlayingOggPacketPtr(), &dummy); + if (result != 0 && result != TH_DUPFRAME) { + reportTheoraError(result); + } + + /* finally decode the picture */ + result = th_decode_ycbcr_out(theoraDecState, picture); + if (result != 0) { + reportTheoraError(result); + } + + if (packetList.empty()) { + setEmpty(); + } + + return(*this); +} + +/*std::string TheoraDecoder::getInfoString() +{ + + std::stringstream stream; + + if (!isConfigured()) + { + logger.error() + << "TheoraDecoder::operator>>: Theora Stream is not initialized\n"; + return (stream.str()); + } + + stream << std::endl; + stream << "Size : " << theoraInfo.pic_width << ":" + << theoraInfo.pic_height << " (Frame Size : " + << theoraInfo.frame_width << ":" << theoraInfo.frame_height + << " ; Offset: "<<theoraInfo.pic_x<<":"<<theoraInfo.pic_y<<" \n"; + stream << "Aspect Ratio : " << theoraInfo.aspect_numerator << ":" + << theoraInfo.aspect_denominator << std::endl; + stream << "Framerate : " << theoraInfo.fps_numerator + /theoraInfo.fps_denominator << "\n"; + + stream << "Colorspace : "; + switch (theoraInfo.colorspace) + { + case TH_CS_ITU_REC_470M: + stream << "NTSC\n"; + break; + case TH_CS_ITU_REC_470BG: + stream << "PAL\n"; + break; + default: + stream << "unspecified\n"; + } + + stream << "Quality : " << theoraInfo.quality << " / 61" << std::endl; + stream << "Data rate : " << theoraInfo.target_bitrate << " kBit/s" + << std::endl; + + stream << std::endl; + + stream << "Comments:\n"; + for (int i=0; i<theoraComment.comments; ++i) + stream << theoraComment.user_commentsi << std::endl; + + return (stream.str()); +} +*/ + +th_info& TheoraDecoder::getInfo() +{ + return (theoraInfo); +} + +th_comment& TheoraDecoder::getComment() +{ + return (theoraComment); +} + +uint32 TheoraDecoder::getWidth() +{ + return (theoraInfo.pic_width); +} + +uint32 TheoraDecoder::getHeight() +{ + return (theoraInfo.pic_height); +} + +std::string TheoraDecoder::configuration() const +{ + std::stringstream stream; + + stream << "Theora Decoder Configuration:"<<std::endl; + stream << std::endl; + stream << "Theora Version : " << (int)theoraInfo.version_major << "." + << (int)theoraInfo.version_minor << "." << (int)theoraInfo.version_subminor + << std::endl; + stream << std::endl; + stream << "Video Size : " << theoraInfo.pic_width << " x " + << theoraInfo.pic_height<<std::endl; + + if ((theoraInfo.pic_width != theoraInfo.frame_width) + || (theoraInfo.pic_height != theoraInfo.frame_height)) { + + stream << " - Frame Size : " << theoraInfo.frame_width << " x " + << theoraInfo.frame_height << std::endl; + stream << " - Offset : " << theoraInfo.pic_x << " x " + << theoraInfo.pic_y << std::endl; + + } + + stream << "Keyframe Shift : " <<(uint32)(1 + << theoraInfo.keyframe_granule_shift)<<" frames "<<std::endl; + stream << "Aspect Ratio : " << theoraInfo.aspect_numerator << " : " + << theoraInfo.aspect_denominator << std::endl; + stream << "Framerate : " << theoraInfo.fps_numerator << " / " + << theoraInfo.fps_denominator << "\n"; + stream << std::endl; + stream << "Quality : " << theoraInfo.quality << " / 64" + << std::endl; + stream << "Datarate : " << theoraInfo.target_bitrate << std::endl; + stream << "Pixel Format : "; + switch (theoraInfo.pixel_fmt) { + case TH_PF_420: + stream << "420 (Chroma decimination by 2 in both directions)" + <<std::endl; + break; + case TH_PF_422: + stream << "422 (Chroma decimination by 2 in X direction)"<<std::endl; + break; + case TH_PF_444: + stream << "444 (No Chroma decimination)"<<std::endl; + break; + default: + stream << " unknown"<<std::endl; + break; + } + stream << "Colorspace : "; + switch (theoraInfo.colorspace) { + case TH_CS_ITU_REC_470M: + stream << "ITU Rec. 470M (designed for NTSC content)"<<std::endl; + break; + case TH_CS_ITU_REC_470BG: + stream << "ITU Rec. 470BG (designed for PAL/SECAM content)"<<std::endl; + break; + default: + stream << "unspecified\n"; + break; + } + + stream << std::endl; + + if (theoraComment.comments) { + stream << "Comments:\n"; + for (int i=0; i<theoraComment.comments; ++i) + stream << theoraComment.user_commentsi << std::endl; + + stream << std::endl; + } + + return (stream.str()); +} + +void TheoraDecoder::reportTheoraError(int error) const +{ + std::string msg; + switch (error) { + case TH_EBADHEADER: + msg = "bad header"; + break; + case TH_EVERSION: + msg = "the bitstream version is not supported by this version of libtheoradec"; + break; + case TH_ENOTFORMAT: + msg = "the packet was not a Theora header"; + break; + case TH_EBADPACKET: + msg = "the packet does not contain encoded video data"; + break; + case TH_EIMPL: + msg = "the video uses bitstream features which this library does not support"; + break; + default: + msg = "unknown error"; + } + throw OggException(std::string("Error decoding Theora data: ") + msg); +} + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/theoraDecoder.h
Added
@@ -0,0 +1,93 @@ +/* + * TheoraDecoder + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef THEORADECODER_H_ +#define THEORADECODER_H_ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#else +#warning only use with autotools +#endif + +#ifdef HAVE_LIBTHEORADEC + +#include <list> +#include <vector> +#include <theora/codec.h> +#include <theora/theoradec.h> +#include "definition.h" + +#include "mediaOutputDecoder.h" +#include "theoraStreamParameter.h" + +class TheoraDecoder : public MediaOutputDecoder { + +protected: + + th_info theoraInfo; + th_comment theoraComment; + th_setup_info* setupInfo; + + th_dec_ctx* theoraDecState; + + std::list<OggPacket> packetList; +// std::vector<OggPacket> headerList; + + uint8 initCount; + uint32 packetCount; + + static const uint32 maxVideoPlaneSize = (4096*4096); + + void reportTheoraError(int error) const; + +public: + TheoraDecoder(uint8 streamID = 0); + virtual ~TheoraDecoder(); + + virtual void initDecoder(StreamConfig& config, std::vector<OggComment>& commentList); + + virtual MediaOutputDecoder& operator<<(OggPacket packet); + + TheoraDecoder& operator>>(th_ycbcr_buffer& picture); + + + th_info& getInfo(); + th_comment& getComment(); + + bool isNextPacketKeyframe(); + uint32 getPositionOfNextPacket(); + + virtual void clear(); + + uint32 getWidth(); + uint32 getHeight(); + + static bool isPacketKeyframe(OggPacket packet); + + virtual std::string configuration() const; + + +}; + +#endif // WITH_LIBTHEORA + +#endif /*THEORADECODER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/theoraEncoder.cpp
Added
@@ -0,0 +1,338 @@ +/* + * TheoraEncoder wrapper + * + * Copyright (C) 2008 Joern Seger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program 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 General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#include "theoraEncoder.h" + +#ifdef HAVE_LIBTHEORADEC + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <iostream> +#include <sstream> +#include <cstdlib> +#include <cstring> +#include <ogg/ogg.h> + +#include "exception.h" +#include "log.h" + +TheoraEncoder::TheoraEncoder(uint8 _streamNo) + : MediaInputEncoder(_streamNo), packetCounter(0) +{ + th_comment_init(&theoraComment); +} + +TheoraEncoder::~TheoraEncoder() +{ + if (isConfigured()) + th_encode_free(theoraState); + + th_info_clear(&theoraInfo); + th_comment_clear(&theoraComment); + +} + +void TheoraEncoder::createHeader(std::vector<OggPacket>& headerList, std::vector<OggComment>& oggComments) +{ + int32 encodeRetID(1); + + th_comment_add_tag(&theoraComment,"ENCODER",PACKAGE_STRING); + + /* add other comments */ + for (uint32 i(0); i<oggComments.size(); ++i) + th_comment_add_tag(&theoraComment, (char*) oggCommentsi.tag.c_str(), (char*) oggCommentsi.value.c_str()); + + while (encodeRetID > 0) { + ogg_packet tmpPkt; + encodeRetID = th_encode_flushheader(theoraState, &theoraComment, &tmpPkt); //packet->getUnderlayingOggPacketPtr()); + + if (encodeRetID == TH_EFAULT) + throw OggException("TheoraEncoder::operator <<: encoder or packet are NULL"); + + // ost::slog(ost::Slog::levelDebug) << "TheoraEncoder:: inserting header/n"; + if (encodeRetID > 0) { + OggPacket packet = std::make_shared<OggPacketInternal>(tmpPkt); + +#ifdef DEBUG + logger.debug() << "Theora Packet Number: "<< packet.packetno << "reset to 0" << std::endl; +#endif + + packet->setStreamType(OggType::theora); + packet->setStreamNo(streamNo); + packet->setStreamHeader(); + packet->setPacketno(0); + + headerList.push_back(packet); + } + } + + +} + +void TheoraEncoder::reset() +{ + if (isConfigured()) { + th_encode_free(theoraState); + theoraState = th_encode_alloc(&theoraInfo); + } + +} + +void TheoraEncoder::configureEncoder(StreamConfig& streamConf, std::vector<OggComment>& oggComments) +{ + if (isConfigured()) + throw OggException("TheoraEncoder::configureEncoder: can't configure encoder twice"); + + TheoraStreamParameter& config = dynamic_cast<TheoraStreamParameter&>(*streamConf.parameter.get()); + + // Theora has a divisible-by-sixteen restriction for the encoded video size + // scale the frame size up to the nearest /16 and calculate offsets + + config.frameX = (config.pictureX+15)&~0xF; + config.frameY = (config.pictureY+15)&~0xF; + + // We force the offset to be even. + // This ensures that the chroma samples align properly with the luma + // samples. + +// config.frameXOffset = ((config.frameX - config.pictureX)/2)&~1; +// config.frameYOffset = ((config.frameY - config.pictureY)/2)&~1; +// config.frameXOffset = 0; +// config.frameYOffset = 0; + + // let's initialize the theora encoder + th_info_init(&theoraInfo); + + theoraInfo.pic_width = config.pictureX; + theoraInfo.pic_height = config.pictureY; + theoraInfo.frame_width = config.frameX; + theoraInfo.frame_height = config.frameY; + theoraInfo.pic_x = config.frameXOffset; + theoraInfo.pic_y = config.frameYOffset; + theoraInfo.fps_numerator = config.framerateNum; + theoraInfo.fps_denominator = config.framerateDenom; + theoraInfo.aspect_numerator = config.aspectRatioNum; + theoraInfo.aspect_denominator = config.aspectRatioDenom; + switch ( config.colorspace ) { + case TheoraStreamParameter::ITU_470M: + theoraInfo.colorspace = TH_CS_ITU_REC_470M; + break; + case TheoraStreamParameter::ITU_470BG: + theoraInfo.colorspace = TH_CS_ITU_REC_470BG; + break; + default: + theoraInfo.colorspace = TH_CS_UNSPECIFIED; + break; + } + switch (config.pixel_fmt) { + case TheoraStreamParameter::pf_420: + theoraInfo.pixel_fmt = TH_PF_420; + break; + case TheoraStreamParameter::pf_422: + theoraInfo.pixel_fmt = TH_PF_422; + break; + case TheoraStreamParameter::pf_444: + theoraInfo.pixel_fmt = TH_PF_444; + break; + default: + theoraInfo.pixel_fmt = TH_PF_420; // most likly this format + break; + } + + theoraInfo.target_bitrate = config.videoBitrate; + theoraInfo.quality = config.videoQuality; + theoraInfo.keyframe_granule_shift = config.keyframeShift; // 6 bit to distinguish interframes + + // TODO: Pixel Format should be available in config + /* create a new theora encoder handle */ + theoraState = th_encode_alloc(&theoraInfo); + + if (theoraState) + setConfigured(); + else + throw OggException("TheoraEncoder::setConfig: Parameters invalid"); + + createHeader(streamConf.headerList, oggComments); + + streamConf.serialNo = (uint32) rand(); + streamConf.streamNo = streamNo; + streamConf.type = OggType::theora; + streamConf.numOfHeaderPackets = (uint8) streamConf.headerList.size(); + + // reset the packet counter if encoder is reconfigured + packetCounter = 0; +} + +MediaInputEncoder& TheoraEncoder::operator >>(OggPacket& packet) +{ + if (packetList.empty()) + throw OggException("TheoraEncoder::operator >>: No PacketAvailable"); + + packet = packetList.front(); + packetList.pop_front(); + + packet->setPacketno(packetCounter++); + + if (packetList.empty()) + setEmpty(); + + return(*this); +} + +MediaInputEncoder& TheoraEncoder::operator <<(th_ycbcr_buffer buffer) +{ + if (!isConfigured()) + throw OggException("TheoraEncoder::operator <<: codec not configured"); + + int32 errID; + if ((errID = th_encode_ycbcr_in(theoraState, buffer)) != 0) { + if (errID == TH_EFAULT) + throw OggException("TheoraEncoder::operator <<: encoder or video buffer is NULL"); + if (errID == TH_EINVAL) { + logger.debug() << "Size of picture "<<buffer0.width << " x " << buffer0.height<< " encoder wants " + << std::endl; + throw OggException("TheoraEncoder::operator <<: buffer size does not match the frame size the encoder was initialized with, or encoding has already completed"); + } + } + + int32 encodeRetID(1); + + while ( encodeRetID > 0) { + + ogg_packet _packet; + encodeRetID = th_encode_packetout(theoraState, 0, &_packet); + + /* Spec says: + * _op An ogg_packet structure to fill. All of the elements of this structure will be set, + * including a pointer to the video data. The memory for the video data is owned by libtheoraenc, + * and may be invalidated when the next encoder function is called. + * This means, data may be lost and cannot be used in a packet list, so we need to copy, + * this really kills performance ... */ + if (encodeRetID > 0) { + OggPacket packet = std::make_shared<OggPacketInternal>(_packet); + +#ifdef DEBUG + logger.debug() << "Theora Packet Number: "<< packet.packetno<<std::endl; + logger.debug() << "Theora Packet Length: "<< packet.bytes<<std::endl; +#endif + + packet->setStreamType(OggType::theora); + packet->setStreamNo(streamNo); + + packetList.push_back(packet); + } + } + + if (encodeRetID == TH_EFAULT) + throw OggException("TheoraEncoder::operator <<: encoder or packet are NULL"); + + setAvailable(); + + return(*this); +} + +uint32 TheoraEncoder::width() const +{ + return(theoraInfo.pic_width); +} + +uint32 TheoraEncoder::height() const +{ + return(theoraInfo.pic_height); +} + +th_info& TheoraEncoder::getInfo() +{ + return(theoraInfo); +} + +std::string TheoraEncoder::configuration() const +{ + std::stringstream stream; + + stream << "Theora Encoder Configuration:"<<std::endl; + stream << "Stream No: "<<(int)streamNo<<std::endl; + stream << std::endl; + stream << "Theora Version : " << (int) theoraInfo.version_major << "." << (int) theoraInfo.version_minor + << "." << (int) theoraInfo.version_subminor << std::endl; + stream << std::endl; + stream << "Video Size : " << theoraInfo.pic_width << " x " << theoraInfo.pic_height<<std::endl; + + if ((theoraInfo.pic_width != theoraInfo.frame_width) || + (theoraInfo.pic_height != theoraInfo.frame_height)) { + + stream << " - Frame Size : " << theoraInfo.frame_width << " x " << theoraInfo.frame_height << std::endl; + stream << " - Offset : " << theoraInfo.pic_x << " x " << theoraInfo.pic_y << std::endl; + + } + + stream << "Keyframe Shift : " <<(uint32)(1 << theoraInfo.keyframe_granule_shift)<< " frames " << std::endl; + stream << "Aspect Ratio : " << theoraInfo.aspect_numerator << " : " << theoraInfo.aspect_denominator << std::endl; + stream << "Framerate : " << theoraInfo.fps_numerator << " / " << theoraInfo.fps_denominator << "\n"; + stream << std::endl; + stream << "Quality : " << theoraInfo.quality << " / 64" << std::endl; + stream << "Datarate : " << theoraInfo.target_bitrate << std::endl; + stream << "Pixel Format : "; + switch (theoraInfo.pixel_fmt) { + case TH_PF_420: + stream << "420 (Chroma decimination by 2 in both directions)"<<std::endl; + break; + case TH_PF_422: + stream << "422 (Chroma decimination by 2 in X direction)"<<std::endl; + break; + case TH_PF_444: + stream << "444 (No Chroma decimination)"<<std::endl; + break; + default: + stream << " unknown"<<std::endl; + break; + } + stream << "Colorspace : "; + switch (theoraInfo.colorspace) { + case TH_CS_ITU_REC_470M: + stream << "ITU Rec. 470M (designed for NTSC content)"<<std::endl; + break; + case TH_CS_ITU_REC_470BG: + stream << "ITU Rec. 470BG (designed for PAL/SECAM content)"<<std::endl; + break; + default: + stream << "unspecified"<<std::endl; + break; + } + + stream << std::endl; + + if (theoraComment.comments) { + stream << "Comments:\n"; + for (int i=0; i<theoraComment.comments; ++i) + stream << theoraComment.user_commentsi << std::endl; + + stream << std::endl; + } + + return(stream.str()); +} + +#endif + +
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/theoraEncoder.h
Added
@@ -0,0 +1,60 @@ +#ifndef THEORAENCODER_H_ +#define THEORAENCODER_H_ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#else +#warning only use with autotools +#endif + +#ifdef HAVE_LIBTHEORAENC + +#include <list> +#include <vector> +#include <theora/codec.h> +#include <theora/theoraenc.h> + +#include "oggPacket.h" +#include "oggComment.h" +#include "mediaInputEncoder.h" +#include "theoraStreamParameter.h" +#include "streamConfig.h" + +class TheoraEncoder : public MediaInputEncoder { + +protected: + + uint64 packetCounter; + + th_enc_ctx* theoraState; + th_comment theoraComment; + th_info theoraInfo; + + std::list<OggPacket> packetList; + + void createHeader(std::vector<OggPacket>& headerList, std::vector<OggComment>& oggComments); + +public: + + TheoraEncoder(uint8 streamNo = 0); + virtual ~TheoraEncoder(); + + virtual MediaInputEncoder& operator>>(OggPacket& packet); + MediaInputEncoder& operator<<(th_ycbcr_buffer buffer); + + virtual void configureEncoder(StreamConfig& config, std::vector<OggComment>& oggComments); + + uint32 width() const; + uint32 height() const; + + th_info& getInfo(); + + virtual std::string configuration() const; + + virtual void reset(); + +}; + +#endif /* HAVE_LIBTHEORAENC */ + +#endif /*THEORAENCODER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/theoraExtractor.cpp
Added
@@ -0,0 +1,104 @@ +#include <iostream> +#include <cstring> + +#include "theoraExtractor.h" + +#include "oggHeader.h" +#include "theoraHeader.h" +#include "theoraStreamParameter.h" +#include "log.h" + +TheoraExtractor::TheoraExtractor() +{ +} + +TheoraExtractor::~TheoraExtractor() +{ +} + +bool TheoraExtractor::_extract(uint8* data, ExtractorInformation& info) +{ + + StreamType* streaminfo = (StreamType*) (data); + TheoraHeader* theoraHeader = (TheoraHeader*) (data + sizeof(StreamType)); + + /* if this is not a theora header, return with an error */ + if ((streaminfo->headerType != 0x80) || + (strncmp(streaminfo->typeName, "theora", 6) != 0)) { + logger.error() << "TheoraPosInterpreter::initialize: This page is not a theora bos\n"; + return(false); + } + + // first extract the parameters + std::shared_ptr<TheoraStreamParameter> param = std::make_shared<TheoraStreamParameter>(); + + // for all the calculation, we need to convert some fields + theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); + + param->framerateNum = convert32(theoraHeader->frn); + param->framerateDenom = convert32(theoraHeader->frd); + + param->pictureX = convert24(theoraHeader->picw); + param->pictureY = convert24(theoraHeader->pich); + + param->aspectRatioNum = convert24(theoraHeader->parn); + param->aspectRatioDenom = convert24(theoraHeader->parn); + + param->frameX = convert16(theoraHeader->fmbw)*16; + param->frameY = convert16(theoraHeader->fmbh)*16; + + param->frameXOffset = theoraHeader->picx; + param->frameYOffset = theoraHeader->picy; + + param->videoQuality = theoraHeader->un.lenbo.qual; + param->videoBitrate = convert24(theoraHeader->nombr); + + param->keyframeShift = theoraHeader->un.lenbo.kfgshift; + + param->colorspace = (TheoraStreamParameter::ColorSpace) theoraHeader->cs; + param->pixel_fmt = (TheoraStreamParameter::PixFormat) theoraHeader->un.lenbo.pf; + + // to have the original packet, we recover the data + theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); + + info.parameter = param; + + /* set the ogg type and the number of header packets */ + info.type = OggType::theora; + info.numOfHeaderPackets = 3; // the first three packets are headers + + return(true); +} + +bool TheoraExtractor::extract(OggPage& oggPage, ExtractorInformation& information) +{ + /* if this is not a Begin Of Stream page, return immediately */ + if (!oggPage->isBOS()) { + logger.error() << "TheoraPosInterpreter::extract: This page is not a BOS (Begin Of Stream) page\n"; + return(false); + } + + uint8_t* dataPtr = &(oggPage->data())0; + /* get the information starting points within the raw data */ + OggHeader* oggHeader = (OggHeader*) dataPtr; + uint8* data = dataPtr + sizeof(OggHeader) + oggHeader->tableSegments; + + if (!_extract(data, information)) + return(false); + + information.serialNo = oggHeader->serial; + + return(true); +} + +bool TheoraExtractor::extract(OggPacket& packet, ExtractorInformation& information) +{ + // if this is not a Begin Of Stream page, return immediately + if (!packet->isBOS()) { + logger.error() << "TheoraPosInterpreter::extract: This packet is not a BOS (Begin Of Stream) page\n"; + return(false); + } + + return _extract(packet->data(), information); + +}
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/theoraExtractor.h
Changed
(renamed from src/theoraExtractor.h)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/theoraHeader.h
Changed
(renamed from src/theoraHeader.h)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/theoraPosInterpreter.cpp
Added
@@ -0,0 +1,241 @@ +#include "theoraPosInterpreter.h" +#include "theoraStreamParameter.h" + +#include <iostream> +#include <typeinfo> +#include "log.h" + + +TheoraPosInterpreter::TheoraPosInterpreter() + : keyframeShift(6), framerateNumerator(1), framerateDenominator(1) +{ +} + +TheoraPosInterpreter::~TheoraPosInterpreter() +{ +} + +uint32 TheoraPosInterpreter::getFramerateNumerator() +{ + return(framerateNumerator); +} + +uint32 TheoraPosInterpreter::getFramerateDenominator() +{ + return(framerateDenominator); +} + +uint8 TheoraPosInterpreter::getKeyframeShift() +{ + return(keyframeShift); +} + +void TheoraPosInterpreter::extractFramePos(int64 granulePosition, int64& keyframePosition, int32& intraframePosition) +{ + + keyframePosition = granulePosition>>keyframeShift; + + uint64 mask(1); + mask <<= keyframeShift; + mask -= 1; + intraframePosition = (granulePosition&mask); + +} + +void TheoraPosInterpreter::initialize(StreamParameter* _param) +{ + TheoraStreamParameter* param = dynamic_cast<TheoraStreamParameter*>(_param); + + if (!param) { + logger.error() << "TheoraPosInterpreter::initialize: parameter not set correctly\n"; + return; + } + + keyframeShift = param->keyframeShift; + framerateNumerator = param->framerateNum; + framerateDenominator = param->framerateDenom; + + initialized = true; + return; +} + +/* +void TheoraPosInterpreter::initialize(OggPage oggPage) +{ + if (!oggPage.isBOS()) { + logger.error() << "TheoraPosInterpreter::initialize: This page is not a BOS (Begin Of Stream) page\n"; + return; + } + + OggHeader* oggHeader = (OggHeader*) (oggPage.data()); + StreamType* streamInformation = (StreamType*) (oggPage.data() + sizeof(OggHeader) + oggHeader->tableSegments); + TheoraHeader* theoraHeader = (TheoraHeader*) (oggPage.data() + sizeof(OggHeader) + oggHeader->tableSegments + sizeof(StreamType)); + + if ((streamInformation->headerType != 0x80) || + (strncmp(streamInformation->typeName, "theora", 6) != 0)) { + logger.error() << "TheoraPosInterpreter::initialize: This page is not a theora bos\n"; + return; + } + + // for all the calculation, we need to convert some fields + theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); + + framerateNumerator = convert32(theoraHeader->frn); + framerateDenominator = convert32(theoraHeader->frd); + + keyframeShift = theoraHeader->un.lenbo.kfgshift; + + // to have the original packet, we recover the data + theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); + + initialized = true; +} + +void TheoraPosInterpreter::initialize(OggPacket m_oggPacket) +{ + + StreamType* streamInformation = (StreamType*) (m_oggPacket.data()); + TheoraHeader* theoraHeader = (TheoraHeader*) (m_oggPacket.data() + sizeof(StreamType)); + + if ((streamInformation->headerType != 0x80) || + (strncmp(streamInformation->typeName, "theora", 6) != 0)) { + logger.error() << "TheoraPosInterpreter::initialize: This page is not a theora bos\n"; + return; + } + + // for all the calculation, we need to convert some fields + theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); + + framerateNumerator = convert32(theoraHeader->frn); + framerateDenominator = convert32(theoraHeader->frd); + + keyframeShift = theoraHeader->un.lenbo.kfgshift; + + // to have the original packet, we recover the data + theoraHeader->un.pleaseconvert = convert16(theoraHeader->un.pleaseconvert); + + initialized = true; +} + +*/ + +double TheoraPosInterpreter::getTime(int64 granulePos) +{ + if (!initialized) { + logger.error() << "TheoraPosInterpreter::initialize: The position interpreter is not initialized yet\n"; + return(-2); + } + + if (granulePos == -1) + return(-1); + + int64 pos1; + int32 pos2; + + extractFramePos(granulePos, pos1, pos2); + + double time = (framerateDenominator*1.0/framerateNumerator*1.0)*(pos1+pos2); + +// logger.debug() << "time extractor: "<<granulePos<<" ("<<pos1<<":"<<pos2<<") -> "<<time<<"s \n"; + + return(time); +} + +void TheoraPosInterpreter::addKeyframe() +{ + /* The first keyframe is 0 */ +// if (actualGranulePosition == 0) { +// actualGranulePosition = 1<<keyframeShift; +// return; +// } + + int64 pos1; + int32 pos2; + + extractFramePos(actualGranulePosition, pos1, pos2); + + pos1 += (pos2 + 1); + + actualGranulePosition = pos1<<keyframeShift; + +} + +TheoraPosInterpreter& TheoraPosInterpreter::operator++() +{ + actualGranulePosition+=1; + return(*this); +} + +GranulePosInterpreter& TheoraPosInterpreter::operator+=(GranulePosInterpreter& _otherPosition) +{ + if (typeid(_otherPosition) != typeid(*this)) { + logger.error() << "GranulePosInterpreter::operator+=: type is not matching\n"; + return(*this); + } + + TheoraPosInterpreter* otherPosition = static_cast<TheoraPosInterpreter*>(&_otherPosition); + + if ((keyframeShift != otherPosition->keyframeShift) || + (framerateNumerator != otherPosition->framerateNumerator) || + (framerateDenominator != otherPosition->framerateDenominator)) { + logger.error() << "GranulePosInterpreter::operator+=: granulePositions does not match in shift value or framerate\n"; + return(*this); + } + + if ((actualGranulePosition < 0) || (otherPosition->actualGranulePosition < 0)) { + logger.error() << "GranulePosInterpreter::operator+=: one or both granulePositions are not valid\n"; + return(*this); + } + + int64 ownPos1; + int32 ownPos2; + + extractFramePos(actualGranulePosition, ownPos1, ownPos2); + + int64 otherPos1; + int32 otherPos2; + + extractFramePos(otherPosition->actualGranulePosition, otherPos1, otherPos2); + + ownPos1 += (otherPos1 + otherPos2); + + actualGranulePosition = ((ownPos1<<keyframeShift)|(ownPos2)); + + return(*this); +} + +bool TheoraPosInterpreter::packetIsKeyframe(OggPacket& packet) +{ + // is there any data available + if (packet->length()<=0) + return(false); + + if (packet->data()0&0x80) { + return(false); + } + + if (!(packet->data()0&0x40)) { + return(true); + } + + return(false); +} + +void TheoraPosInterpreter::setStreamPosition(OggPacket& packet) +{ + /* is this a keyframe */ + if (packetIsKeyframe(packet)) + addKeyframe(); + else + actualGranulePosition+=1; + + packet->setGranulepos(actualGranulePosition); +} + + +GranulePosInterpreter& TheoraPosInterpreter::operator-=(GranulePosInterpreter& position) +{ + logger.error() << "GranulePosInterpreter& operator-=: not implemented\n"; + + return(*this); +}
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/theoraPosInterpreter.h
Added
@@ -0,0 +1,38 @@ +#ifndef THEORAPOSINTERPRETER_H_ +#define THEORAPOSINTERPRETER_H_ + +#include "definition.h" +#include "granulePosInterpreter.h" + +class TheoraPosInterpreter : public GranulePosInterpreter { + +protected: + uint8 keyframeShift; + uint32 framerateNumerator; + uint32 framerateDenominator; + + +public: + TheoraPosInterpreter(); + virtual ~TheoraPosInterpreter(); + + void extractFramePos(int64 granulePosition, int64& keyframePosition, + int32& intraframePosition); + uint32 getFramerateNumerator(); + uint32 getFramerateDenominator(); + uint8 getKeyframeShift(); + + virtual void initialize(StreamParameter* parameter); + virtual double getTime(int64 granulePos); + + TheoraPosInterpreter& operator++(); + void addKeyframe(); + static bool packetIsKeyframe(OggPacket& packet); + + virtual void setStreamPosition(OggPacket& packet); + virtual GranulePosInterpreter& operator+=(GranulePosInterpreter& position); + virtual GranulePosInterpreter& operator-=(GranulePosInterpreter& position); + +}; + +#endif /*THEORAPOSINTERPRETER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/theoraStreamParameter.cpp
Added
@@ -0,0 +1,105 @@ +#include <iostream> +#include <sstream> + +#include "theoraStreamParameter.h" +#include "log.h" + +TheoraStreamParameter::TheoraStreamParameter() +{ +} + +TheoraStreamParameter::~TheoraStreamParameter() +{ +} + +bool TheoraStreamParameter::operator==(const StreamParameter& _param) +{ + StreamParameter* _param_unconst = const_cast<StreamParameter*>(&_param); + TheoraStreamParameter* param = dynamic_cast<TheoraStreamParameter*>(_param_unconst); + + if (!param) + return(false); + + if (keyframeShift != param->keyframeShift) { + logger.error() << "theora parameter compare: the granule shift is not matching\n"; + return(false); + } + + if ((framerateNum != param->framerateNum) || + (framerateDenom != param->framerateDenom)) { + logger.error() << "theora parameter compare: framerate does not match: " + << framerateNum << "/" << param->framerateDenom + << " != " << param->framerateNum << "/" << param->framerateDenom + << std::endl; + return(false); + } + + if ((pictureX != param->pictureX) || + (pictureY != param->pictureY)) { + logger.error() << "theora parameter compare: height or width are not matching:" + << pictureX << ":" << pictureY << " != " + << param->pictureX << ":" << param->pictureY << "\n"; + return(false); + } + + if ((frameX != param->frameX) || + (frameY != param->frameY)) { + logger.error() << "theora parameter compare: frame height or width are not matching:" + << frameX << ":" << frameY << " != " + << param->frameX << ":" << param->frameY << "\n"; + return(false); + } + + /* if ((frameXOffset != param->frameXOffset) || + (frameYOffset != param->frameYOffset)) { + logger.error() << "theora parameter compare: offsets are not matching:" + << frameXOffset << ":" << frameXOffset << " != " + << param->frameYOffset << ":" << param->frameYOffset << "\n"; + return(false); + } + */ + return(true); +} + +std::string TheoraStreamParameter::toString() +{ + std::stringstream stream; + + stream << std::endl; + stream << "Size : " << pictureX << " x " << pictureY + << " (Frame Size : " << frameX << " x" << frameY << " )\n" + << "KeyframeShift: " <<(uint32)keyframeShift<<std::endl; + stream << "Aspect Ratio : " << aspectRatioNum << ":" << aspectRatioDenom << std::endl; + stream << "Framerate : " << framerateNum <<"/"<<framerateDenom << "\n"; + + stream << "Offset : " << frameXOffset << ":"<<frameYOffset<<std::endl; + + stream << "Quality : " << videoQuality << " / 61" << std::endl; + stream << "Datarate : " << videoBitrate << std::endl; + + stream << std::endl; + + return(stream.str()); + +} + +StreamParameter* TheoraStreamParameter::clone() +{ + // create a clone + TheoraStreamParameter* streamParameter = new TheoraStreamParameter(); + + // copy the original data to the clone + (*streamParameter) = (*this); + + // return the clone + return(streamParameter); + +} + +void TheoraStreamParameter::calculateFrame() +{ + frameX = (pictureX+15)&~0xF; + frameY = (pictureY+15)&~0xF; + frameXOffset = ((frameX - pictureX)/2)&~1; + frameYOffset = ((frameY - pictureY)/2)&~1; +}
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_theora/theoraStreamParameter.h
Added
@@ -0,0 +1,57 @@ +#ifndef THEORASTREAMPARAMETER_H_ +#define THEORASTREAMPARAMETER_H_ + +#include "definition.h" +#include "streamParameter.h" + +class TheoraStreamParameter : public StreamParameter { +public: + + enum PixFormat { + pf_420, + pf_rsvd, + pf_422, + pf_444 + }; + + enum ColorSpace { + unspecified, + ITU_470M, + ITU_470BG + }; + + uint32 pictureX; + uint32 pictureY; + uint32 frameX; + uint32 frameY; + uint32 frameXOffset; + uint32 frameYOffset; + + uint32 aspectRatioNum; + uint32 aspectRatioDenom; + + uint32 framerateNum; + uint32 framerateDenom; + + uint32 videoQuality; + uint32 videoBitrate; + + uint8 keyframeShift; + + PixFormat pixel_fmt; + ColorSpace colorspace; + + TheoraStreamParameter(); + virtual ~TheoraStreamParameter(); + + virtual bool operator==(const StreamParameter& param); + + virtual std::string toString(); + + virtual StreamParameter* clone(); + + void calculateFrame(); + +}; + +#endif /*THEORASTREAMPARAMETER_H_*/
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/CMakeLists.txt
Added
@@ -0,0 +1,11 @@ +SET ( LIBRARY_VORBIS_SRC + vorbisDecoder.cpp + vorbisEncoder.cpp + vorbisExtractor.cpp + vorbisPosInterpreter.cpp + vorbisStreamParameter.cpp + audioPacket.cpp + ) + +ADD_LIBRARY ( ovtvorbis STATIC ${LIBRARY_VORBIS_SRC} ) +
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/audioPacket.cpp
Added
@@ -0,0 +1,103 @@ +#include "audioPacket.h" + +#include <cstring> +#include <iostream> +#include "log.h" + +AudioPacketInternal::AudioPacketInternal() : + pcmData(0), length(0), channels(0) +{ +} + +AudioPacketInternal::~AudioPacketInternal() +{ + cleanup(); +} + +AudioPacketInternal::AudioPacketInternal(const AudioPacketInternal& packet) : + pcmData(0), length(packet.length), channels(packet.channels) +{ + /* create memory region */ + initMem(channels, length); + + /* copy data */ + for (uint8 i(0); i<channels; ++i) + setDataOfChannel(i, packet.pcmDatai); +} + +AudioPacketInternal::AudioPacketInternal(float** _dataPtr, uint32 _length, + uint8 _channels) : + pcmData(0), length(_length), channels(_channels) +{ + /* create memory region */ + initMem(channels, length); + + /* copy data */ + for (uint8 i(0); i<channels; ++i) + setDataOfChannel(i, _dataPtri); + +} + +AudioPacketInternal::AudioPacketInternal(uint8 _channels, uint32 _length) : + length(_length), channels(_channels) +{ + /* create memory region */ + initMem(channels, length); +} + +void AudioPacketInternal::initMem(uint8 _channels, uint32 _length) +{ + pcmData = new float*_channels; + + for (uint8 ch(0); ch<_channels; ++ch) + pcmDatach = new float_length; + +} + +float** AudioPacketInternal::getAllChannels() const +{ + return (pcmData); +} + +uint32 AudioPacketInternal::getLength() const +{ + return (length); +} + +uint8 AudioPacketInternal::getChannels() const +{ + return (channels); +} + +float* AudioPacketInternal::getDataOfChannel(uint8 channel) const +{ + if (channel < channels) + return (pcmDatachannel); + + return (0); +} + +void AudioPacketInternal::setDataOfChannel(uint8 channel, float* _dataPtr) +{ + if ((pcmData == 0) || (channel >= channels) || (pcmDatachannel == 0)) + return; + + memcpy(pcmDatachannel, _dataPtr, length*sizeof(float)); + +} + +void AudioPacketInternal::cleanup() +{ + + if (pcmData != 0) { + for (uint8 ch(0); ch<channels; ++ch) { + delete pcmDatach; + } + delete pcmData; + + } + + channels = 0; + length = 0; +} +
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/audioPacket.h
Added
@@ -0,0 +1,36 @@ +#ifndef audioPacket_h +#define audioPacket_h + +#include "definition.h" +#include <memory> + +class AudioPacketInternal { + +protected: + float** pcmData; + uint32 length; + uint8 channels; + + void initMem(uint8 channels, uint32 length); + +public: + + AudioPacketInternal(); + AudioPacketInternal(const AudioPacketInternal& packet); + AudioPacketInternal(uint8 channels, uint32 length); + AudioPacketInternal(float** dataPtr, uint32 length, uint8 channels); + ~AudioPacketInternal(); + + uint32 getLength() const; + uint8 getChannels() const; + float** getAllChannels() const; + + float* getDataOfChannel(uint8 channel) const; + void setDataOfChannel(uint8 channel, float* data); + + void cleanup(); +}; + +typedef std::shared_ptr<AudioPacketInternal> AudioPacket; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/vorbisDecoder.cpp
Added
@@ -0,0 +1,198 @@ +#include "vorbisDecoder.h" + +#ifdef HAVE_LIBVORBIS + +#include <iostream> +#include <sstream> +#include <string> + +#include "vorbisStreamParameter.h" +#include "exception.h" +#include "log.h" + +VorbisDecoder::VorbisDecoder(uint8 _streamID) : + MediaOutputDecoder(_streamID), initCount(0) +{ + +} + +VorbisDecoder::~VorbisDecoder() +{ + clear(); +} + +void VorbisDecoder::clear() +{ + + if (isConfigured()) { + /* delete all packets that may have left within the decoder queue */ + packetList.clear(); + + vorbis_info_clear(&vorbisInfo); + vorbis_block_clear(&vorbisBlock); + vorbis_dsp_clear(&vorbisDspState); + vorbis_comment_init(&vorbisComment); + setFree(); + } + +} + +void VorbisDecoder::initDecoder(StreamConfig& config, std::vector<OggComment>& oggComments) +{ + + if (isConfigured()) { + throw OggException("VorbisDecoder: Decoder is still configured"); + } + + /* initialize the info and comment handler structs */ + vorbis_info_init(&vorbisInfo); + vorbis_comment_init(&vorbisComment); + + /* initialize the packet counter */ + packetCount = 0; + + /* Konfiguration des Decoders */ + int retVal; + for (uint8 i(0); i<config.headerList.size(); ++i) { + + /* Einfügen der Header + * Fehlermeldung, wenn die Daten nicht zum aktuellen Codec passen */ + retVal = vorbis_synthesis_headerin(&vorbisInfo, &vorbisComment, config.headerListi->getUnderlayingOggPacketPtr()); + if (retVal < 0) { + vorbis_comment_clear(&vorbisComment); + throw OggException("VorbisDecoder::initDecoder: packet is not a header"); + } + + } + + /* extract the comments*/ + for (uint8 i(0); i<vorbisComment.comments; ++i) { + /* We have to extract the tags by ourself - there is no interface :-(*/ + std::string commentStr(vorbisComment.user_commentsi, + vorbisComment.comment_lengthsi); + + std::size_t commentSeparatorPos; + if ((commentSeparatorPos = commentStr.find_first_of("=")) + != std::string::npos) { + OggComment comment; + comment.tag = commentStr.substr(0, commentSeparatorPos); + comment.value = commentStr.substr(commentSeparatorPos+1, + std::string::npos); + oggComments.push_back(comment); + } + + } + + /* finish initialization */ + vorbis_synthesis_init(&vorbisDspState,&vorbisInfo); + vorbis_block_init(&vorbisDspState,&vorbisBlock); + + VorbisStreamParameter& vorbisConfig = dynamic_cast<VorbisStreamParameter&>(*config.parameter.get()); + + vorbisConfig.samplerate = vorbisInfo.rate; + vorbisConfig.channels = vorbisInfo.channels; + vorbisConfig.datarate = vorbisInfo.bitrate_nominal; + vorbisConfig.datarateMin = vorbisInfo.bitrate_lower; + vorbisConfig.datarateMax = vorbisInfo.bitrate_upper; + vorbisConfig.datarateWin = vorbisInfo.bitrate_window; + + /* set the state machine */ + setConfigured(); + +} + +MediaOutputDecoder& VorbisDecoder::operator<<(OggPacket packet) +{ + if (!isConfigured()) { + throw OggException("VorbisDecoder::operator<<: stream not configured"); + } + + if (vorbis_synthesis(&vorbisBlock,packet->getUnderlayingOggPacketPtr())==0) + vorbis_synthesis_blockin(&vorbisDspState,&vorbisBlock); + + float** pcm; + int samples; + + while ((samples=vorbis_synthesis_pcmout(&vorbisDspState,&pcm))>0) { + AudioPacket apack(new AudioPacketInternal(pcm, samples, vorbisInfo.channels)); + packetList.push_back(apack); + vorbis_synthesis_read(&vorbisDspState,samples); + } + + + /* has there not been a packet in the queue before */ + if (!packetList.empty()) { + /* set the internal state */ + setAvailable(); + } + + /* count the audio packets, to have a glimps of the actual position */ + packetCount++; + + return(*this); +} + +VorbisDecoder& VorbisDecoder::operator>>(AudioPacket& audioPacket) +{ + if (!isAvailable()) + throw OggException("VorbisDecoder::operator>>: No audio packets available"); + + audioPacket = packetList.front(); + packetList.pop_front(); + + sampleCounter += audioPacket->getLength(); + +// logger.debug() << " Sample counter: "<<sampleCounter; + if (packetList.empty()) + setEmpty(); + + return(*this); +} + +vorbis_comment& VorbisDecoder::getComment() +{ + return (vorbisComment); +} + +double VorbisDecoder::getTimeOfNextPacket() +{ + return (sampleCounter/vorbisInfo.rate); +} + +vorbis_info& VorbisDecoder::getInfo() +{ + return(vorbisInfo); +} + +std::string VorbisDecoder::configuration() const +{ + std::stringstream stream; + + stream << "Vorbis Decoder Configuration:" << std::endl; + stream << std::endl; + stream << "Vorbis Version : " << vorbisInfo.version << std::endl; + stream << std::endl; + stream << "Channel Number : " << vorbisInfo.channels << std::endl; + stream << "Sample rate : " << vorbisInfo.rate << std::endl; + stream << std::endl; + stream << "Bitrate (nominal): " << vorbisInfo.bitrate_nominal << std::endl; + if ( vorbisInfo.bitrate_lower > 0 ) + stream << "Bitrate (lower) : " << vorbisInfo.bitrate_lower << std::endl; + if ( vorbisInfo.bitrate_upper > 0 ) + stream << "Bitrate (upper) : " << vorbisInfo.bitrate_upper << std::endl; + //stream << "Bitrate (window) : " << vorbisInfo.bitrate_window << std::endl; + stream << std::endl; + + if (vorbisComment.comments) { + stream << "Comments:\n"; + for (int i=0; i<vorbisComment.comments; ++i) + stream << vorbisComment.user_commentsi << std::endl; + + stream << std::endl; + } + + return(stream.str()); +} + + +#endif // WITH_LIBVORBIS
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/vorbisDecoder.h
Added
@@ -0,0 +1,64 @@ +#ifndef vorbisDecoder_h +#define vorbisDecoder_h + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef HAVE_LIBVORBIS + +#include <list> +#include <vector> +#include <vorbis/codec.h> +#include "definition.h" + +#include "mediaOutputDecoder.h" +#include "audioPacket.h" + +class VorbisDecoder : public MediaOutputDecoder { + +protected: + + vorbis_info vorbisInfo; + vorbis_dsp_state vorbisDspState; + vorbis_block vorbisBlock; + vorbis_comment vorbisComment; + + std::list<AudioPacket> packetList; + + uint8 initCount; + uint32 packetCount; + + uint64 sampleCounter; + +public: + + VorbisDecoder(uint8 streamID = 0); + virtual ~VorbisDecoder(); + + virtual void initDecoder(StreamConfig& config, std::vector<OggComment>& oggComments); + +// virtual std::string getInfoString(); + + vorbis_info& getInfo(); + vorbis_comment& getComment(); + + virtual MediaOutputDecoder& operator<<(OggPacket packet); + VorbisDecoder& operator>>(AudioPacket& audioPacket); + + virtual void clear(); + + virtual double getTimeOfNextPacket(); + virtual uint32 getPositionOfNextPacket() { + return packetCount; + } + + virtual std::string configuration() const; + + +}; + +#endif // WITH_LIBVORBIS + +#endif +
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/vorbisEncoder.cpp
Added
@@ -0,0 +1,259 @@ +#include "vorbisEncoder.h" + +#ifdef HAVE_LIBVORBIS + +#include "vorbisExtractor.h" +#include <cstdlib> +#include <cstring> +#include <iostream> +#include <sstream> + +#include "exception.h" +#include "log.h" + +VorbisEncoder::VorbisEncoder(uint8 _streamNo) : + MediaInputEncoder(_streamNo), pktCnt(0) +{ +} + +VorbisEncoder::~VorbisEncoder() +{ + + if (isConfigured()) { + vorbis_block_clear(&vorbisBlock); + vorbis_dsp_clear(&vorbisState); + vorbis_info_clear(&vorbisInfo); + } + +} + +vorbis_info& VorbisEncoder::getInfo() +{ + return(vorbisInfo); +} + +void VorbisEncoder::configureEncoder(StreamConfig& streamConfig, std::vector<OggComment>& oggComments) +{ + if (isConfigured()) + throw OggException("VorbisEncoder::setConfig: can't configure encoder twice"); + + vorbis_info_init(&vorbisInfo); + + VorbisStreamParameter& config = dynamic_cast<VorbisStreamParameter&>(*streamConfig.parameter.get()); + + /* int32 ret = vorbis_encode_init(&vorbisInfo, config.channels, + config.samplerate, config.datarate, config.datarate, config.datarate); + */ + int32 ret = vorbis_encode_init(&vorbisInfo, config.channels, + config.samplerate, -1, config.datarate, -1); + + /* do not continue if setup failed; this can happen if we ask for a + mode that libVorbis does not support (eg, too low a bitrate, etc, + will return 'OV_EIMPL') */ + + if (ret) + throw OggException("VorbisEncoder::configureEncoder: can not configure encoder, wrong parameters"); + + /* add a comment */ + vorbis_comment_init(&vorbisComment); + vorbis_comment_add_tag(&vorbisComment, "ENCODER", PACKAGE_STRING); + + /* add other comments */ + for (uint32 i(0); i<oggComments.size(); ++i) + vorbis_comment_add_tag(&vorbisComment, + (char*) oggCommentsi.tag.c_str(), + (char*) oggCommentsi.value.c_str()); + + /* set up the analysis state and auxiliary encoding storage */ + vorbis_analysis_init(&vorbisState, &vorbisInfo); + vorbis_block_init(&vorbisState, &vorbisBlock); + + OggPacket header = std::make_shared<OggPacketInternal>(); + OggPacket header_comm = std::make_shared<OggPacketInternal>(); + OggPacket header_code = std::make_shared<OggPacketInternal>(); + + vorbis_analysis_headerout(&vorbisState, &vorbisComment, + header->getUnderlayingOggPacketPtr(), + header_comm->getUnderlayingOggPacketPtr(), + header_code->getUnderlayingOggPacketPtr() ); + + header->setStreamType(OggType::vorbis); + header->setStreamNo(streamNo); + header->setStreamHeader(); + +#ifdef DEBUG + logger.debug() << "Vorbis Packet Number: "<< header.packetno << "reset to 0" << std::endl; +#endif + header->setPacketno(0); + + streamConfig.headerList.push_back(header); + + header_comm->setStreamType(OggType::vorbis); + header_comm->setStreamNo(streamNo); + header_comm->setStreamHeader(); + +#ifdef DEBUG + logger.debug() << "Vorbis Packet Number: "<< header_comm.packetno << "reset to 0" << std::endl; +#endif + header_comm->setPacketno(0); + + streamConfig.headerList.push_back(header_comm); + + header_code->setStreamType(OggType::vorbis); + header_code->setStreamNo(streamNo); + header_code->setStreamHeader(); + +#ifdef DEBUG + logger.debug() << "Vorbis Packet Number: "<< header_code.packetno << "reset to 0" << std::endl; +#endif + header_code->setPacketno(0); + + streamConfig.headerList.push_back(header_code); + + VorbisExtractor extractor; + extractor.extract(streamConfig.headerList0, streamConfig); + + streamConfig.numOfHeaderPackets = streamConfig.headerList.size(); +// streamConfig.parameter = new VorbisStreamParameter(config); + streamConfig.type = OggType::vorbis; + streamConfig.streamNo = streamNo; + streamConfig.serialNo = rand(); + + vorbis_comment_clear(&vorbisComment); + + setConfigured(); + + // reset packet Counter, in case, the stream reconfigured + pktCnt = 0; + +} + +MediaInputEncoder& VorbisEncoder::operator<<(AudioPacket& aPacket) +{ + float **buffer=vorbis_analysis_buffer(&vorbisState, aPacket->getLength()); + + /* there is no chance to give the data directly to the encoder + * so we need to copy :-( */ + for (uint8 i(0); i<vorbisInfo.channels; ++i) { + memcpy(bufferi, aPacket->getDataOfChannel(i), aPacket->getLength()*sizeof(float)); + } + + /* tell the library how much we actually submitted */ + if (vorbis_analysis_wrote(&vorbisState, aPacket->getLength()) < 0) + throw OggException("VorbisEncoder::operator <<: Invalid value"); + + /* vorbis does some data preanalysis, then divvies up blocks for + more involved (potentially parallel) processing. Get a single + block for encoding now */ + while ((vorbis_analysis_blockout(&vorbisState, &vorbisBlock))==1) { + + //OggPacket packet = std::make_shared<OggPacketInternal>(); + ogg_packet tmpPkt; + /* analysis, assume we want to use bitrate management */ + vorbis_analysis(&vorbisBlock,0); + vorbis_bitrate_addblock(&vorbisBlock); + + while (vorbis_bitrate_flushpacket(&vorbisState, &tmpPkt/*packet->getUnderlayingOggPacketPtr()*/)) { +// logger.debug() << "Position: "<<packet.granulepos<<std::endl; + + // ost::slog(ost::Slog::levelDebug) << "TheoraEncoder:: inserting header/n"; + OggPacket packet = std::make_shared<OggPacketInternal>(tmpPkt); + packet->setStreamType(OggType::vorbis); + packet->setStreamNo(streamNo); +#ifdef DEBUG + logger.debug() << "Vorbis Packet Number: "<< packet->getPacketno() << std::endl; +#endif + packet->setPacketno(pktCnt++); + packetList.push_back(packet); + } + } + + if (!packetList.empty()) + setAvailable(); + + return(*this); +} + +MediaInputEncoder& VorbisEncoder::operator >>(OggPacket& packet) +{ + if (packetList.empty()) + throw OggException("VorbisEncoder::operator>> PacketList is m_empty"); + + packet = packetList.front(); + packetList.pop_front(); + + if (packetList.empty()) + setEmpty(); + + return(*this); +} + +void VorbisEncoder::flush() +{ + /* tell the library how much we actually submitted */ + if (vorbis_analysis_wrote(&vorbisState, 0) < 0) + throw OggException("VorbisEncoder::flush: can not flush"); + + /* vorbis does some data preanalysis, then divvies up blocks for + more involved (potentially parallel) processing. Get a single + block for encoding now */ + while ((vorbis_analysis_blockout(&vorbisState, &vorbisBlock))==1) { + + /* analysis, assume we want to use bitrate management */ + vorbis_analysis(&vorbisBlock,0); + vorbis_bitrate_addblock(&vorbisBlock); + + bool do_flush(true); + + while ( do_flush ) { +// logger.debug() << "Flush: "<<packet.granulepos<<std::endl; + ogg_packet tmpPkt; + do_flush = vorbis_bitrate_flushpacket(&vorbisState, &tmpPkt) == 1; + + // ost::slog(ost::Slog::levelDebug) << "TheoraEncoder:: inserting header/n"; + OggPacket packet = std::make_shared<OggPacketInternal>(tmpPkt); + + packet->setStreamType(OggType::vorbis); + packet->setStreamNo(streamNo); + packet->setPacketno(pktCnt++); + + packetList.push_back(packet); + } + } + + if (!packetList.empty()) + setAvailable(); + +} + +std::string VorbisEncoder::configuration() const +{ + std::stringstream stream; + + stream << "Vorbis Encoder Configuration:" << std::endl; + stream << "Stream No: "<<(int)streamNo<<std::endl; + stream << std::endl; + stream << "Vorbis Version : " << vorbisInfo.version << std::endl; + stream << std::endl; + stream << "Channel Number : " << vorbisInfo.channels << std::endl; + stream << "Sample rate : " << vorbisInfo.rate << std::endl; + stream << std::endl; + stream << "Bitrate (nominal): " << vorbisInfo.bitrate_nominal << std::endl; + if ( vorbisInfo.bitrate_lower > 0 ) + stream << "Bitrate (lower) : " << vorbisInfo.bitrate_lower << std::endl; + if ( vorbisInfo.bitrate_upper > 0 ) + stream << "Bitrate (upper) : " << vorbisInfo.bitrate_upper << std::endl; +// stream << "Bitrate (window) : " << vorbisInfo.bitrate_window << std::endl; + stream << std::endl; + + if (vorbisComment.comments) { + stream << "Comments:\n"; + for (int i=0; i<vorbisComment.comments; ++i) + stream << vorbisComment.user_commentsi << std::endl; + + stream << std::endl; + } + return(stream.str()); +} + +#endif
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/vorbisEncoder.h
Added
@@ -0,0 +1,54 @@ +#ifndef VORBISENCODER_H_ +#define VORBISENCODER_H_ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef HAVE_LIBVORBIS + +#include <list> +#include <vector> +#include <vorbis/codec.h> +#include <vorbis/vorbisenc.h> + +#include "mediaInputEncoder.h" +#include "oggPacket.h" +#include "audioPacket.h" +#include "oggComment.h" +#include "vorbisStreamParameter.h" +#include "streamConfig.h" + +class VorbisEncoder : public MediaInputEncoder { +protected: + + vorbis_info vorbisInfo; + vorbis_comment vorbisComment; + vorbis_dsp_state vorbisState; + vorbis_block vorbisBlock; + +// OggPacket packet; + + std::list<OggPacket> packetList; + + uint64 pktCnt; + +public: + VorbisEncoder(uint8 streamNo); + virtual ~VorbisEncoder(); + + virtual MediaInputEncoder& operator>>(OggPacket& packet); + MediaInputEncoder& operator<<(AudioPacket& aPacket); + + virtual void configureEncoder(StreamConfig& streamConf, std::vector<OggComment>& oggComments); + void flush(); + + vorbis_info& getInfo(); + + virtual std::string configuration() const; + +}; + +#endif /* HAVE_LIBVORBIS */ +#endif /* VORBISENCODER_H_*/ +
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/vorbisExtractor.cpp
Added
@@ -0,0 +1,83 @@ +#include <iostream> +#include <cstring> + +#include "vorbisExtractor.h" +#include "vorbisStreamParameter.h" +#include "oggHeader.h" +#include "vorbisHeader.h" +#include "log.h" + +VorbisExtractor::VorbisExtractor() +{ +} + +VorbisExtractor::~VorbisExtractor() +{ +} + +bool VorbisExtractor::_extract(uint8* data, ExtractorInformation& info) +{ + + StreamType* streaminfo = (StreamType*) (data); + VorbisHeader* vorbisHeader = (VorbisHeader*) (data + sizeof(StreamType)); + + /* if this is not a vorbis header, return with an error */ + if ((streaminfo->headerType != 0x01) || + (strncmp(streaminfo->typeName, "vorbis", 6) != 0)) { + logger.error() << "VorbisExtractor::_extract: This page is not a vorbis bos\n"; + return(false); + } + + // first extract the parameters + std::shared_ptr<VorbisStreamParameter> param = std::make_shared<VorbisStreamParameter>(); + + param->channels = vorbisHeader->audioChannels; + param->samplerate = vorbisHeader->sampleRate; + param->datarate = vorbisHeader->bitrateNom; + param->datarateMin = vorbisHeader->bitrateMin; + param->datarateMax = vorbisHeader->bitrateMax; + + param->block0 = 1<<vorbisHeader->blocksize0; + param->block1 = 1<<vorbisHeader->blocksize1; + + info.parameter = param; + + /* set the ogg type and the number of header packets */ + info.type = OggType::vorbis; + info.numOfHeaderPackets = 3; // the first three packets are headers + + return(true); +} + +bool VorbisExtractor::extract(OggPage& oggPage, ExtractorInformation& information) +{ + /* if this is not a Begin Of Stream page, return immediately */ + if (!oggPage->isBOS()) { + logger.error() << "VorbisPosInterpreter::extract: This page is not a BOS (Begin Of Stream) page\n"; + return(false); + } + + uint8_t* dataPtr = &(oggPage->data())0; + /* get the information starting points within the raw data */ + OggHeader* oggHeader = (OggHeader*) dataPtr; + uint8* data = dataPtr + sizeof(OggHeader) + oggHeader->tableSegments; + + if (!_extract(data, information)) + return(false); + + information.serialNo = oggHeader->serial; + + return(true); +} + +bool VorbisExtractor::extract(OggPacket& packet, ExtractorInformation& information) +{ + /// if this is not a Begin Of Stream page, return immediately + if (!packet->isBOS()) { + logger.error() << "VorbisPosInterpreter::extract: This page is not a BOS (Begin Of Stream) page\n"; + return(false); + } + + return _extract(packet->data(), information); + +}
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/vorbisExtractor.h
Changed
(renamed from src/vorbisExtractor.h)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/vorbisHeader.h
Changed
(renamed from src/vorbisHeader.h)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/vorbisPosInterpreter.cpp
Added
@@ -0,0 +1,194 @@ +#include "vorbisPosInterpreter.h" + +#include <iostream> +#include <typeinfo> + +#include "vorbisStreamParameter.h" +#include "log.h" + +struct VorbisPackHeader { + char dataType:1; + char block:1; + char blsht:6; +}; + +VorbisPosInterpreter::VorbisPosInterpreter() + : samplerate(0), blocksize0(0), blocksize1(0), lastBlock(none) +{ +} + +VorbisPosInterpreter::~VorbisPosInterpreter() +{ +} + +void VorbisPosInterpreter::initialize(StreamParameter* _param) +{ + VorbisStreamParameter* param = dynamic_cast<VorbisStreamParameter*>(_param); + + if (!param) { + logger.error() << "VorbisPosInterpreter::initialize: parameter not set correctly\n"; + return; + } + + samplerate = param->samplerate; + blocksize0 = param->block0; + blocksize1 = param->block1; + + initialized = true; + + return; +} + +/* +void VorbisPosInterpreter::initialize(OggPage oggPage) +{ + + OggHeader* oggHeader = (OggHeader*) (oggPage.data()); + StreamType* streamInformation = (StreamType*) (oggPage.data() + sizeof(OggHeader) + oggHeader->tableSegments); + VorbisHeader* vorbisHeader = (VorbisHeader*) (oggPage.data() + sizeof(OggHeader) + + oggHeader->tableSegments + sizeof(StreamType)); + + if ((streamInformation->headerType != 0x01) || + (strncmp(streamInformation->typeName, "vorbis", 6) != 0)) { + logger.error() << "VorbisPosInterpreter::initialize: this page is not a vorbis bos\n"; + return; + } + + samplerate = vorbisHeader->sampleRate; + channels = vorbisHeader->audioChannels; + + blocksize0 = 1<<vorbisHeader->blocksize0; + blocksize1 = 1<<vorbisHeader->blocksize1; + +} + +void VorbisPosInterpreter::initialize(OggPacket m_oggPacket) +{ + if (m_oggPacket.length() < (sizeof(StreamType) + sizeof(VorbisHeader))) { + logger.error() << "VorbisPosInterpreter::initialize: Error: page is to small - cannot parse header\n"; + return; + } + + StreamType* streamInformation = (StreamType*) (m_oggPacket.data()); + VorbisHeader* vorbisHeader = (VorbisHeader*) (m_oggPacket.data() + sizeof(StreamType)); + + if ((streamInformation->headerType != 0x01) || + (strncmp(streamInformation->typeName, "vorbis", 6) != 0)) { + logger.error() << "VorbisPosInterpreter::initialize: this page is not a vorbis bos\n"; + return; + } + + + samplerate = vorbisHeader->sampleRate; + channels = vorbisHeader->audioChannels; + + blocksize0 = 1<<vorbisHeader->blocksize0; + blocksize1 = 1<<vorbisHeader->blocksize1; + +} +*/ + +double VorbisPosInterpreter::getTime(int64 granulePos) +{ + double time = (granulePos*1.0)/(samplerate*1.0); + + return(time); +} + +void VorbisPosInterpreter::addBlock0() +{ + switch (lastBlock) { + case block0: + actualGranulePosition += blocksize0/2; + break; + case block1: + actualGranulePosition += (blocksize1/4 + blocksize0/4); + break; + default: + /* nothing to be done */ + break; + } + + lastBlock = block0; +} + +void VorbisPosInterpreter::addBlock1() +{ + switch (lastBlock) { + case block0: + actualGranulePosition += (blocksize1/4 + blocksize0/4); + break; + case block1: + actualGranulePosition += blocksize1/2; + break; + default: + /* nothing to be done */ + break; + } + + lastBlock = block1; +} + +GranulePosInterpreter& VorbisPosInterpreter::operator+=(GranulePosInterpreter& _otherPosition) +{ + if (typeid(_otherPosition) != typeid(*this)) { + logger.error() << "GranulePosInterpreter::operator+=: type is not matching\n"; + return(*this); + } + + VorbisPosInterpreter* otherPosition = static_cast<VorbisPosInterpreter*>(&_otherPosition); + + if (samplerate != otherPosition->samplerate) { + logger.error() << "VorbisPosInterpreter::operator+=: granulePositions does not match in samplerate or channel numbers\n"; + return(*this); + } + + if ((blocksize0 != otherPosition->blocksize0) || (blocksize1 != otherPosition->blocksize1)) { + logger.error() << "VorbisPosInterpreter::operator+=: granulePositions does not match in the blocksizes\n"; + return(*this); + } + + actualGranulePosition += otherPosition->actualGranulePosition; + + return(*this); +} + +GranulePosInterpreter& VorbisPosInterpreter::operator-=(GranulePosInterpreter& _otherPosition) +{ + if (typeid(_otherPosition) != typeid(*this)) { + logger.error() << "GranulePosInterpreter::operator+=: type is not matching\n"; + return(*this); + } + + VorbisPosInterpreter* otherPosition = static_cast<VorbisPosInterpreter*>(&_otherPosition); + + if (samplerate != otherPosition->samplerate) { + logger.error() << "VorbisPosInterpreter::operator+=: granulePositions does not match in samplerate or channel numbers\n"; + return(*this); + } + + if ((blocksize0 != otherPosition->blocksize0) || (blocksize1 != otherPosition->blocksize1)) { + logger.error() << "VorbisPosInterpreter::operator+=: granulePositions does not match in the blocksizes\n"; + return(*this); + } + + actualGranulePosition -= otherPosition->actualGranulePosition; + + return(*this); +} + +void VorbisPosInterpreter::setStreamPosition(OggPacket& packet) +{ +// packet.setGranulepos(getPosition()); + + VorbisPackHeader* packHead = (VorbisPackHeader*)(packet->data()); + + if (packHead->block) + addBlock1(); + else + addBlock0(); + +// logger.debug() << "Granule Position: "<<packet.granulepos(); + packet->setGranulepos(getPosition()); +// logger.debug() << "-> "<<packet.granulepos()<<std::endl; + +}
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/vorbisPosInterpreter.h
Changed
(renamed from src/vorbisPosInterpreter.h)
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/vorbisStreamParameter.cpp
Added
@@ -0,0 +1,98 @@ +#include <iostream> +#include <sstream> + +#include "vorbisStreamParameter.h" +#include "log.h" + +VorbisStreamParameter::VorbisStreamParameter() +{ +} + +VorbisStreamParameter::~VorbisStreamParameter() +{ +} + +bool VorbisStreamParameter::operator==(const StreamParameter& _param) +{ + StreamParameter* _param_unconst = const_cast<StreamParameter*>(&_param); + VorbisStreamParameter* param = dynamic_cast<VorbisStreamParameter*>(_param_unconst); + + bool retValue(true); + + if (!param) + return(false); + + if (channels != param->channels) { + logger.error() << "vorbis parameter compare: number of channels not matching " + << channels << " != " << param->channels + << std::endl; + retValue = false; + } + + if (samplerate != param->samplerate) { + logger.error() << "vorbis parameter compare: sample rate not matching " + << samplerate << " != " << param->samplerate + << std::endl; + retValue = false; + } + + if (datarate != param->datarate) { + logger.error() << "vorbis parameter compare: data rate not matching " + << datarate << " != " << param->datarate << std::endl; +// << "This is not a blocker if all other parameters match" <<std::endl; + retValue = false; + } + + if (block0 != param->block0) { + logger.error() << "vorbis parameter compare: size of block0 does not match " + << block0 << " != " << param->block0 << std::endl + << "You may try to reencode with the datarate of the other file" + << std::endl; + retValue = false; + } + + if (block1 != param->block1) { + logger.error() << "vorbis parameter compare: size of block0 does not match " + << block1 << " != " << param->block1 << std::endl + << "You may try to reencode with the datarate of the other file" + << std::endl; + retValue = false; + } + + if (retValue == false) { + logger.error() << "\nPlease try to resample with the following command\n" + << "oggResize"; + if (channels != param->channels) + logger.error() << " -N "<<channels; + if (samplerate != param->samplerate) + logger.error() << " -F "<<samplerate; + if (datarate != param->datarate) + logger.error() << " -D "<<datarate; + logger.error() <<" <file see below>\n\n"; + } + + return(retValue); +} + +std::string VorbisStreamParameter::toString() +{ + std::stringstream stream; + stream << "Vorbis Stream:\n" << "\twith " << channels << " channel(s)\n" + << "\tand " << samplerate << " kHz sample rate\n" << "\tand " + << datarate << " data rate\n\n"; + +// logger.debug() << "block0: "<<block0<<"\nblock1: "<<block1<<"\n\n"; + return (stream.str()); +} + +StreamParameter* VorbisStreamParameter::clone() +{ + // create a clone object + VorbisStreamParameter* streamParameter = new VorbisStreamParameter(); + + // copy the original data to the clone + (*streamParameter) = (*this); + + // return the clone + return (streamParameter); +}
View file
oggvideotools-0.9.1.tar.bz2/src/ovt_vorbis/vorbisStreamParameter.h
Added
@@ -0,0 +1,31 @@ +#ifndef VORBISSTREAMPARAMETER_H_ +#define VORBISSTREAMPARAMETER_H_ + +#include "definition.h" +#include "streamParameter.h" + +class VorbisStreamParameter : public StreamParameter { +public: + + uint32 channels; + uint32 samplerate; + uint32 datarate; + uint32 datarateMax; + uint32 datarateMin; + uint32 datarateWin; + + uint32 block0; + uint32 block1; + + VorbisStreamParameter(); + virtual ~VorbisStreamParameter(); + + virtual bool operator==(const StreamParameter& param); + + virtual std::string toString(); + + virtual StreamParameter* clone(); + +}; + +#endif /*VORBISSTREAMPARAMETER_H_*/
View file
oggvideotools-0.8.tar.bz2/src/theoraVideoPacket.cpp -> oggvideotools-0.9.1.tar.bz2/src/theoraVideoPacket.cpp
Changed
@@ -27,7 +27,7 @@ {} TheoraVideoPacket::TheoraVideoPacket(TheoraVideoPacket& packet) - : RefObject<VideoData>(packet) + : RefObject<VideoData>(packet) {} TheoraVideoPacket::~TheoraVideoPacket()
View file
oggvideotools-0.9.1.tar.bz2/src/wishList.h
Added
@@ -0,0 +1,53 @@ +#ifndef WISHLIST_H +#define WISHLIST_H + +struct WishList { + + uint32 width; + uint32 height; + uint32 offsetX; + uint32 offsetY; + + bool changeSize; + + uint32 framerateNum; + uint32 framerateDenom; + bool changeFramerate; + + uint32 videoDatarate; + bool changeVideoDatarate; + + uint32 videoQuality; + bool changeVideoQuality; + + uint32 audioDatarate; + bool changeAudioDatarate; + + uint32 audioSamplerate; + bool changeAudioSamplerate; + + uint32 audioChannels; + bool changeAudioChannels; + + bool stretch; + bool withBlend; + bool ignoreVorbis; + + uint32 preview; + uint32 pictureCounter; + uint8 quality; + + WishList() : + width(0), height(0), changeSize(false), framerateNum(1), + framerateDenom(1), changeFramerate(false), videoDatarate(0), + changeVideoDatarate(false), videoQuality(0), + changeVideoQuality(false), audioDatarate(0), + changeAudioDatarate(false), audioSamplerate(0), + changeAudioSamplerate(false), audioChannels(2), + changeAudioChannels(false), stretch(false), withBlend(false), + ignoreVorbis(false), preview(1), pictureCounter(0), quality(2) { + } + +}; + +#endif
View file
oggvideotools-0.9.1.tar.bz2/testsuite
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/testsuite/testoggThumb.sh
Added
@@ -0,0 +1,4 @@ +#!/bin/sh +../build/src/binaries/oggThumb -t 0.4,0.7,1 -s200x0 -n ducks_%.png ../testvideos/ducks_take_off_444_720p25.ogg +../build/src/binaries/oggThumb -t 0.4,0.7,1 -s0x200 -n aspect_%.png ../testvideos/pixel_aspect_ratio.ogg +../build/src/binaries/oggThumb -t 0.4,0.7,1,200 -n stockholm_%.png ../testvideos/stockholm-vfr.ogg
View file
oggvideotools-0.9.1.tar.bz2/testvideos
Added
+(directory)
View file
oggvideotools-0.9.1.tar.bz2/testvideos/getVideos.sh
Added
@@ -0,0 +1,14 @@ +#!/bin/sh +wget http://v2v.cc/~j/theora_testsuite/320x240.ogg +wget http://v2v.cc/~j/theora_testsuite/320x240.ogv +wget http://v2v.cc/~j/theora_testsuite/pixel_aspect_ratio.ogg +wget http://v2v.cc/~j/theora_testsuite/videotestsrc-720x576-16-15.ogg +wget http://v2v.cc/~j/theora_testsuite/322x242_not-divisible-by-sixteen-framesize.ogg +# wget http://v2v.cc/~j/theora_testsuite/chained_streams.ogg +wget http://v2v.cc/~j/theora_testsuite/mobile_itu601_i_422.ogg +wget http://v2v.cc/~j/theora_testsuite/ducks_take_off_444_720p25.ogg +wget http://v2v.cc/~j/theora_testsuite/stockholm-vfr.ogg +wget http://v2v.cc/~j/theora_testsuite/offset_test.ogv +wget http://v2v.cc/~j/theora_testsuite/sign_irene_cif-3qi-b.ogg +wget http://v2v.cc/~j/theora_testsuite/chroma_siting_test.ogv + \ No newline at end of file
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.