1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<meta http-equiv="Content-Style-Type" content="text/css"> 6<link rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 7<title>VIInit</title> 8</head> 9<body> 10<h1 align="left">VIInit</h1> 11<h2>C Specification</h2> 12<dl> 13<dd><pre><code>#include <revolution/vi.h></code></pre> 14 </dd> 15<dd><pre><code>void VIInit(void)</code></pre> 16 </dd> 17</dl> 18 19<h2>Arguments</h2> 20 21<p>None.</p> 22 23<h2>Return Values</h2> 24 25<p>None.</p> 26 27<h2>Description</h2> 28 29<p>This function sets the default state of the video controller and should be called before any other VI functions.</p> 30 31<p>How <code>VIInit</code> initializes the video controller depends on the TV format for when this function is called.</p> 32 33<p><strong>When the TV format is NTSC or MPAL: </strong> On NTSC or MPAL hardware, IPL initializes the TV format to NTSC or MPAL respectively. In either case, <code>VIInit</code> configures the video controller to a 640x480 interlaced 60Hz display and leaves the TV format (NTSC or MPAL) as is.</p> 34 35<p><strong>When the TV format is PAL: </strong> On PAL hardware, IPL initializes the TV format to PAL. In this case, <code>VIInit</code> configures the video controller to a 640x574 interlaced 50Hz display and leaves the video format (PAL) as is.</p> 36 37<p>If restarted in EURGB60 mode, the PAL hardware TV format will remain in EURGB60 when calling the <code>VIInit</code> function. The TV format does not change at restart. 38</p> 39 40<h2>See Also</h2> 41 42<h2>Revision History</h2> 43 44<p>03/01/2006 Initial version.</p> 45</body> 46</html> 47