/* GStreamer
- * Copyright (C) 2007 Sean D'Epagnier sean@depagnier.com
+ * Copyright (C) 2013 Antonio Ospite <ospite@studenti.unina.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
#include <gst/video/gstvideosink.h>
#include <gst/video/video.h>
-#include <linux/fb.h>
+#include <am7xxx.h>
G_BEGIN_DECLS
struct _GstAM7XXXSink {
GstVideoSink videosink;
- /*< private >*/
- struct fb_fix_screeninfo fixinfo;
- struct fb_var_screeninfo varinfo;
+ unsigned int device_index;
- int fd;
- unsigned char *framebuffer;
+ unsigned int width, height;
- char *device;
+ am7xxx_context *ctx;
+ am7xxx_device *dev;
- int width, height;
- int cx, cy, linelen, lines, bytespp;
-
- int fps_n, fps_d;
+ am7xxx_image_format format;
+ am7xxx_device_info device_info;
};
struct _GstAM7XXXSinkClass {