Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24bcd634 authored by Yin-Chia Yeh's avatar Yin-Chia Yeh Committed by Android (Google) Code Review
Browse files

Merge "Camera: clarify depth camera requirement for OFFLINE_PROCESSING"

parents 653916fb 6e082e85
Loading
Loading
Loading
Loading
+14 −8
Original line number Diff line number Diff line
@@ -119,14 +119,20 @@ struct HalStream {
     * For devices that does not support the OFFLINE_PROCESSING capability, this
     * fields will always be false.
     *
     * For devices support the OFFLINE_PROCESSING capability: any input stream
     * and any output stream that can be output of the input stream must set
     * this field to true. Also any stream of YUV420_888 format or JPEG format,
     * with CPU_READ usage flag, must set this field to true. All other streams
     * are up to camera HAL to advertise support or not, though it is not
     * recommended to list support for streams with hardware composer or video
     * encoder usage flags as these streams tend to be targeted continuously and
     * can lead to long latency when trying to switch to offline.
     * For backward compatible camera devices that support the
     * OFFLINE_PROCESSING capability: any input stream and any output stream
     * that can be output of the input stream must set this field to true. Also
     * any stream of YUV420_888 format or JPEG format, with CPU_READ usage flag,
     * must set this field to true.
     *
     * For depth only camera devices that support the OFFLINE_PROCESSING
     * capability: any DEPTH16 output stream must set this field to true.
     *
     * All other streams are up to camera HAL to advertise support or not,
     * though it is not recommended to list support for streams with
     * hardware composer or video encoder usage flags as these streams tend
     * to be targeted continuously and can lead to long latency when trying to
     * switch to offline.
     *
     */
    bool supportOffline;
+1 −0
Original line number Diff line number Diff line
@@ -640,6 +640,7 @@ ae6315fd42196478ac08441cb489d854118001bca5b9b9fd58af5110952be30e android.hardwar
b8c63679e1a3874b356f3e691aecce1191d38f59063cf2ed2dce8a9d4cabf00e android.hardware.camera.device@3.6::ICameraDevice
daad72a2f482d8a1f660d0e99ac1b78fedb414a4cfbe3fa56b2cd480e5d6f0cb android.hardware.camera.provider@2.6::ICameraProvider
8f8d9463508ff9cae88eb35c429fd0e2dbca0ca8f5de7fdf836cc0c4370becb6 android.hardware.camera.provider@2.6::ICameraProviderCallback
a35d5151b48505f06a775b38c0e2e265f80a845d92802324c643565807f81c53 android.hardware.camera.device@3.6::types
c1aa508d00b66ed5feefea398fd5edf28fa651ac89773adad7dfda4e0a73a952 android.hardware.cas@1.2::ICas
9811f867def49b420d8c707f7e38d3bdd64f835244e1d2a5e9762ab9835672dc android.hardware.cas@1.2::ICasListener
f18695dd36ee205640b8326a17453858a7b4596653aaa6ef0016b0aef1bd4dac android.hardware.cas@1.2::IMediaCasService