diff options
author | Tony Lofthouse <a0741364@ti.com> | 2012-07-05 17:19:31 -0500 |
---|---|---|
committer | Jason Simmons <jsimmons@google.com> | 2012-10-22 15:28:42 -0700 |
commit | d5de2f43e7464783fd3168408a904c3ab646d652 (patch) | |
tree | 8f44da42632a868e7960a5c5e1fc80de19b99af8 | |
parent | b58eaa53ec93b4381c661adbaf90833f04b93c11 (diff) | |
download | omap4-aah-d5de2f43e7464783fd3168408a904c3ab646d652.tar.gz |
hwc: move platform specific pixel formats to header
Change-Id: I7033d847621f748d0263d9004cb32f4426c115ef
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
(cherry picked from commit 1726714f2c75a37bf1c904e32d6c45eb68246ec5)
Conflicts:
hwc/hwc.c
-rw-r--r-- | hwc/hal_public.h | 8 | ||||
-rw-r--r-- | hwc/hwc.c | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/hwc/hal_public.h b/hwc/hal_public.h index 3d64c4c..2776fab 100644 --- a/hwc/hal_public.h +++ b/hwc/hal_public.h @@ -164,4 +164,12 @@ typedef struct IMG_buffer_format_public_t } IMG_buffer_format_public_t; +/* + * These are vendor specific pixel formats, by (informal) convention IMGTec + * formats start from the top of the range, TI formats start from the bottom + */ +#define HAL_PIXEL_FORMAT_BGRX_8888 0x1FF +#define HAL_PIXEL_FORMAT_TI_NV12 0x100 + #endif /* HAL_PUBLIC_H */ + @@ -62,8 +62,6 @@ #define MAX_HW_OVERLAYS 4 #define NUM_NONSCALING_OVERLAYS 1 -#define HAL_PIXEL_FORMAT_BGRX_8888 0x1FF -#define HAL_PIXEL_FORMAT_TI_NV12 0x100 #define MAX_TILER_SLOT (32 << 20) struct ext_transform_t { |