11 PIXEL_FORMAT_RGBA_8888 = 1U,
12 PIXEL_FORMAT_RGBX_8888 = 2U,
13 PIXEL_FORMAT_RGB_888 = 3U,
14 PIXEL_FORMAT_RGB_565 = 4U,
15 PIXEL_FORMAT_BGRA_8888 = 5U,
16 PIXEL_FORMAT_RGBA_5551 = 6U,
17 PIXEL_FORMAT_RGBA_4444 = 7U,
18 PIXEL_FORMAT_YCRCB_420_SP = 17U,
19 PIXEL_FORMAT_RAW16 = 32U,
20 PIXEL_FORMAT_BLOB = 33U,
21 PIXEL_FORMAT_IMPLEMENTATION_DEFINED = 34U,
22 PIXEL_FORMAT_YCBCR_420_888 = 35U,
23 PIXEL_FORMAT_Y8 = 0x20203859U,
24 PIXEL_FORMAT_Y16 = 0x20363159U,
25 PIXEL_FORMAT_YV12 = 0x32315659U,
31 GRALLOC_USAGE_SW_READ_NEVER = 0x00000000U,
33 GRALLOC_USAGE_SW_READ_RARELY = 0x00000002U,
35 GRALLOC_USAGE_SW_READ_OFTEN = 0x00000003U,
37 GRALLOC_USAGE_SW_READ_MASK = 0x0000000FU,
39 GRALLOC_USAGE_SW_WRITE_NEVER = 0x00000000U,
41 GRALLOC_USAGE_SW_WRITE_RARELY = 0x00000020U,
43 GRALLOC_USAGE_SW_WRITE_OFTEN = 0x00000030U,
45 GRALLOC_USAGE_SW_WRITE_MASK = 0x000000F0U,
47 GRALLOC_USAGE_HW_TEXTURE = 0x00000100U,
49 GRALLOC_USAGE_HW_RENDER = 0x00000200U,
51 GRALLOC_USAGE_HW_2D = 0x00000400U,
53 GRALLOC_USAGE_HW_COMPOSER = 0x00000800U,
55 GRALLOC_USAGE_HW_FB = 0x00001000U,
58 GRALLOC_USAGE_EXTERNAL_DISP = 0x00002000U,
64 GRALLOC_USAGE_PROTECTED = 0x00004000U,
66 GRALLOC_USAGE_CURSOR = 0x00008000U,
68 GRALLOC_USAGE_HW_VIDEO_ENCODER = 0x00010000U,
70 GRALLOC_USAGE_HW_CAMERA_WRITE = 0x00020000U,
72 GRALLOC_USAGE_HW_CAMERA_READ = 0x00040000U,
74 GRALLOC_USAGE_HW_CAMERA_ZSL = 0x00060000U,
76 GRALLOC_USAGE_HW_CAMERA_MASK = 0x00060000U,
78 GRALLOC_USAGE_HW_MASK = 0x00071F00U,
80 GRALLOC_USAGE_RENDERSCRIPT = 0x00100000U,
86 NATIVE_WINDOW_WIDTH = 0,
87 NATIVE_WINDOW_HEIGHT = 1,
88 NATIVE_WINDOW_FORMAT = 2,
100 NATIVE_WINDOW_API_CPU = 2,
116 HAL_TRANSFORM_FLIP_H = 0x01,
118 HAL_TRANSFORM_FLIP_V = 0x02,
120 HAL_TRANSFORM_ROT_90 = 0x04,
122 HAL_TRANSFORM_ROT_180 = 0x03,
124 HAL_TRANSFORM_ROT_270 = 0x07,
131 NATIVE_WINDOW_TRANSFORM_FLIP_H = HAL_TRANSFORM_FLIP_H,
133 NATIVE_WINDOW_TRANSFORM_FLIP_V = HAL_TRANSFORM_FLIP_V,
135 NATIVE_WINDOW_TRANSFORM_ROT_90 = HAL_TRANSFORM_ROT_90,
137 NATIVE_WINDOW_TRANSFORM_ROT_180 = HAL_TRANSFORM_ROT_180,
139 NATIVE_WINDOW_TRANSFORM_ROT_270 = HAL_TRANSFORM_ROT_270,