gralloc1 : initial implementation
Initial implementation of the gralloc1 APIs
Change-Id: I3b01595b0f9b30d9a08d02101fe42281556bd6a2
diff --git a/libcopybit/software_converter.h b/libcopybit/software_converter.h
index 6e53e16..cc6ae34 100644
--- a/libcopybit/software_converter.h
+++ b/libcopybit/software_converter.h
@@ -31,11 +31,12 @@
#include <copybit.h>
#include "gralloc_priv.h"
-#include "gr.h"
#define COPYBIT_SUCCESS 0
#define COPYBIT_FAILURE -1
+#define ALIGN(x, y) (((x) + y - 1) & (~(y - 1)))
+
int convertYV12toYCrCb420SP(const copybit_image_t *src,private_handle_t *yv12_handle);
/*