![]() |
![]() |
#201 | |||
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,844
|
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
#202 | ||
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,878
|
Quote:
Quote:
Also psychovisual models need to be (IMHO) implemented - perhaps 1 gray pixel will be less visible than 2 pixels such as light magenta-yellow - i mean with limited resolution (low res) and quantization range (4 bit) lot of things can be important. But AFAIK optimal mathematical model for HAM not exist - perhaps with help of some people on ImageMagick or similar software forum it can be created... this definitely good area for some Matlab work (and lot of testing). Final algorithm perhaps can be not so NP costly but even simple LQ HAM conversion HW can be best solution t bring HAM back to community - imagine that no one practically use HAM except some copper tricks. If ST guys can play HQ samples on YM2149F i see no reason to forgot about HAM. Btw - i never saw any video compression (even simple - similar to for example DXT) on Amiga, same for color space - mentioned in past YCgCo that is multiplierless, fully integer and have good (comparable to YCbCr) characteristic. Definitely there is lot of areas on Amiga where last 10- 20 years science progress can be used to do something new (by something new i mean not sightly faster version of C2P - seem that for some people C2P or comparable code is the essence of coding - same as sine dot plot or comparable effect). Last edited by pandy71; 29 June 2014 at 17:39. |
||
![]() |
![]() |
#203 |
Registered User
Join Date: Aug 2012
Location: Australia
Posts: 651
|
I would talk to people who had written h264 encoders etc
|
![]() |
![]() |
#204 |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,878
|
Can be nice at least to ask where to search for tools and knowledge about this problem - i have no experience in this kind of research - it involve not only psychovisual models but also practical analysis and creating various models.
|
![]() |
![]() |
#205 | ||||||||||||||||||||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Quote:
Quote:
Quote:
Quote:
![]() Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
![]() |
||||||||||||||||||||||
![]() |
![]() |
#206 |
Registered User
Join Date: Apr 2014
Location: Germany
Posts: 154
|
Lets try to go back to the original topic.
Lets say we have an OCS/ECS AMIGA. OK? Imagine an A1000 or A500 or A600... The screen modes with the modes colors are either EHB or HAM6. Lets say we have the we have a source image. This could be a still like a JPEG or PNG or something changing like a chunky screen from a game, a simulated MAC or a video. The common factor of the input data is its not planar - and it has more colors than we do. So we need to do two things here. A) We need to do a color reduction / conversion B) We need to do C2P Now lets say we have a fast 68K CPU - much faster than any 68030 every produced. Lets say we are happy with 30 FPS. We do not need 50 FPS. This means the chip memory limit of the OCS/ECS AMIGA is not a provblem. We can do C2P to EHB 64 color screen or to HAM6 screen and reach 30 FPS. Now what is the best conversion that we are able to do / able to code? A real time conversion from chunky 15bit screen to 64 color fixed color EHB planar screen is not that difficult. I did this and it works fine with 30 FPS on my A600. Could we do better? Ideally from this discussion some code should pop out. So that people like that port games or use SDL games or write emulator, can really benefit from this here. |
![]() |
![]() |
#207 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
|
![]() |
![]() |
#208 |
Registered User
Join Date: Feb 2008
Location: Northampton/UK
Posts: 530
|
|
![]() |
![]() |
#209 |
Registered User
Join Date: Apr 2014
Location: Germany
Posts: 154
|
|
![]() |
![]() |
#210 | |||||||||||||||||||
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,878
|
Quote:
I don't think that sliced modes are good but perhaps i will be surprised (i wish to be surprised!). Quote:
Maybe if you insist - still you can have dithering in horizontal but you can't ignore HAM errors. IMHO vertical is error free thus dither biased to vertical will be better on HAM - sadly bandwidth is not enough to do this also in temporal direction. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
![]() Quote:
Quote:
Quote:
http://en.wikipedia.org/wiki/JPEG#JPEG_compression http://en.wikipedia.org/wiki/Sophism#Modern_usage Quote:
Quote:
Quote:
Quote:
Quote:
Cycle cost is exactly the same for HAM and for EHB. And quality... as we accepting crude pointresample, resolutions 40x256 then perhaps LQ HAM 320x256 or 320x512 will be not so bad. Quote:
Quote:
But model, algorithm for HAM (HAM errors introduced in algorithm) are not exisit. Quote:
This one is over 8 bit and support sample rates over 44.1k - IMHO quite impressive example what can be done when proper tools and methods are used. Last edited by pandy71; 30 June 2014 at 16:14. |
|||||||||||||||||||
![]() |
![]() |
#211 | |
Registered User
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 821
|
Quote:
|
|
![]() |
![]() |
#212 |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,878
|
Yes - i never wrote that it is 12 bit at 44.1k but still it can provide over 8 bit only correct usage of HW. With proper method even "primitive" (relatively) HW can be OK - HAM should be seen as Amiga opportunity not ignored because lack of good algorithm.
|
![]() |
![]() |
#213 | ||||||||||||||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Quote:
Quote:
Quote:
![]() Quote:
Quote:
After all, my opinion is that what is good to put in a cpu doesn't depend on the implementation, but on the long-term programming needs. Why discussing implementation details then ? Quote:
Quote:
Quote:
![]() Quote:
Quote:
![]() As it is still based on previous pixels, it's a delta with your definition. Or you have to define where you put the limit. Btw. Reasoning by the absurd to show that an assertion is wrong - which is what i did - isn't a sophism. Quote:
In case of doubt, just ask. English can be misleading, especially because none of us is a native speaker. Quote:
Quote:
Quote:
Quote:
Yes, there is no math theory for HAM. But I don't think there is a single, good method. All have pros and cons. And I think my HAM8 implementation is a reasonable compromise. Have you checked it btw ? Quote:
You have 3 channels each 4 bits of volume - total 12 bits, but many combinations lead to the exact same amplitude and the results are not linear. So i'm afraid that the final output quality isn't even 8 bits. Anyway, the fact good audio can be provided with the right method - does not imply that the same thing can be done with HAM. Also note that this kind of argument can be "returned" to everyone who does not want to implement all 68020 instructions in HW. After all, it should be possible to have full 68030+68882 if the proper tools and methods are used. |
||||||||||||||||
![]() |
![]() |
#214 | |||||||||||||
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,878
|
Quote:
Quote:
NC Quote:
Quote:
Software is different story - i would say everything depends from programmer skills. http://en.wikipedia.org/wiki/Zero_in...n_set_computer http://en.wikipedia.org/wiki/One_ins...n_set_computer http://en.wikipedia.org/wiki/Minimal...n_set_computer But still as this topic is related to CPU than chipset i see no link especially when your earlier comments are serious. Quote:
Quote:
Quote:
Quote:
As 16 color LUT with relatively good results for WB screen already exist then perhaps this is not bad idea to test this also for HAM. I agree - this will be not perfect but still perhaps acceptable in terms of NP and quality. Quote:
As C2P is done on regular basis, on large amount of data and is simple data shuffling then it is perfect candidate to be done in HW. Quote:
Quote:
HAM8 is not interesting for as HAM as machine capable to do HAM8 is less limited than machine not capable to do HAM8. So it was not checked. Quote:
Quote:
Don't forget to add and unlimited (at some point) HW resources - then i can agree - but key to this discussion is what to do to have very fast CPU accelerator on Amiga with reasonably priced FPGA. |
|||||||||||||
![]() |
![]() |
#215 | ||||||||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Quote:
So my question still is : what to keep and what not, and for which reasons ? Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Btw. it seems the actual cpu for fpga arcade has full 68020 support (from what i've read in another thread). And also remember that, in the other way, resources are not unlimited for software as well. You have a specified amount of clocks per second and you can't use more. So it's basically the same problem at the end : you need to be smart and if you are, great things can be achieved. |
||||||||||
![]() |
![]() |
#216 | ||||||||
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,878
|
Quote:
Yep, but main difference is that for HW you have (99.999% cases) warranty, for software not (in 99.999% cases) - lot of people see them-self as programmers or coders but sadly to others usually they can't write decent code at all... Quote:
Quote:
Ok, once again - EHB 32 direct CLUT colours, HAM 16 direct CLUT colors, render picture in 16 colors then in second pass use HAM feature... EHB have constantly bad quality where HAM can provide better quality - anyway each time whole frame is generated (as you don't transfer only changes) Quote:
Quote:
HAM have limitations, this is obvious but with good code it can provide results close to hicolor buffer on 6 bitplanes and this is most important as we have more MIPS to do this possible. Quote:
Quote:
With more MIPS you can do HAM converter that can address this and other problems also i believe blitter will be no longer used to blit HAM screen as CPU will be way faster and also overall method for rendering picture is completely different. Quote:
FPGA Arcade is different story - i would say - waiting for product - price sounds reasonable - if it will be half as good as JimDrew say then i will buy it. And i remember about clocks - this is why i writing - guys - forget about compo code for fastest c2p - this should be done in hardware - let focus on complex thing that can't be accelerated by HW. |
||||||||
![]() |
![]() |
#217 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,844
|
Quote:
Or simple 16x16 pixel tile blitting. Very fast and easy in EHB or any other indexed mode, but for HAM you need to correct the right edges of all the tiles you blit, and to make that possible you also need the true/high color version of the tiles on top of the pre-converted tiles, making this slower (more memory access and more logic). Indexed is almost always faster to render. Another example is true color to 216 colors conversion (6 red shades x 6 green shades x 6 blue shades). Exceedingly fast (needs only three small tables, and you get 4x4 Bayer ordered dithering almost for free as a nice bonus). Very useful for hires preview modes in image processing software (never seen a fast one, actually). With HAM you'll never get the same speed. Only if you render with error diffusion (Floyd/Filter Lite) is HAM faster (and always better, of course). |
|
![]() |
![]() |
#218 | |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,878
|
Quote:
|
|
![]() |
![]() |
#219 | ||||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Quote:
There are poor skilled programmers but there are poor skilled hardware guys as well. Quote:
Quote:
Quote:
Quote:
Quote:
Also if we want to focus on a complex thing that can't be accelerated by HW - then what can it be ? Not HAM, as (at least for you) it can also be done in HW. Oh yeah i will ask Gunnar to create a HAM instruction that he will call "phil" ![]() |
||||||
![]() |
![]() |
#220 | |||
Registered User
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 1,157
|
Quote:
Quote:
Quote:
|
|||
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vampire 500 project started | majsta | Hardware mods | 221 | 17 August 2016 18:42 |
cd32 project idea i challenge ... | sian | request.Other | 11 | 15 June 2013 19:34 |
Looking for artist to collaborate on Lotus Turbo Challenge project | P-J | Amiga scene | 16 | 07 January 2012 04:21 |
Desperately seeking Amiga Demo Coder | slayerGTN | Amiga scene | 2 | 02 August 2010 23:34 |
Project-X SE & F17 Challenge v2.0 (1993)(Team 17)(M5)[compilation][CDD3499] | retrogamer | request.Old Rare Games | 0 | 05 April 2007 14:37 |
|
|