am 972fb887: Merge "Change the constant name identifying the NV21 Adreno format." into gingerbread

Merge commit '972fb8879c46f774daec656b3b1c1f070f04ee3e'

* commit '972fb8879c46f774daec656b3b1c1f070f04ee3e':
  Change the constant name identifying the NV21 Adreno format.
This commit is contained in:
Jamie Gennis 2010-08-09 20:00:57 -07:00 committed by Android Git Automerger
commit 19d7db853a

View File

@ -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;