2022-11-30 11:02:11 +11:00
|
|
|
# General purpose modules
|
2022-11-27 22:04:34 +11:00
|
|
|
|
2023-05-08 08:48:37 +11:00
|
|
|
|
|
|
|
## Modules disponibles
|
|
|
|
|
2024-02-07 12:36:08 +11:00
|
|
|
### wavmetrics
|
|
|
|
|
|
|
|
This module try to make some computations on *stereo* buffers.
|
|
|
|
|
|
|
|
This is just a [WIP](./wavmetrics.f90), see [twavm](./twavm.f90) for a no-use case.
|
2023-05-08 08:48:37 +11:00
|
|
|
|
|
|
|
### spitpgm
|
2022-12-06 11:49:45 +11:00
|
|
|
|
|
|
|
Write gray level 2d buffer (aka picture) to disk in the NetPNM format.
|
|
|
|
|
2023-05-08 08:48:37 +11:00
|
|
|
### pixrgb
|
2023-01-07 20:40:29 +11:00
|
|
|
|
2024-01-17 11:13:49 +11:00
|
|
|
Write 8 bits or 16 bits RGB pictures to PNM format.
|
2024-02-07 10:39:00 +11:00
|
|
|
The width of the picture MUST be a multiple of 4 !
|
2023-01-07 20:40:29 +11:00
|
|
|
|
2023-05-08 08:48:37 +11:00
|
|
|
### trials
|
2022-12-06 11:49:45 +11:00
|
|
|
|
|
|
|
Experimental WIPs from hell.
|
2023-05-08 08:48:37 +11:00
|
|
|
|
|
|
|
### dummy
|
|
|
|
|
2024-01-17 11:13:49 +11:00
|
|
|
A "do nothing" useless module.
|
|
|
|
But you cas use it to fool an optimizing compiler,
|
|
|
|
or have a sane place to put a breakpoint with gdb
|
|
|
|
|
|
|
|
## Compiler un module
|
|
|
|
|
2024-02-07 13:40:23 +11:00
|
|
|
*You can use the same options as for a main program.
|
2024-01-17 11:13:49 +11:00
|
|
|
And when you use the module, you have to specify the paths
|
|
|
|
for the .mod and the .o to the linker.
|
2024-02-07 13:40:23 +11:00
|
|
|
*
|
|
|
|
|
2024-01-17 11:13:49 +11:00
|
|
|
See [Makefile](./Makefile) for an example.
|
2023-05-08 08:48:37 +11:00
|
|
|
|
|
|
|
## TODO
|
|
|
|
|
2024-02-07 12:36:08 +11:00
|
|
|
- write the fscking doc !
|