diff options
author | Arun Kumar K.R <akumarkr@codeaurora.org> | 2018-04-26 19:47:44 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-04-30 11:23:35 -0700 |
commit | d761c1a87b407cadc30200e82b7ee8575a46d7e4 (patch) | |
tree | 963fdc1e5e1b04d1d7ff9fe486c9b4b17add48d7 /include | |
parent | 653f810b7735be2df5a75156ac52c36337962b05 (diff) |
display: Add support for legacy Wide Color Gamut
- Add extended range in ColorMetadata.
- Send ColorPrimaryTransfer info from color modes to Strategy,
which will be used in determining the blend color space.
- Remove handling color primaries or gamut in HWC2.
- Handle invalid format or unsupported range in SDM.
- Remove FEATURE_WIDE_COLOR and enable by default.
Change-Id: If429e9fffdcdc59c18f1b5ef5d074efddd97f2af
Crs-fixed: 2215125
Diffstat (limited to 'include')
-rw-r--r-- | include/color_metadata.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/color_metadata.h b/include/color_metadata.h index 3ddf7577..25dc5b52 100644 --- a/include/color_metadata.h +++ b/include/color_metadata.h @@ -1,5 +1,5 @@ /* -* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. +* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: @@ -33,8 +33,9 @@ extern "C" { #include <stdint.h> typedef enum ColorRange { - Range_Limited = 0, - Range_Full = 1, + Range_Limited = 0, + Range_Full = 1, + Range_Extended = 2, Range_Max = 0xff, } ColorRange; |