From 38b90c13c4adea348a99b08b2493739a8e444041 Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Fri, 6 Aug 2010 12:09:15 -0700 Subject: [PATCH] Change the constant name identifying the NV21 Adreno format. This updates the qsd8k gralloc to support the new name for the NV21 Adreno pixel format. Change-Id: I358bf12db058d3740a5e49ee30d95c2afb708295 --- libgralloc-qsd8k/gpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgralloc-qsd8k/gpu.cpp b/libgralloc-qsd8k/gpu.cpp index a5c7442..c838cb6 100644 --- a/libgralloc-qsd8k/gpu.cpp +++ b/libgralloc-qsd8k/gpu.cpp @@ -225,7 +225,7 @@ int gpu_context_t::alloc_impl(int w, int h, int format, int usage, break; // adreno formats - case HAL_PIXEL_FORMAT_YCrCb_420_SP: // NV21 + case HAL_PIXEL_FORMAT_YCrCb_420_SP_ADRENO: // NV21 size = ALIGN(alignedw*alignedh, 4096); size += ALIGN(2 * ALIGN(w/2, 32) * ALIGN(h/2, 32), 4096); break;