#define __GST_EVASPIXMAPSINK_H__
#include <gst/video/gstvideosink.h>
-#include <mm_ta.h>
#ifdef HAVE_XSHM
#include <sys/types.h>
#include <math.h>
#include <stdlib.h>
+//#define DUMP_IMG
+
#define MAX_PLANE_NUM 3
#define MAX_BUFFER_NUM 20
#define MAX_GEM_BUFFER_NUM (MAX_PLANE_NUM * MAX_BUFFER_NUM)
Window root;
- gulong white, black;
+ gulong white;
gint depth;
gint bpp;
/* size of incoming video, used as the size for XvImage */
guint video_width, video_height;
+ gboolean need_to_fill_black;
/* display sizes, used for clipping the image */
gint disp_x, disp_y;
gboolean visible;
gint last_updated_idx;
gchar update_visibility;
- guint epipe_request_count;
+ gint epipe_request_count;
/* pixmap */
gboolean do_link;
gint drm_fd;
gem_info_t gem_info[MAX_GEM_BUFFER_NUM];
+
+ /* if needed combine planes data */
+ gint need_combine_data;
+
+ GstVideoRectangle src_prev;
+ GstVideoRectangle result_prev;
+
+#ifdef DUMP_IMG
+ void *pixmap_addr[NUM_OF_PIXMAP];
+#endif
};
/* max plane count *********************************************************/