diff options
author | Rob Clark <[email protected]> | 2016-09-03 08:49:49 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-09-07 11:30:41 -0400 |
commit | b4e88b500c93d9728d2a3e30f6b0365bcb224b88 (patch) | |
tree | 0d9c5c6b36047c5c810a64ae2d7af9c06f6e9f52 /src/gbm/main | |
parent | 2afb950161f847d9b0a7be03dfb62cacc5ea51ba (diff) |
gbm: add missing R8 and GR88 formats
Reviewed-by: Eric Engestrom <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gbm/main')
-rw-r--r-- | src/gbm/main/gbm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gbm/main/gbm.h b/src/gbm/main/gbm.h index 293cae658d2..59daaa164d1 100644 --- a/src/gbm/main/gbm.h +++ b/src/gbm/main/gbm.h @@ -85,6 +85,12 @@ enum gbm_bo_format { /* color index */ #define GBM_FORMAT_C8 __gbm_fourcc_code('C', '8', ' ', ' ') /* [7:0] C */ +/* 8 bpp Red */ +#define GBM_FORMAT_R8 __gbm_fourcc_code('R', '8', ' ', ' ') /* [7:0] R */ + +/* 16 bpp RG */ +#define GBM_FORMAT_GR88 __gbm_fourcc_code('G', 'R', '8', '8') /* [15:0] G:R 8:8 little endian */ + /* 8 bpp RGB */ #define GBM_FORMAT_RGB332 __gbm_fourcc_code('R', 'G', 'B', '8') /* [7:0] R:G:B 3:3:2 */ #define GBM_FORMAT_BGR233 __gbm_fourcc_code('B', 'G', 'R', '8') /* [7:0] B:G:R 2:3:3 */ |