takes a block of data and dechannelize to logical channels. More...
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
Go to the source code of this file.
Defines | |
#define | SSZ (sizeof(short)) |
#define | INPUT fd_in |
#define | OUTPUT fd_out |
Functions | |
int | acq200_lookup_pchan (int lchannel) |
int | acq200_lookup_lchan (int pchan) |
static void | open_files (const char *fname_in) |
static int | load (short *input, int ndata) |
static void | channelize (short *output, short *input, int nchan, int nsamples) |
static void | store (short *output, int ndata) |
int | main (int argc, char *argv[]) |
Variables | |
int | fd_in |
FILE * | fd_out |
takes a block of data and dechannelize to logical channels.
usage: channelize.196 [nchan]
Definition in file channelize.196.c.
#define INPUT fd_in |
Definition at line 23 of file channelize.196.c.
Referenced by load().
#define OUTPUT fd_out |
Definition at line 24 of file channelize.196.c.
Referenced by store().
#define SSZ (sizeof(short)) |
Definition at line 18 of file channelize.196.c.
int acq200_lookup_lchan | ( | int | pchan | ) |
Definition at line 75 of file channelize.196.c.
Referenced by channelize().
int acq200_lookup_pchan | ( | int | lchannel | ) |
Definition at line 26 of file channelize.196.c.
Definition at line 155 of file channelize.196.c.
References acq200_lookup_lchan().
Referenced by main().
static int load | ( | short * | input, | |
int | ndata | |||
) | [static] |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 179 of file channelize.196.c.
References channelize(), load(), open_files(), SSZ, and store().
static void open_files | ( | const char * | fname_in | ) | [static] |
Definition at line 124 of file channelize.196.c.
Referenced by main().
static void store | ( | short * | output, | |
int | ndata | |||
) | [static] |
int fd_in |
Definition at line 20 of file channelize.196.c.
Referenced by mmapBigBuffer(), mmapDmaBuffer(), and open_files().
FILE* fd_out |
Definition at line 21 of file channelize.196.c.
Referenced by doDmaBufDataOutput(), doWorkBufDataOutput(), make_output_file(), and open_files().