diff options
author | Carsten Weinholz <c.weinholz@netcologne.de> | 2001-10-28 20:50:02 +0000 |
---|---|---|
committer | Carsten Weinholz <c.weinholz@netcologne.de> | 2001-10-28 20:50:02 +0000 |
commit | 7ddc5263d7d2aa518f7c88ea3ac05e121ad7afab (patch) | |
tree | e1d0a90d343302722e5d060635da96bf1defeef0 /libgphoto2/bayer.h | |
parent | cc6a97d0d3b1f38dfe5aabb405f6179243cf62c4 (diff) | |
download | libgphoto2-7ddc5263d7d2aa518f7c88ea3ac05e121ad7afab.tar.gz |
2001-10-28 cweinholz extended gp_bayer_expand to handle interlaced raw data
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2832 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2/bayer.h')
-rw-r--r-- | libgphoto2/bayer.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libgphoto2/bayer.h b/libgphoto2/bayer.h index 9cad6e018..ec0cab077 100644 --- a/libgphoto2/bayer.h +++ b/libgphoto2/bayer.h @@ -25,10 +25,17 @@ typedef enum { BAYER_TILE_RGGB = 0, BAYER_TILE_GRBG = 1, BAYER_TILE_BGGR = 2, - BAYER_TILE_GBRG = 3 + BAYER_TILE_GBRG = 3, + BAYER_TILE_RGGB_INTERLACED = 4, // scanline order: R1,G1,R2,G2,...,G1,B1,G2,B2,... + BAYER_TILE_GRBG_INTERLACED = 5, + BAYER_TILE_BGGR_INTERLACED = 6, + BAYER_TILE_GBRG_INTERLACED = 7, } BayerTile; int gp_bayer_decode (unsigned char *input, int w, int h, unsigned char *output, BayerTile tile); +int gp_bayer_interpolate (unsigned char *image, int w, int h, BayerTile tile); #endif /* __BAYER_H__ */ + + |