aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvektor <devnull@localhost>2005-02-08 04:23:27 (GMT)
committervektor <devnull@localhost>2005-02-08 04:23:27 (GMT)
commit3b7fe1d6e21602a3d41f28f16ff2644fa928ebb4 (patch)
tree6ad2a2d4372fedda2a618546a8805167c57c0d8f
parent4b3a0fdab077b4729abe1dc7204ab2a18a1f4e27 (diff)
* tvtime/src/deinterlace.h: Remove unused settings code.
* tvtime/plugins/*.c: Remove settings stuff from all of the plugins.
-rw-r--r--plugins/greedy.c13
-rw-r--r--plugins/kdetv_greedyh.c2
-rw-r--r--plugins/kdetv_tomsmocomp.c2
-rw-r--r--plugins/linear.c2
-rw-r--r--plugins/linearblend.c2
-rw-r--r--plugins/scalerbob.c2
-rw-r--r--plugins/vfir.c2
-rw-r--r--plugins/weave.c2
-rw-r--r--plugins/weavebff.c2
-rw-r--r--plugins/weavetff.c2
-rw-r--r--src/deinterlace.h41
11 files changed, 0 insertions, 72 deletions
diff --git a/plugins/greedy.c b/plugins/greedy.c
index 7600b39..f9266f8 100644
--- a/plugins/greedy.c
+++ b/plugins/greedy.c
@@ -162,17 +162,6 @@ static void deinterlace_greedy_packed422_scanline_mmxext( uint8_t *output,
#endif
}
-static deinterlace_setting_t settings[] =
-{
- {
- "Greedy Max Comb",
- SETTING_SLIDER,
- &GreedyMaxComb,
- 15, 0, 255, 1,
- 0
- }
-};
-
static deinterlace_method_t greedymethod =
{
"Motion Adaptive: Simple Detection",
@@ -181,8 +170,6 @@ static deinterlace_method_t greedymethod =
MM_ACCEL_X86_MMXEXT,
0,
1,
- settings,
- 1,
copy_scanline,
deinterlace_greedy_packed422_scanline_mmxext,
0,
diff --git a/plugins/kdetv_greedyh.c b/plugins/kdetv_greedyh.c
index b43a24c..6c03332 100644
--- a/plugins/kdetv_greedyh.c
+++ b/plugins/kdetv_greedyh.c
@@ -109,8 +109,6 @@ static deinterlace_method_t greedymethod =
0,
0,
0,
- 0,
- 0,
deinterlace_frame_di_greedyh,
{ "Uses heuristics to detect motion in the input",
"frames and reconstruct image detail where",
diff --git a/plugins/kdetv_tomsmocomp.c b/plugins/kdetv_tomsmocomp.c
index a653b62..078280b 100644
--- a/plugins/kdetv_tomsmocomp.c
+++ b/plugins/kdetv_tomsmocomp.c
@@ -108,8 +108,6 @@ static deinterlace_method_t tomsmocompmethod =
0,
0,
0,
- 0,
- 0,
deinterlace_frame_di_tomsmocomp,
{ "Uses heuristics to detect motion in the input",
"frames and reconstruct image detail where",
diff --git a/plugins/linear.c b/plugins/linear.c
index bd8458a..1bccb09 100644
--- a/plugins/linear.c
+++ b/plugins/linear.c
@@ -47,8 +47,6 @@ static deinterlace_method_t linearmethod =
1,
0,
0,
- 0,
- 0,
1,
deinterlace_scanline_linear,
copy_scanline,
diff --git a/plugins/linearblend.c b/plugins/linearblend.c
index 15eef57..ec83f5c 100644
--- a/plugins/linearblend.c
+++ b/plugins/linearblend.c
@@ -177,8 +177,6 @@ static deinterlace_method_t linearblendmethod =
0,
#endif
0,
- 0,
- 0,
1,
deinterlace_scanline_linear_blend,
deinterlace_scanline_linear_blend2,
diff --git a/plugins/scalerbob.c b/plugins/scalerbob.c
index 55ccf88..f2a9398 100644
--- a/plugins/scalerbob.c
+++ b/plugins/scalerbob.c
@@ -29,8 +29,6 @@ static deinterlace_method_t scalerbobmethod =
1,
0,
1,
- 0,
- 0,
1,
0,
0,
diff --git a/plugins/vfir.c b/plugins/vfir.c
index 3231959..a7a1e77 100644
--- a/plugins/vfir.c
+++ b/plugins/vfir.c
@@ -152,8 +152,6 @@ static deinterlace_method_t vfirmethod =
0,
#endif
0,
- 0,
- 0,
1,
deinterlace_scanline_vfir,
copy_scanline,
diff --git a/plugins/weave.c b/plugins/weave.c
index b4aeebf..f5fb355 100644
--- a/plugins/weave.c
+++ b/plugins/weave.c
@@ -49,8 +49,6 @@ static deinterlace_method_t weavemethod =
2,
0,
0,
- 0,
- 0,
1,
deinterlace_scanline_weave,
copy_scanline,
diff --git a/plugins/weavebff.c b/plugins/weavebff.c
index 3788428..4cec612 100644
--- a/plugins/weavebff.c
+++ b/plugins/weavebff.c
@@ -52,8 +52,6 @@ static deinterlace_method_t weavemethod =
3,
0,
0,
- 0,
- 0,
1,
deinterlace_scanline_weave,
copy_scanline,
diff --git a/plugins/weavetff.c b/plugins/weavetff.c
index 9effccd..e9c14a4 100644
--- a/plugins/weavetff.c
+++ b/plugins/weavetff.c
@@ -52,8 +52,6 @@ static deinterlace_method_t weavemethod =
3,
0,
0,
- 0,
- 0,
1,
deinterlace_scanline_weave,
copy_scanline,
diff --git a/src/deinterlace.h b/src/deinterlace.h
index 7541c42..ff10741 100644
--- a/src/deinterlace.h
+++ b/src/deinterlace.h
@@ -36,22 +36,11 @@ extern "C" {
* to iterate through available plugins and select an appropriate one.
*/
-typedef struct deinterlace_setting_s deinterlace_setting_t;
typedef struct deinterlace_method_s deinterlace_method_t;
typedef struct deinterlace_scanline_data_s deinterlace_scanline_data_t;
typedef struct deinterlace_frame_data_s deinterlace_frame_data_t;
/**
- * Callback for setting change notification.
- */
-typedef void (*setting_onchange_t)(deinterlace_setting_t *);
-
-/**
- * Interface for plugin initialization.
- */
-typedef void (*deinterlace_plugin_init_t)( void );
-
-/**
* There are two scanline functions that every deinterlacer plugin
* must implement to do its work: one for a 'copy' and one for
* an 'interpolate' for the currently active field. This so so that
@@ -123,34 +112,6 @@ typedef void (*deinterlace_frame_t)( uint8_t *output, int outstride,
/**
- * Plugin settings can be any of the following.
- */
-typedef enum
-{
- SETTING_ONOFF,
- SETTING_YESNO,
- SETTING_ITEMFROMLIST,
- SETTING_SLIDER
-} setting_type_t;
-
-/**
- * Each setting provides a pointer to the value, the min, max, default
- * and step increment, and if it's not 0, a function to be called
- * when the parameter is updated.
- */
-struct deinterlace_setting_s
-{
- const char *name;
- setting_type_t type;
- int *value;
- int defvalue;
- int minvalue;
- int maxvalue;
- int stepvalue;
- setting_onchange_t onchange;
-};
-
-/**
* This structure defines the deinterlacer plugin.
*/
struct deinterlace_method_s
@@ -160,8 +121,6 @@ struct deinterlace_method_s
int fields_required;
int accelrequired;
int doscalerbob;
- int numsettings;
- deinterlace_setting_t *settings;
int scanlinemode;
deinterlace_interp_scanline_t interpolate_scanline;
deinterlace_copy_scanline_t copy_scanline;

Privacy Policy