From 96c0c3705eb7d5613061e6d49ab693566aac8742 Mon Sep 17 00:00:00 2001 From: layog Date: Wed, 3 Jun 2020 17:38:30 +0800 Subject: [PATCH] Fix subsampling doc in PlaneLayout.aidl A subsampling value of 1 is a valid value indicating no subsampling Fix: 158067777 Test: Compiles Change-Id: I58f20df0b61e3637cb01a69f28ecef414f88a27d --- .../aidl/android/hardware/graphics/common/PlaneLayout.aidl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/graphics/common/aidl/android/hardware/graphics/common/PlaneLayout.aidl b/graphics/common/aidl/android/hardware/graphics/common/PlaneLayout.aidl index ccb0690e82..b329cb2d3c 100644 --- a/graphics/common/aidl/android/hardware/graphics/common/PlaneLayout.aidl +++ b/graphics/common/aidl/android/hardware/graphics/common/PlaneLayout.aidl @@ -100,10 +100,11 @@ parcelable PlaneLayout { long totalSizeInBytes; /** - * Horizontal and vertical subsampling. Must be a positive power of 2. + * Horizontal and vertical subsampling. Must be a positive power of 2. A value of 1 + * indicates no subsampling. * * These fields indicate the number of horizontally or vertically adjacent pixels that use - * the same pixel data. A value of 1 indicates no subsampling. + * the same pixel data. */ long horizontalSubsampling; long verticalSubsampling;