|
Instrument Neutral Distributed Interface INDI 2.2.5
|
#include "dsp.h"#include <fitsio.h>#include <time.h>#include <locale.h>#include <unistd.h>#include <jpeglib.h>Go to the source code of this file.
Functions | |
| dsp_stream_p * | dsp_file_read_fits (const char *filename, int *channels, int stretch) |
| Read a FITS file and fill a dsp_stream_p with its content. | |
| void | dsp_file_write_fits (const char *filename, int bpp, dsp_stream_p stream) |
| Write the dsp_stream_p into a FITS file,. | |
| void | dsp_file_write_fits_composite (const char *filename, int components, int bpp, dsp_stream_p *stream) |
| Write the components dsp_stream_p array into a JPEG file,. | |
| void | dsp_file_write_fits_bayer (const char *filename, int components, int bpp, dsp_stream_p *stream) |
| Write a FITS file from a dsp_stream_p array. | |
| dsp_stream_p * | dsp_file_read_jpeg (const char *filename, int *channels, int stretch) |
| Read a JPEG file and fill a array of dsp_stream_p with its content, each color channel has its own stream in this array and an additional grayscale at end will be added. | |
| void | dsp_file_write_jpeg (const char *filename, int quality, dsp_stream_p stream) |
| Write the stream into a JPEG file,. | |
| void | dsp_file_write_jpeg_composite (const char *filename, int components, int quality, dsp_stream_p *stream) |
| Write the components dsp_stream_p array into a JPEG file,. | |
| dsp_t * | dsp_file_bayer_2_gray (dsp_t *src, int width, int height) |
| Convert a bayer pattern dsp_t array into a grayscale array. | |
| dsp_t * | dsp_file_composite_2_bayer (dsp_stream_p *src, int r, int width, int height) |
| Convert a component dsp_stream_p array into a bayer dsp_t array. | |
| dsp_t * | dsp_file_bayer_2_composite (dsp_t *src, int r, int width, int height) |
| Convert a bayer pattern dsp_t array into a contiguous component array. | |
| dsp_t * | dsp_file_bayer_2_rgb (dsp_t *src, int red, int width, int height) |
| Convert a bayer pattern dsp_t array into a ordered 3 RGB array. | |
| dsp_stream_p * | dsp_stream_from_components (dsp_t *buf, int dims, int *sizes, int components) |
| Convert a color component dsp_t array into a dsp_stream_p array each element containing the single components. | |
| dsp_stream_p * | dsp_buffer_rgb_to_components (void *buf, int dims, int *sizes, int components, int bpp, int stretch) |
| Convert an RGB color dsp_t array into a dsp_stream_p array each element containing the single components. | |
| void | dsp_buffer_components_to_rgb (dsp_stream_p *stream, void *rgb, int components, int bpp) |
| Convert a component dsp_stream_p array into an RGB dsp_t array. | |