libexynosutils: added support for HAL_PIXEL_FORMAT_EXYNOS_YCrCb_420_SP
authormeka rama <v.meka@samsung.com>
Thu, 27 Dec 2012 09:53:06 +0000 (18:53 +0900)
committermeka rama <v.meka@samsung.com>
Thu, 27 Dec 2012 09:53:06 +0000 (18:53 +0900)
Change-Id: I6e707f6fe6934e22a769d15fd2ec5e14a7d367be
Signed-off-by: meka rama <v.meka@samsung.com>
libexynosutils/exynos5_format_v4l2.c

index 8b057173ea7bbdedb629aa2e1c2482b0592b4f7a..4d4d302f79647d208e32c93e6d91e46809f8df66 100644 (file)
@@ -194,6 +194,10 @@ int V4L2_PIX_2_HAL_PIXEL_FORMAT(
         hal_pixel_format = HAL_PIXEL_FORMAT_CUSTOM_YCbCr_420_SP;
         break;
 
+    case V4L2_PIX_FMT_NV21M:
+        hal_pixel_format = HAL_PIXEL_FORMAT_EXYNOS_YCrCb_420_SP;
+        break;
+
     case V4L2_PIX_FMT_YUYV:
         hal_pixel_format = HAL_PIXEL_FORMAT_CUSTOM_YCbCr_422_I;
         break;