xine-lib 1.2.13-20230125hg15249
tvtime.h
Go to the documentation of this file.
1
19#ifndef TVTIME_H_INCLUDED
20#define TVTIME_H_INCLUDED
21
22#if HAVE_INTTYPES_H
23#include <inttypes.h>
24#else
25#include <stdint.h>
26#endif
27
28#include "deinterlace.h"
29
33enum {
35 PULLDOWN_VEKTOR = 1, /* vektor's adaptive pulldown detection. */
37};
38
39enum
40{
45};
46
47
48typedef struct {
52 unsigned int pulldown_alg;
53
58
63 unsigned int pulldown_error_wait;
64
65 /* internal data */
68
73
74
75} tvtime_t;
76
77
78int tvtime_build_deinterlaced_frame( tvtime_t *this, uint8_t *output,
79 uint8_t *curframe,
80 uint8_t *lastframe,
81 uint8_t *secondlastframe,
82 int bottom_field, int second_field,
83 int width,
84 int frame_height,
85 int instride,
86 int outstride );
87
88
89int tvtime_build_copied_field( tvtime_t *this, uint8_t *output,
90 uint8_t *curframe,
91 int bottom_field,
92 int width,
93 int frame_height,
94 int instride,
95 int outstride );
97
98void tvtime_reset_context( tvtime_t *this );
99
100
101#endif
unsigned int width
Definition gfontrle.c:4
Definition deinterlace.h:124
Definition tvtime.h:48
int last_topdiff
Definition tvtime.h:66
unsigned int pulldown_alg
Definition tvtime.h:52
unsigned int pulldown_error_wait
Definition tvtime.h:63
int pderror
Definition tvtime.h:70
const deinterlace_method_t * curmethod
Definition tvtime.h:57
int pdoffset
Definition tvtime.h:69
int filmmode
Definition tvtime.h:72
int pdlastbusted
Definition tvtime.h:71
int last_botdiff
Definition tvtime.h:67
@ FRAMERATE_HALF_BFF
Definition tvtime.h:43
@ FRAMERATE_MAX
Definition tvtime.h:44
@ FRAMERATE_HALF_TFF
Definition tvtime.h:42
@ FRAMERATE_FULL
Definition tvtime.h:41
tvtime_t * tvtime_new_context(void)
Definition tvtime.c:461
int tvtime_build_deinterlaced_frame(tvtime_t *this, uint8_t *output, uint8_t *curframe, uint8_t *lastframe, uint8_t *secondlastframe, int bottom_field, int second_field, int width, int frame_height, int instride, int outstride)
Definition tvtime.c:152
void tvtime_reset_context(tvtime_t *this)
Definition tvtime.c:478
@ PULLDOWN_MAX
Definition tvtime.h:36
@ PULLDOWN_NONE
Definition tvtime.h:34
@ PULLDOWN_VEKTOR
Definition tvtime.h:35
int tvtime_build_copied_field(tvtime_t *this, uint8_t *output, uint8_t *curframe, int bottom_field, int width, int frame_height, int instride, int outstride)
Definition tvtime.c:413