From a587a74821c155e281d2a6ce9a9a1d7b6a336fce Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 24 May 2008 23:14:15 +0000 Subject: Checked in latest from Tom Schouten's darcs repository, which was checked in 19-Feb-2008. Changes are mostly the email address and URLs, but two new objects are also added: pdp_array2grey and pdp_grey2array for converting between Pd arrays and greyscale images. svn path=/trunk/externals/pdp/; revision=9899 --- Makefile | 6 +- README | 5 +- README-12 | 2 +- TODO | 2 - bin/patchversion | 9 +++ bin/predist | 6 ++ bin/snapshot | 10 ++++ doc/introduction/input_output.pd | 2 +- doc/misc/devdoc.html | 2 +- doc/misc/old-overview.html | 107 ++++++++++++++++++++++++++++++++++ doc/misc/rawout.txt | 14 +++-- doc/reference.txt | 2 + include/pdp.h | 2 +- include/pdp_ascii.h | 2 +- include/pdp_base.h | 2 +- include/pdp_bitmap.h | 2 +- include/pdp_comm.h | 2 +- include/pdp_dpd_base.h | 2 +- include/pdp_dpd_command.h | 2 +- include/pdp_image.h | 2 +- include/pdp_imagebase.h | 2 +- include/pdp_imageproc.h | 2 +- include/pdp_internals.h | 2 +- include/pdp_list.h | 2 +- include/pdp_llconv.h | 2 +- include/pdp_matrix.h | 2 +- include/pdp_mem.h | 2 +- include/pdp_mmx.h | 2 +- include/pdp_net.h | 2 +- include/pdp_packet.h | 2 +- include/pdp_png.h | 2 +- include/pdp_post.h | 2 +- include/pdp_queue.h | 2 +- include/pdp_resample.h | 2 +- include/pdp_symbol.h | 2 +- include/pdp_type.h | 2 +- include/pdp_type.h_old | 2 +- include/pdp_types.h | 2 +- include/pdp_xvideo.h | 2 +- include/pdp_xwindow.h | 2 +- modules/generic/pdp_convert.c | 2 +- modules/generic/pdp_del.c | 2 +- modules/generic/pdp_description.c | 2 +- modules/generic/pdp_inspect.c | 2 +- modules/generic/pdp_loop.c | 2 +- modules/generic/pdp_metro.c | 2 +- modules/generic/pdp_rawin.c | 2 +- modules/generic/pdp_rawout.c | 2 +- modules/generic/pdp_reg.c | 2 +- modules/generic/pdp_route.c | 2 +- modules/generic/pdp_snap.c | 2 +- modules/generic/pdp_trigger.c | 2 +- modules/generic/pdp_udp_receive.c | 2 +- modules/generic/pdp_udp_send.c | 2 +- modules/image_basic/pdp_add.c | 2 +- modules/image_basic/pdp_bq.c | 2 +- modules/image_basic/pdp_cheby.c | 2 +- modules/image_basic/pdp_constant.c | 2 +- modules/image_basic/pdp_conv.c | 2 +- modules/image_basic/pdp_gain.c | 2 +- modules/image_basic/pdp_logic.c | 2 +- modules/image_basic/pdp_mix.c | 2 +- modules/image_basic/pdp_mul.c | 2 +- modules/image_basic/pdp_noise.c | 2 +- modules/image_basic/pdp_plasma.c | 2 +- modules/image_basic/pdp_randmix.c | 2 +- modules/image_basic/pdp_stateless.c | 2 +- modules/image_basic/pdp_zoom.c | 2 +- modules/image_io/pdp_glx.c | 2 +- modules/image_io/pdp_qt.c | 2 +- modules/image_io/pdp_sdl.c | 2 +- modules/image_io/pdp_v4l.c | 2 +- modules/image_io/pdp_xv.c | 2 +- modules/image_special/pdp_array.c | 100 ++++++++++++++++++++++--------- modules/image_special/pdp_chrot.c | 2 +- modules/image_special/pdp_cog.c | 2 +- modules/image_special/pdp_grey2mask.c | 2 +- modules/image_special/pdp_histo.c | 2 +- modules/image_special/pdp_scale.c | 2 +- modules/image_special/pdp_scan.c | 2 +- modules/image_special/pdp_scanxy.c | 2 +- modules/image_special/pdp_scope.c | 2 +- modules/matrix_basic/clusterstuff.c | 2 +- modules/matrix_basic/pdp_mat_lu.c | 2 +- modules/matrix_basic/pdp_mat_mul.c | 2 +- modules/matrix_basic/pdp_mat_vec.c | 2 +- modules/test/pdp_dpd_test.c | 2 +- opengl/include/pdp_3Dcontext.h | 2 +- opengl/include/pdp_mesh.h | 2 +- opengl/include/pdp_opengl.h | 2 +- opengl/include/pdp_texture.h | 2 +- opengl/modules/pdp_3d_color.c | 2 +- opengl/modules/pdp_3d_context.c | 2 +- opengl/modules/pdp_3d_dlist.c | 2 +- opengl/modules/pdp_3d_draw.c | 2 +- opengl/modules/pdp_3d_drawmesh.c | 2 +- opengl/modules/pdp_3d_for.c | 2 +- opengl/modules/pdp_3d_light.c | 2 +- opengl/modules/pdp_3d_push.c | 2 +- opengl/modules/pdp_3d_snap.c | 2 +- opengl/modules/pdp_3d_state.c | 2 +- opengl/modules/pdp_3d_subcontext.c | 2 +- opengl/modules/pdp_3d_view.c | 2 +- opengl/modules/pdp_3d_windowcontext.c | 2 +- opengl/system/pdp_3Dcontext_common.c | 2 +- opengl/system/pdp_3Dcontext_glx.c | 2 +- opengl/system/pdp_mesh.c | 2 +- opengl/system/pdp_opengl.c | 2 +- opengl/system/pdp_texture.c | 2 +- puredata/pdp_base.c | 2 +- puredata/pdp_comm.c | 2 +- puredata/pdp_compat.c | 2 +- puredata/pdp_control.c | 2 +- puredata/pdp_dpd_base.c | 2 +- puredata/pdp_imagebase.c | 2 +- puredata/pdp_queue.c | 2 +- puredata/pdp_ut.c | 2 +- scaf/README | 2 +- scaf/compiler/kernel.scaf | 2 +- scaf/compiler/optim.rules | 2 +- scaf/compiler/scafc.pl | 2 +- scaf/compiler/scafmacro.s | 2 +- scaf/include/pdp_ca.h | 2 +- scaf/pdp/pdp_ca.c | 2 +- scaf/pdp/pdp_ca_system.c | 2 +- scaf/pdp/scaf_feeder.s | 2 +- scaf/rules/carules.scaf | 2 +- system/X11/pdp_xvideo.c | 2 +- system/X11/pdp_xwindow.c | 2 +- system/image/pdp_imageproc_common.c | 2 +- system/image/pdp_imageproc_mmx.c | 2 +- system/image/pdp_imageproc_portable.c | 2 +- system/image/pdp_llconv.c | 2 +- system/image/pdp_llconv_mmx.c | 2 +- system/image/pdp_llconv_portable.c | 2 +- system/image/pdp_resample.c | 2 +- system/kernel/pdp_dpd_command.c | 2 +- system/kernel/pdp_list.c | 2 +- system/kernel/pdp_mem.c | 2 +- system/kernel/pdp_packet.c | 2 +- system/kernel/pdp_packet2.c | 2 +- system/kernel/pdp_post.c | 2 +- system/kernel/pdp_symbol.c | 2 +- system/kernel/pdp_type.c | 2 +- system/mmx/pixel_add_s16.s | 2 +- system/mmx/pixel_biquad_dirI_s16.s | 2 +- system/mmx/pixel_biquad_s16.s | 2 +- system/mmx/pixel_ca_s1.s | 2 +- system/mmx/pixel_cascade_s16.s | 2 +- system/mmx/pixel_cheby_s16.s | 2 +- system/mmx/pixel_conv_hor_s16.s | 2 +- system/mmx/pixel_conv_ver_s16.s | 2 +- system/mmx/pixel_crot_s16.s | 2 +- system/mmx/pixel_gain.s | 2 +- system/mmx/pixel_gain_s16.s | 2 +- system/mmx/pixel_mix_s16.s | 2 +- system/mmx/pixel_mul_s16.s | 2 +- system/mmx/pixel_pack_s16u8.s | 2 +- system/mmx/pixel_rand_s16.s | 2 +- system/mmx/pixel_randmix_s16.s | 2 +- system/mmx/pixel_s1.s | 2 +- system/mmx/pixel_unpack_u8s16.s | 2 +- system/pdp.c | 2 +- system/png/pdp_png.c | 2 +- system/type/pdp_bitmap.c | 2 +- system/type/pdp_image.c | 2 +- 166 files changed, 378 insertions(+), 195 deletions(-) create mode 100644 bin/patchversion create mode 100644 bin/predist create mode 100644 bin/snapshot create mode 100644 doc/misc/old-overview.html diff --git a/Makefile b/Makefile index ab9c7e6..ac01491 100644 --- a/Makefile +++ b/Makefile @@ -38,9 +38,11 @@ buildclean: make -C puredata clean make -C modules clean -clean: buildclean +backupclean: + rm -f *~ */*~ */*/*~ + +clean: buildclean backupclean rm -f pdp.pd_linux - rm -f *~ distroclean: buildclean make -C scaf clean diff --git a/README b/README index fef44df..986249c 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ PDP - Pure Data Packet v0.12.4 a packet processing library for pure data -Copyright (c) by Tom Schouten +Copyright (c) by Tom Schouten 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 @@ -152,8 +152,9 @@ now :) Some Remarks: * New versions of this package can be found at -http://zwizwa.goto10.org/pd/pdp +http://zwizwa.be/pd/pdp Experimental relases are in the subdirectory test/ +But best to track the darcs archive at http://zwizwa.be/darcs/pdp-12 * If you have libquicktime and quicktime4linux installed, this can give problems with the configure script. Consider removing diff --git a/README-12 b/README-12 index c44223a..46cd3e4 100644 --- a/README-12 +++ b/README-12 @@ -6,7 +6,7 @@ In order not to annoy people using the old PDP with my new and exciting insights about forth, I declare this version to be the `stable' PDP 12. The DEC PDP 13 never existed, so this might have been a sign... -For people interested in packet forth, check http://zwizwa.goto10.org +For people interested in packet forth, check http://zwizwa.be/packetforth for more information. Stable PDP might include some additions from PF later on, but main focus right now is stability. diff --git a/TODO b/TODO index e64c0f0..e3fccff 100644 --- a/TODO +++ b/TODO @@ -8,8 +8,6 @@ short story: don't, use pdp_control's memlimit for limiting pdp's memory usage. todo 0.12.5: -* fix sdl so it doesn't open window when object is created - * find nasty 3dp bug * fix pdp_glx BadMatch bug (crashes on OSX) : fixed in pf * platform independent [pdp_vdac] [pdp_vadc] diff --git a/bin/patchversion b/bin/patchversion new file mode 100644 index 0000000..1976db4 --- /dev/null +++ b/bin/patchversion @@ -0,0 +1,9 @@ +#!/bin/bash + +# cat <" && exit 1 + +VER="$1$APPEND" + +# for autoconf patch in bin/predist +export PDP_DIST_VERSION=$VER + +# create archive +exec darcs dist -d "pdp-$VER" diff --git a/doc/introduction/input_output.pd b/doc/introduction/input_output.pd index 494eb69..6f7cb9a 100644 --- a/doc/introduction/input_output.pd +++ b/doc/introduction/input_output.pd @@ -25,7 +25,7 @@ have to be the same to be combined (i.e. mixed); #X text 349 559 dim sets the window dimensions; #X msg 210 510 create; #X msg 210 531 destroy; -#X text 208 447 pdp_glx ouputs video in a window using the xVideo extension. +#X text 208 447 pdp_glx ouputs video in a window using the GLX extension. if your graphics card/driver supports it you can have multiple output windows. if a pdp message is received and a window is not open \, one is created automaticly.; diff --git a/doc/misc/devdoc.html b/doc/misc/devdoc.html index c587c48..0f79eb7 100644 --- a/doc/misc/devdoc.html +++ b/doc/misc/devdoc.html @@ -161,7 +161,7 @@
-
Tom Schouten
+
Tom Schouten
Last modified: Fri Sep 19 04:52:12 CEST 2003 diff --git a/doc/misc/old-overview.html b/doc/misc/old-overview.html new file mode 100644 index 0000000..856465c --- /dev/null +++ b/doc/misc/old-overview.html @@ -0,0 +1,107 @@ +

Pure Data Packet

+ +

Introduction

+ +

PDP is an extension library for +Pure +Data, +aimed at providing video and other media processing fuctionality. +That's still it's main purpose, but as of version 0.13, there is more. +PDP turned into a tool for writing PDP. See the section on +Packet Forth. + +

PDP runs on Linux and OSX. The OSX version depends on Fink. + +

PDP's focus is on images and video, but there is no reason it +should stay like that. There is support for matrix processing, +1D and 2D binary cellular automata, opengl rendering (like Gem), +scheme scripting (guile), ascii packets, bit grids, ... + +

For more image processing objects, streaming objects and a collection +of very useful additions to the bare bones PDP functionality, have a look +at Yves Degoyon's PiDiP library. + +

Since version 0.13.x, which is a merger between stable (0.12.x) and +packet forth, PDP has been split up into 3 parts: + +

  • libtile - A lowlevel library for platform specific (integer, mmx, altivec) +image processing operations and cache optimizations. +
  • libpdp - The packet managing library + pf scripting language. +
  • pdp - This is the stable pdp 0.12.x with support for packet forth. + + + +

    PDP for Pure Data

    + +This is considered to be the stable part of pdp. It has been stable since 0.12.x +It has it's bugs & drawbacks & oversimplifications but will mostly stay +like it is. + +It is optimized for intel/mmx and uses a 16bit signed yuv format ideal for real +time video processing, mixing, blending and feedback. The pf layer is accessible +from pd/pdp. The result of this is that you can write pdp objects in pf, or directly +map pf operations to pdp objects. + +A 'getting started' documentation for pd/pdp/pidip is being worked on. +Until then you can have a look at the 'pdp' subdirectory in pd's 'Pure Documentation'. +Most objects are documented with pd style help patches accessible by right clicking +on an object. The place to send questions is the pd mailing list. Bugreports can +be sent to the pd list or me: pdp TA zzz TOD kotnet TOD org . + + + +

    Packet Forth

    + +The libpdp library is a C support library for media processing. It implements +a mime-like media type system (packets), type conversion and packet operations, +interface logic to connect pf to other applications, and other things you might +need to write small 'scratch' media applications. + +All operations are implemented as extensions to a forth-like glue language +called Packet Forth. For more information on this see the documentation +in the libpdp distribution, or the mailing list archives. + + + + +

    CVS

    + +The latest stable pdp release is 0.12.4. +Because 0.13.x is still in a flux, the preferred way of accessing the code is CVS. +You can access the modules in this way: + +

    +export CVSROOT=:pserver:anonymous@zwizwa.fartit.com:/usr/local/cvsroot
    +cvs login
    +cvs co libtile
    +cvs co libpdp
    +cvs co pdp
    +
    + +

    To update, simply cd to each of the 3 directories, and type cvs update -d. + + +

    When extracting from cvs, you need to run the ./bootstrap script to +create the configure scripts and build and install the packages in the order above. +In order to compile pdp with libpdp (pf) support, you need to add a +--enable-pf option when invoking pdp's configure script. + + + +

    Links

    + +
  • Pure Data at IEM +
  • PiDiP Is Definitely In Pieces +
  • al-Jwarizmi +
  • PidipVJ +
  • Videoflow / Cruzados BGN +
  • Eth0 +
  • RRADical + +
  • Veejay / SendVIMS +
  • FreeJ +
  • EffecTV + + + diff --git a/doc/misc/rawout.txt b/doc/misc/rawout.txt index 240ede3..d5e65be 100644 --- a/doc/misc/rawout.txt +++ b/doc/misc/rawout.txt @@ -104,18 +104,20 @@ lavtrans -o clip.mov -f q clip.avi Mplayer/Mencoder ---------------- -The MPlayer project uses libavcodec, and even distributes a copy with the MPlayer source. -You'll need mencoder mainly if you want to use an encoder that's not in the -ffmpeg package (lavcodec), or what to do some format conversion that's not -supported by ffmpeg directly. Of course mplayer is handy for inspecting raw files. -To play a raw video stream try: +The MPlayer project uses libavcodec, and even distributes a copy with +the MPlayer source. You'll need mencoder mainly if you want to use an +encoder that's not in the ffmpeg package (lavcodec), or what to do +some format conversion that's not supported by ffmpeg directly. Of +course mplayer is handy for inspecting raw files. To play a raw video +stream try: mplayer -rawvideo on:w=320:h=240:fps=25 video.i420 To encode video only using the ffmpeg (lavc) mjpeg codec (it is possible to use yv12 here, using the format=yv12 option) -mencoder -rawvideo on:w=320:h=240:fps=25 video.i420 -ovc lavc -lavcopts vcodec=mjpeg -o clip.avi +mencoder -rawvideo on:w=320:h=240:fps=25 video.i420 -ovc lavc \ + -lavcopts vcodec=mjpeg -o clip.avi diff --git a/doc/reference.txt b/doc/reference.txt index a57953e..d80df8f 100644 --- a/doc/reference.txt +++ b/doc/reference.txt @@ -29,6 +29,8 @@ image processors: pdp_abs absolute value pdp_add adds two images pdp_and bitwize and +pdp_array2grey convert pd array to greyscale image +pdp_grey2array convert greyscale image to pd array pdp_bitdepth set bit depth pdp_bitmask apply a bit mask pdp_bq spatial biquad filter diff --git a/include/pdp.h b/include/pdp.h index ed57b24..746e81c 100644 --- a/include/pdp.h +++ b/include/pdp.h @@ -1,6 +1,6 @@ /* * Pure Data Packet header file. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_ascii.h b/include/pdp_ascii.h index 1fde9b4..4f09b13 100644 --- a/include/pdp_ascii.h +++ b/include/pdp_ascii.h @@ -1,6 +1,6 @@ /* * Pure Data Packet header file. ascii packet type. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_base.h b/include/pdp_base.h index 2839f37..6cacd01 100644 --- a/include/pdp_base.h +++ b/include/pdp_base.h @@ -1,6 +1,6 @@ /* * Pure Data Packet base class header file. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_bitmap.h b/include/pdp_bitmap.h index 3fddc25..aa6df1b 100644 --- a/include/pdp_bitmap.h +++ b/include/pdp_bitmap.h @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. 8 bit image packet interface - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_comm.h b/include/pdp_comm.h index 7932e1d..be2019e 100644 --- a/include/pdp_comm.h +++ b/include/pdp_comm.h @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_dpd_base.h b/include/pdp_dpd_base.h index 0d20e29..0128e45 100644 --- a/include/pdp_dpd_base.h +++ b/include/pdp_dpd_base.h @@ -1,6 +1,6 @@ /* * Pure Data Packet header file. DPD base class - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_dpd_command.h b/include/pdp_dpd_command.h index 1cfcf8a..b85ea66 100644 --- a/include/pdp_dpd_command.h +++ b/include/pdp_dpd_command.h @@ -1,7 +1,7 @@ /* * Pure Data Packet header file. DPD command class - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_image.h b/include/pdp_image.h index 3dabfb1..9874f36 100644 --- a/include/pdp_image.h +++ b/include/pdp_image.h @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. Image packet interface - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_imagebase.h b/include/pdp_imagebase.h index 6d6b902..981712c 100644 --- a/include/pdp_imagebase.h +++ b/include/pdp_imagebase.h @@ -1,6 +1,6 @@ /* * Pure Data Packet image processor base class header file. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_imageproc.h b/include/pdp_imageproc.h index 8cc0baa..59479f9 100644 --- a/include/pdp_imageproc.h +++ b/include/pdp_imageproc.h @@ -1,7 +1,7 @@ /* * Pure Data Packet. Header file for image processing routines (used in modules). - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_internals.h b/include/pdp_internals.h index 924d5eb..f904309 100644 --- a/include/pdp_internals.h +++ b/include/pdp_internals.h @@ -1,7 +1,7 @@ /* * Pure Data Packet internal header file. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_list.h b/include/pdp_list.h index 3d55593..f708e5d 100644 --- a/include/pdp_list.h +++ b/include/pdp_list.h @@ -1,7 +1,7 @@ /* * Pure Data Packet header file. List class - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_llconv.h b/include/pdp_llconv.h index 5e22d3a..d308f9b 100644 --- a/include/pdp_llconv.h +++ b/include/pdp_llconv.h @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. : low level format conversion code - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_matrix.h b/include/pdp_matrix.h index 22a33bb..bda051b 100644 --- a/include/pdp_matrix.h +++ b/include/pdp_matrix.h @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. matrix packet interface - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_mem.h b/include/pdp_mem.h index 00141e4..a8ba438 100644 --- a/include/pdp_mem.h +++ b/include/pdp_mem.h @@ -1,6 +1,6 @@ /* * Pure Data Packet header file: memory allocation - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_mmx.h b/include/pdp_mmx.h index 8181ff0..1c4e6ef 100644 --- a/include/pdp_mmx.h +++ b/include/pdp_mmx.h @@ -1,7 +1,7 @@ /* * Pure Data Packet. Header file for mmx routines. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_net.h b/include/pdp_net.h index 4f775c6..dda0fb9 100644 --- a/include/pdp_net.h +++ b/include/pdp_net.h @@ -3,7 +3,7 @@ /* * Pure Data Packet header: UDP protocol for raw packets - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_packet.h b/include/pdp_packet.h index 234024d..06a1670 100644 --- a/include/pdp_packet.h +++ b/include/pdp_packet.h @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation: Packet Manager Interface - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_png.h b/include/pdp_png.h index 5aae4c7..609ffd4 100644 --- a/include/pdp_png.h +++ b/include/pdp_png.h @@ -1,6 +1,6 @@ /* * Pure Data Packet header file. png glue code. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_post.h b/include/pdp_post.h index 1054388..52e9388 100644 --- a/include/pdp_post.h +++ b/include/pdp_post.h @@ -1,7 +1,7 @@ /* * Pure Data Packet header file. pdp logging. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_queue.h b/include/pdp_queue.h index b4d19be..f8bd9dd 100644 --- a/include/pdp_queue.h +++ b/include/pdp_queue.h @@ -1,6 +1,6 @@ /* * Pure Data Packet - processor queue interface - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_resample.h b/include/pdp_resample.h index 8876bfa..ebe5d1a 100644 --- a/include/pdp_resample.h +++ b/include/pdp_resample.h @@ -1,6 +1,6 @@ /* * Pure Data Packet header file. - image resampling prototypes - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_symbol.h b/include/pdp_symbol.h index fe3137a..bd7af27 100644 --- a/include/pdp_symbol.h +++ b/include/pdp_symbol.h @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. : symbol and namespace stuff - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_type.h b/include/pdp_type.h index 85d6ea7..dd02b77 100644 --- a/include/pdp_type.h +++ b/include/pdp_type.h @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. Type handling interface - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_type.h_old b/include/pdp_type.h_old index d588e7f..5f108a2 100644 --- a/include/pdp_type.h_old +++ b/include/pdp_type.h_old @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. Type handling interface - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_types.h b/include/pdp_types.h index 767a937..85d0716 100644 --- a/include/pdp_types.h +++ b/include/pdp_types.h @@ -1,7 +1,7 @@ /* * Pure Data Packet header file. Scalar type definitions. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_xvideo.h b/include/pdp_xvideo.h index c395605..448b9b3 100644 --- a/include/pdp_xvideo.h +++ b/include/pdp_xvideo.h @@ -1,7 +1,7 @@ /* * Pure Data Packet header file: xwindow glue code - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/include/pdp_xwindow.h b/include/pdp_xwindow.h index 1787062..db5189f 100644 --- a/include/pdp_xwindow.h +++ b/include/pdp_xwindow.h @@ -1,7 +1,7 @@ /* * Pure Data Packet header file: xwindow glue code - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_convert.c b/modules/generic/pdp_convert.c index cc7dd8c..b9e298a 100644 --- a/modules/generic/pdp_convert.c +++ b/modules/generic/pdp_convert.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_del.c b/modules/generic/pdp_del.c index 6b7aeb2..0679c9e 100644 --- a/modules/generic/pdp_del.c +++ b/modules/generic/pdp_del.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_description.c b/modules/generic/pdp_description.c index 4f2ff13..38ed07f 100644 --- a/modules/generic/pdp_description.c +++ b/modules/generic/pdp_description.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_inspect.c b/modules/generic/pdp_inspect.c index b669475..eb1a2b9 100644 --- a/modules/generic/pdp_inspect.c +++ b/modules/generic/pdp_inspect.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_loop.c b/modules/generic/pdp_loop.c index 259eb8f..e6a7929 100644 --- a/modules/generic/pdp_loop.c +++ b/modules/generic/pdp_loop.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_metro.c b/modules/generic/pdp_metro.c index 55ad8c5..ebcc84e 100644 --- a/modules/generic/pdp_metro.c +++ b/modules/generic/pdp_metro.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. Standard sync rates. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_rawin.c b/modules/generic/pdp_rawin.c index 04d8775..1fd28c5 100644 --- a/modules/generic/pdp_rawin.c +++ b/modules/generic/pdp_rawin.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. Raw packet input - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_rawout.c b/modules/generic/pdp_rawout.c index 01d7ca0..e66929a 100644 --- a/modules/generic/pdp_rawout.c +++ b/modules/generic/pdp_rawout.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. Raw packet output. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_reg.c b/modules/generic/pdp_reg.c index 2ad15a6..1d6a9d2 100644 --- a/modules/generic/pdp_reg.c +++ b/modules/generic/pdp_reg.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_route.c b/modules/generic/pdp_route.c index c410d1f..41e0eaf 100644 --- a/modules/generic/pdp_route.c +++ b/modules/generic/pdp_route.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_snap.c b/modules/generic/pdp_snap.c index 73ec26c..cd9185b 100644 --- a/modules/generic/pdp_snap.c +++ b/modules/generic/pdp_snap.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_trigger.c b/modules/generic/pdp_trigger.c index 597125c..36a9f3d 100644 --- a/modules/generic/pdp_trigger.c +++ b/modules/generic/pdp_trigger.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_udp_receive.c b/modules/generic/pdp_udp_receive.c index 3d42466..223ce69 100644 --- a/modules/generic/pdp_udp_receive.c +++ b/modules/generic/pdp_udp_receive.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/generic/pdp_udp_send.c b/modules/generic/pdp_udp_send.c index cb55ad1..2625d21 100644 --- a/modules/generic/pdp_udp_send.c +++ b/modules/generic/pdp_udp_send.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_add.c b/modules/image_basic/pdp_add.c index 0366c16..d6b94cb 100644 --- a/modules/image_basic/pdp_add.c +++ b/modules/image_basic/pdp_add.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_bq.c b/modules/image_basic/pdp_bq.c index 088e50b..4da4eee 100644 --- a/modules/image_basic/pdp_bq.c +++ b/modules/image_basic/pdp_bq.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_cheby.c b/modules/image_basic/pdp_cheby.c index 6d382ad..f4bf516 100644 --- a/modules/image_basic/pdp_cheby.c +++ b/modules/image_basic/pdp_cheby.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_constant.c b/modules/image_basic/pdp_constant.c index e5b088e..ffd8db1 100644 --- a/modules/image_basic/pdp_constant.c +++ b/modules/image_basic/pdp_constant.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_conv.c b/modules/image_basic/pdp_conv.c index dfce381..4ec942a 100644 --- a/modules/image_basic/pdp_conv.c +++ b/modules/image_basic/pdp_conv.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_gain.c b/modules/image_basic/pdp_gain.c index c36f758..dd58f7a 100644 --- a/modules/image_basic/pdp_gain.c +++ b/modules/image_basic/pdp_gain.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_logic.c b/modules/image_basic/pdp_logic.c index 002557c..78b74d6 100644 --- a/modules/image_basic/pdp_logic.c +++ b/modules/image_basic/pdp_logic.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_mix.c b/modules/image_basic/pdp_mix.c index 2d01d38..27c4368 100644 --- a/modules/image_basic/pdp_mix.c +++ b/modules/image_basic/pdp_mix.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_mul.c b/modules/image_basic/pdp_mul.c index c7321d7..c393e41 100644 --- a/modules/image_basic/pdp_mul.c +++ b/modules/image_basic/pdp_mul.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_noise.c b/modules/image_basic/pdp_noise.c index cb8f772..bfc2dc9 100644 --- a/modules/image_basic/pdp_noise.c +++ b/modules/image_basic/pdp_noise.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_plasma.c b/modules/image_basic/pdp_plasma.c index 78d886c..523f188 100644 --- a/modules/image_basic/pdp_plasma.c +++ b/modules/image_basic/pdp_plasma.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_randmix.c b/modules/image_basic/pdp_randmix.c index 2fd6adf..58cd583 100644 --- a/modules/image_basic/pdp_randmix.c +++ b/modules/image_basic/pdp_randmix.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_stateless.c b/modules/image_basic/pdp_stateless.c index cdcf313..6c264a9 100644 --- a/modules/image_basic/pdp_stateless.c +++ b/modules/image_basic/pdp_stateless.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. Some stateless image operations. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_basic/pdp_zoom.c b/modules/image_basic/pdp_zoom.c index 48ba167..8bfcb64 100644 --- a/modules/image_basic/pdp_zoom.c +++ b/modules/image_basic/pdp_zoom.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_io/pdp_glx.c b/modules/image_io/pdp_glx.c index 81ec2d9..772228d 100644 --- a/modules/image_io/pdp_glx.c +++ b/modules/image_io/pdp_glx.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_io/pdp_qt.c b/modules/image_io/pdp_qt.c index 7c8d415..af149dc 100644 --- a/modules/image_io/pdp_qt.c +++ b/modules/image_io/pdp_qt.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_io/pdp_sdl.c b/modules/image_io/pdp_sdl.c index 4690230..f239d95 100644 --- a/modules/image_io/pdp_sdl.c +++ b/modules/image_io/pdp_sdl.c @@ -1,7 +1,7 @@ /* * Pure Data Packet module. * Copyright (c) 2003 by martin pi - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_io/pdp_v4l.c b/modules/image_io/pdp_v4l.c index 7f16842..d54ee76 100644 --- a/modules/image_io/pdp_v4l.c +++ b/modules/image_io/pdp_v4l.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_io/pdp_xv.c b/modules/image_io/pdp_xv.c index 2faabd4..eab2e59 100644 --- a/modules/image_io/pdp_xv.c +++ b/modules/image_io/pdp_xv.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. Xvideo image packet output - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_special/pdp_array.c b/modules/image_special/pdp_array.c index 41ea0d5..fdf3159 100644 --- a/modules/image_special/pdp_array.c +++ b/modules/image_special/pdp_array.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) 2003 by Tom Schouten + * Copyright (c) 2003 by Tom Schouten * * 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 @@ -29,18 +29,76 @@ typedef struct _pdp_array { t_object x_obj; t_symbol *x_array_sym; - t_outlet *x_outlet; // for array->pdp - t_int x_rows; + t_outlet *x_outlet0; // for array->pdp + t_int x_rows; // transposed + + /* packet creation */ + t_int x_width; + t_int x_height; + + /* only valid after "get array" */ + float *x_vec; + int x_nbpoints; + + /* the packet */ int x_packet0; } t_pdp_array; +static void get_array(t_pdp_array *x){ + t_garray *a; + + x->x_vec = 0; + + /* dump to array if possible */ + if (!x->x_array_sym) return; + + /* check if array is valid */ + if (!(a = (t_garray *)pd_findbyclass(x->x_array_sym, garray_class))){ + post("pdp_array: %s: no such array", x->x_array_sym->s_name); + return; + } + + /* get data */ + if (!garray_getfloatarray(a, &x->x_nbpoints, &x->x_vec)){ + post("pdp_array: %s: bad template", x->x_array_sym->s_name); + return; + } +} + static void pdp_array_bang(t_pdp_array *x) { - post("not implemented"); + PDP_ASSERT(-1 == x->x_packet0); + x->x_packet0 = pdp_packet_new_image_grey(x->x_width, x->x_height); + if (-1 != x->x_packet0){ + t_pdp *header = pdp_packet_header(x->x_packet0); + short int *data = (short int*)pdp_packet_data(x->x_packet0); + get_array(x); + if (x->x_vec){ + int i; + int w = header->info.image.width; + int h = header->info.image.height; + int N = w*h; + N = (x->x_nbpoints < N) ? x->x_nbpoints : N; + + /* scan rows */ + if (1 || x->x_rows){ + // FIXME: saturation + for (i=0; ix_vec[i] * max; + int l = (int)f; + l = (l > 0x8000) ? 0x7fff : l; + l = (l < -0x8000) ? -0x8000 : l; + data[i] = (short int)l; + } + } + } + pdp_packet_pass_if_valid(x->x_outlet0, &x->x_packet0); + } } @@ -58,49 +116,34 @@ static void pdp_array_input_0(t_pdp_array *x, t_symbol *s, t_floatarg f) /* process */ if (s == gensym("process")){ - float *vec; - int nbpoints; t_garray *a; t_pdp *header = pdp_packet_header(x->x_packet0); short int *data = pdp_packet_data(x->x_packet0); if (!header || !data) return; - /* dump to array if possible */ - if (!x->x_array_sym){ - } - - /* check if array is valid */ - else if (!(a = (t_garray *)pd_findbyclass(x->x_array_sym, garray_class))){ - post("pdp_array: %s: no such array", x->x_array_sym->s_name); - } - /* get data */ - else if (!garray_getfloatarray(a, &nbpoints, &vec)){ - post("pdp_array: %s: bad template", x->x_array_sym->s_name); - } - /* scale and dump in array */ - else{ + + get_array(x); + if (x->x_vec){ int i; int w = header->info.image.width; int h = header->info.image.height; int N = w*h; - N = (nbpoints < N) ? nbpoints : N; + N = (x->x_nbpoints < N) ? x->x_nbpoints : N; /* scan rows */ if (x->x_rows){ for (i=0; ix_vec[i] = (float)data[i] * (1.0f / (float)0x8000); } /* scan columns */ else{ for (i=0; ix_vec[i] = (float)data[xx+(h-yy-1)*w] * (1.0f / (float)0x8000); } } - //garray_redraw(a); } - } } @@ -127,6 +170,9 @@ void *pdp_array2grey_new(t_symbol *s, t_symbol *r) { t_pdp_array *x = (t_pdp_array *)pd_new(pdp_array2grey_class); pdp_array_array(x, s); + x->x_outlet0 = outlet_new(&x->x_obj, &s_anything); + x->x_width = 320; + x->x_height = 240; return (void *)x; } diff --git a/modules/image_special/pdp_chrot.c b/modules/image_special/pdp_chrot.c index 27993c6..f99a9c1 100644 --- a/modules/image_special/pdp_chrot.c +++ b/modules/image_special/pdp_chrot.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_special/pdp_cog.c b/modules/image_special/pdp_cog.c index c1ea1bf..24eb0f0 100644 --- a/modules/image_special/pdp_cog.c +++ b/modules/image_special/pdp_cog.c @@ -1,7 +1,7 @@ /* * Pure Data Packet module. * Copyright (c) 2003 by Johannes Taelman - * API updates by Tom Schouten + * API updates by Tom Schouten * * 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 diff --git a/modules/image_special/pdp_grey2mask.c b/modules/image_special/pdp_grey2mask.c index 4f10772..f68d63e 100644 --- a/modules/image_special/pdp_grey2mask.c +++ b/modules/image_special/pdp_grey2mask.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_special/pdp_histo.c b/modules/image_special/pdp_histo.c index 43cdb8c..22e817a 100644 --- a/modules/image_special/pdp_histo.c +++ b/modules/image_special/pdp_histo.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) 2003 by Tom Schouten + * Copyright (c) 2003 by Tom Schouten * * 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 diff --git a/modules/image_special/pdp_scale.c b/modules/image_special/pdp_scale.c index 3c74bd8..5b94f1a 100644 --- a/modules/image_special/pdp_scale.c +++ b/modules/image_special/pdp_scale.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_special/pdp_scan.c b/modules/image_special/pdp_scan.c index 9b80fea..482a966 100644 --- a/modules/image_special/pdp_scan.c +++ b/modules/image_special/pdp_scan.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_special/pdp_scanxy.c b/modules/image_special/pdp_scanxy.c index 6fd7201..fe6efb9 100644 --- a/modules/image_special/pdp_scanxy.c +++ b/modules/image_special/pdp_scanxy.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/image_special/pdp_scope.c b/modules/image_special/pdp_scope.c index 4311a0b..a1d28cc 100644 --- a/modules/image_special/pdp_scope.c +++ b/modules/image_special/pdp_scope.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/matrix_basic/clusterstuff.c b/modules/matrix_basic/clusterstuff.c index 432a807..e6005dd 100644 --- a/modules/matrix_basic/clusterstuff.c +++ b/modules/matrix_basic/clusterstuff.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) 2003 by Tom Schouten + * Copyright (c) 2003 by Tom Schouten * * 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 diff --git a/modules/matrix_basic/pdp_mat_lu.c b/modules/matrix_basic/pdp_mat_lu.c index af8931d..7b4f29e 100644 --- a/modules/matrix_basic/pdp_mat_lu.c +++ b/modules/matrix_basic/pdp_mat_lu.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. LU decomposition module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/matrix_basic/pdp_mat_mul.c b/modules/matrix_basic/pdp_mat_mul.c index 329813f..4fd9d07 100644 --- a/modules/matrix_basic/pdp_mat_mul.c +++ b/modules/matrix_basic/pdp_mat_mul.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. Matrix multiplication module - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/matrix_basic/pdp_mat_vec.c b/modules/matrix_basic/pdp_mat_vec.c index 16257c8..2a3b3bb 100644 --- a/modules/matrix_basic/pdp_mat_vec.c +++ b/modules/matrix_basic/pdp_mat_vec.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. Vector modules. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/modules/test/pdp_dpd_test.c b/modules/test/pdp_dpd_test.c index 1d85bde..f4c5e5a 100644 --- a/modules/test/pdp_dpd_test.c +++ b/modules/test/pdp_dpd_test.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/include/pdp_3Dcontext.h b/opengl/include/pdp_3Dcontext.h index adef304..fb08974 100644 --- a/opengl/include/pdp_3Dcontext.h +++ b/opengl/include/pdp_3Dcontext.h @@ -1,6 +1,6 @@ /* * pdp system module - 3d render context packet type - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/include/pdp_mesh.h b/opengl/include/pdp_mesh.h index 8fd6dff..126b484 100644 --- a/opengl/include/pdp_mesh.h +++ b/opengl/include/pdp_mesh.h @@ -1,6 +1,6 @@ /* * Pure Data Packet module. mesh object specification - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/include/pdp_opengl.h b/opengl/include/pdp_opengl.h index c32735d..7e88a59 100644 --- a/opengl/include/pdp_opengl.h +++ b/opengl/include/pdp_opengl.h @@ -1,6 +1,6 @@ /* * OpenGL Extension Module for pdp - Main header file - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/include/pdp_texture.h b/opengl/include/pdp_texture.h index 7a40cdd..c3987bc 100644 --- a/opengl/include/pdp_texture.h +++ b/opengl/include/pdp_texture.h @@ -1,6 +1,6 @@ /* * pdp system module - texture packet type - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_color.c b/opengl/modules/pdp_3d_color.c index b237e9a..9adb2e5 100644 --- a/opengl/modules/pdp_3d_color.c +++ b/opengl/modules/pdp_3d_color.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_context.c b/opengl/modules/pdp_3d_context.c index 9e9c08f..0ea398f 100644 --- a/opengl/modules/pdp_3d_context.c +++ b/opengl/modules/pdp_3d_context.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_dlist.c b/opengl/modules/pdp_3d_dlist.c index 9f087e0..4605533 100644 --- a/opengl/modules/pdp_3d_dlist.c +++ b/opengl/modules/pdp_3d_dlist.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_draw.c b/opengl/modules/pdp_3d_draw.c index a47db71..5ce09da 100644 --- a/opengl/modules/pdp_3d_draw.c +++ b/opengl/modules/pdp_3d_draw.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_drawmesh.c b/opengl/modules/pdp_3d_drawmesh.c index cd2c973..68450fe 100644 --- a/opengl/modules/pdp_3d_drawmesh.c +++ b/opengl/modules/pdp_3d_drawmesh.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_for.c b/opengl/modules/pdp_3d_for.c index 54b0a71..3b90916 100644 --- a/opengl/modules/pdp_3d_for.c +++ b/opengl/modules/pdp_3d_for.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_light.c b/opengl/modules/pdp_3d_light.c index b0b4a92..f3e44da 100644 --- a/opengl/modules/pdp_3d_light.c +++ b/opengl/modules/pdp_3d_light.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_push.c b/opengl/modules/pdp_3d_push.c index d5a45fb..a5eb076 100644 --- a/opengl/modules/pdp_3d_push.c +++ b/opengl/modules/pdp_3d_push.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_snap.c b/opengl/modules/pdp_3d_snap.c index 2ee6d39..f3349c8 100644 --- a/opengl/modules/pdp_3d_snap.c +++ b/opengl/modules/pdp_3d_snap.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_state.c b/opengl/modules/pdp_3d_state.c index d34ff94..7325f0b 100644 --- a/opengl/modules/pdp_3d_state.c +++ b/opengl/modules/pdp_3d_state.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_subcontext.c b/opengl/modules/pdp_3d_subcontext.c index 11017e2..094e1b9 100644 --- a/opengl/modules/pdp_3d_subcontext.c +++ b/opengl/modules/pdp_3d_subcontext.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_view.c b/opengl/modules/pdp_3d_view.c index 2317703..7ead4a4 100644 --- a/opengl/modules/pdp_3d_view.c +++ b/opengl/modules/pdp_3d_view.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/modules/pdp_3d_windowcontext.c b/opengl/modules/pdp_3d_windowcontext.c index 4e7aa93..d35d317 100644 --- a/opengl/modules/pdp_3d_windowcontext.c +++ b/opengl/modules/pdp_3d_windowcontext.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/system/pdp_3Dcontext_common.c b/opengl/system/pdp_3Dcontext_common.c index 86f5657..c8ea77b 100644 --- a/opengl/system/pdp_3Dcontext_common.c +++ b/opengl/system/pdp_3Dcontext_common.c @@ -1,7 +1,7 @@ /* * OpenGL Extension Module for pdp - pbuffer packet implementation - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/system/pdp_3Dcontext_glx.c b/opengl/system/pdp_3Dcontext_glx.c index f124686..d64ec6a 100644 --- a/opengl/system/pdp_3Dcontext_glx.c +++ b/opengl/system/pdp_3Dcontext_glx.c @@ -1,7 +1,7 @@ /* * OpenGL Extension Module for pdp - opengl system stuff - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/system/pdp_mesh.c b/opengl/system/pdp_mesh.c index b319d1e..a6940f1 100644 --- a/opengl/system/pdp_mesh.c +++ b/opengl/system/pdp_mesh.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. mesh implementation - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/system/pdp_opengl.c b/opengl/system/pdp_opengl.c index c8ede29..f3c82c1 100644 --- a/opengl/system/pdp_opengl.c +++ b/opengl/system/pdp_opengl.c @@ -1,7 +1,7 @@ /* * OpenGL Extension Module for pdp - opengl system stuff - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/opengl/system/pdp_texture.c b/opengl/system/pdp_texture.c index 8bc7b21..27e8ad8 100644 --- a/opengl/system/pdp_texture.c +++ b/opengl/system/pdp_texture.c @@ -1,6 +1,6 @@ /* * OpenGL Extension Module for pdp - texture packet implementation - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/puredata/pdp_base.c b/puredata/pdp_base.c index 194134e..4a1dcf8 100644 --- a/puredata/pdp_base.c +++ b/puredata/pdp_base.c @@ -1,6 +1,6 @@ /* * Pure Data Packet base class implementation. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/puredata/pdp_comm.c b/puredata/pdp_comm.c index 2674e36..f3f1884 100644 --- a/puredata/pdp_comm.c +++ b/puredata/pdp_comm.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/puredata/pdp_compat.c b/puredata/pdp_compat.c index e7bc0c2..13c1a58 100644 --- a/puredata/pdp_compat.c +++ b/puredata/pdp_compat.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. Compatibility routines. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/puredata/pdp_control.c b/puredata/pdp_control.c index 0b49fd9..36636b4 100644 --- a/puredata/pdp_control.c +++ b/puredata/pdp_control.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation: control object - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/puredata/pdp_dpd_base.c b/puredata/pdp_dpd_base.c index 371b99e..42fcf42 100644 --- a/puredata/pdp_dpd_base.c +++ b/puredata/pdp_dpd_base.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module. DPD base class implementation. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/puredata/pdp_imagebase.c b/puredata/pdp_imagebase.c index f9634e1..6ee1b83 100644 --- a/puredata/pdp_imagebase.c +++ b/puredata/pdp_imagebase.c @@ -1,6 +1,6 @@ /* * Pure Data Packet image processor base class implementation. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/puredata/pdp_queue.c b/puredata/pdp_queue.c index f5a9d65..5dbf2e6 100644 --- a/puredata/pdp_queue.c +++ b/puredata/pdp_queue.c @@ -1,6 +1,6 @@ /* * Pure Data Packet - processor queue module. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/puredata/pdp_ut.c b/puredata/pdp_ut.c index a1369e3..b290e93 100644 --- a/puredata/pdp_ut.c +++ b/puredata/pdp_ut.c @@ -1,6 +1,6 @@ /* * Pure Data Packet - Utility toolkit objects. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/scaf/README b/scaf/README index e71d1c9..b68beaf 100644 --- a/scaf/README +++ b/scaf/README @@ -1,7 +1,7 @@ PDP_SCAF for pdp v0.7 Cellular Automata modules for PDP -Copyright (c) by Tom Schouten +Copyright (c) by Tom Schouten 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 diff --git a/scaf/compiler/kernel.scaf b/scaf/compiler/kernel.scaf index 0bc2788..868e502 100644 --- a/scaf/compiler/kernel.scaf +++ b/scaf/compiler/kernel.scaf @@ -1,5 +1,5 @@ ( Pure Data Packet - scaforth kernel. ) -( Copyright (c) by Tom Schouten ) +( Copyright (c) by Tom Schouten ) ( ) ( 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 ) diff --git a/scaf/compiler/optim.rules b/scaf/compiler/optim.rules index 282caf4..04fd0f1 100644 --- a/scaf/compiler/optim.rules +++ b/scaf/compiler/optim.rules @@ -1,5 +1,5 @@ # Pure Data Packet - scaf optimization rules. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/scaf/compiler/scafc.pl b/scaf/compiler/scafc.pl index ee6b969..918acee 100755 --- a/scaf/compiler/scafc.pl +++ b/scaf/compiler/scafc.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # Pure Data Packet - scafc: scaf compiler. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/scaf/compiler/scafmacro.s b/scaf/compiler/scafmacro.s index 04e6537..a37fb65 100644 --- a/scaf/compiler/scafmacro.s +++ b/scaf/compiler/scafmacro.s @@ -1,5 +1,5 @@ # Pure Data Packet - scaf assembler macros. - # Copyright (c) by Tom Schouten + # Copyright (c) by Tom Schouten # # 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 diff --git a/scaf/include/pdp_ca.h b/scaf/include/pdp_ca.h index 3d77133..dfecc9d 100644 --- a/scaf/include/pdp_ca.h +++ b/scaf/include/pdp_ca.h @@ -1,6 +1,6 @@ /* * Cellular Automata Extension Module for pdp - Main header file - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/scaf/pdp/pdp_ca.c b/scaf/pdp/pdp_ca.c index 3f80a75..e49c4e3 100644 --- a/scaf/pdp/pdp_ca.c +++ b/scaf/pdp/pdp_ca.c @@ -1,6 +1,6 @@ /* * Pure Data Packet module for cellular automata - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/scaf/pdp/pdp_ca_system.c b/scaf/pdp/pdp_ca_system.c index 2ecf43c..176f3bf 100644 --- a/scaf/pdp/pdp_ca_system.c +++ b/scaf/pdp/pdp_ca_system.c @@ -1,6 +1,6 @@ /* * Cellular Automata Extension Module for pdp - Main system code - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/scaf/pdp/scaf_feeder.s b/scaf/pdp/scaf_feeder.s index e7ef3c6..46b52a9 100644 --- a/scaf/pdp/scaf_feeder.s +++ b/scaf/pdp/scaf_feeder.s @@ -1,5 +1,5 @@ # Pure Data Packet - scaf feeder routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/scaf/rules/carules.scaf b/scaf/rules/carules.scaf index 6725641..91f05af 100644 --- a/scaf/rules/carules.scaf +++ b/scaf/rules/carules.scaf @@ -1,5 +1,5 @@ ( Pure Data Packet - ca rules library. ) -( Copyright (c) by Tom Schouten ) +( Copyright (c) by Tom Schouten ) ( ) ( 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 ) diff --git a/system/X11/pdp_xvideo.c b/system/X11/pdp_xvideo.c index dab060d..3aa14a6 100644 --- a/system/X11/pdp_xvideo.c +++ b/system/X11/pdp_xvideo.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system module. - x window glue code (fairly tied to pd and pdp) - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/X11/pdp_xwindow.c b/system/X11/pdp_xwindow.c index 9454dd7..02ab5da 100644 --- a/system/X11/pdp_xwindow.c +++ b/system/X11/pdp_xwindow.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system module. - x window glue code (fairly tied to pd and pdp) - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/image/pdp_imageproc_common.c b/system/image/pdp_imageproc_common.c index 184c418..a84fa0b 100644 --- a/system/image/pdp_imageproc_common.c +++ b/system/image/pdp_imageproc_common.c @@ -1,6 +1,6 @@ /* * Pure Data Packet. common image processing routines. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/image/pdp_imageproc_mmx.c b/system/image/pdp_imageproc_mmx.c index 67f6e77..cf42d67 100644 --- a/system/image/pdp_imageproc_mmx.c +++ b/system/image/pdp_imageproc_mmx.c @@ -1,6 +1,6 @@ /* * Pure Data Packet. c wrapper for mmx image processing routines. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/image/pdp_imageproc_portable.c b/system/image/pdp_imageproc_portable.c index facb2c8..3e155ee 100644 --- a/system/image/pdp_imageproc_portable.c +++ b/system/image/pdp_imageproc_portable.c @@ -1,6 +1,6 @@ /* * Pure Data Packet. portable image processing routines. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/image/pdp_llconv.c b/system/image/pdp_llconv.c index f10c61d..666a1c4 100644 --- a/system/image/pdp_llconv.c +++ b/system/image/pdp_llconv.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. : low level format conversion code - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/image/pdp_llconv_mmx.c b/system/image/pdp_llconv_mmx.c index 8070bac..aaddb01 100644 --- a/system/image/pdp_llconv_mmx.c +++ b/system/image/pdp_llconv_mmx.c @@ -1,7 +1,7 @@ /* * Pure Data Packet system implementation. : wrapper for mmx low level format conversion code - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/image/pdp_llconv_portable.c b/system/image/pdp_llconv_portable.c index f6d5a44..7421472 100644 --- a/system/image/pdp_llconv_portable.c +++ b/system/image/pdp_llconv_portable.c @@ -1,7 +1,7 @@ /* * Pure Data Packet system implementation. : portable low level format conversion code - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/image/pdp_resample.c b/system/image/pdp_resample.c index 6fbd274..ac51c99 100644 --- a/system/image/pdp_resample.c +++ b/system/image/pdp_resample.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system file. - image resampling routines - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/kernel/pdp_dpd_command.c b/system/kernel/pdp_dpd_command.c index d812cf2..e417193 100644 --- a/system/kernel/pdp_dpd_command.c +++ b/system/kernel/pdp_dpd_command.c @@ -1,7 +1,7 @@ /* * Pure Data Packet header file. DPD command class - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/kernel/pdp_list.c b/system/kernel/pdp_list.c index 8558e35..4ae2810 100644 --- a/system/kernel/pdp_list.c +++ b/system/kernel/pdp_list.c @@ -1,7 +1,7 @@ /* * Pure Data Packet header file. List class - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/kernel/pdp_mem.c b/system/kernel/pdp_mem.c index 93c7122..afd6420 100644 --- a/system/kernel/pdp_mem.c +++ b/system/kernel/pdp_mem.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system file: memory allocation - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/kernel/pdp_packet.c b/system/kernel/pdp_packet.c index e5f1a1f..aa44ceb 100644 --- a/system/kernel/pdp_packet.c +++ b/system/kernel/pdp_packet.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation: Packet Manager - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/kernel/pdp_packet2.c b/system/kernel/pdp_packet2.c index 3717a77..8ee62f2 100644 --- a/system/kernel/pdp_packet2.c +++ b/system/kernel/pdp_packet2.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation: Packet Manager - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/kernel/pdp_post.c b/system/kernel/pdp_post.c index b75283b..bd3224c 100644 --- a/system/kernel/pdp_post.c +++ b/system/kernel/pdp_post.c @@ -1,7 +1,7 @@ /* * Pure Data Packet system file. pdp logging. - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/kernel/pdp_symbol.c b/system/kernel/pdp_symbol.c index 32e9e33..6a4b924 100644 --- a/system/kernel/pdp_symbol.c +++ b/system/kernel/pdp_symbol.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. : code implementing pdp's namespace (symbols) - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/kernel/pdp_type.c b/system/kernel/pdp_type.c index 57edc00..6a5591b 100644 --- a/system/kernel/pdp_type.c +++ b/system/kernel/pdp_type.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. : code for handling different packet types - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/mmx/pixel_add_s16.s b/system/mmx/pixel_add_s16.s index 8d4c7df..e19a2f7 100644 --- a/system/mmx/pixel_add_s16.s +++ b/system/mmx/pixel_add_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_biquad_dirI_s16.s b/system/mmx/pixel_biquad_dirI_s16.s index 1729502..12df4ad 100644 --- a/system/mmx/pixel_biquad_dirI_s16.s +++ b/system/mmx/pixel_biquad_dirI_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_biquad_s16.s b/system/mmx/pixel_biquad_s16.s index ef48c87..8b10a1c 100644 --- a/system/mmx/pixel_biquad_s16.s +++ b/system/mmx/pixel_biquad_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_ca_s1.s b/system/mmx/pixel_ca_s1.s index d9c730f..29db625 100644 --- a/system/mmx/pixel_ca_s1.s +++ b/system/mmx/pixel_ca_s1.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_cascade_s16.s b/system/mmx/pixel_cascade_s16.s index bf88d08..0c569d4 100644 --- a/system/mmx/pixel_cascade_s16.s +++ b/system/mmx/pixel_cascade_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_cheby_s16.s b/system/mmx/pixel_cheby_s16.s index 2afe9e2..44ad28d 100644 --- a/system/mmx/pixel_cheby_s16.s +++ b/system/mmx/pixel_cheby_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_conv_hor_s16.s b/system/mmx/pixel_conv_hor_s16.s index e90a692..dd945c0 100644 --- a/system/mmx/pixel_conv_hor_s16.s +++ b/system/mmx/pixel_conv_hor_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_conv_ver_s16.s b/system/mmx/pixel_conv_ver_s16.s index ae2456f..c92bb07 100644 --- a/system/mmx/pixel_conv_ver_s16.s +++ b/system/mmx/pixel_conv_ver_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_crot_s16.s b/system/mmx/pixel_crot_s16.s index 2427869..885d0e5 100644 --- a/system/mmx/pixel_crot_s16.s +++ b/system/mmx/pixel_crot_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_gain.s b/system/mmx/pixel_gain.s index 5cd5057..cd8eabb 100644 --- a/system/mmx/pixel_gain.s +++ b/system/mmx/pixel_gain.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_gain_s16.s b/system/mmx/pixel_gain_s16.s index adcfdf5..d730c9c 100644 --- a/system/mmx/pixel_gain_s16.s +++ b/system/mmx/pixel_gain_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_mix_s16.s b/system/mmx/pixel_mix_s16.s index 9bf41eb..cfe9d8f 100644 --- a/system/mmx/pixel_mix_s16.s +++ b/system/mmx/pixel_mix_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_mul_s16.s b/system/mmx/pixel_mul_s16.s index 240a024..652b2b5 100644 --- a/system/mmx/pixel_mul_s16.s +++ b/system/mmx/pixel_mul_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_pack_s16u8.s b/system/mmx/pixel_pack_s16u8.s index 57df702..0cfa800 100644 --- a/system/mmx/pixel_pack_s16u8.s +++ b/system/mmx/pixel_pack_s16u8.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_rand_s16.s b/system/mmx/pixel_rand_s16.s index 649400b..0f2f336 100644 --- a/system/mmx/pixel_rand_s16.s +++ b/system/mmx/pixel_rand_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_randmix_s16.s b/system/mmx/pixel_randmix_s16.s index 44e1702..447f201 100644 --- a/system/mmx/pixel_randmix_s16.s +++ b/system/mmx/pixel_randmix_s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_s1.s b/system/mmx/pixel_s1.s index d6bc5ca..0e9fc7d 100644 --- a/system/mmx/pixel_s1.s +++ b/system/mmx/pixel_s1.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/mmx/pixel_unpack_u8s16.s b/system/mmx/pixel_unpack_u8s16.s index 0fc14c2..55e404c 100644 --- a/system/mmx/pixel_unpack_u8s16.s +++ b/system/mmx/pixel_unpack_u8s16.s @@ -1,5 +1,5 @@ # Pure Data Packet mmx routine. -# Copyright (c) by Tom Schouten +# Copyright (c) by Tom Schouten # # 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 diff --git a/system/pdp.c b/system/pdp.c index 4f8962d..0d03854 100644 --- a/system/pdp.c +++ b/system/pdp.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation: setup code - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/png/pdp_png.c b/system/png/pdp_png.c index 9ac2825..0c6981b 100644 --- a/system/png/pdp_png.c +++ b/system/png/pdp_png.c @@ -1,7 +1,7 @@ /* * Pure Data Packet system module. - png glue code - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/type/pdp_bitmap.c b/system/type/pdp_bitmap.c index 9265879..0c20e67 100644 --- a/system/type/pdp_bitmap.c +++ b/system/type/pdp_bitmap.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. : 8 bit image packet implementation - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 diff --git a/system/type/pdp_image.c b/system/type/pdp_image.c index 29d2976..295b37a 100644 --- a/system/type/pdp_image.c +++ b/system/type/pdp_image.c @@ -1,6 +1,6 @@ /* * Pure Data Packet system implementation. : 16 bit image packet implementation - * Copyright (c) by Tom Schouten + * Copyright (c) by Tom Schouten * * 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 -- cgit v1.2.1