GP2X Mmsp2 Contrast & Brightness Register Not Doing Anything


A_SN

Active Member
Joined
Jun 8, 2006
Messages
899
The title says it all, no matter what value I write to that register in order to change the contrast or luminance it doesn't do anything. The (16-bit) register is at address 0x2934, and I used rlyeh's line from gp2x_video_setluminance() (after disobfuscating the constants, why on Earth does he write "0x1253+2041-0x1a44" instead of "8" ??), and really, nothing happens..

How come, I mean, why not? Or does it work for someone?
 
Squidge said:
source code?
CODE
memregs16[0x2934>>1]=((contrast & 0x7)<<8) | brightness; // 0<=contrast<=7 0<=brightness<=255
 
Last edited by a moderator:
notaz said:
Ha, ever thought why nobody ever made any use of this?
Because it only works on YUV layer.
Oh, makes sense. Thanks :)

So all we can use is the gamma table, when it comes to tweaking colours and stuff, right?
 
Last edited by a moderator:
Back
Top