190a5509f4
This library allows one to compile droidVNCserver without having AOSP. Screen grabbing is performed by this library, which is compiled against AOSP.
27 lines
336 B
C
27 lines
336 B
C
#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;
|