xine-lib 1.2.11
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 );
54 pulldown_metrics_t *old_mean, pulldown_metrics_t *new_peak,
55 pulldown_metrics_t *new_relative, pulldown_metrics_t *new_mean );
56
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 */
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
int determine_pulldown_offset(int top_repeat, int bot_repeat, int tff, int last_offset)
Definition: pulldown.c:116
int determine_pulldown_offset_history_new(int top_repeat, int bot_repeat, int tff, int predicted)
Definition: pulldown.c:291
int determine_pulldown_offset_short_history_new(int top_repeat, int bot_repeat, int tff, int predicted)
Definition: pulldown.c:401
int pulldown_source(int action, int bottom_field)
Definition: pulldown.c:590
int pulldown_drop(int action, int bottom_field)
Definition: pulldown.c:607
int determine_pulldown_offset_history(int top_repeat, int bot_repeat, int tff, int *realbest)
Definition: pulldown.c:220
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
Definition: speedy.h:48