pullup.c File Reference

Go to the source code of this file.

Functions

static int diff_y_mmx (unsigned char *a, unsigned char *b, int s)
static int licomb_y_mmx (unsigned char *a, unsigned char *b, int s)
static int var_y_mmx (unsigned char *a, unsigned char *b, int s)
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 qpcomb_y (unsigned char *a, unsigned char *b, int s) __attribute__((unused))
static int licomb_y_test (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_bufferpullup_lock_buffer (struct pullup_buffer *b, int parity)
void pullup_release_buffer (struct pullup_buffer *b, int parity)
struct pullup_bufferpullup_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_fieldmake_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_framepullup_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_contextpullup_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)

Function Documentation

static int diff_y_mmx ( unsigned char *  a,
unsigned char *  b,
int  s 
) [static]

Definition at line 16 of file pullup.c.

Referenced by pullup_init_context().

static int licomb_y_mmx ( unsigned char *  a,
unsigned char *  b,
int  s 
) [static]

Definition at line 64 of file pullup.c.

Referenced by licomb_y_test(), and pullup_init_context().

static int var_y_mmx ( unsigned char *  a,
unsigned char *  b,
int  s 
) [static]

Definition at line 154 of file pullup.c.

Referenced by pullup_init_context().

static int diff_y ( unsigned char *  a,
unsigned char *  b,
int  s 
) [static]

Definition at line 205 of file pullup.c.

Referenced by pullup_init_context().

static int licomb_y ( unsigned char *  a,
unsigned char *  b,
int  s 
) [static]

Definition at line 215 of file pullup.c.

Referenced by licomb_y_test(), and pullup_init_context().

static int qpcomb_y ( unsigned char *  a,
unsigned char *  b,
int  s 
) [static]

Definition at line 230 of file pullup.c.

static int licomb_y_test ( unsigned char *  a,
unsigned char *  b,
int  s 
) [static]

Definition at line 242 of file pullup.c.

static int var_y ( unsigned char *  a,
unsigned char *  b,
int  s 
) [static]

Definition at line 251 of file pullup.c.

Referenced by pullup_init_context().

static void alloc_buffer ( struct pullup_context c,
struct pullup_buffer b 
) [static]

Definition at line 271 of file pullup.c.

Referenced by pullup_get_buffer().

struct pullup_buffer* pullup_lock_buffer ( struct pullup_buffer b,
int  parity 
) [read]
void pullup_release_buffer ( struct pullup_buffer b,
int  parity 
)

Definition at line 291 of file pullup.c.

Referenced by IvtcFilter(), pullup_flush_fields(), and pullup_release_frame().

struct pullup_buffer* pullup_get_buffer ( struct pullup_context c,
int  parity 
) [read]

Definition at line 298 of file pullup.c.

Referenced by IvtcFilter(), and pullup_pack_frame().

static void compute_metric ( struct pullup_context c,
struct pullup_field fa,
int  pa,
struct pullup_field fb,
int  pb,
int(*)(unsigned char *, unsigned char *, int)  func,
int *  dest 
) [static]

Definition at line 335 of file pullup.c.

Referenced by pullup_submit_field().

static void alloc_metrics ( struct pullup_context c,
struct pullup_field f 
) [static]

Definition at line 371 of file pullup.c.

Referenced by check_field_queue(), and make_field_queue().

static struct pullup_field* make_field_queue ( struct pullup_context c,
int  len 
) [static, read]

Definition at line 379 of file pullup.c.

Referenced by pullup_init_context().

static void check_field_queue ( struct pullup_context c  )  [static]

Definition at line 395 of file pullup.c.

Referenced by pullup_submit_field().

void pullup_submit_field ( struct pullup_context c,
struct pullup_buffer b,
int  parity 
)

Definition at line 407 of file pullup.c.

Referenced by IvtcFilter().

void pullup_flush_fields ( struct pullup_context c  ) 

Definition at line 434 of file pullup.c.

static int queue_length ( struct pullup_field begin,
struct pullup_field end 
) [static]

Definition at line 462 of file pullup.c.

Referenced by decide_frame_length(), and foo().

static int find_first_break ( struct pullup_field f,
int  max 
) [static]

Definition at line 472 of file pullup.c.

Referenced by decide_frame_length().

static void compute_breaks ( struct pullup_context c,
struct pullup_field f0 
) [static]

Definition at line 483 of file pullup.c.

Referenced by foo().

static void compute_affinity ( struct pullup_context c,
struct pullup_field f 
) [static]

Definition at line 519 of file pullup.c.

Referenced by foo().

static void foo ( struct pullup_context c  )  [static]

Definition at line 561 of file pullup.c.

Referenced by decide_frame_length().

static int decide_frame_length ( struct pullup_context c  )  [static]

Definition at line 572 of file pullup.c.

Referenced by pullup_get_frame().

static void print_aff_and_breaks ( struct pullup_context c,
struct pullup_field f 
) [static]

Definition at line 617 of file pullup.c.

Referenced by pullup_get_frame().

struct pullup_frame* pullup_get_frame ( struct pullup_context c  )  [read]

Definition at line 643 of file pullup.c.

Referenced by IvtcFilter().

static void copy_field ( struct pullup_context c,
struct pullup_buffer dest,
struct pullup_buffer src,
int  parity 
) [static]

Definition at line 693 of file pullup.c.

Referenced by pullup_pack_frame().

void pullup_pack_frame ( struct pullup_context c,
struct pullup_frame fr 
)

Definition at line 709 of file pullup.c.

Referenced by IvtcFilter().

void pullup_release_frame ( struct pullup_frame fr  ) 

Definition at line 729 of file pullup.c.

Referenced by IvtcFilter().

struct pullup_context* pullup_alloc_context ( void   )  [read]

Definition at line 745 of file pullup.c.

Referenced by NewIvtcFilter().

void pullup_preinit_context ( struct pullup_context c  ) 

Definition at line 754 of file pullup.c.

Referenced by NewIvtcFilter().

void pullup_init_context ( struct pullup_context c  ) 

Definition at line 763 of file pullup.c.

Referenced by NewIvtcFilter().

void pullup_free_context ( struct pullup_context c  ) 

Definition at line 804 of file pullup.c.

Referenced by IvtcFilterCleanup().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:49 2012 for MythTV by  doxygen 1.6.3