xine-lib: xine-lib-1.2.12/src/post/deinterlace/pulldown.h Source File

xine-lib 1.2.12

pulldown.h
Go to the documentation of this file.
1
19#ifndef PULLDOWN_H_INCLUDED
20#define PULLDOWN_H_INCLUDED
21
22#if HAVE_INTTYPES_H
23#include <inttypes.h>
24#else
25#include <stdint.h>
26#endif
27
28#include "speedy.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34#define PULLDOWN_SEQ_AA (1<<0) /* next - prev */
35#define PULLDOWN_SEQ_AB (1<<1) /* prev - next */
36#define PULLDOWN_SEQ_BC (1<<2) /* prev - next */
37#define PULLDOWN_SEQ_CC (1<<3) /* next - prev */
38#define PULLDOWN_SEQ_DD (1<<4) /* next - prev */
39
40#define PULLDOWN_ACTION_NEXT_PREV (1<<0) /* next - prev */
41#define PULLDOWN_ACTION_PREV_NEXT (1<<1) /* prev - next */
42
47int pulldown_source( int action, int bottom_field );
48
49int determine_pulldown_offset( int top_repeat, int bot_repeat, int tff, int last_offset );
50int determine_pulldown_offset_history( int top_repeat, int bot_repeat, int tff, int *realbest );
51int determine_pulldown_offset_history_new( int top_repeat, int bot_repeat, int tff, int predicted );
52int determine_pulldown_offset_short_history_new( int top_repeat, int bot_repeat, int tff, int predicted );
53int determine_pulldown_offset_dalias( pulldown_metrics_t *old_peak, pulldown_metrics_t *old_relative,
54 pulldown_metrics_t *old_mean, pulldown_metrics_t *new_peak,
55 pulldown_metrics_t *new_relative, pulldown_metrics_t *new_mean );
56
57void diff_factor_packed422_frame( pulldown_metrics_t *peak, pulldown_metrics_t *rel, pulldown_metrics_t *mean,
58 uint8_t *old, uint8_t *new, int w, int h, int os, int ns );
59
60int pulldown_drop( int action, int bottom_field );
61
62#ifdef __cplusplus
63};
64#endif
65#endif /* PULLDOWN_H_INCLUDED */
diff_factor_packed422_frame
void diff_factor_packed422_frame(pulldown_metrics_t *peak, pulldown_metrics_t *rel, pulldown_metrics_t *mean, uint8_t *old, uint8_t *new, int w, int h, int os, int ns)
Definition: pulldown.c:550
determine_pulldown_offset
int determine_pulldown_offset(int top_repeat, int bot_repeat, int tff, int last_offset)
Definition: pulldown.c:116
determine_pulldown_offset_history_new
int determine_pulldown_offset_history_new(int top_repeat, int bot_repeat, int tff, int predicted)
Definition: pulldown.c:291
determine_pulldown_offset_short_history_new
int determine_pulldown_offset_short_history_new(int top_repeat, int bot_repeat, int tff, int predicted)
Definition: pulldown.c:401
pulldown_source
int pulldown_source(int action, int bottom_field)
Definition: pulldown.c:590
pulldown_drop
int pulldown_drop(int action, int bottom_field)
Definition: pulldown.c:607
determine_pulldown_offset_history
int determine_pulldown_offset_history(int top_repeat, int bot_repeat, int tff, int *realbest)
Definition: pulldown.c:220
determine_pulldown_offset_dalias
int determine_pulldown_offset_dalias(pulldown_metrics_t *old_peak, pulldown_metrics_t *old_relative, pulldown_metrics_t *old_mean, pulldown_metrics_t *new_peak, pulldown_metrics_t *new_relative, pulldown_metrics_t *new_mean)
Definition: pulldown.c:517
speedy.h
pulldown_metrics_s
Definition: speedy.h:48