droidVncServer/nativeMethods/screenFormat.h

32 lines
393 B
C
Raw Permalink Normal View History

2012-06-11 15:04:53 -04:00
#ifndef SCREEN_FORMAT_H
#define SCREEN_FORMAT_H
#include <stdint.h>
typedef struct _screenFormat
{
uint16_t width;
uint16_t height;
uint8_t bitsPerPixel;
uint16_t redMax;
uint16_t greenMax;
uint16_t blueMax;
uint16_t alphaMax;
uint8_t redShift;
uint8_t greenShift;
uint8_t blueShift;
uint8_t alphaShift;
uint32_t size;
uint32_t pad;
} screenFormat;
#endif