new eas3_data struct and mods in bitstream eas3_std_params
This commit is contained in:
parent
fc922d4354
commit
60b5c6c80a
1 changed files with 29 additions and 1 deletions
|
@ -199,15 +199,22 @@
|
|||
\*----------------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
//TODO: remove
|
||||
uchar error; // Error flag used during streaming.
|
||||
|
||||
uint64 size;
|
||||
uint64 position;
|
||||
//TODO: remove
|
||||
uint64 L; // Number of bytes written to/from stream.
|
||||
//TODO: remove
|
||||
uint64 Lmax; // Size of packed stream.
|
||||
uint64 size_incr; // Size incrmnt used for stream assembly.
|
||||
|
||||
//TODO: remove
|
||||
uint8 T; // Byte buffer.
|
||||
int8 t; // Byte buffer counter.
|
||||
|
||||
uchar *access; // Pointer used to parse packed stream.
|
||||
uchar *memory; // Memory handle for packed stream chunck.
|
||||
} bitstream;
|
||||
|
||||
|
@ -303,7 +310,7 @@
|
|||
{
|
||||
uint64_t file_type;
|
||||
uint64_t accuracy;
|
||||
uint64_t nzs;
|
||||
uint64_t nts;
|
||||
uint64_t npar;
|
||||
uint64_t ndim1;
|
||||
uint64_t ndim2;
|
||||
|
@ -324,6 +331,27 @@
|
|||
uint64_t udef_int_size;
|
||||
uint64_t udef_real_size;
|
||||
} eas3_std_params;
|
||||
|
||||
/*----------------------------------------------------------------------------------------------*\
|
||||
! !
|
||||
! DESCRIPTION: !
|
||||
! ------------ !
|
||||
! !
|
||||
! This structure is used to read eas3 stuff. !
|
||||
! !
|
||||
\*----------------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
eas3_std_params params;
|
||||
|
||||
struct field
|
||||
{
|
||||
double *d;
|
||||
float *f;
|
||||
} field;
|
||||
|
||||
bitstream *aux;
|
||||
} eas3_data;
|
||||
|
||||
/************************************************************************************************************\
|
||||
|| ___ _ _ ___ _ _ ____ ____ _ _ _ _ ____ ___ _ ____ _ _ ____ ||
|
||||
|
|
Loading…
Reference in a new issue