Vertical blanking interval
This article does not cite any sources. (December 2009) (Learn how and when to remove this template message)
In a raster graphics display, the vertical blanking interval (VBI), also known as the vertical interval or VBLANK, is the time between the end of the final line of a frame or field and the beginning of the first line of the next frame. It is present in analog television, VGA, DVI and other signals. During the VBI, the incoming data stream is not displayed on the screen. In raster cathode ray tube displays, the beam is blanked to avoid displaying the retrace line; see raster scan for details. The signal source, such as a television broadcast, does not supply image information during the blanking period.
The VBI was originally needed because of the inductive inertia of the magnetic coils which deflect the electron beam vertically in a CRT; the magnetic field, and hence the position being drawn, cannot change instantly. Additionally, the speed of older circuits was limited. For horizontal deflection, there is also a pause between successive lines, to allow the beam to return from right to left, called the horizontal retrace or horizontal blanking interval. Modern CRT circuitry does not require such a long blanking interval, and thin panel displays require none, but the standards were established when the delay was needed (and to allow the continued use of older equipment). Blanking of a CRT may not be perfect due to equipment faults or brightness set very high; in this case a white retrace line shows on the screen, from bottom right to top left.
In analog television systems the vertical blanking interval can be used for datacasting (to carry digital data), since nothing sent during the VBI is displayed on the screen; various test signals, time codes, closed captioning, teletext, CGMS-A copy-protection indicators, and various data encoded by the XDS protocol (e.g., the content ratings for V-chip use) and other digital data can be sent during this time period. In U.S. analog broadcast television, line 19 was reserved for a Ghost-canceling reference line 21 was reserved for captioning data. The obsolete Teletext service contemplated the use of line 22 for data transmission.
The pause between sending video data is used in real time computer graphics to perform various operations on the back buffer before copying it to the front buffer instead of just switching both pointers, or to provide a time reference for when switching such pointers is safe.
In video game systems the vertical blanking pulses are extensively used to time the plotting of new graphics/removal of old ones in order to avoid screen tearing, as they occur at an accurately known frequency, and many systems up to the 16-bit era featured games and other graphical programs where drawing was conducted during the blanking interval for this reason. Cases where synchronising game code this way was more necessary than preferable and made early video game systems such as the Atari 2600 difficult to program.
Special raster techniques on the Atari 2600, Nintendo Entertainment System, and other consoles allowed extending this interval at the cost of some blank scanlines at the top or bottom of the screen, which may or may not end up in the overscan area. The use of double buffering in modern graphics hardware has rendered these techniques obsolete.
Most consumer VCRs use the known black level of the vertical blanking pulse to set their recording levels. The Macrovision copy protection scheme inserts pulses in the VBI, where the recorder expects a constant level, to disrupt recording to videotapes.