|
NCEPLIBS-g2c 1.9.0
|
Decode/encode an AEC code stream. More...
Go to the source code of this file.
Functions | |
| int | dec_aec (unsigned char *cpack, g2int len, g2int nbits, g2int flags, g2int block_size, g2int rsi, unsigned char *cfld, g2int cfldlen) |
| Decode an AEC code stream specified in the CCSDS 121.0-B-3 Blue Book. | |
| int | enc_aec (unsigned char *data, g2int ctemplen, g2int nbits, g2int flags, g2int block_size, g2int rsi, unsigned char *aecbuf, g2int *aecbuflen) |
| Encode data into an AEC code stream specified in the CCSDS 121.0-B-3 Blue Book. | |
| int dec_aec | ( | unsigned char * | cpack, |
| g2int | len, | ||
| g2int | nbits, | ||
| g2int | flags, | ||
| g2int | block_size, | ||
| g2int | rsi, | ||
| unsigned char * | cfld, | ||
| g2int | cfldlen | ||
| ) |
Decode an AEC code stream specified in the CCSDS 121.0-B-3 Blue Book.
| cpack | Pointer to buffer that holds the input AEC code stream. |
| len | Length (in bytes) of the buffer that holds the input AEC code stream. |
| nbits | CCSDS bits per sample. |
| flags | CCSDS compression options mask. |
| block_size | CCSDS block size. |
| rsi | CCSDS reference sample interval. |
| cfld | Pointer to output buffer from the AEC decoder. |
| cfldlen | length of output buffer. |
Definition at line 37 of file decenc_aec.c.
References LOG.
Referenced by aecunpack_int().
| int enc_aec | ( | unsigned char * | data, |
| g2int | ctemplen, | ||
| g2int | nbits, | ||
| g2int | flags, | ||
| g2int | block_size, | ||
| g2int | rsi, | ||
| unsigned char * | aecbuf, | ||
| g2int * | aecbuflen | ||
| ) |
Encode data into an AEC code stream specified in the CCSDS 121.0-B-3 Blue Book.
| data | Pointer to buffer that holds the input data. |
| ctemplen | Length (in bytes) of the buffer that holds the input data.. |
| nbits | CCSDS bits per sample. |
| flags | CCSDS compression options mask. |
| block_size | CCSDS block size. |
| rsi | CCSDS reference sample interval. |
| aecbuf | Pointer to buffer holding the AEC encoded stream. |
| aecbuflen | Length of AEC code stream. |
Definition at line 105 of file decenc_aec.c.
References LOG.
Referenced by aecpack_int().