[PD] Processing Video Data

raul diaz raul.lete at gmail.com
Thu May 10 22:36:52 CEST 2007


Using a table normally is faster, especially if you want to access values by
> index (that is, not sequentially). You can do some optimizations, too:
> For one, you can get rid of one counter, if you send the RGB-list to:
>
> [list]
> |
> [list split 3]
> |
> [unpack 0 0 0]
> |     |      |
> ... put to tables
>
> Even faster probably is using just one table for all RGB values: Just
> do a [list prepend 0] after [pix dump] and send the 0-prepended list
> to a sender with your table-name as target.
>
> You can still access the individual R, G, or B values by adjusting
> your index into [tabread] accordingly (use: 3*index + X with X = 0, 1
> or 2)
>
> Ciao
> --
> Frank Barknecht                 _ ______footils.org_ __goto10.org__
>
>
Thank you very much!

Pretty useful!

Saludos!

-- 
Raul Diaz Poblete
*************************
raul.lete at gmail.com
Ciudad Real [Spain]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070510/dbdd6214/attachment.htm>


More information about the Pd-list mailing list