aboutsummaryrefslogtreecommitdiffstats
path: root/src/tvtimeconf.c
diff options
context:
space:
mode:
authorvektor <devnull@localhost>2004-10-08 02:49:16 +0000
committervektor <devnull@localhost>2004-10-08 02:49:16 +0000
commitb150c2565591ed6de19324bfe80f2e78491ef601 (patch)
tree27333aeceeccde65731ca7e763f39f8bede9b498 /src/tvtimeconf.c
parent81c574bf8854ffc3d8ecde737ccaad2441f594da (diff)
07 Oct 2004 Billy Biggs <vektor@dumbterm.net>
* tvtime/src/videocorrection.h: Remove the "bt8x8 correction" feature. It is confusing, slow, and not useful in practice. * tvtime/src/videocorrection.c: Remove the implementation. * tvtime/src/videofilter.h: Remove API to control the correction feature. * tvtime/src/videofilter.c: Bye-bye. * tvtime/src/utils.h: Remove commands relating to luma correction. * tvtime/src/utils.c: Remove commands relating to luma correction. * tvtime/src/tvtimeconf.h: Remove config file handling for this feature. * tvtime/src/tvtimeconf.c: Remove config file handling for this feature. * tvtime/src/tvtime.c: Remove setup stuff for this feature. * tvtime/src/commands.h: Remove command and menu support. * tvtime/src/commands.c: Remove command and menu support. * tvtime/src/Makefile.am: Remove correction from the build. * tvtime/docs/man/en/tvtime.xml.5: No more docs for the config file option. * tvtime/docs/man/en/tvtime-command.1: No more docs for the commands. * tvtime/docs/html/default.tvtime.xml: Remove docs for the config file options. * tvtime/ChangeLog: Note this in the ChangeLog.
Diffstat (limited to 'src/tvtimeconf.c')
-rw-r--r--src/tvtimeconf.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/tvtimeconf.c b/src/tvtimeconf.c
index 61c29e4..cda0d86 100644
--- a/src/tvtimeconf.c
+++ b/src/tvtimeconf.c
@@ -61,8 +61,6 @@ struct config_s
int priority;
int ntsc_mode;
int send_fields;
- int apply_luma_correction;
- double luma_correction;
int fspos;
int picsaverestore;
int brightness;
@@ -285,17 +283,6 @@ static void parse_option( config_t *ct, xmlNodePtr node )
ct->debug = atoi( curval );
}
- if( !xmlStrcasecmp( name, BAD_CAST "ApplyLumaCorrection" ) ) {
- ct->apply_luma_correction = atoi( curval );
- }
-
- if( !xmlStrcasecmp( name, BAD_CAST "LumaCorrection" ) ) {
- ct->luma_correction = atof( curval );
- if( !isnormal( ct->luma_correction ) ) {
- ct->luma_correction = 1.0;
- }
- }
-
if( !xmlStrcasecmp( name, BAD_CAST "V4LDevice" ) ) {
if( ct->v4ldev ) free( ct->v4ldev );
ct->v4ldev = strdup( curval );
@@ -708,8 +695,6 @@ config_t *config_new( void )
ct->priority = -10;
ct->ntsc_mode = 0;
ct->send_fields = 0;
- ct->apply_luma_correction = 0;
- ct->luma_correction = 1.0;
ct->fspos = 0;
ct->picsaverestore = 1;
ct->brightness = -1;
@@ -1461,21 +1446,11 @@ int config_get_inputnum( config_t *ct )
return ct->inputnum;
}
-int config_get_apply_luma_correction( config_t *ct )
-{
- return ct->apply_luma_correction;
-}
-
const char *config_get_deinterlace_method( config_t *ct )
{
return ct->deinterlace_method;
}
-double config_get_luma_correction( config_t *ct )
-{
- return ct->luma_correction;
-}
-
const char *config_get_v4l_device( config_t *ct )
{
return ct->v4ldev;

Privacy Policy