Changeset 3035
- Timestamp:
- Oct 19, 2008, 3:13:59 PM (15 years ago)
- Location:
- libpipi/trunk
- Files:
-
- 4 added
- 6 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/NOTES
r2724 r3035 1 Nothing really exciting in this document, just a few notes about cool2 stuff already in the library and the accompanying examples.3 1 4 Having fun with pipi 5 ==================== 2 printf("%i,%i[%i] %g -> %i + %g\n", x, y, i, p, (int)d, e); 6 3 7 Convert a picture to black and white using the best available algorithm: 8 $ pipi source.png --dither dbs -o image.png 4 ---- 5 perfs for pipi random:256x256 --wrap --median X: 9 6 10 Generate a brushed metal, tileable pattern: 11 $ pipi pipi:random512x512 --wrap --blur 15x0r15 -o image.png 7 X = 1 X = 2 X = 3 X = 4 X = 5 X = 6 8 0.133 0.458 1.288 3.066 6.370 11.931 9 0.127 0.435 1.289 3.062 6.355 11.944 10 0.128 0.445 1.282 3.053 6.354 11.916 11 0.120 0.432 1.264 3.089 6.362 11.938 12 0.120 0.436 1.292 3.048 6.366 11.911 12 13 14 after switching to qsort: 15 X = 1 X = 2 X = 3 X = 4 X = 5 X = 6 X = 7 X = 8 16 0.257 0.733 1.519 2.704 4.192 6.143 8.193 10.880 17 0.241 0.731 1.541 2.709 4.179 6.172 8.194 10.889 18 0.243 0.736 1.540 2.728 4.174 6.123 8.221 10.824 19 0.241 0.725 1.530 2.706 4.161 6.135 8.288 10.791 20 0.241 0.725 1.528 2.733 4.168 6.142 8.208 10.805 21 22 my qsort: 23 X = 1 X = 2 X = 3 X = 4 X = 5 X = 6 X = 7 X = 8 24 0.161 0.438 0.974 1.856 3.155 5.041 7.637 11.191 25 0.157 0.427 0.971 1.840 3.138 5.047 7.641 11.170 26 0.156 0.438 0.972 1.845 3.146 5.040 7.650 11.165 27 0.164 0.437 0.969 1.839 3.150 5.025 7.647 11.119 28 0.164 0.450 0.968 1.834 3.152 5.043 7.651 11.097 29 -
libpipi/trunk/ThePimp/.gitignore
r2893 r3035 4 4 pipi-sharp.dll 5 5 pipi-sharp.dll.* 6 pimp -
libpipi/trunk/ThePimp/Makefile.am
r2954 r3035 1 1 # $Id: $ 2 3 pkglibdir = $(libdir)/ThePimp 2 4 3 5 pimp_sources = \ … … 31 33 32 34 if USE_CSHARP 33 bin_SCRIPTS = ThePimp.exe 35 pkglib_DATA = ThePimp.exe 36 bin_SCRIPTS = pimp 34 37 endif 35 38 -
libpipi/trunk/configure.ac
r3016 r3035 177 177 # Build pipi-sharp? 178 178 AC_PATH_PROG(GMCS, gmcs, no) 179 AM_CONDITIONAL(USE_CSHARP, test "${GMCS}" != "no") 179 AC_PATH_PROG(GACUTIL, gacutil, no) 180 AM_CONDITIONAL(USE_CSHARP, test "${GMCS}" != "no" -a "${GACUTIL}" != "no") 180 181 181 182 # Build The Pimp? … … 203 204 pipi-sharp/pipi-sharp.dll.config 204 205 ]) 206 AC_CONFIG_FILES([ThePimp/pimp], [chmod +x ThePimp/pimp]) 205 207 206 208 AC_OUTPUT -
libpipi/trunk/pipi-sharp/AssemblyInfo.cs
r2914 r3035 37 37 38 38 [assembly: AssemblyDelaySign(false)] 39 [assembly: AssemblyKeyFile(" ")]39 [assembly: AssemblyKeyFile("pipi-sharp.snk")] -
libpipi/trunk/pipi-sharp/Makefile.am
r2912 r3035 1 1 # $Id: $ 2 2 3 pipidir = $(libdir)/pipi-sharp 3 # We need to install the .config file ourselves because of a gacutil 4 # bug (https://bugzilla.novell.com/show_bug.cgi?id=363341) 5 monodir = $(libdir)/mono/pipi-sharp-0.0 6 if USE_CSHARP 7 noinst_DATA = pipi-sharp.dll pipi-sharp.dll.config test.exe 8 endif 4 9 5 10 pipi_sources = \ … … 11 16 $(srcdir)/test.cs 12 17 13 if USE_CSHARP14 pipi_DATA = pipi-sharp.dll pipi-sharp.dll.config15 noinst_DATA = test.exe16 endif17 18 18 EXTRA_DIST = $(pipi_sources) $(test_sources) \ 19 pipi-sharp. pc.in pipi-sharp.dll.config.in19 pipi-sharp.snk pipi-sharp.pc.in pipi-sharp.dll.config.in 20 20 21 21 pipi-sharp.dll: $(pipi_sources) … … 26 26 -r:./pipi-sharp.dll 27 27 28 if USE_CSHARP 29 install-data-local: 30 MONO_SHARED_DIR=$$HOME $(GACUTIL) -i pipi-sharp.dll \ 31 -package pipi-sharp-0.0 -f -root $(DESTDIR)$(libdir) 32 $(mkinstalldirs) $(DESTDIR)$(monodir) 33 sed -e 's@target="[^"]*/@target="@' < pipi-sharp.dll.config > $(DESTDIR)$(monodir)/pipi-sharp.dll.config 34 35 uninstall-local: 36 MONO_SHARED_DIR=$$HOME $(GACUTIL) -u pipi-sharp.dll, Version=0.0 \ 37 -package pipi-sharp-0.0 || true 38 rm -f $(DESTDIR)$(monodir)/pipi-sharp.dll.config 39 rmdir $(DESTDIR)$(monodir) 2>/dev/null || true 40 endif 41 28 42 clean-local: 29 43 rm -f *.exe *.dll *.mdb
Note: See TracChangeset
for help on using the changeset viewer.