Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
rhester72
Old
(Last edited by rhester72; 14th July 2011 at 05:35 PM.)
#1  
Senior Member - OP
Thanks Meter 56
Posts: 412
Join Date: Mar 2011
Default Confusion about 16-bit vs. 24-bit

Screenshots taken with n132 (and are completely unmodified PNGs straight from the CM7 screenshot function off the Power menu).

16-bit:



24-bit:



A few points of confusion...

- Do the two shots above look identical to you, and appear to both be in 24-bit colorspace? They do to me.

- Why is it that on the device itself, both appear to be in 16-bit color, with heavy banding, despite the difference in framebuffers? Is there something about the OMAP driver that is filtering/dithering or otherwise restricting the colorspace above and beyond the framebuffer itself?

Rodney
 
rhester72
Old
#2  
Senior Member - OP
Thanks Meter 56
Posts: 412
Join Date: Mar 2011
Actually got the screenshots to show up. Thanks, photobucket. Word to the wise: don't use picpaste for it. Ironically, they'll show up in preview, but not in the actual post.

Rodney
 
ace7196
Old
#3  
ace7196's Avatar
Senior Member
Thanks Meter 251
Posts: 1,178
Join Date: Jan 2011
Location: Oregon
Very limited understanding of all this, but could you make an img of both and open it in QuickPic? I there there are only a few apps that can display it.
Nexus 4 owner.
Nexus 7 owner.
 
rhester72
Old
#4  
Senior Member - OP
Thanks Meter 56
Posts: 412
Join Date: Mar 2011
Well, that's kind of my point - the app that I was running when I took the screenshots paints _directly_ to the framebuffer...the only thing standing between it and the actual video RAM is the driver, which is why I'm awfully confused by the exactly-the-same-and-banded-like-16-bit-in-both-cases visuals on the Nook. (I could possibly explain away the both-look-24-bit screenshots by reasoning that they may somehow bypass the driver, but if the colorspace *itself* is 565, how can that be?)

Rodney
 
peramikic
Old
#5  
Member
Thanks Meter 8
Posts: 62
Join Date: Nov 2008
Rodney,

I tried the test on my n129 with 6/30 OC kernel and I see no real banding in 565 mode. Cant save screenshot, I get error from the power menu function that y + height must be <= bitmap.height()

How did you get the nook to go into 888 mode for the second screen shot?
 
rhester72
Old
#6  
Senior Member - OP
Thanks Meter 56
Posts: 412
Join Date: Mar 2011
Quote:
Originally Posted by peramikic View Post
Rodney,

I tried the test on my n129 with 6/30 OC kernel and I see no real banding in 565 mode. Cant save screenshot, I get error from the power menu function that y + height must be <= bitmap.height()

How did you get the nook to go into 888 mode for the second screen shot?
The banding is subtle but observable, particularly in the blue bar. (The bars are somewhat "skinny" so it's not as obvious - crank up the brightness to max to help with identification.)

You can get 888 with either the stock (read: non-OC) kernel or with n132+ and the latest Nook Tweaks from the Market.

Rodney
 
chisleu
Old
#7  
chisleu's Avatar
Senior Member
Thanks Meter 105
Posts: 1,027
Join Date: Mar 2011
Location: Myrtle Beach SC
Quote:
Originally Posted by rhester72 View Post
The banding is subtle but observable, particularly in the blue bar. (The bars are somewhat "skinny" so it's not as obvious - crank up the brightness to max to help with identification.)

You can get 888 with either the stock (read: non-OC) kernel or with n132+ and the latest Nook Tweaks from the Market.

Rodney
The test pictures are nice and all, but pictures with large areas of very subtle gradients (lots of background pictures, like clouds and such) become much more obvious, however it's not a big deal for me. I believe only a photophile would care, and I believe dalingrin said the performance increase by going to 16 bit was substantial.
HTC Sensation - SOLD!!! PIECE OF GARBAGE!! No reception. Great phone, but when you can't make a call because of the terribad reception, what good is it?

Google Galaxy Nexus GSM Unlocked! CM10 FTW!
LG G2X - CM7
Nook Color Encore - CM7 nightlies
Motorola Cliq - CM7 nightlies (cranked up to charge battery once a month... )
 
rhester72
Old
#8  
Senior Member - OP
Thanks Meter 56
Posts: 412
Join Date: Mar 2011
Quote:
Originally Posted by chisleu View Post
The test pictures are nice and all, but pictures with large areas of very subtle gradients (lots of background pictures, like clouds and such) become much more obvious, however it's not a big deal for me. I believe only a photophile would care, and I believe dalingrin said the performance increase by going to 16 bit was substantial.
My issue isn't with static content as much as it is video...large patches of obviously "off" and blocky color moving around on dark backgrounds is -very- distracting, and makes Netflix almost unwatchable (due to the higher compression levels).

People once thought 16-bit color on the PC was the greatest thing ever - but since only "photophiles" would notice, I invite you to switch your main computer back to 16-bit for a week and see if you notice any differences.

The performance increase for 3D apps was indeed significant. 2D apps...well, show me a 2D app that stresses the GPU and then I'll care. =) In 2D, color depth and quality matter for a lot.

Rodney
 
peramikic
Old
#9  
Member
Thanks Meter 8
Posts: 62
Join Date: Nov 2008
Quote:
Originally Posted by rhester72 View Post
The banding is subtle but observable, particularly in the blue bar. (The bars are somewhat "skinny" so it's not as obvious - crank up the brightness to max to help with identification.)

You can get 888 with either the stock (read: non-OC) kernel or with n132+ and the latest Nook Tweaks from the Market.

Rodney
Ahh yes I saw that 132+ includes Dal's OC kernal. BTW there is talk that the GPU drivers are messed up in the release, so maybe you are staying in the same frame buffer even though you change it via Tweaks app.

I looked at the bars both landscape and portrait at max bright and banding is minimal and that's in the 16bit mode. Nothing as terrible as when you start XDA app, ghaaa, now that banding. And it looks like it is really the way software implements it. QuickPic << JustPictures << Stock Galery. Quckpic has that true color mode so it looks like hardware is capable, it all depends on software implementation. Or Quickpic might have a really good dither algorithm that fools us

I also have Chainfire3d installed, so it might have something to do with it
 
dalingrin
Old
#10  
Recognized Developer
Thanks Meter 2175
Posts: 1,277
Join Date: Nov 2007
Something weird is going on with the new GPU drivers. SurfaceFlinger is changing from RGB565 to RGB8888 as appropriate when you switch 32bit and 16 in Nook Color Tweaks but I only see 16 bit.

I'm going to revert back to our existing GPU drivers and see what happens.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more

More Tips to Help Promote Your Android App

With over 700,000 apps in the Google Play store and more than 48 billion app installs, it’s … more

Sony Continues AOSP Initiative on the Tablet Z

Sometimes, you can harp on a subject so much that you end upbeating a dead horse. In our eyes, … more