changeset 31420:6325ecce171d

Move more sws_ extern variable declarations to vf_scale.h.
author diego
date Sun, 20 Jun 2010 15:18:45 +0000
parents 8abdc84493f3
children ae21cadb26f9
files cfg-common.h libmpcodecs/vf_scale.h
diffstat 2 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Sun Jun 20 15:15:37 2010 +0000
+++ b/cfg-common.h	Sun Jun 20 15:18:45 2010 +0000
@@ -169,13 +169,6 @@
 
 extern int audio_stream_cache;
 
-extern int sws_chr_vshift;
-extern int sws_chr_hshift;
-extern float sws_chr_gblur;
-extern float sws_lum_gblur;
-extern float sws_chr_sharpen;
-extern float sws_lum_sharpen;
-
 const m_option_t scaler_filter_conf[]={
     {"lgb", &sws_lum_gblur, CONF_TYPE_FLOAT, 0, 0, 100.0, NULL},
     {"cgb", &sws_chr_gblur, CONF_TYPE_FLOAT, 0, 0, 100.0, NULL},
--- a/libmpcodecs/vf_scale.h	Sun Jun 20 15:15:37 2010 +0000
+++ b/libmpcodecs/vf_scale.h	Sun Jun 20 15:18:45 2010 +0000
@@ -19,6 +19,14 @@
 #ifndef MPLAYER_VF_SCALE_H
 #define MPLAYER_VF_SCALE_H
 
+extern int sws_chr_vshift;
+extern int sws_chr_hshift;
+
+extern float sws_chr_gblur;
+extern float sws_lum_gblur;
+extern float sws_chr_sharpen;
+extern float sws_lum_sharpen;
+
 extern int sws_flags;
 
 int get_sws_cpuflags(void);