summaryrefslogblamecommitdiffstats
path: root/src/cvt.h
blob: 7f2ce741561bb89b425d7a66cbe234d28f36430a (plain) (tree)

























                                                                                        
#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