diff options
author | Michal Simek | 2023-05-17 10:42:07 +0200 |
---|---|---|
committer | Michal Simek | 2023-06-12 13:25:01 +0200 |
commit | e9500ba9e032bc5e976578e256582c86fcb62d0d (patch) | |
tree | 7a70f332cfe57cb146996853fe980cab4f961e7b /include/video.h | |
parent | 497322436db400d569c346e915f4982215d98db1 (diff) |
video: Add support for RGBA8888 format
Add support for RGBA8888 32bpp format where pixels are picked in
32-bit integers, where the colors are stored in memory such that
R is at lowest address, G after that, B after that, and A last.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/aa1de54b7d4ff46df6858f76d52634e0c5c71a4a.1684312924.git.michal.simek@amd.com
Diffstat (limited to 'include/video.h')
-rw-r--r-- | include/video.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video.h b/include/video.h index 29c4f51efb0..03434a81234 100644 --- a/include/video.h +++ b/include/video.h @@ -64,6 +64,7 @@ enum video_log2_bpp { enum video_format { VIDEO_UNKNOWN, + VIDEO_RGBA8888, VIDEO_X8B8G8R8, VIDEO_X8R8G8B8, VIDEO_X2R10G10B10, |