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

Commit 6b51f117 authored by Emilian Peev's avatar Emilian Peev Committed by android-build-merger
Browse files

graphics: Update RAW16 format comments

am: cb0b4665

Change-Id: Id5ff9b719351c5f7c1d08d3398dd0e01f20ec149
parents a130c0d3 cb0b4665
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
@@ -181,9 +181,17 @@ enum PixelFormat : int32_t {
     *    - GRALLOC_USAGE_SW_*
     *    - GRALLOC_USAGE_RENDERSCRIPT
     *
     * When used with ANativeWindow, the dataSpace should be
     * HAL_DATASPACE_ARBITRARY, as raw image sensor buffers require substantial
     * extra metadata to define.
     * When used with ANativeWindow, the mapping of the dataSpace field to
     * buffer contents for RAW16 is as follows:
     *
     *  dataSpace value               | Buffer contents
     * -------------------------------+-----------------------------------------
     *  HAL_DATASPACE_ARBITRARY       | Raw image sensor data, layout is as
     *                                | defined above.
     *  HAL_DATASPACE_DEPTH           | Unprocessed implementation-dependent raw
     *                                | depth measurements, opaque with 16 bit
     *                                | samples.
     *  Other                         | Unsupported
     */
    RAW16 = 0x20,