neatvnc/include/fb.h

17 lines
246 B
C

#pragma once
#include <unistd.h>
#include <stdint.h>
#include <stdatomic.h>
struct nvnc_fb {
int ref;
void* addr;
atomic_bool is_locked;
size_t size;
uint16_t width;
uint16_t height;
uint32_t fourcc_format;
uint64_t fourcc_modifier;
};