Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

Video Functions

Functions


Function Documentation

void VIDEO_Init u32  VideoMode  ) 
 

Initialize the Video Interface.

Parameters:
VideoMode The video mode you want to initialize.

This can be one of these defines:

Where it is in the following format:

  • VIDEO_[Width]X[Height]_[VideoStandard]_[ColorFormat]

Explanation of different video standards:

  • PAL
    Phase Alternating Line, is a video standard used in many countries around the world. Countries such as the United Kingdom, The Netherlands, Germany and more use PAL as their video standard. There are different types of PAL standards, one of which uses a vertical frequency of 60Hz and one of which uses a vertical frequency of 50Hz.

  • NTSC
    National Television System Commitee, is another video standard used in many countries around the world. While it's not technically superior, it's more widely used in countries such as the USA, Japan and many more.
    If a TV is PAL only, it will display NTSC pictures in black and white, due to the lack of colour signal.


The fundamentals of video standards:

   +----------------+------------+----------------+---------------------+
   | Video Standard | Frames/sec | Frequency (Hz) | Colour signal (MHz) |
   +----------------+------------+----------------+---------------------+
   |    NTSC        |    30      |   60           |    3.58             |
   |    PAL 50      |    25      |   50           |    4.43             |
   |    PAL 60      |    30      |   60           |    4.43             |
   +----------------+------------+----------------+---------------------+


Video-standard informations found at:

void VIDEO_SetFrameBuffer u32  Which,
u32  FrameBufferAddr
 

Set framebuffer address.

Parameters:
Which Which framebuffer you want to set the address for
For the Which paramater, you can specify one of these defines:

Parameters:
FrameBufferAddr The memory address of the framebuffer
Any detailed information on this?
Email me if you know more! :)

void VIDEO_WaitVSync void   ) 
 

Wait for vertical retrace.

What is Vertical retrace (VSync)?

  • When the beam arrives the lower right corner, it goes to the upper left corner. This moment is called vertical retrace.


Generated on Thu Jun 26 23:13:53 2003 for Open GC Library by doxygen1.3