From adc7f1ba08a16e79b9691c503454c52ac38bbb10 Mon Sep 17 00:00:00 2001 From: Snigdha Sinha Date: Thu, 3 Sep 2009 09:53:45 -0500 Subject: [PATCH] OVERLAY_FORMAT_DEFAULT for overlay Originally from: https://partner.source.android.com/g/#change,922 --- include/hardware/overlay.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/hardware/overlay.h b/include/hardware/overlay.h index a8287bb4..eca4d276 100644 --- a/include/hardware/overlay.h +++ b/include/hardware/overlay.h @@ -50,7 +50,9 @@ enum { OVERLAY_FORMAT_YCbYCr_422_I = HAL_PIXEL_FORMAT_YCbCr_422_I, OVERLAY_FORMAT_YCbYCr_420_I = HAL_PIXEL_FORMAT_YCbCr_420_I, OVERLAY_FORMAT_CbYCrY_422_I = HAL_PIXEL_FORMAT_CbYCrY_422_I, - OVERLAY_FORMAT_CbYCrY_420_I = HAL_PIXEL_FORMAT_CbYCrY_420_I + OVERLAY_FORMAT_CbYCrY_420_I = HAL_PIXEL_FORMAT_CbYCrY_420_I, + OVERLAY_FORMAT_DEFAULT = 99 // The actual color format is determined + // by the overlay }; /* values for copybit_set_parameter(OVERLAY_TRANSFORM) */