Last active
December 18, 2015 13:59
Revisions
-
qyot27 revised this gist
Jun 17, 2013 . 1 changed file with 13 additions and 24 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,16 @@ From b60d96ed08a71966f3e78fde7568c1eebf121e8d Mon Sep 17 00:00:00 2001 From: Stephen Hutchinson <qyot27@gmail.com> Date: Wed, 24 Apr 2013 10:04:56 -0400 Subject: [PATCH 1/3] Add AvxSynth plugin support. --- AvxSynth/GNUmakefile | 63 ++ AvxSynth/LICENSE | 49 ++ AvxSynth/README | 181 ++++++ AvxSynth/audio_output.cpp | 137 ++++ AvxSynth/audio_output.h | 35 ++ AvxSynth/avxplugin.h | 763 +++++++++++++++++++++++ AvxSynth/configure | 314 ++++++++++ AvxSynth/libavsmash_source.cpp | 538 ++++++++++++++++ AvxSynth/libavsmash_source.h | 117 ++++ AvxSynth/lsmashsource.cpp | 88 +++ @@ -24,7 +24,7 @@ Subject: [PATCH 1/3] Add AvxSynth plugin support. AvxSynth/windowsPorts/basicDataTypeConversions.h | 85 +++ AvxSynth/windowsPorts/excptLinux.h | 21 + AvxSynth/windowsPorts/windows2linux.h | 77 +++ 20 files changed, 3760 insertions(+) create mode 100644 AvxSynth/GNUmakefile create mode 100644 AvxSynth/LICENSE create mode 100644 AvxSynth/README @@ -48,10 +48,10 @@ Subject: [PATCH 1/3] Add AvxSynth plugin support. diff --git a/AvxSynth/GNUmakefile b/AvxSynth/GNUmakefile new file mode 100644 index 0000000..1c71099 --- /dev/null +++ b/AvxSynth/GNUmakefile @@ -0,0 +1,63 @@ +#---------------------------------------------------------------------------------------------- +# Makefile for AvxSynth plugins +#---------------------------------------------------------------------------------------------- @@ -66,8 +66,9 @@ index 0000000..b50df44 + lwlibav_source.o + +OBJ_SOURCE_C = ../common/utils.o ../common/libavsmash.o ../common/libavsmash_video.o \ + ../common/libavsmash_audio.o ../common/lwlibav_dec.o \ + ../common/lwlibav_video.o ../common/resample.o ../common/lwlibav_audio.o \ + ../common/lwindex.o ../common/video_output.o ../common/audio_output.o + +SRC_ALL = $(SRC_SOURCE) + @@ -80,14 +81,14 @@ index 0000000..b50df44 +all: $(SONAME) + +$(SONAME): $(OBJ_SOURCE_CXX) $(OBJ_SOURCE_C) + $(LD) $(SOFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + -@ $(if $(STRIP), $(STRIP) -x $@) + +%.o: %.cpp %.c .depend + $(CC) -c $(CFLAGS) -o $@ $< + +install: all + install -d $(DESTDIR)$(libdir) + install -m 755 $(SONAME) $(DESTDIR)$(libdir)/$(SONAME) + $(if $(SONAME), ln -f -s $(DESTDIR)$(libdir)/$(SONAME) $(DESTDIR)$(libdir)/avxsynth/$(SONAME_LN)) + @@ -1312,10 +1313,10 @@ index 0000000..fd32d5f +#endif //__AVXPLUGIN_H__ diff --git a/AvxSynth/configure b/AvxSynth/configure new file mode 100755 index 0000000..570438d --- /dev/null +++ b/AvxSynth/configure @@ -0,0 +1,314 @@ +#!/bin/bash + +#---------------------------------------------------------------------------------------------- @@ -1333,9 +1334,7 @@ index 0000000..fb26c87 + PREFIX [/usr/local] + --exec-prefix=EPREFIX install architecture-dependent files into + EPREFIX [PREFIX] + --libdir=DIR install libs in DIR [EPREFIX/lib] + + --extra-cppflags=XCPPFLAGS add XCPPFLAGS to CPPFLAGS + --extra-cflags=XCFLAGS add XCFLAGS to CFLAGS @@ -1410,9 +1409,7 @@ index 0000000..fb26c87 + +prefix="" +exec_prefix="" +libdir="" +DESTDIR="" + +CPPFLAGS="-D__STDC_CONSTANT_MACROS -D_FILE_OFFSET_BITS=64" @@ -1437,9 +1434,6 @@ index 0000000..fb26c87 + --libdir=*) + libdir="$optarg" + ;; + --destdir=*) + DESTDIR="$optarg" + ;; @@ -1476,9 +1470,7 @@ index 0000000..fb26c87 + +test -n "$prefix" || prefix="/usr/local" +test -n "$exec_prefix" || exec_prefix='${prefix}' +test -n "$libdir" || libdir='${exec_prefix}/lib' + +BASENAME="libavxlsmashsource" + @@ -1508,7 +1500,6 @@ index 0000000..fb26c87 + CFLAGS="$CFLAGS -I$prefix/include" + LDFLAGS="$LDFLAGS -L$prefix/lib" +fi +test -n "$libdir" && LDFLAGS="$LDFLAGS -L$libdir" + +CPPFLAGS="$CPPFLAGS $XCPPFLAGS" @@ -1598,9 +1589,7 @@ index 0000000..fb26c87 +DESTDIR = $DESTDIR +prefix = $prefix +exec_prefix = $exec_prefix +libdir = $libdir +SRC_SOURCE = $SRC_SOURCE +BASENAME=$BASENAME +SONAME=$SONAME -
qyot27 created this gist
Jun 17, 2013 .There are no files selected for viewing