VM Labs SDK Sample Code

\vmlabs\sample\Miscellaneous\ycrcb

Copyright © 2000-2001 VM Labs, Inc.  All Rights Reserved

March 2, 2001


This program shows a square that represents the YCRCB color space at a given value for "Y".

The "up" button of the D-PAD increases the "Y" value.  The "down" button decreases it.  Possible values (for NUON) range from 16 to 235.

The "Start" button toggles an "automatic" mode where the "Y" value is automatically incremented and the screen redrawn in continuous fashion.

Filename Description
ycrcb.c Main program code for sample.
makefile MAKEFILE for building and running sample program.

Please note that the display is not really constructed very efficiently.  In particular, it takes way too long to render.  In this particular case, rendering speed was not a primary concern, but this code would probably not be useful other than as a sample.


Before attempting to load or run any of the SDK samples, make sure you have first read the Hitchhiker's Guide To NUON document.  

After that, if you're still having trouble getting this sample program to work,  click here to request assistance from developer support.

Click here for other online SDK documentation.