Defines | |
#define | OUTPUT_MAX_DATA (100*1024) |
Typedefs | |
typedef char | output1_t |
Functions | |
int | get_output_length () |
int | generate_outputdata (int len) |
Variables | |
output1_t | output_data [OUTPUT_MAX_DATA] |
struct utils_itf | output_itfs [] |
#define OUTPUT_MAX_DATA (100*1024) |
maximum output buffer for data interface (in bytes)
typedef char output1_t |
sends bitstream packed in bytes INTERFACE 1: OUTPUT input buffer is declared as an array of bytes
int generate_outputdata | ( | int | len | ) |
declare gen_output() function generates the data to be sent
Run function. return 1 if ok, 0 if error Our output process function does nothing. It can be used to make sure we have processed all data, or to generate data if there are not inputs
int get_output_length | ( | ) |
declare get_output_length() function returns the number od bytes to be sent
OUTPUT INTERFACE 2: DATA //////////////////////////////////////////////DATA /** get_output_length() function returns the amount of data typewords the skeleton will send through the output interface (after all input functions finished). Note that again we are using the typetools library to convert from the desired processing data types to transport data types
output1_t output_data[OUTPUT_MAX_DATA] |
struct utils_itf output_itfs[] |
Initial value:
{ {"data_flow_out", sizeof(output1_t), OUTPUT_MAX_DATA, output_data, get_output_length, generate_outputdata, }, {NULL, 0, 0, 0, 0, 0}}