1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#ifndef __CVT_H_ #define __CVT_H_ #ifdef __cplusplus extern "C" { #endif /* struct definitions */ typedef struct __mode { int hr, hss, hse, hfl; int vr, vss, vse, vfl; float pclk, h_freq, v_freq; float real_v_rate; int rb, in; } mode; mode *vert_refresh (int h_pixels, int v_lines, float freq, int interlaced, int reduced_blank, int margins); #ifdef __cplusplus } #endif #endif