diff --git a/src/gstducati.h b/src/gstducati.h
index 9897eab77d1207fbff7d694355986c8cfc18c0e2..60cee7e17a0eacefe935637de0f7706f0c7c7843 100644 (file)
--- a/src/gstducati.h
+++ b/src/gstducati.h
GST_DEBUG_CATEGORY_EXTERN (gst_ducati_debug);
#define GST_CAT_DEFAULT gst_ducati_debug
+/* align x to next highest multiple of 2^n */
+#define ALIGN2(x,n) (((x) + ((1 << (n)) - 1)) & ~((1 << (n)) - 1))
+
void * gst_ducati_alloc_1d (gint sz);
void * gst_ducati_alloc_2d (gint width, gint height);
XDAS_Int16 gst_ducati_get_mem_type (SSPtr paddr);