|
Register or have you forgotten your password?
|
|
|
| Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
' union select name,pwd--
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
|
Recently there has been a lot of discussion about overlay, and how it supposedly is obsolete and/or of small priority.
It is neither. Overlay is absolutely critical for low-end systems displaying video. The benefits of overlay are two-fold:
The second point removes the need for the application to convert the YCbCr encoded image information to RGB understood by the graphics system. This leaves more time for actual video and audio decoding. The practical implications are that if the OS or graphics driver doesn't support overlay, video playback will suffer. This is especially critical with the low-end systems that already spend considerable resources decoding the video and audio in the first place. So neither is overlay low priority nor obsolete. PS. It does not matter how the overlay is implemented. It could be dedicated overlay mode supported by the graphics hardware, or it could be implemented via the 3D hardware. The important point is that both OS and the device driver implement it and the APIs providing the overlay to the applications. PPS. Overlay has other uses as well, such as in emulators where the graphics can be stretched to whatever size needed. Without it you're stuck with the postage stamp on a 1920x1080 display. Last edited by Karlos; 06-29-2012 at 02:12 PM.. Reason: Merged PPS text from duplicate post. |
||||||||
|
|
|
|
|
#2 | ||||||||
|
Hobbyist
![]()
Join Date: Feb 2003
Posts: 51
|
Hello
>1. Offloading the video scaling to hardware. But the existing CompositeTags() can do hardware resizing on x1000... >2. Offloading the YCbCr -> RGB conversion to hardware. But Altivec can (may) do that... So when when you say "we need overlay" what exactly is needed ? a full gxvideo.library implementation ? or just a function to convert/display an YCbCr buffer ? Alain Thellier |
||||||||
|
|
|
|
|
#3 | ||||||||
|
Technoid
![]()
Join Date: Mar 2007
Posts: 280
|
yes overlay is essential
on the Amiga only the Picasso 4 and the cybervision 64 supports overlay on winuae have not been implemented yet...Tony was asked to implement it on winuae for fast and better video play back but he said he is not interested in add that function to winuae...he said that everyone must use windows to watch videos |
||||||||
|
|
|
|
|
#4 | |||||||||
|
Defender of the Faith
![]()
Join Date: Mar 2002
Posts: 1,724
|
Quote:
http://amiga.sourceforge.net/amigade...roup=Picasso96 otherwise current videoplayers won't be able to open a PIP/overlay windows and will have to switch to other rendering methods.
__________________
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ) |
|||||||||
|
|
|
|
|
#5 | ||||||||
|
Premium Member
Join Date: Aug 2002
Posts: 1,100
|
My understanding is that Overlay is a hardware device - it's where the graphics card renders its frame buffer and then renders a seperate area (the overlay).
Using 3D to emulate overlay is a perfectly valid way of doing it, but it's not actually overlay - which is Hans' point. Overlay is obsolete. Using 3D to gain the same benefits as overlay is not. Hans isn't saying that the drivers don't need video support, he's saying it should be done via 3D, not overlay. Which is correct, as overlay is indeed pretty much obsolete these days of 3D graphics cards.
__________________
-- Ian Gledhill ian.gledhill@btinternit.com (except it should be internEt of course...!) Check out my shop! http://www.mutant-caterpillar.co.uk/shop/ - for 8-bit (and soon 16-bit) goodness! |
||||||||
|
|
|
|
|
#6 | ||||||||||
|
Defender of the Faith
![]()
Join Date: Mar 2002
Posts: 1,724
|
Quote:
Quote:
Hans has said gpu is very complex and you can expect creating working 3d drivers will take much more time. If you plan to implement overlay compatibility after 3d drivers are done it will take much more time. Permedia2 lacked true overlay and CGX coders implemented Overlay support using a pair of textures. It didn't require full OpenGL support.
__________________
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ) Last edited by Crumb; 06-28-2012 at 10:01 AM.. |
||||||||||
|
|
|
|
|
#7 | ||||||||||
|
Defender of the Faith
![]()
Join Date: Oct 2002
Posts: 1,874
|
Quote:
Quote:
Overlay is not obsolete.
__________________
Only MorphOS makes it possible \o_ |
||||||||||
|
|
|
|
|
#8 | ||||||||
|
Cult Member
![]()
Join Date: Jun 2010
Posts: 834
|
Once you've converted to RGB, the video takes much more memory and bandwidth.
Yuv (or ycbcr) is skipping many color components. RGB is 4:4:4 (for every 4 pixels, there are 4 sames of each component) Yuv can be 4:2:2, 4:1:1, 4:2:0 (really a misnomer), etc. so it's much smaller in memory. DVD, BluRay and all the common mp4/h264 variants are 4:2:0 for example. Not having to convert to a larger more cumbersome RGB format is one of the biggest benefits of overlay, 3D "faked" or not. |
||||||||
|
|
|
|
|
#9 | ||||||||
|
Sockologist
![]()
|
I think part of the problem is that many people are confusing the concept with with a particular implementation of the concept. To me, and probably to Hans, a video overlay is a very specific hardware implementation that is distinct from chromakeying and video texturing. To the next guy, maybe not. So, for the sake of clarity, I'll use the term "hardware video surface" to describe the general concept of a hardware assisted mechanism for rendering YCbCr formatted frames without the need for software colour conversion or scaling.
Nobody is arguing against the need for "hardware video surface" support in display drivers. Even when you don't need to scale the output, not having to do the colour conversion can make a difference in the amount of data that has to be transferred over the bus as the YCbCr data is typically more compact than RGB. In a perfect world, various parts of the hardware that are involved in video stream decoding would be openly documented and we could use those too. The argument has been over the merits of particular ways of implementing support for "hardware video surfaces". The original hardware mechanism that we are used to from the days of Cirrus Logic and S3 chipsets of yesteryear (and variations thereof) are what are being described as obsolete here. I haven't looked too closely, but from what I gather, this particular method doesn't even exist in a lot of current generation cards. Instead, video colour conversion and scaling is handled by parts of the hardware 3D pipeline through the use of texture mapping, in which each YCbCr frame is used as a texture and rendered onto a quad (a rectangle primitive, optionally realized as a triangle fan or strip on hardware without direct support for quads). Right now, as far as I know no specific implementation exists for the RadeonHD drivers. With adequate 3D support, however, implementing a hardware video surface via video texturing becomes feasible. Since both 3D and video playback are desirable features, it makes sense to focus on the overlap.
__________________
OCA This isn't SCSI... This is SATA!!! I have CDO. It's like OCD except all the letters are in ascending order. The way they should be. Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64 A1XE 800MHz / 512MB / Radeon 9200 / OS4.1 A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4 A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9 A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB |
||||||||
|
|
|
|
|
#10 | ||||||||
|
VIP / Donor
Join Date: Jun 2002
Location: UK
Posts: 932
|
The good news is thanks to funding this guy appears to be working on these drivers full time. I'm sure many of the features including those right up to what the latest new Radeon graphics cards have to offer with video playback enhancements will come.
|
||||||||
|
|
|
|
|
#11 | ||||||||
|
Defender of the Faith
![]()
|
Piru
Thanks for the technical explanation. I guess the fanboys that DONT have overlay needed this. I found some of the comments about not having it being ok to be funny. Overlay makes a big difference in many practical ways that affect all users. Dont know if this is really a "news" item but glad for the clarification to stop silly additional posts
__________________
bPlan Pegasos2 G4@1ghz Quad Boot:Reg. MorphOS /Amiga OS4.1 U4/Ubuntu GNU-Linux /MacOS X Amiga Technologies A1200 HD | Blizzard 1260@66mhz | 128mb | OS 3.9 | Indivision MK2 |
||||||||
|
|
|
|
|
#12 | ||||||||
|
VIP / Donor
Join Date: Jun 2002
Location: UK
Posts: 932
|
A discussion about overlay is classed as a news item?
|
||||||||
|
|
|
|
|
#13 | |||||||||
|
' union select name,pwd--
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
|
The mistake was mine, I originally posted to a wrong category by accident. This "news item" should be deleted. To quote the actual discussion thread post:
Quote:
Last edited by Piru; 06-28-2012 at 08:48 PM.. |
|||||||||
|
|
|
|
|
#14 | ||||||||
|
VIP / Donor
Join Date: Jun 2002
Location: UK
Posts: 932
|
It goes to show how active the mods are here now days, talk about a slippery slope.
|
||||||||
|
|
|
|
|
#15 | ||||||||
|
Sockologist
![]()
|
We do have lives too, you know.
__________________
OCA This isn't SCSI... This is SATA!!! I have CDO. It's like OCD except all the letters are in ascending order. The way they should be. Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64 A1XE 800MHz / 512MB / Radeon 9200 / OS4.1 A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4 A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9 A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB |
||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| essential , fast , fast video , overlay , playback , scaling , video , video playback , ycbcr |
| Thread Tools | |
| Display Modes | |
|
|