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

Commit 3aea5439 authored by Emilian Peev's avatar Emilian Peev
Browse files

graphics/common: Add Jpeg/R dataspace

Bug: 241284696
Test: atest -c -d
cts/tests/camera/src/android/hardware/camera2/cts/ImageReaderTest.java#testJpegR

Change-Id: I218b9abe048ac07b3e54edad06b452301df48726
parent 8ef31a2a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -94,5 +94,6 @@ enum Dataspace {
  DYNAMIC_DEPTH = 4098,
  JPEG_APP_SEGMENTS = 4099,
  HEIF = 4100,
  JPEG_R = 4101,
  BT709_FULL_RANGE = 146866176,
}
+13 −0
Original line number Diff line number Diff line
@@ -667,6 +667,19 @@ enum Dataspace {
     */
    HEIF = 0x1004,

    /**
     * ISO/IEC TBD
     *
     * JPEG image with embedded 10-bit recovery map following the Jpeg/R specification.
     *
     * This value must always remain aligned with the public ImageFormat Jpeg/R definition and is
     * valid with formats:
     *    HAL_PIXEL_FORMAT_BLOB: JPEG image encoded by Jpeg/R encoder according to ISO/IEC TBD.
     * The image contains a standard SDR JPEG and a recovery map. Jpeg/R decoders can use the
     * map to recover the 10-bit input image.
     */
    JPEG_R = 0x1005,

    /**
     * ITU-R Recommendation 709 (BT.709)
     *