Fix camera to work with dma_buf

1. Switch camera to submig DMA_BUF buffers insetad
of userptr

2. Modify camera so that yuv buffers are now allocated
with one ion filedescriptor per plane
These file descriptors are now submitted to the camera
via v4l2 as dma_bufs

Change-Id: I31478143cb99329ab039cd7c39db8906a787cf65
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
diff --git a/include/exynos_format.h b/include/exynos_format.h
index 86062a2..efc1645 100644
--- a/include/exynos_format.h
+++ b/include/exynos_format.h
@@ -108,6 +108,16 @@
     int width,
     int height);
 
+int PLANAR_FRAME_SIZE(
+    int hal_pixel_format,
+    int width,
+    int height, 
+    unsigned int *luma_size,
+    unsigned int *chroma_size);
+
+int NUM_PLANES(int hal_pixel_format);
+
+
 /*
  * Get bpp and plane of v4l2_pixel_format.
  *