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: 702
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: 702
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: 5022
streaming video (koala bitmaps+samples) was done ages ago by bigfoot/ breeze :P
2007-01-02 15:37
algorithm

Registered: May 2002
Posts: 702
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: 5022
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: 1989
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: 5022
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: 702
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
Viti/Hokuto Force
Linus/MSL
Urban Space Cowboy
Airwolf/F4CG
iceout/Avatar/HF
Epyx
csabanw
sachy
Raf/Vulture Design
acrouzet/G★P
Guests online: 143
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

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