• Home
  • Reviews
  • Articles
  • News
  • Tools
  • GamingHeaven
  • Forums
  • Network
 

Go Back   DriverHeaven.net > Forums > Graphics Cards > ATI Radeon Drivers > Windows XP/2K Radeon Display Drivers

Notices

Reply
 
LinkBack Thread Tools
Old Mar 7, 2007, 09:20 AM   #1
DriverHeaven Newbie
 
Join Date: Mar 2007
Posts: 6
wozio is on a distinguished road

VMR9 YUV->RGB color conversion issues

Hi

Since cat 6.6 ati has broken color conversion routines when doing StretchRect from YUV surface to RGB. As you probably know video coding standard defines 16 as reference black and 235 as reference white. Conversion YUV->RGB can be done in two ways, extending 16-135 to 0-255 or by leaving original levels (better way). Cat in version up to 6.5 did in latter way. After 6.6 it was broken that for SD sources levels were extended and for HD were left as original or vice versa depending on drivers release.

So main question: is it possible to fix it in some modified drivers and let user choose method?

Regards
Piotr
wozio is offline   Reply With Quote
Old Mar 7, 2007, 03:41 PM   #2
DriverHeaven Granddaddy
 
Dyre Straits's Avatar
 
Join Date: May 2002
Location: Georgia, USA
Posts: 12,102
Dyre Straits is a name known to allDyre Straits is a name known to allDyre Straits is a name known to allDyre Straits is a name known to allDyre Straits is a name known to allDyre Straits is a name known to all

Quote:
Originally Posted by wozio View Post
Hi

Since cat 6.6 ati has broken color conversion routines when doing StretchRect from YUV surface to RGB. As you probably know video coding standard defines 16 as reference black and 235 as reference white. Conversion YUV->RGB can be done in two ways, extending 16-135 to 0-255 or by leaving original levels (better way). Cat in version up to 6.5 did in latter way. After 6.6 it was broken that for SD sources levels were extended and for HD were left as original or vice versa depending on drivers release.

So main question: is it possible to fix it in some modified drivers and let user choose method?

Regards
Piotr
Greetings and welcome to DriverHeaven!

I'm not sure just what changed, but after reading your post I have to wonder if the changes ATI made in the drivers has anything to do with the introduction and development of AVIVO.

I've tried to confirm that, but haven't found anything as yet. If it IS related to AVIVO I wouldn't expect ATI to go back to the 'old' way.

Stay tuned....
Dyre Straits is offline   Reply With Quote
Old Mar 8, 2007, 07:09 AM   #3
DriverHeaven Newbie
 
Join Date: Mar 2007
Posts: 6
wozio is on a distinguished road

Hi,

Just to clarify: as far as I know VMR9 isn't actually a couse of the problem, it just uses StretchRect (or mocomp routines which I believe uses the same code for converting color formats) for rendering video, that's why it is visible by using VMR9. In my code I use StretchRect to color convert and results are the same.

Maybe it is something with avivo, but when decoding this is just renamed dxva plus separate extensions so problem is strange. Why they changed routines? NVIDIA has switch in registry to control this...

Piotr
wozio is offline   Reply With Quote
Old Mar 8, 2007, 07:11 AM   #4
DriverHeaven Newbie
 
Join Date: Mar 2007
Posts: 6
wozio is on a distinguished road

Oh one more thing: also possibility to switch video noise reduction would be very useful. Now it can be done by adding TRDenoise key to registry.
wozio is offline   Reply With Quote
Old Mar 8, 2007, 07:31 AM   #5
DriverHeaven Newbie
 
Join Date: Mar 2007
Posts: 6
wozio is on a distinguished road

even one more thing :-)

You can easily test it in any video player using vmr9 (for example media player classic) and decoder with scaler such as ffdshow. Set output to some yuv and then change output video size, it should switch to different routines when hitting hdtv resolution even when source video is exactly the same. So color conversion routines in drivers are different for different surface sizes.
wozio is offline   Reply With Quote
Old Mar 8, 2007, 05:08 PM   #6
DriverHeaven Newbie
 
Join Date: Mar 2007
Posts: 6
wozio is on a distinguished road

It's me again.

It's me again :-)

I tested it little bit more and it looks that for yuv surfaces with vertical size equal or more than 720 pixels StretchRect uses different conversion routines. Horizontal size doesn't matter.

Regards
Piotr
wozio is offline   Reply With Quote
Old Mar 17, 2007, 02:14 PM   #7
DriverHeaven Newbie
 
Join Date: Nov 2002
Posts: 1
kobri is on a distinguished road

I'm having exactly the same issues, is there any solution ?
kobri is offline   Reply With Quote
Old Apr 3, 2007, 06:39 AM   #8
DriverHeaven Newbie
 
Join Date: Mar 2007
Posts: 6
wozio is on a distinguished road

Nothing changed in 7.3.
wozio is offline   Reply With Quote
Old Apr 3, 2007, 06:14 PM   #9
DriverHeaven Junior Member
 
Join Date: Oct 2002
Posts: 46
Dwarden is on a distinguished road

one may wonder ...
Dwarden is offline   Reply With Quote
 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 10:46 AM. Copyright ©2008 HeavenMedia.net