From 56da81b6685278424cf9b12be403cb884f027674 Mon Sep 17 00:00:00 2001 From: "Sravan Kumar D.V.N" Date: Thu, 2 Aug 2012 14:37:37 +0530 Subject: [PATCH] copybit : Add support for NV12_ENCODABLE format Change-Id: I7087dcad2238a3c35cc15c28d75b76a9e3ca6718 --- libcopybit/copybit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libcopybit/copybit.cpp b/libcopybit/copybit.cpp index ee8c12e..4d7d2db 100644 --- a/libcopybit/copybit.cpp +++ b/libcopybit/copybit.cpp @@ -132,6 +132,7 @@ static int get_format(int format) { case HAL_PIXEL_FORMAT_YCbCr_422_SP: return MDP_Y_CRCB_H2V1; case HAL_PIXEL_FORMAT_YCbCr_420_SP: return MDP_Y_CRCB_H2V2; case HAL_PIXEL_FORMAT_YCrCb_420_SP_ADRENO: return MDP_Y_CBCR_H2V2_ADRENO; + case HAL_PIXEL_FORMAT_NV12_ENCODEABLE: return MDP_Y_CBCR_H2V2; } return -1; }