|
Defines |
#define | ABS(a) (((a)^((a)>>31))-((a)>>31)) |
#define | F_HAVE_BREAKS 1 |
#define | F_HAVE_AFFINITY 2 |
#define | BREAK_LEFT 1 |
#define | BREAK_RIGHT 2 |
Functions |
static int | diff_y (unsigned char *a, unsigned char *b, int s) |
static int | licomb_y (unsigned char *a, unsigned char *b, int s) |
static int | var_y (unsigned char *a, unsigned char *b, int s) |
static void | alloc_buffer (struct pullup_context *c, struct pullup_buffer *b) |
struct pullup_buffer * | pullup_lock_buffer (struct pullup_buffer *b, int parity) |
void | pullup_release_buffer (struct pullup_buffer *b, int parity) |
struct pullup_buffer * | pullup_get_buffer (struct pullup_context *c, int parity) |
static void | compute_metric (struct pullup_context *c, struct pullup_field *fa, int pa, struct pullup_field *fb, int pb, int(*func)(unsigned char *, unsigned char *, int), int *dest) |
static void | alloc_metrics (struct pullup_context *c, struct pullup_field *f) |
static struct pullup_field * | make_field_queue (struct pullup_context *c, int len) |
static void | check_field_queue (struct pullup_context *c) |
void | pullup_submit_field (struct pullup_context *c, struct pullup_buffer *b, int parity) |
void | pullup_flush_fields (struct pullup_context *c) |
static int | queue_length (struct pullup_field *begin, struct pullup_field *end) |
static int | find_first_break (struct pullup_field *f, int max) |
static void | compute_breaks (struct pullup_context *c, struct pullup_field *f0) |
static void | compute_affinity (struct pullup_context *c, struct pullup_field *f) |
static void | foo (struct pullup_context *c) |
static int | decide_frame_length (struct pullup_context *c) |
static void | print_aff_and_breaks (struct pullup_context *c, struct pullup_field *f) |
struct pullup_frame * | pullup_get_frame (struct pullup_context *c) |
static void | copy_field (struct pullup_context *c, struct pullup_buffer *dest, struct pullup_buffer *src, int parity) |
void | pullup_pack_frame (struct pullup_context *c, struct pullup_frame *fr) |
void | pullup_release_frame (struct pullup_frame *fr) |
struct pullup_context * | pullup_alloc_context (void) |
void | pullup_preinit_context (struct pullup_context *c) |
void | pullup_init_context (struct pullup_context *c) |
void | pullup_free_context (struct pullup_context *c) |