/* 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
* Boston, MA 02110-1301, USA.
*/
-
#ifndef __GST_AM7XXXSINK_H__
#define __GST_AM7XXXSINK_H__
#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;
-
- int fd;
- unsigned char *framebuffer;
+ unsigned int device_index;
- char *device;
+ unsigned int width, height;
- int width, height;
- int cx, cy, linelen, lines, bytespp;
+ am7xxx_context *ctx;
+ am7xxx_device *dev;
- int fps_n, fps_d;
+ am7xxx_image_format format;
+ am7xxx_device_info device_info;
};
struct _GstAM7XXXSinkClass {
GstVideoSinkClass videosink_class;
-
};
GType gst_am7xxxsink_get_type(void);