diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2011-09-21 06:51:39 -0700 |
---|---|---|
committer | Vladimir Chtchetkine <vchtchetkine@google.com> | 2011-09-21 06:51:39 -0700 |
commit | 9ce8926ad430b6e3b5906fa422f5378651e302d2 (patch) | |
tree | 047abc63feea06ff471de986bd7458dbc6fac00e /android/camera | |
parent | 26fafb586bdb4f0d82d13bf4bde882d3f51fc939 (diff) | |
download | external_qemu-9ce8926ad430b6e3b5906fa422f5378651e302d2.zip external_qemu-9ce8926ad430b6e3b5906fa422f5378651e302d2.tar.gz external_qemu-9ce8926ad430b6e3b5906fa422f5378651e302d2.tar.bz2 |
Fix Mac/Windows builds
Change-Id: I0acc651be93eb9b5bea49280a7dccd18c1386d48
Diffstat (limited to 'android/camera')
-rw-r--r-- | android/camera/camera-win.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/android/camera/camera-win.h b/android/camera/camera-win.h index 14f88f5..20949e2 100644 --- a/android/camera/camera-win.h +++ b/android/camera/camera-win.h @@ -61,4 +61,18 @@ #define V4L2_PIX_FMT_HI240 v4l2_fourcc('H','I','2','4') /* 8 8-bit color */ #define V4L2_PIX_FMT_HM12 v4l2_fourcc('H','M','1','2') /* 8 YUV 4:2:0 16x16 macroblocks */ +/* Bayer formats - see http://www.siliconimaging.com/RGB%20Bayer.htm */ +#define V4L2_PIX_FMT_SBGGR8 v4l2_fourcc('B', 'A', '8', '1') /* 8 BGBG.. GRGR.. */ +#define V4L2_PIX_FMT_SGBRG8 v4l2_fourcc('G', 'B', 'R', 'G') /* 8 GBGB.. RGRG.. */ +#define V4L2_PIX_FMT_SGRBG8 v4l2_fourcc('G', 'R', 'B', 'G') /* 8 GRGR.. BGBG.. */ +#define V4L2_PIX_FMT_SRGGB8 v4l2_fourcc('R', 'G', 'G', 'B') /* 8 RGRG.. GBGB.. */ +#define V4L2_PIX_FMT_SBGGR10 v4l2_fourcc('B', 'G', '1', '') /* 10 BGBG.. GRGR.. */ +#define V4L2_PIX_FMT_SGBRG10 v4l2_fourcc('G', 'B', '1', '') /* 10 GBGB.. RGRG.. */ +#define V4L2_PIX_FMT_SGRBG10 v4l2_fourcc('B', 'A', '1', '') /* 10 GRGR.. BGBG.. */ +#define V4L2_PIX_FMT_SRGGB10 v4l2_fourcc('R', 'G', '1', '') /* 10 RGRG.. GBGB.. */ +#define V4L2_PIX_FMT_SBGGR12 v4l2_fourcc('B', 'G', '1', '2') /* 12 BGBG.. GRGR.. */ +#define V4L2_PIX_FMT_SGBRG12 v4l2_fourcc('G', 'B', '1', '2') /* 12 GBGB.. RGRG.. */ +#define V4L2_PIX_FMT_SGRBG12 v4l2_fourcc('B', 'A', '1', '2') /* 12 GRGR.. BGBG.. */ +#define V4L2_PIX_FMT_SRGGB12 v4l2_fourcc('R', 'G', '1', '2') /* 12 RGRG.. GBGB.. */ + #endif /* ANDROID_CAMERA_CAMERA_WIN_H_ */ |