libgphoto2 photo camera library (libgphoto2) API
2.5.24
|
Go to the documentation of this file.
43 int gp_bayer_expand (
unsigned char *input,
int w,
int h,
unsigned char *output,
45 int gp_bayer_decode (
unsigned char *input,
int w,
int h,
unsigned char *output,
57 int gp_ahd_decode (
unsigned char *input,
int w,
int h,
unsigned char *output,
int gp_bayer_decode(unsigned char *input, int w, int h, unsigned char *output, BayerTile tile)
Convert a bayer raster style image to a RGB raster.
Definition: bayer.c:371
int gp_bayer_decode(unsigned char *input, int w, int h, unsigned char *output, BayerTile tile)
Convert a bayer raster style image to a RGB raster.
Definition: bayer.c:371
int gp_bayer_expand(unsigned char *input, int w, int h, unsigned char *output, BayerTile tile)
Expand a bayer raster style image to a RGB raster.
Definition: bayer.c:75
int gp_bayer_interpolate(unsigned char *image, int w, int h, BayerTile tile)
Interpolate a expanded bayer array into an RGB image.
Definition: bayer.c:147
#define GP_ERROR_NO_MEMORY
Out of memory.
Definition: gphoto2-port-result.h:42
raster is RG,GN
Definition: bayer.h:33
scanline order: R1,G1,R2,G2,...,G1,B1,G2,B2,...
Definition: bayer.h:37
int gp_ahd_decode(unsigned char *input, int w, int h, unsigned char *output, BayerTile tile)
Convert a bayer raster style image to a RGB raster.
Definition: ahd_bayer.c:640
raster is GR,BG
Definition: bayer.h:34
scanline order: G1,B1,G2,B2,...,R1,G1,R2,G2,...
Definition: bayer.h:40
int gp_bayer_interpolate(unsigned char *image, int w, int h, BayerTile tile)
Interpolate a expanded bayer array into an RGB image.
Definition: bayer.c:147
#define GP_OK
Everything is OK.
Definition: gphoto2-port-result.h:30
raster is RG,GB
Definition: bayer.h:36
raster is BG,GR
Definition: bayer.h:35
scanline order: B1,G1,R2,G2,...,G1,R1,G2,R2,...
Definition: bayer.h:39
Log message is an debug infomation.
Definition: gphoto2-port-log.h:33
#define GP_ERROR
Generic Error.
Definition: gphoto2-port-result.h:34
BayerTile
how the bayer CCD array is layed out
Definition: bayer.h:32
int gp_bayer_expand(unsigned char *input, int w, int h, unsigned char *output, BayerTile tile)
Expand a bayer raster style image to a RGB raster.
Definition: bayer.c:75
int gp_ahd_decode(unsigned char *input, int w, int h, unsigned char *output, BayerTile tile)
Convert a bayer raster style image to a RGB raster.
Definition: ahd_bayer.c:640
int gp_ahd_interpolate(unsigned char *image, int w, int h, BayerTile tile)
Interpolate a expanded bayer array into an RGB image.
Definition: ahd_bayer.c:418
int gp_ahd_interpolate(unsigned char *image, int w, int h, BayerTile tile)
Interpolate a expanded bayer array into an RGB image.
Definition: ahd_bayer.c:418
scanline order: G1,R1,R2,G2,...,B1,G1,B2,G2,...
Definition: bayer.h:38
void gp_log(GPLogLevel level, const char *domain, const char *format,...)
Log a debug or error message.
Definition: gphoto2-port-log.c:331