diff options
author | Tony Lofthouse <a0741364@ti.com> | 2012-07-05 17:19:31 -0500 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-11-28 21:16:22 +0200 |
commit | 0630f61351a21ccd699dc979f1c0439386476a01 (patch) | |
tree | 7f22633dfb78c7d1fe61a0c55fe228c06b1a6ee0 | |
parent | 8a21fdba6742840bd8cc85d1e4ed7f8912cc1a72 (diff) | |
download | hardware_ti_omap4-0630f61351a21ccd699dc979f1c0439386476a01.zip hardware_ti_omap4-0630f61351a21ccd699dc979f1c0439386476a01.tar.gz hardware_ti_omap4-0630f61351a21ccd699dc979f1c0439386476a01.tar.bz2 |
hwc: move platform specific pixel formats to header
Change-Id: I7033d847621f748d0263d9004cb32f4426c115ef
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
-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 */ + @@ -60,8 +60,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 (16 << 20) struct ext_transform_t { |