Method | Description | |
---|---|---|
OnKeyboardActivity ( object sender, |
||
OnSetViewport ( int w, int h ) : void | ||
VideoScene ( ) : System |
Method | Description | |
---|---|---|
DoMorph ( ) : void | ||
DrawBegin ( ) : void |
Do this at the beginning of each frame. Typically setup views, clear buffers, and the like.
|
|
DrawContent ( ) : void | ||
DrawEnd ( ) : void | ||
OnReleaseContext ( ) : void | ||
OnSetContext ( ) : void |
Method | Description | |
---|---|---|
DisplayQuad ( |
This routine is meant to draw a quad with the specified texture on the screen. It achieves this by first changing the viewport to match the coordinates specified in the destination rectangle. The coordinate system starts with 0,0 being the lower left hand corner of the window, and increasing x to the right and y as you go up the screen. The coordinates are in pixels. This can draw a "screen aligned quad" if the x,y == 0,0, and the width,height == the size of the frame buffer being drawn into.
|
|
DrawQuads ( ) : void |
This routine will perform a channel separation, as well as displaying the subsequent resulting quads on the display.
|
|
SeparateChannels ( ) : void |
This routine uses the YCrCbProcessor object to do the actual work of color model conversion. After the processing occurs, we are left with three different texture objects as properties on the processor. We assign those properties to variables that are used to display the results.
|
public OnKeyboardActivity ( object sender, |
||
sender | object | |
kbde | ||
return |