|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-8843f13794
|
#include <grass/config.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <unistd.h>#include <grass/gis.h>#include <grass/glocale.h>#include "compress.h"
Go to the source code of this file.
Macros | |
| #define | G_COMPRESSED_NO (unsigned char)'0' |
| #define | G_COMPRESSED_YES (unsigned char)'1' |
Functions | |
| int | G_compressor_number (char *name) |
| char * | G_compressor_name (int number) |
| int | G_default_compressor (void) |
| int | G_check_compressor (int number) |
| int | G_no_compress_bound (int src_sz) |
| int | G_no_compress (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz) |
| int | G_no_expand (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz) |
| int | G_compress_bound (int src_sz, int number) |
| int | G_compress (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz, int number) |
| int | G_expand (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz, int number) |
| int | G_read_compressed (int fd, int rbytes, unsigned char *dst, int nbytes, int number) |
| int | G_write_compressed (int fd, unsigned char *src, int nbytes, int number) |
| int | G_write_uncompressed (int fd, const unsigned char *src, int nbytes) |
Definition at line 91 of file compress.c.
Definition at line 92 of file compress.c.
Definition at line 137 of file compress.c.
References _, compressor, and G_warning().
Referenced by Rast__open_old().
Definition at line 215 of file compress.c.
References _, compressor, and G_fatal_error().
Referenced by G_write_compressed().
Definition at line 199 of file compress.c.
References _, compressor, and G_fatal_error().
Referenced by G_write_compressed().
Definition at line 115 of file compress.c.
References compressor, AMI_STREAM< T >::name(), and NULL.
Referenced by Rast__open_old().
Definition at line 97 of file compress.c.
References compressor, G_strcasecmp(), AMI_STREAM< T >::name(), and name.
Definition at line 123 of file compress.c.
Definition at line 230 of file compress.c.
References _, compressor, and G_fatal_error().
Referenced by G_read_compressed().
Definition at line 152 of file compress.c.
References NULL.
Definition at line 147 of file compress.c.
Definition at line 173 of file compress.c.
References NULL.
Definition at line 241 of file compress.c.
References _, b, err(), G_calloc, G_COMPRESSED_NO, G_COMPRESSED_YES, G_expand(), G_free(), G_warning(), NULL, and read.
Referenced by Rast3d_fpcompress_read_xdr_nums().
Definition at line 320 of file compress.c.
References _, err(), G_calloc, G_compress(), G_compress_bound(), G_COMPRESSED_NO, G_COMPRESSED_YES, G_free(), G_warning(), NULL, and write.
Referenced by Rast3d_fpcompress_write_xdr_nums().
Definition at line 407 of file compress.c.
References _, err(), G_COMPRESSED_NO, G_warning(), NULL, and write.