libsigrok
0.2.0
sigrok hardware access and backend library
|
Helper functions to filter out unused probes from samples. More...
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <glib.h>
#include "libsigrok.h"
#include "libsigrok-internal.h"
Go to the source code of this file.
Macros | |
#define | LOG_PREFIX "filter: " |
#define | sr_log(l, s, args...) sr_log(l, LOG_PREFIX s, ## args) |
#define | sr_spew(s, args...) sr_spew(LOG_PREFIX s, ## args) |
#define | sr_dbg(s, args...) sr_dbg(LOG_PREFIX s, ## args) |
#define | sr_info(s, args...) sr_info(LOG_PREFIX s, ## args) |
#define | sr_warn(s, args...) sr_warn(LOG_PREFIX s, ## args) |
#define | sr_err(s, args...) sr_err(LOG_PREFIX s, ## args) |
Functions | |
int | sr_filter_probes (unsigned int in_unitsize, unsigned int out_unitsize, const GArray *probe_array, const uint8_t *data_in, uint64_t length_in, uint8_t **data_out, uint64_t *length_out) |
Remove unused probes from samples. More... | |
Helper functions to filter out unused probes from samples.
Definition in file filter.c.
#define sr_dbg | ( | s, | |
args... | |||
) | sr_dbg(LOG_PREFIX s, ## args) |
#define sr_err | ( | s, | |
args... | |||
) | sr_err(LOG_PREFIX s, ## args) |
Definition at line 34 of file filter.c.
Referenced by sr_filter_probes().
#define sr_info | ( | s, | |
args... | |||
) | sr_info(LOG_PREFIX s, ## args) |
#define sr_log | ( | l, | |
s, | |||
args... | |||
) | sr_log(l, LOG_PREFIX s, ## args) |
#define sr_spew | ( | s, | |
args... | |||
) | sr_spew(LOG_PREFIX s, ## args) |
#define sr_warn | ( | s, | |
args... | |||
) | sr_warn(LOG_PREFIX s, ## args) |