summaryrefslogtreecommitdiff
path: root/libcopybit/software_converter.h
diff options
context:
space:
mode:
authorPrabhanjan Kandula <pkandula@codeaurora.org>2016-03-24 21:03:35 +0530
committerPrabhanjan Kandula <pkandula@codeaurora.org>2016-05-11 00:49:41 +0530
commit96e9234520fff33a7aa67d03ca5db9add505d094 (patch)
tree2939e27871d94fca792a5ad4da0bab8c5d781ca0 /libcopybit/software_converter.h
parentd30696d61b4553d58e591aaaad0808cdf70e18cd (diff)
downloaddisplay-96e9234520fff33a7aa67d03ca5db9add505d094.tar.gz
gralloc1 : initial implementation
Initial implementation of the gralloc1 APIs Change-Id: I3b01595b0f9b30d9a08d02101fe42281556bd6a2
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);
/*