summaryrefslogtreecommitdiff
path: root/core/java/android/hardware/DataSpace.java
Commit message (Collapse)AuthorAgeFilesLines
* Add setDataSpace SurfaceControl APIJohn Reck2022-02-081-57/+57
| | | | | | | | | Also change DataSpace from long to int (HAL & native are both ints) Bug: 217776226 Fixes: 218320444 Test: make && SurfaceControlTest#testSurfaceTransaction_setDataSpace Change-Id: Ic2b9ccb1d0ba3c1d049839310b4fef0881a3d2e2
* Add DataSpace API to convert between ADataSpace and ColorSpaceSally Qi2021-11-121-0/+649
Also implement getDataSpace functions in SurfaceTexture and Image field to help with upstream HDR work. Bug: 201539996 Bug: 201535454 Test: android.hardware.camera2.cts.ImageWriterTest, android.hardware.cts.DataSpaceTest pass Change-Id: I17fa43c1ba60e6f59da1910cebcef0dab993ce3b