#ifndef _DISPLAY_X_H_fae35a29_ #define _DISPLAY_X_H_fae35a29_ /* * Flags to setup_X. */ /* * Slower, but makes fewer assumptions about the underlying X * implementation. * * No additional arguments. */ #define DXF_SLOW_AND_SAFE 0x00000001 /* * Initialize the X display module. * * The unvarying argument is a bitmask of zero or more of the XDF_* * flags, from above. Following this are zero or more arguments as * called for by those flags. If multiple flags call for arguments, * they appear in the arglist in order of increasing flag bit value. * * The frame is blindly assumed to be 640x480. (This really should be * fixed.) */ extern void setup_X(unsigned int, ...); /* * Display a frame. The data block is assumed to be 4:2:2 YCbCr data, * ordered as pairs of pixels stored Y'-Cb-Y'-Cr. */ extern void display_frame(const unsigned char *); #endif