Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > CSAM Animation/Image quantizer - test version
2007-01-02 09:51
algorithm

Registered: May 2002
Posts: 705
CSAM Animation/Image quantizer - test version


A preview and unfinished version of the Char Selection and Matching (CSAM) image quantizer is now ready for download

This tool creates (or tries to create) an optimal selection of 4x8 char blocks by analysing the image.
the user has control over the threshold of character selection allowing the image to use less characters or more.

It is also possible to add character data to previous char data.

for example, an image can be loaded, the threshold can be adjusted so that around a quarter of the
256 character blocks are used, then another image (or frame) can be loaded and characters appended to the
definitions

There are a lot of features currently missing from this preview. more notably the manual selection of char blocks as well as the activemovie component which allows video to be imported and converted + the multiframe comparison.

any comments, critisisms and info are welcome

download it from

http://www.naveedkhugiani.com/CSAMquantizer.exe
 
... 9 posts hidden. Click here to view all posts....
 
2007-01-02 14:10
Raf

Registered: Nov 2003
Posts: 343
well.. this way there will be possibility to play realtime video with sampled sound - all streamed on fast device like ide64 ... nice :)

www.vulture.c64.org
2007-01-02 14:39
algorithm

Registered: May 2002
Posts: 705
talking about samples, a similar method can also be applied to audio data. While ADPCM2 can compress each sample to 2 bits, this would only give a comp ratio of 2:1 when expanding to 4bits. with the codebook version 4:1 or higher can be achieved no probs (in combination with post processing/stretch interpol. decoding would be extremely straightforward,
2007-01-02 15:17
Oswald

Registered: Apr 2002
Posts: 5094
streaming video (koala bitmaps+samples) was done ages ago by bigfoot/ breeze :P
2007-01-02 15:37
algorithm

Registered: May 2002
Posts: 705
streaming from floppy or harddrive?
2007-01-02 15:50
Bamu®
Account closed

Registered: May 2005
Posts: 1332
Quote: well.. this way there will be possibility to play realtime video with sampled sound - all streamed on fast device like ide64 ... nice :)

www.vulture.c64.org


hey, don't forget the mmc64! ;-)
2007-01-02 16:09
Oswald

Registered: Apr 2002
Posts: 5094
streaming from pc.

the transfar code was this:

lda cia
sta mem
lda cia
sta mem
lda cia
sta mem
lda cia
sta mem
lda cia
sta mem
lda cia
sta mem

...

and every now and then:

lda cia
sta d418



for the digis :)

can you do it faster?
2007-01-02 18:47
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: streaming from pc.

the transfar code was this:

lda cia
sta mem
lda cia
sta mem
lda cia
sta mem
lda cia
sta mem
lda cia
sta mem
lda cia
sta mem

...

and every now and then:

lda cia
sta d418



for the digis :)

can you do it faster?


You liar! That would result in a non-stable scrolling image since you don't have any synchonization between the PC and the C64. :D
2007-01-03 05:54
Oswald

Registered: Apr 2002
Posts: 5094
jack, well it actually works, as I clearly remember seeing this code in monitor. but have to ask bigfoot for exact explanation. the explanation I vaguely remember sounds something like: "the pc is so much faster than the c64 that when the c64 sets the memory r/w line (?) low/high (?) the pc can put the data out before the actual c64 read takes place"
2007-01-03 07:54
Style

Registered: Jun 2004
Posts: 498
I remember Highlander/FLT used to use his c64 as a PC soundcard, jamming nybbles into $d418 purloined from the PCs parallel port using a special driver under freebsd.

Personally, I just went and bought a Vibra16 and installed a real OS. But Paul was funny like that :D
2009-02-19 14:28
algorithm

Registered: May 2002
Posts: 705
Anything else apart from a stock c64 and diskdrive is considered cheating :-}

Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
CreaMD/React
Andy/AEG
tokra/Akronyme Analo..
commodore_freak
Guests online: 98
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.053 sec.