diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-17 11:12:07 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-17 11:21:51 +0100 |
commit | f9a50de3dcc501e930de6c60983a4feb57121e7e (patch) | |
tree | e2a65ef9a1ce5c15faf8e95e0337e821e2579ac7 /overlay/x11/rgb2yuv.h | |
parent | 7df9caeea1606b4f0272de35f0d7f70eedd5ec30 (diff) |
Introduce intel-gpu-overlay
A realtime display of GPU activity. Note, this is just at the point of
minimum usability...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/x11/rgb2yuv.h')
-rw-r--r-- | overlay/x11/rgb2yuv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/overlay/x11/rgb2yuv.h b/overlay/x11/rgb2yuv.h new file mode 100644 index 00000000..835899c5 --- /dev/null +++ b/overlay/x11/rgb2yuv.h @@ -0,0 +1,7 @@ +#include <X11/Xlib.h> +#include <X11/extensions/Xvlib.h> +#include <cairo.h> +#include <stdint.h> + +void rgb2yuv_init(void); +int rgb2yuv(cairo_surface_t *rgb, XvImage *image, uint8_t *yuv); |