From 96e9234520fff33a7aa67d03ca5db9add505d094 Mon Sep 17 00:00:00 2001 From: Prabhanjan Kandula Date: Thu, 24 Mar 2016 21:03:35 +0530 Subject: gralloc1 : initial implementation Initial implementation of the gralloc1 APIs Change-Id: I3b01595b0f9b30d9a08d02101fe42281556bd6a2 --- libcopybit/software_converter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libcopybit/software_converter.h') 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 #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); /* -- cgit v1.2.3