Commit ab01c5b5 authored by Kaarlo Raiha's avatar Kaarlo Raiha Committed by Jean-Baptiste Kempf

Add ranges to Panoramix

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 84e84d3f
...@@ -51,6 +51,9 @@ ...@@ -51,6 +51,9 @@
# endif # endif
#endif #endif
#define ROW_MAX (15)
#define COL_MAX (15)
/***************************************************************************** /*****************************************************************************
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
...@@ -83,7 +86,9 @@ vlc_module_begin() ...@@ -83,7 +86,9 @@ vlc_module_begin()
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
add_integer( CFG_PREFIX "cols", -1, COLS_TEXT, COLS_LONGTEXT, true ) add_integer( CFG_PREFIX "cols", -1, COLS_TEXT, COLS_LONGTEXT, true )
change_integer_range( -1, COL_MAX )
add_integer( CFG_PREFIX "rows", -1, ROWS_TEXT, ROWS_LONGTEXT, true ) add_integer( CFG_PREFIX "rows", -1, ROWS_TEXT, ROWS_LONGTEXT, true )
change_integer_range( -1, ROW_MAX )
#ifdef OVERLAP #ifdef OVERLAP
#define LENGTH_TEXT N_("length of the overlapping area (in %)") #define LENGTH_TEXT N_("length of the overlapping area (in %)")
...@@ -191,9 +196,6 @@ static const char *const ppsz_filter_options[] = { ...@@ -191,9 +196,6 @@ static const char *const ppsz_filter_options[] = {
NULL NULL
}; };
#define ROW_MAX (15)
#define COL_MAX (15)
#define ACCURACY 1000 #define ACCURACY 1000
/* */ /* */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment