summaryrefslogtreecommitdiff
path: root/libcopybit/software_converter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcopybit/software_converter.h')
-rw-r--r--libcopybit/software_converter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcopybit/software_converter.h b/libcopybit/software_converter.h
index 6e53e164..cc6ae342 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);
/*