AminetAminet
Search:
85425 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/src/DCT-II_IDCT-II_DCT-III.zip

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:1D Cosine Transforms and Inverse.
Author: wisecracker.bazza at gmail.com (Barry_Walker, G0LCU)
Uploader:wisecracker bazza gmail com (Lincs Amiga Group, LAG)
Type:dev/src
Version:0.01.00
Architecture:m68k-amigaos; generic
Date:2026-07-11
Distribution:Aminet
Download:dev/src/DCT-II_IDCT-II_DCT-III.zip - View contents
Readme:dev/src/DCT-II_IDCT-II_DCT-III.readme
Downloads:227

============================================================================

Architectures: Classic AMIGA A1200(HD), FS-UAE on OSX 10.15.x and Mint 22.3.
----------------------------------------------------------------------------

  MINIMUM Requirements Are:-
  --------------------------

  Amiga environment:-
  -------------------
    Classic STOCK AMIGA A1200(HD), default OS3.0x install.
    FS-UAE on Intel APPLE OSX 10.15.x and GNU/Linux Mint Cinnamon 22.3.
    Standard default AMIGA OS_3.0.x install, or better still a highly
    expanded AMIGA with extra RAM will speed things up considerably.
    Python Version 1.4.0 on Classic AMIGA A1200(HD) OS3.0x:-

               https://aminet.net/package/dev/lang/Python_14

    This version that requires no extra hardware:-
                           'python_020_ieee'

    Python Version 1.5.2 to 2.0.1 on '030+ highly expanded AMIGAs OS3.0x.
    AmigaMicropython340 on Classic AMIGA A1200(HD) OS3.0x.

            https://aminet.net/package/dev/misc/AmigaMicropython

    Also as a matter of interest these Python scripts also work inside the
    excellent ADE, the *NIX emulation, but the STOCK AMIGA A1200(HD) needs
    at least an extra 4MB of FastRAM to do so:-

                   https://aminet.net/package/dev/gcc/ADE

----------------------------------------------------------------------------

  Other environments:-
  --------------------
    Any Python version from 2.x.x to 3.15.0b3 on Intel APPLE OSX 10.15.7.
    Any Python Version from 1.3.0 to 3.12.x on GNU/LINUX MINT CINNAMON 22.3.

    It has NOT been tested on WinUAE emulation of the above, Windows, and
    WSL[-2], with a Python Version installed.
    It has NOT been tested on any 'M' series APPLE gear either.
    It would be nice to know if they do work, along with a snapshot of the
    FCT_LEE.py version running, along with the Python Version running it and
    sent to my email addy above...

    TIA...

============================================================================

  History:-
  ---------

  10-07-2026.
  -----------
  Version 0.01.00. (At 132 DLs, it looks like people are interested!)
                   This version now includes, Byeong Gi Lee's, RADIX-2, Fast
                   Cosine Transform. Again, naive, unnormalised, and
                   conforming to scipy's default of, 'type=2'; 'norm=None',
                   or, 'norm=backward'.
                   (Added Intel APPLE pics of of Python Version 3.15.0b3
                   running of these first two uploads.)

  25-06-2026.
  -----------
  Version 0.00.10. Taster upload to see if people are interested.
                   The archive is (C)2026, Barry Walker, and issued as PD,
                   Creative Commons CC0 licence.

============================================================================

  General:-
  ---------

(Apologies for any typos, etc...)

The Discrete Cosine Transform is probably one of the most important
algorithms developed in modern history.
See the 'The_Cosine_Transform.txt' for more information.

As is normal for me nowadays I post code recipes that work on ancient
versions of current languages that the AMIGA has in the AMINET archive.
In this case Python 1.4.0 for an absolutely STOCK AMIGA A1200(HD).
These recipes are designed to work on _ALL_ platforms and Python Versions
from at least, (1.3.0)-1.4.0 to 3.13.x without ANY modification at all.
Now tested on Intel, APPLE OSX 10.15.7, Python Version 3.15.0b3, see photos.

(This WAS a taster purely for we AMIGAns to see who was interested, and
with the first upload I see there are those that are interested.)
This upload now consists of a RADIX-2 Fast Cosine Transform, and some extra
images.

Now working on a VERY naive 2D Discrete Cosine Transform and its Inverse.
Watch this space...
In the images you will notice that the floating point resolution/precision
has increased from very early to later and current versions of Python.

----------------------------------------------------------------------------

  !!! REMEMBER !!!
  ----------------

The Classic AMIGA does not have the luxuries of the current, (as of the
above date), Python Version 3.15.0b3 and its massive (C)2026_Pytho[-]System,
so these recipes might help towards using what we have and inspiring others
to add to them. They can be anything, not just mathematics.
The difficulty is learning and memorising _ALL_ of the differences between
Python Versions, 1.3.0 to 3.15.0b3; there are a great many, believe me!

This also applies to other languages in the AMINET ecosystem.

============================================================================

                                IMPORTANT:-
                                -----------

    The Legal Stuff:-
    -----------------

    The authors are not responsible for any damage to, or loss of, or
    failure of equipment or data caused in any way by the use of this code.

    There is NO warranty with the use of this software release and
    YOU USE IT AT YOUR OWN RISK.

----------------------------------------------------------------------------

    Testing Evaluation:-
    --------------------

    Classic STOCK AMIGA A1200(HD). 
    FS-UAE emulation of Classic AMIGA test conditions were/are running
    standard OS 3.0.x and using standard ~topaz 8~ fonts throughout.

    I have no idea what strange configuration setups will create so refer
    to the ~The Legal Stuff~ above.

    The whole archive was centred around the AMIGA!
    APPLE OSX 10.15.x and MY Linux flavour were included to make the code as
    universal as possible without any modification at all.

============================================================================

    Barry Walker, G0LCU.
    wisecracker.bazza@gmail.com

----------------------------------------------------------------------------

    A place to visit, literally and URL wise:-
                    https://lincsamiga.org.uk/wordpress/

----------------------------------------------------------------------------

    A very useful HardWare related site, (C) Anthony Hoffman, for
    modifications, schematics, repairs and the like is:-

                          http://amiga.serveftp.net/

============================================================================



Contents of dev/src/DCT-II_IDCT-II_DCT-III.zip
Archive:  /home/aminet/aminet_root/doc/dev/src/DCT-II_IDCT-II_DCT-III.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2026-07-03 12:42 00000000  DCT-II_IDCT-II_DCT-III/
       0  Stored        0   0% 2026-06-27 20:57 00000000  DCT-II_IDCT-II_DCT-III/DCT_IDCT_FCT/
       0  Stored        0   0% 2026-07-06 11:21 00000000  DCT-II_IDCT-II_DCT-III/DCT_IDCT_FCT/DCT_IDCT_Scripts/
    2635  Defl:N     1167  56% 2026-07-06 11:16 1b15920d  DCT-II_IDCT-II_DCT-III/DCT_IDCT_FCT/DCT_IDCT_Scripts/DCT-II_Minimal.py
    1495  Defl:N      597  60% 2026-07-05 10:49 ac2bfb2a  DCT-II_IDCT-II_DCT-III/DCT_IDCT_FCT/DCT_IDCT_Scripts/DCT_IDCT_Numpy_Scipy.py
    2661  Defl:N     1197  55% 2026-07-06 11:21 472b0657  DCT-II_IDCT-II_DCT-III/DCT_IDCT_FCT/DCT_IDCT_Scripts/IDCT-II_DCT-III_Minimal.py
       0  Stored        0   0% 2026-07-06 11:58 00000000  DCT-II_IDCT-II_DCT-III/DCT_IDCT_FCT/FCT_Scripts/
    1495  Defl:N      597  60% 2026-07-05 16:20 ac2bfb2a  DCT-II_IDCT-II_DCT-III/DCT_IDCT_FCT/FCT_Scripts/DCT_IDCT_Numpy_Scipy.py
    4629  Defl:N     1612  65% 2026-07-06 11:56 2693a36e  DCT-II_IDCT-II_DCT-III/DCT_IDCT_FCT/FCT_Scripts/FCT_LEE.py
       0  Stored        0   0% 2026-07-10 13:20 00000000  DCT-II_IDCT-II_DCT-III/Docs/
    6571  Defl:N     2464  63% 2026-07-10 13:19 2fbb384f  DCT-II_IDCT-II_DCT-III/Docs/DCT-II_IDCT-II_DCT-III.readme
    1625  Defl:N      788  52% 2026-07-10 09:05 93aeb9c7  DCT-II_IDCT-II_DCT-III/Docs/DFT_Multiplier.txt
    2130  Defl:N      997  53% 2026-07-08 12:56 fe36acbc  DCT-II_IDCT-II_DCT-III/Docs/The_Cosine_Transform.txt
       0  Stored        0   0% 2026-06-27 20:56 00000000  DCT-II_IDCT-II_DCT-III/Pics/
       0  Stored        0   0% 2026-07-08 17:16 00000000  DCT-II_IDCT-II_DCT-III/Pics/DCT_IDCT/
  186510  Defl:N   167246  10% 2026-06-17 15:43 87b0df7a  DCT-II_IDCT-II_DCT-III/Pics/DCT_IDCT/DCT-II_DCT-III_AMIGA.png
   69644  Defl:N    65648   6% 2026-06-15 20:45 c50f30af  DCT-II_IDCT-II_DCT-III/Pics/DCT_IDCT/DCT-II_DCT-III_Formulae.png
  254786  Defl:N   248492   3% 2026-06-17 14:37 39fd0db4  DCT-II_IDCT-II_DCT-III/Pics/DCT_IDCT/DCT-II_DCT-III_LINUX.png
  126058  Defl:N   121953   3% 2026-07-06 18:39 412f5aa3  DCT-II_IDCT-II_DCT-III/Pics/DCT_IDCT/DCT_IDCT_FCT_APPLE.png
       0  Stored        0   0% 2026-07-08 17:17 00000000  DCT-II_IDCT-II_DCT-III/Pics/FCT/
  126058  Defl:N   121953   3% 2026-07-06 18:39 412f5aa3  DCT-II_IDCT-II_DCT-III/Pics/FCT/DCT_IDCT_FCT_APPLE.png
  171478  Defl:N   153941  10% 2026-06-21 17:58 bb52332d  DCT-II_IDCT-II_DCT-III/Pics/FCT/FCT_LEE_AMIGA.png
  113061  Defl:N   109384   3% 2026-06-21 17:40 6ecbdd35  DCT-II_IDCT-II_DCT-III/Pics/FCT/FCT_LEE_LINUX.png
--------          -------  ---                            -------
 1070836           998036   7%                            23 files
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>