From 2f06e17122e5f9c9a8a27043228abd6ff5c811f4 Mon Sep 17 00:00:00 2001 From: Shuzhen Wang Date: Wed, 20 Feb 2019 15:34:15 -0800 Subject: [PATCH] Camera: Document bufferSize for JPEG_APP_SEGMENTS stream Doc update to clarify that @3.4::Stream::bufferSize is updated by camera framework. Test: Build Bug: 124999074 Change-Id: I818f75eabd613cc5f6d9b7e73b2b1a894b511afe --- camera/device/3.5/types.hal | 4 +++- current.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/camera/device/3.5/types.hal b/camera/device/3.5/types.hal index e3c235018f..f98c60355e 100644 --- a/camera/device/3.5/types.hal +++ b/camera/device/3.5/types.hal @@ -142,7 +142,9 @@ struct BufferRequest { * To capture a JPEG APP segments blob, a stream is created using the pixel format * HAL_PIXEL_FORMAT_BLOB and dataspace HAL_DATASPACE_JPEG_APP_SEGMENTS. The buffer * size for the stream is calculated by the framework, based on the static - * metadata field android.heic.maxAppSegmentsCount. + * metadata field android.heic.maxAppSegmentsCount, and is assigned to both + * @3.2::Stream::width and @3.4::Stream::bufferSize. Camera framework sets + * @3.2::Stream::height to 1. * * Similar to JPEG image, the JPEG APP segment images can be of variable size, * so the HAL needs to include the final size of all APP segments using this diff --git a/current.txt b/current.txt index a128669e17..b47bc34b5d 100644 --- a/current.txt +++ b/current.txt @@ -444,7 +444,7 @@ f7431f3e3e4e3387fc6f27a6cf423eddcd824a395dc4349d302c995ab44a9895 android.hardwar 09ab9b24994429d9bb32a3fb420b6f6be3e47eb655139a2c08c4e80d3f33ff95 android.hardware.camera.device@3.5::ICameraDevice 06237de53c42890029e3f8fe7d1480d078469c0d07608e51c37b4d485d342992 android.hardware.camera.device@3.5::ICameraDeviceCallback 08c68b196e2fc4e5ba67ba0d0917bde828a87cbe2cffec19d04733972da9eb49 android.hardware.camera.device@3.5::ICameraDeviceSession -acaba39216973e58949f50978762bcda1c29f5f7e0bca3e08db21f0767356130 android.hardware.camera.device@3.5::types +a848f7cb3cb3d080cf175bf08412322bfddb535168253796cdf777afdbf05b38 android.hardware.camera.device@3.5::types 74ec7732fdacb22292c907b49f8f933510851ea1b3ed195c4dcdff35a20387f5 android.hardware.camera.metadata@3.4::types 0fb39a7809ad1c52b3efbbed5ef4749b06c2a4f1f19cdc3efa2e3d9b28f1205c android.hardware.camera.provider@2.5::ICameraProvider f5777403d65135a5407723671bc7a864cdca83aea13ee3ce2894b95e6588ca3a android.hardware.camera.provider@2.5::types