ocssw
V2022
|
Go to the source code of this file.
Macros | |
#define | MAX(A, B) ((A) > (B) ? (A) : (B)) /* Greater of (A,B) */ |
#define | MIN(A, B) ((A) < (B) ? (A) : (B)) /* Lesser of (A,B) */ |
#define | ABS(A) ((A) > 0 ? (A) : -(A)) /* Absolute Value */ |
Functions | |
INT16 | scid2mnftype (INT16 scid[]) |
INT16 | scid2mnfnum (INT16 scid[]) |
void | ttag2ydmsec (INT16 ttag[], INT16 *year, INT16 *day, INT32 *msec) |
FLOAT64 | ttag2unix (INT16 ttag[]) |
char * | unix2timeStr (FLOAT64 usec) |
INT32 | filesize (const char *filename) |
BYTE | timeError (swl0indx *indx, INT32 irec) |
BYTE | timeSeqError (swl0indx *indx, INT32 irec) |
BYTE | timeContiguous (swl0indx *indx, INT32 irec) |
BYTE | timeConsistent (swl0indx *indx, INT32 irec) |
BYTE | timeShifted (swl0indx *indx, INT32 irec, FLOAT64 *shiftval) |
BYTE | sohHdrError (BYTE hdr[]) |
BYTE | startBitError (BYTE mnf[], INT32 *numbits, INT32 *numerrs) |
BYTE | stopBitError (BYTE mnf[], INT32 *numbits, INT32 *numerrs) |
BYTE | bitError (BYTE mnf[], INT32 *numbits, INT32 *numerrs) |
INT32 | pixVariance (BYTE mnf[]) |
Macro Definition Documentation
◆ ABS
#define ABS | ( | A | ) | ((A) > 0 ? (A) : -(A)) /* Absolute Value */ |
Definition at line 33 of file swl0_utils.h.
◆ MAX
#define MAX | ( | A, | |
B | |||
) | ((A) > (B) ? (A) : (B)) /* Greater of (A,B) */ |
Definition at line 26 of file swl0_utils.h.
◆ MIN
#define MIN | ( | A, | |
B | |||
) | ((A) < (B) ? (A) : (B)) /* Lesser of (A,B) */ |
Definition at line 30 of file swl0_utils.h.
Function Documentation
◆ bitError()
Definition at line 441 of file swl0_utils.c.
◆ filesize()
Definition at line 93 of file swl0_utils.c.
◆ pixVariance()
Definition at line 582 of file swl0_utils.c.
◆ scid2mnfnum()
Definition at line 29 of file swl0_utils.c.
◆ scid2mnftype()
Definition at line 20 of file swl0_utils.c.
◆ sohHdrError()
Definition at line 416 of file swl0_utils.c.
◆ startBitError()
Definition at line 469 of file swl0_utils.c.
◆ stopBitError()
Definition at line 528 of file swl0_utils.c.
◆ timeConsistent()
Definition at line 255 of file swl0_utils.c.
◆ timeContiguous()
Definition at line 178 of file swl0_utils.c.
◆ timeError()
Definition at line 109 of file swl0_utils.c.
◆ timeSeqError()
Definition at line 121 of file swl0_utils.c.
◆ timeShifted()
Definition at line 334 of file swl0_utils.c.
◆ ttag2unix()
Definition at line 38 of file swl0_utils.c.
◆ ttag2ydmsec()
Definition at line 71 of file swl0_utils.c.
◆ unix2timeStr()
char* unix2timeStr | ( | FLOAT64 | usec | ) |
Definition at line 55 of file swl0_utils.c.