From c58ffe8253ca76160908d153242d8150f668ea32 Mon Sep 17 00:00:00 2001 From: Wei-Ta Chen Date: Wed, 27 Jan 2010 16:16:17 +0800 Subject: [PATCH] Unhide YuvImage, which supports compressing a YUV rectangle region to JPEG. Bug: 2285598 --- api/current.xml | 100 ++++++++++++++++++- graphics/java/android/graphics/YuvImage.java | 2 - 2 files changed, 98 insertions(+), 4 deletions(-) diff --git a/api/current.xml b/api/current.xml index 814c8b179064e..830238580becb 100644 --- a/api/current.xml +++ b/api/current.xml @@ -65845,6 +65845,102 @@ > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -72030,7 +72126,7 @@ type="float" transient="false" volatile="false" - value="0.0010f" + value="0.001f" static="true" final="true" deprecated="not deprecated" @@ -209563,7 +209659,7 @@ deprecated="not deprecated" visibility="public" > - + diff --git a/graphics/java/android/graphics/YuvImage.java b/graphics/java/android/graphics/YuvImage.java index 4a3bd47bc97da..09b4bf4473a9e 100644 --- a/graphics/java/android/graphics/YuvImage.java +++ b/graphics/java/android/graphics/YuvImage.java @@ -19,8 +19,6 @@ package android.graphics; import java.io.OutputStream; /** - * @hide pending API council approval - * * YuvImage contains YUV data and provides a method that compresses a region of * the YUV data to a Jpeg. The YUV data should be provided as a single byte * array irrespective of the number of image planes in it. The stride of each