vga_guesstiming(3)

vga_guesstiming3

Calculate a timing line for the given resolution

Usage

#include <vga.h>

int vga_guesstiming(int x, int y, int clue, int arg);

Overview

Calculates a timing line for a x*y resolution, according to the value of clue.

Calculation methods

If clue is 0, then the aspect ratio for the requested mode ( x:y ) must be 4:3. A mode with the same aspect ratio closest to the requested, while still having a higher resolution is found, and then scaled down to the requested mode.

If clue is 1, then the aspect ratio for the requested mode ( x:y ) must be 4:3. A mode with the same aspect ratio closest to the requested, while still having a lower resolution is found, and then scaled down to the requested mode.

Releases

Unchanged in 5 releases since Debian 3.1 (Sarge).

  1. 3.1–7

Bugs

No guarantee that a modeline will be created, or that a created modeline will be usefull is given.

Author

This manual page was written by Matan Ziv-Av

From libsvga1-dev 1:1.4.3-33 in Debian 7 (Wheezy). Parsed by carta from the page's man source.