08 February 2017, 11:15 | #1 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
RiVA v0.52 Released
RiVA-0.52: This is the latest update to the fastest MPEG player available on the classic 68k Amiga platform. Two binaries are provided in this archive, a classic m68k compatible build (68040+) and an AMMX build, exclusive to Apollo Core Gold 2 and newer. New in this version:: - AMMX usage in motion compensation, residual transform, color conversion - multibuffered SAGA YUV video output - Stereo sound output - audio/video sync - automatic enabling of 44/48 kHz sound output when P96 with 31 kHz AmigaVideo environment variable and ECS denise are present - relaxation of internal data paths, avoidance of unnecessary data copies - 16 Bit windowed mode quality improvement, along with ordered dithering - borderless windowed mode (Flype) RiVA-0.52: Download Last edited by AMIGASYSTEM; 24 July 2019 at 13:35. |
08 February 2017, 12:47 | #2 |
Registered User
Join Date: Jul 2012
Location: Finland
Posts: 62
|
Everything is working fine here, except with old version (0.50) PIP mode works, but not in new, shows only one colored screen or grey, if windowed (not zoomed PIP). My config is: Mediator TX, Phase5 060 (256mt), Voodoo 3000PCI, OS3.9 BB2.Screenmode 800x600 16bitPC (picasso96). Thankyou for your release !.
edit: Solved problem by changing screenmode to 800x600 16bit not PC mode. Now everything works ok, thankyou again ! Last edited by prowler; 28 February 2017 at 22:11. Reason: Back-to-back posts merged. |
10 February 2017, 09:24 | #3 |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
This RiVA code is more than a little bit suspect.
Code:
CreatePalette lea Palette,a0 move.w #256,(a0)+ ;Number of colours to load move.w #0,(a0)+ ;Register number to start from move.l #256-1,d7 .colsloop move.b d7,d6 lsl.l #8,d6 move.b d7,d6 lsl.l #8,d6 move.b d7,d6 lsl.l #8,d6 move.b d7,d6 lsl.l #8,d6 not.l d6 move.l d6,(a0)+ move.l d6,(a0)+ move.l d6,(a0)+ dbf d7,.colsloop move.l #0,(a0) ;Close Structure rts Code:
CreatePalette lea Palette,a0 move.l #256,d7 move.w d7,(a0)+ ;Number of colours to load subq.l #1,d7 ;256-1 clr.w (a0)+ ;Register number to start from .colsloop move.b d7,d6 lsl.l #8,d6 move.b d7,d6 lsl.l #8,d6 move.b d7,d6 lsl.l #8,d6 not.l d6 move.l d6,(a0)+ move.l d6,(a0)+ move.l d6,(a0)+ dbf d7,.colsloop clr.l (a0) ;Close Structure rts Last edited by matthey; 10 February 2017 at 09:59. |
10 February 2017, 10:19 | #4 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 56
Posts: 2,029
|
Code:
CreatePalette lea Palette,a0 move.w #256,(a0)+ ;Number of colours to load clr.w (a0)+ ;Register number to start from moveq #-1,D6 move.l #$01010101,D7 .colsloop not.l d6 move.l d6,(a0)+ move.l d6,(a0)+ move.l d6,(a0)+ not.l d6 sub.l D7,D6 bcc.b .colsloop clr.l (a0) ;Close Structure rts Last edited by Don_Adan; 10 February 2017 at 11:42. Reason: shortest version |
10 February 2017, 10:45 | #5 |
Registered User
Join Date: May 2016
Location: Rostock/Germany
Posts: 132
|
If you want to save cycles that matter, look into the color conversion routines, for a start. Those which I didn't touch with AMMX code bring heavy penalties in terms stalls due to the register indexed addressing (on 060).
Last edited by prowler; 28 February 2017 at 22:25. Reason: Cleanup. |
10 February 2017, 16:51 | #6 | |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
Last edited by prowler; 28 February 2017 at 22:28. Reason: Cleanup. |
|
10 February 2017, 20:18 | #7 |
Registered User
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 452
|
Are these code samples from "Create Palette Structure before opening the screen"?
Where is actual work loop? |
10 February 2017, 20:23 | #8 |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,924
|
It's in fact "create a greyscale palette for AGA and poor people that haven't got a Vampire (and thus can't just watch full-color hires movies) code". Legacy stuff that buggs didn't even touch.
Last edited by grond; 11 February 2017 at 00:43. |
10 February 2017, 20:55 | #9 |
Registered User
Join Date: Feb 2016
Location: London / UK
Posts: 166
|
I would like to say thank you to bax/flype/etc. for doing some awesome work on RiVA for AMMX users. It's super impressive what a vampire can do with video now.
Last edited by prowler; 28 February 2017 at 22:33. Reason: Cleanup. |
10 February 2017, 21:09 | #10 |
Registered User
Join Date: Jun 2012
Location: Worksop/UK
Age: 59
Posts: 1,328
|
@cmsj
Right on! |
14 February 2017, 03:32 | #11 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,958
|
Great work, can we get a WarpOS version?
|
14 February 2017, 11:31 | #12 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
This is (mostly) 68k code so i doubt it.
Last edited by prowler; 28 February 2017 at 22:36. Reason: Cleanup. |
14 February 2017, 13:35 | #13 |
Registered User
Join Date: Dec 2014
Location: France
Posts: 104
|
RiVA 0.52 is based on RiVA 0.50 where Stephen Fellner, years ago, wrote what is still the fastest MPEG1 player for MC680x0. It was written 100% in assembly, has been re rewritten many times at that time, improving it by adding features years after years, for example Picasso IV support. So, of course, some of the code ends on some not super clean code. Well, i know the code in RiVA, it is not that bad. I don't understand such criticismes. At end RiVA 0.50 works as intended and is fast. And this has no relation with the Apollo-Team, with the Vampire. The code that is spotted by Matthey is a detail in the original 0.50 code. We are speaking of a detail. Now regarding the 0.52 re work, also i know the code inside, and i can't let people speculates on "unreadable, unmaintainable, targeted at archaic data types, requiring system patches, exceedingly long, filthy, full of ugly hacks - doesn't matter as long as it executes fast. This isn't the 68k spirit at all - but who cares.". Seriously, this is pure speculation and (not the first time) pure bad faith ; the rework *is* clean, the code *is* maintainable and readable. That is really tiring to be always critized when something comes from the Apollo-Team guys. I am Apollo-Team guy and i do not recognize myself in your description. I like Amiga, i like AmigaOS, i like 68k, i like clean code, we all.
Last edited by prowler; 28 February 2017 at 22:45. Reason: Cleanup. |
14 February 2017, 13:46 | #14 |
Posts: n/a
|
@ flype :
totaly agree. I was beta-testing RIVA on the vampire in the developpement process, and I clearly saw the improvements at each iteration. Same hardware used each time. So, the code was optimised, and delivered what some people claimed to be impossible. Now that RIVA is there and show that's Apollo is much faster than a real 060, Mr. Meynarf complain about the code itself (but don't show his promised optimised and as fast as Apollo one) and Mr. Thoram said "who care" that apollo is faster ? Then in this case, don't stay on Amiga, it is clear that anything else that you can buy now in a shop is way faster than that, but this is not the point. The point is to have the best accelerator for our Amiga. It is so hard to understand ? |
14 February 2017, 14:07 | #15 | |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
Quote:
|
|
14 February 2017, 14:12 | #16 |
Registered User
Join Date: Dec 2014
Location: France
Posts: 104
|
|
15 February 2017, 11:36 | #17 |
Registered User
Join Date: Mar 2009
Location: New York
Posts: 552
|
Hi there, where can I find the RiVA source repo?
|
15 February 2017, 11:56 | #18 |
Registered User
Join Date: Dec 2014
Location: France
Posts: 104
|
In first post. On the aminet link.
To stay in topic, Point is to offer to current existing Vampire owners a solution to watch movie at 24fps. They were not able to, at decent resolution at least. Fact is they *can* now, if they likes to. How it is done do not hurts other machines owners. For non vampire users, there is something that scores/benchs don't shows : RiVA-0.52-apollo offer a much better visual quality and audio quality than 0.50 and 0.52-m68k. People that are really interested can start reading this AMMX introduction, many already did : http://forum.apollo-accelerators.com....php?f=10&t=25 After your reading, if you don't like, don't use. That's all, that's simple, that's clear enough. Last edited by prowler; 28 February 2017 at 23:03. Reason: Back-to-back posts merged. |
15 February 2017, 12:53 | #19 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
Quote:
Now if all these 64-bit encodings (and new stuff in general) have to be enabled otherwise they trap, then it becomes perfectly fine for me - won't like, won't use, but also won't care at all. Last edited by prowler; 28 February 2017 at 23:07. Reason: Cleanup. |
|
15 February 2017, 13:04 | #20 |
Registered User
Join Date: Dec 2014
Location: France
Posts: 104
|
Ah, ok, December 2016 is what i call up to date in my world. Current RiVA use this specs.
Last edited by prowler; 28 February 2017 at 23:10. Reason: Cleanup. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RiVa AMMX Benchmarks | TuKo | Amiga scene | 82 | 26 January 2017 20:59 |
RIVA (68k MPEG Player) is now free | NovaCoder | News | 7 | 14 March 2016 11:25 |
RiVA mpeg player | amiga | request.Apps | 18 | 25 February 2014 10:32 |
Never released??? | tomcat666 | project.aGTW | 18 | 18 January 2010 14:44 |
riva | amiga | request.Apps | 6 | 12 May 2008 18:56 |
|
|