Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
85ba4839
Commit
85ba4839
authored
Oct 22, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add_float: remove callback parameter
parent
61f30bff
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
65 additions
and
65 deletions
+65
-65
include/vlc_plugin.h
include/vlc_plugin.h
+2
-2
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+1
-1
modules/access/screen/screen.c
modules/access/screen/screen.c
+1
-1
modules/access/screen/xcb.c
modules/access/screen/xcb.c
+1
-1
modules/access/v4l2.c
modules/access/v4l2.c
+1
-1
modules/audio_filter/audiobargraph_a.c
modules/audio_filter/audiobargraph_a.c
+1
-1
modules/audio_filter/chorus_flanger.c
modules/audio_filter/chorus_flanger.c
+3
-3
modules/audio_filter/compressor.c
modules/audio_filter/compressor.c
+7
-7
modules/audio_filter/equalizer.c
modules/audio_filter/equalizer.c
+1
-1
modules/audio_filter/normvol.c
modules/audio_filter/normvol.c
+1
-1
modules/audio_filter/param_eq.c
modules/audio_filter/param_eq.c
+5
-5
modules/audio_filter/spatializer/spatializer.cpp
modules/audio_filter/spatializer/spatializer.cpp
+5
-5
modules/codec/avcodec/avcodec.c
modules/codec/avcodec/avcodec.c
+7
-7
modules/codec/dirac.c
modules/codec/dirac.c
+2
-2
modules/codec/speex.c
modules/codec/speex.c
+1
-1
modules/codec/twolame.c
modules/codec/twolame.c
+1
-1
modules/codec/x264.c
modules/codec/x264.c
+8
-8
modules/demux/image.c
modules/demux/image.c
+1
-1
modules/demux/mjpeg.c
modules/demux/mjpeg.c
+1
-1
modules/demux/mpeg/es.c
modules/demux/mpeg/es.c
+1
-1
modules/demux/mpeg/h264.c
modules/demux/mpeg/h264.c
+1
-1
modules/demux/subtitle.c
modules/demux/subtitle.c
+1
-1
modules/demux/vc1.c
modules/demux/vc1.c
+1
-1
modules/stream_out/transcode/transcode.c
modules/stream_out/transcode/transcode.c
+2
-2
modules/video_filter/gaussianblur.c
modules/video_filter/gaussianblur.c
+1
-1
src/libvlc-module.c
src/libvlc-module.c
+8
-8
No files found.
include/vlc_plugin.h
View file @
85ba4839
...
...
@@ -357,12 +357,12 @@ enum vlc_module_properties
add_integer( name, value, p_callback, text, longtext, advc ) \
change_integer_range( i_min, i_max )
#define add_float( name, v,
p_callback,
text, longtext, advc ) \
#define add_float( name, v, text, longtext, advc ) \
add_typename_inner( CONFIG_ITEM_FLOAT, name, text, longtext, advc ) \
vlc_config_set (p_config, VLC_CONFIG_VALUE, (double)(v));
#define add_float_with_range( name, value, f_min, f_max, p_callback, text, longtext, advc ) \
add_float( name, value,
p_callback,
text, longtext, advc ) \
add_float( name, value, text, longtext, advc ) \
change_float_range( f_min, f_max )
#define add_bool( name, v, p_callback, text, longtext, advc ) \
...
...
modules/access/dshow/dshow.cpp
View file @
85ba4839
...
...
@@ -242,7 +242,7 @@ vlc_module_begin ()
add_string
(
CFG_PREFIX
"chroma"
,
NULL
,
CHROMA_TEXT
,
CHROMA_LONGTEXT
,
true
)
add_float
(
CFG_PREFIX
"fps"
,
0.0
f
,
NULL
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
add_float
(
CFG_PREFIX
"fps"
,
0.0
f
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
add_bool
(
CFG_PREFIX
"config"
,
false
,
NULL
,
CONFIG_TEXT
,
CONFIG_LONGTEXT
,
true
)
...
...
modules/access/screen/screen.c
View file @
85ba4839
...
...
@@ -99,7 +99,7 @@ vlc_module_begin ()
add_integer
(
"screen-caching"
,
DEFAULT_PTS_DELAY
/
1000
,
NULL
,
CACHING_TEXT
,
CACHING_LONGTEXT
,
true
)
add_float
(
"screen-fps"
,
SCREEN_FPS
,
NULL
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
add_float
(
"screen-fps"
,
SCREEN_FPS
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
#ifdef SCREEN_SUBSCREEN
add_integer
(
"screen-top"
,
0
,
NULL
,
TOP_TEXT
,
TOP_LONGTEXT
,
true
)
...
...
modules/access/screen/xcb.c
View file @
85ba4839
...
...
@@ -75,7 +75,7 @@ vlc_module_begin ()
add_integer
(
"screen-caching"
,
DEFAULT_PTS_DELAY
*
1000
/
CLOCK_FREQ
,
NULL
,
CACHING_TEXT
,
CACHING_LONGTEXT
,
true
)
add_float
(
"screen-fps"
,
2
.
0
,
NULL
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
add_float
(
"screen-fps"
,
2
.
0
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
add_integer
(
"screen-left"
,
0
,
NULL
,
LEFT_TEXT
,
LEFT_LONGTEXT
,
true
)
change_integer_range
(
-
32768
,
32767
)
change_safe
()
...
...
modules/access/v4l2.c
View file @
85ba4839
...
...
@@ -299,7 +299,7 @@ vlc_module_begin ()
HEIGHT_LONGTEXT
,
true
)
add_string
(
CFG_PREFIX
"aspect-ratio"
,
"4:3"
,
ASPECT_TEXT
,
ASPECT_LONGTEXT
,
true
)
add_float
(
CFG_PREFIX
"fps"
,
0
,
NULL
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
add_float
(
CFG_PREFIX
"fps"
,
0
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
add_integer
(
CFG_PREFIX
"caching"
,
50
/* ms */
,
NULL
,
CACHING_TEXT
,
CACHING_LONGTEXT
,
true
)
#ifdef HAVE_LIBV4L2
...
...
modules/audio_filter/audiobargraph_a.c
View file @
85ba4839
...
...
@@ -93,7 +93,7 @@ vlc_module_begin ()
add_integer
(
CFG_PREFIX
"bargraph_repetition"
,
4
,
NULL
,
BARGRAPH_REPETITION_TEXT
,
BARGRAPH_REPETITION_LONGTEXT
,
false
)
add_integer
(
CFG_PREFIX
"silence"
,
1
,
NULL
,
SILENCE_TEXT
,
SILENCE_LONGTEXT
,
false
)
add_integer
(
CFG_PREFIX
"time_window"
,
5000
,
NULL
,
TIME_WINDOW_TEXT
,
TIME_WINDOW_LONGTEXT
,
false
)
add_float
(
CFG_PREFIX
"alarm_threshold"
,
0
.
1
,
NULL
,
ALARM_THRESHOLD_TEXT
,
ALARM_THRESHOLD_LONGTEXT
,
false
)
add_float
(
CFG_PREFIX
"alarm_threshold"
,
0
.
1
,
ALARM_THRESHOLD_TEXT
,
ALARM_THRESHOLD_LONGTEXT
,
false
)
add_integer
(
CFG_PREFIX
"repetition_time"
,
2000
,
NULL
,
REPETITION_TIME_TEXT
,
REPETITION_TIME_LONGTEXT
,
false
)
add_integer
(
CFG_PREFIX
"connection_reset"
,
1
,
NULL
,
CONNECTION_RESET_TEXT
,
CONNECTION_RESET_LONGTEXT
,
false
)
...
...
modules/audio_filter/chorus_flanger.c
View file @
85ba4839
...
...
@@ -80,12 +80,12 @@ vlc_module_begin ()
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_AFILTER
)
add_shortcut
(
"delay"
)
add_float
(
"delay-time"
,
40
,
N
ULL
,
N
_
(
"Delay time"
),
add_float
(
"delay-time"
,
40
,
N_
(
"Delay time"
),
N_
(
"Time in milliseconds of the average delay. Note average"
),
true
)
add_float
(
"sweep-depth"
,
6
,
N
ULL
,
N
_
(
"Sweep Depth"
),
add_float
(
"sweep-depth"
,
6
,
N_
(
"Sweep Depth"
),
N_
(
"Time in milliseconds of the maximum sweep depth. Thus, the sweep "
"range will be delay-time +/- sweep-depth."
),
true
)
add_float
(
"sweep-rate"
,
6
,
N
ULL
,
N
_
(
"Sweep Rate"
),
add_float
(
"sweep-rate"
,
6
,
N_
(
"Sweep Rate"
),
N_
(
"Rate of change of sweep depth in milliseconds shift per second "
"of play"
),
true
)
add_float_with_range
(
"feedback-gain"
,
0
.
5
,
-
0
.
9
,
0
.
9
,
NULL
,
...
...
modules/audio_filter/compressor.c
View file @
85ba4839
...
...
@@ -182,19 +182,19 @@ vlc_module_begin()
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_AFILTER
)
add_float
(
"compressor-rms-peak"
,
0
.
0
,
NULL
,
RMS_PEAK_TEXT
,
add_float
(
"compressor-rms-peak"
,
0
.
0
,
RMS_PEAK_TEXT
,
RMS_PEAK_LONGTEXT
,
false
)
add_float
(
"compressor-attack"
,
25
.
0
,
NULL
,
ATTACK_TEXT
,
add_float
(
"compressor-attack"
,
25
.
0
,
ATTACK_TEXT
,
ATTACK_LONGTEXT
,
false
)
add_float
(
"compressor-release"
,
100
.
0
,
NULL
,
RELEASE_TEXT
,
add_float
(
"compressor-release"
,
100
.
0
,
RELEASE_TEXT
,
RELEASE_LONGTEXT
,
false
)
add_float
(
"compressor-threshold"
,
-
11
.
0
,
NULL
,
THRESHOLD_TEXT
,
add_float
(
"compressor-threshold"
,
-
11
.
0
,
THRESHOLD_TEXT
,
THRESHOLD_LONGTEXT
,
false
)
add_float
(
"compressor-ratio"
,
8
.
0
,
NULL
,
RATIO_TEXT
,
add_float
(
"compressor-ratio"
,
8
.
0
,
RATIO_TEXT
,
RATIO_LONGTEXT
,
false
)
add_float
(
"compressor-knee"
,
2
.
5
,
NULL
,
KNEE_TEXT
,
add_float
(
"compressor-knee"
,
2
.
5
,
KNEE_TEXT
,
KNEE_LONGTEXT
,
false
)
add_float
(
"compressor-makeup-gain"
,
7
.
0
,
NULL
,
MAKEUP_GAIN_TEXT
,
add_float
(
"compressor-makeup-gain"
,
7
.
0
,
MAKEUP_GAIN_TEXT
,
MAKEUP_GAIN_LONGTEXT
,
false
)
set_callbacks
(
Open
,
Close
)
add_shortcut
(
"compressor"
)
...
...
modules/audio_filter/equalizer.c
View file @
85ba4839
...
...
@@ -85,7 +85,7 @@ vlc_module_begin ()
BANDS_LONGTEXT
,
true
)
add_bool
(
"equalizer-2pass"
,
false
,
NULL
,
TWOPASS_TEXT
,
TWOPASS_LONGTEXT
,
true
)
add_float
(
"equalizer-preamp"
,
12
.
0
,
NULL
,
PREAMP_TEXT
,
add_float
(
"equalizer-preamp"
,
12
.
0
,
PREAMP_TEXT
,
PREAMP_LONGTEXT
,
true
)
set_callbacks
(
Open
,
Close
)
add_shortcut
(
"equalizer"
)
...
...
modules/audio_filter/normvol.c
View file @
85ba4839
...
...
@@ -82,7 +82,7 @@ vlc_module_begin ()
add_shortcut
(
"volnorm"
)
add_integer
(
"norm-buff-size"
,
20
,
NULL
,
BUFF_TEXT
,
BUFF_LONGTEXT
,
true
)
add_float
(
"norm-max-level"
,
2
.
0
,
NULL
,
LEVEL_TEXT
,
add_float
(
"norm-max-level"
,
2
.
0
,
LEVEL_TEXT
,
LEVEL_LONGTEXT
,
true
)
set_capability
(
"audio filter"
,
0
)
set_callbacks
(
Open
,
Close
)
...
...
modules/audio_filter/param_eq.c
View file @
85ba4839
...
...
@@ -55,23 +55,23 @@ vlc_module_begin ()
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_AFILTER
)
add_float
(
"param-eq-lowf"
,
100
,
N
ULL
,
N
_
(
"Low freq (Hz)"
),
NULL
,
false
)
add_float
(
"param-eq-lowf"
,
100
,
N_
(
"Low freq (Hz)"
),
NULL
,
false
)
add_float_with_range
(
"param-eq-lowgain"
,
0
,
-
20
.
0
,
20
.
0
,
NULL
,
N_
(
"Low freq gain (dB)"
),
NULL
,
false
)
add_float
(
"param-eq-highf"
,
10000
,
N
ULL
,
N
_
(
"High freq (Hz)"
),
NULL
,
false
)
add_float
(
"param-eq-highf"
,
10000
,
N_
(
"High freq (Hz)"
),
NULL
,
false
)
add_float_with_range
(
"param-eq-highgain"
,
0
,
-
20
.
0
,
20
.
0
,
NULL
,
N_
(
"High freq gain (dB)"
),
NULL
,
false
)
add_float
(
"param-eq-f1"
,
300
,
N
ULL
,
N
_
(
"Freq 1 (Hz)"
),
NULL
,
false
)
add_float
(
"param-eq-f1"
,
300
,
N_
(
"Freq 1 (Hz)"
),
NULL
,
false
)
add_float_with_range
(
"param-eq-gain1"
,
0
,
-
20
.
0
,
20
.
0
,
NULL
,
N_
(
"Freq 1 gain (dB)"
),
NULL
,
false
)
add_float_with_range
(
"param-eq-q1"
,
3
,
0
.
1
,
100
.
0
,
NULL
,
N_
(
"Freq 1 Q"
),
NULL
,
false
)
add_float
(
"param-eq-f2"
,
1000
,
N
ULL
,
N
_
(
"Freq 2 (Hz)"
),
NULL
,
false
)
add_float
(
"param-eq-f2"
,
1000
,
N_
(
"Freq 2 (Hz)"
),
NULL
,
false
)
add_float_with_range
(
"param-eq-gain2"
,
0
,
-
20
.
0
,
20
.
0
,
NULL
,
N_
(
"Freq 2 gain (dB)"
),
NULL
,
false
)
add_float_with_range
(
"param-eq-q2"
,
3
,
0
.
1
,
100
.
0
,
NULL
,
N_
(
"Freq 2 Q"
),
NULL
,
false
)
add_float
(
"param-eq-f3"
,
3000
,
N
ULL
,
N
_
(
"Freq 3 (Hz)"
),
NULL
,
false
)
add_float
(
"param-eq-f3"
,
3000
,
N_
(
"Freq 3 (Hz)"
),
NULL
,
false
)
add_float_with_range
(
"param-eq-gain3"
,
0
,
-
20
.
0
,
20
.
0
,
NULL
,
N_
(
"Freq 3 gain (dB)"
),
NULL
,
false
)
add_float_with_range
(
"param-eq-q3"
,
3
,
0
.
1
,
100
.
0
,
NULL
,
...
...
modules/audio_filter/spatializer/spatializer.cpp
View file @
85ba4839
...
...
@@ -76,12 +76,12 @@ vlc_module_begin ()
set_callbacks
(
Open
,
Close
)
add_shortcut
(
"spatializer"
)
add_float
(
"spatializer-roomsize"
,
1.05
,
NULL
,
ROOMSIZE_TEXT
,
add_float
(
"spatializer-roomsize"
,
1.05
,
ROOMSIZE_TEXT
,
ROOMSIZE_LONGTEXT
,
true
)
add_float
(
"spatializer-width"
,
10.
,
NULL
,
WIDTH_TEXT
,
WIDTH_LONGTEXT
,
true
)
add_float
(
"spatializer-wet"
,
3.
,
NULL
,
WET_TEXT
,
WET_LONGTEXT
,
true
)
add_float
(
"spatializer-dry"
,
2.
,
NULL
,
DRY_TEXT
,
DRY_LONGTEXT
,
true
)
add_float
(
"spatializer-damp"
,
1.
,
NULL
,
DAMP_TEXT
,
DAMP_LONGTEXT
,
true
)
add_float
(
"spatializer-width"
,
10.
,
WIDTH_TEXT
,
WIDTH_LONGTEXT
,
true
)
add_float
(
"spatializer-wet"
,
3.
,
WET_TEXT
,
WET_LONGTEXT
,
true
)
add_float
(
"spatializer-dry"
,
2.
,
DRY_TEXT
,
DRY_LONGTEXT
,
true
)
add_float
(
"spatializer-damp"
,
1.
,
DAMP_TEXT
,
DAMP_LONGTEXT
,
true
)
vlc_module_end
()
/*****************************************************************************
...
...
modules/codec/avcodec/avcodec.c
View file @
85ba4839
...
...
@@ -172,9 +172,9 @@ vlc_module_begin ()
ENC_PRE_ME_LONGTEXT
,
true
)
add_integer
(
ENC_CFG_PREFIX
"rc-buffer-size"
,
224
*
1024
*
8
,
NULL
,
ENC_RC_BUF_TEXT
,
ENC_RC_BUF_LONGTEXT
,
true
)
add_float
(
ENC_CFG_PREFIX
"rc-buffer-aggressivity"
,
1
.
0
,
NULL
,
add_float
(
ENC_CFG_PREFIX
"rc-buffer-aggressivity"
,
1
.
0
,
ENC_RC_BUF_AGGR_TEXT
,
ENC_RC_BUF_AGGR_LONGTEXT
,
true
)
add_float
(
ENC_CFG_PREFIX
"i-quant-factor"
,
0
,
NULL
,
add_float
(
ENC_CFG_PREFIX
"i-quant-factor"
,
0
,
ENC_IQUANT_FACTOR_TEXT
,
ENC_IQUANT_FACTOR_LONGTEXT
,
true
)
add_integer
(
ENC_CFG_PREFIX
"noise-reduction"
,
0
,
NULL
,
ENC_NOISE_RED_TEXT
,
ENC_NOISE_RED_LONGTEXT
,
true
)
...
...
@@ -186,17 +186,17 @@ vlc_module_begin ()
ENC_QMAX_TEXT
,
ENC_QMAX_LONGTEXT
,
true
)
add_bool
(
ENC_CFG_PREFIX
"trellis"
,
false
,
NULL
,
ENC_TRELLIS_TEXT
,
ENC_TRELLIS_LONGTEXT
,
true
)
add_float
(
ENC_CFG_PREFIX
"qscale"
,
0
,
NULL
,
add_float
(
ENC_CFG_PREFIX
"qscale"
,
0
,
ENC_QSCALE_TEXT
,
ENC_QSCALE_LONGTEXT
,
true
)
add_integer
(
ENC_CFG_PREFIX
"strict"
,
0
,
NULL
,
ENC_STRICT_TEXT
,
ENC_STRICT_LONGTEXT
,
true
)
add_float
(
ENC_CFG_PREFIX
"lumi-masking"
,
0
.
0
,
NULL
,
add_float
(
ENC_CFG_PREFIX
"lumi-masking"
,
0
.
0
,
ENC_LUMI_MASKING_TEXT
,
ENC_LUMI_MASKING_LONGTEXT
,
true
)
add_float
(
ENC_CFG_PREFIX
"dark-masking"
,
0
.
0
,
NULL
,
add_float
(
ENC_CFG_PREFIX
"dark-masking"
,
0
.
0
,
ENC_DARK_MASKING_TEXT
,
ENC_DARK_MASKING_LONGTEXT
,
true
)
add_float
(
ENC_CFG_PREFIX
"p-masking"
,
0
.
0
,
NULL
,
add_float
(
ENC_CFG_PREFIX
"p-masking"
,
0
.
0
,
ENC_P_MASKING_TEXT
,
ENC_P_MASKING_LONGTEXT
,
true
)
add_float
(
ENC_CFG_PREFIX
"border-masking"
,
0
.
0
,
NULL
,
add_float
(
ENC_CFG_PREFIX
"border-masking"
,
0
.
0
,
ENC_BORDER_MASKING_TEXT
,
ENC_BORDER_MASKING_LONGTEXT
,
true
)
add_integer
(
ENC_CFG_PREFIX
"luma-elim-threshold"
,
0
,
NULL
,
ENC_LUMA_ELIM_TEXT
,
ENC_LUMA_ELIM_LONGTEXT
,
true
)
...
...
modules/codec/dirac.c
View file @
85ba4839
...
...
@@ -208,7 +208,7 @@ vlc_module_begin()
set_capability
(
"encoder"
,
100
)
set_callbacks
(
OpenEncoder
,
CloseEncoder
)
add_float
(
ENC_CFG_PREFIX
ENC_QUALITY_FACTOR
,
5
.
5
,
NULL
,
add_float
(
ENC_CFG_PREFIX
ENC_QUALITY_FACTOR
,
5
.
5
,
ENC_QUALITY_FACTOR_TEXT
,
ENC_QUALITY_FACTOR_LONGTEXT
,
false
)
change_float_range
(
0
.,
10
.);
...
...
@@ -304,7 +304,7 @@ vlc_module_begin()
ENC_NOAC_TEXT
,
ENC_NOAC_LONGTEXT
,
false
)
/* advanced option only */
add_float
(
ENC_CFG_PREFIX
ENC_CPD
,
-
1
,
NULL
,
add_float
(
ENC_CFG_PREFIX
ENC_CPD
,
-
1
,
ENC_CPD_TEXT
,
ENC_CPD_LONGTEXT
,
true
)
change_integer_range
(
-
1
,
INT_MAX
);
vlc_module_end
()
...
...
modules/codec/speex.c
View file @
85ba4839
...
...
@@ -119,7 +119,7 @@ vlc_module_begin ()
add_bool
(
ENC_CFG_PREFIX
"cbr"
,
false
,
NULL
,
ENC_CBR_TEXT
,
ENC_CBR_LONGTEXT
,
false
)
add_float
(
ENC_CFG_PREFIX
"quality"
,
8
.
0
,
NULL
,
ENC_QUALITY_TEXT
,
add_float
(
ENC_CFG_PREFIX
"quality"
,
8
.
0
,
ENC_QUALITY_TEXT
,
ENC_QUALITY_LONGTEXT
,
false
)
change_float_range
(
0
.
0
,
10
.
0
)
...
...
modules/codec/twolame.c
View file @
85ba4839
...
...
@@ -79,7 +79,7 @@ vlc_module_begin ()
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_ACODEC
)
add_float
(
ENC_CFG_PREFIX
"quality"
,
0
.
0
,
NULL
,
ENC_QUALITY_TEXT
,
add_float
(
ENC_CFG_PREFIX
"quality"
,
0
.
0
,
ENC_QUALITY_TEXT
,
ENC_QUALITY_LONGTEXT
,
false
)
add_integer
(
ENC_CFG_PREFIX
"mode"
,
0
,
NULL
,
ENC_MODE_TEXT
,
ENC_MODE_LONGTEXT
,
false
)
...
...
modules/codec/x264.c
View file @
85ba4839
...
...
@@ -516,7 +516,7 @@ vlc_module_begin ()
QPSTEP_LONGTEXT
,
false
)
change_integer_range
(
0
,
51
)
add_float
(
SOUT_CFG_PREFIX
"ratetol"
,
1
.
0
,
NULL
,
RATETOL_TEXT
,
add_float
(
SOUT_CFG_PREFIX
"ratetol"
,
1
.
0
,
RATETOL_TEXT
,
RATETOL_LONGTEXT
,
false
)
change_float_range
(
0
,
100
)
...
...
@@ -526,15 +526,15 @@ vlc_module_begin ()
add_integer
(
SOUT_CFG_PREFIX
"vbv-bufsize"
,
0
,
NULL
,
VBV_BUFSIZE_TEXT
,
VBV_BUFSIZE_LONGTEXT
,
false
)
add_float
(
SOUT_CFG_PREFIX
"vbv-init"
,
0
.
9
,
NULL
,
VBV_INIT_TEXT
,
add_float
(
SOUT_CFG_PREFIX
"vbv-init"
,
0
.
9
,
VBV_INIT_TEXT
,
VBV_INIT_LONGTEXT
,
false
)
change_float_range
(
0
,
1
)
add_float
(
SOUT_CFG_PREFIX
"ipratio"
,
1
.
40
,
NULL
,
IPRATIO_TEXT
,
add_float
(
SOUT_CFG_PREFIX
"ipratio"
,
1
.
40
,
IPRATIO_TEXT
,
IPRATIO_LONGTEXT
,
false
)
change_float_range
(
1
,
2
)
add_float
(
SOUT_CFG_PREFIX
"pbratio"
,
1
.
30
,
NULL
,
PBRATIO_TEXT
,
add_float
(
SOUT_CFG_PREFIX
"pbratio"
,
1
.
30
,
PBRATIO_TEXT
,
PBRATIO_LONGTEXT
,
false
)
change_float_range
(
1
,
2
)
...
...
@@ -545,20 +545,20 @@ vlc_module_begin ()
PASS_LONGTEXT
,
false
)
change_integer_range
(
0
,
3
)
add_float
(
SOUT_CFG_PREFIX
"qcomp"
,
0
.
60
,
NULL
,
QCOMP_TEXT
,
add_float
(
SOUT_CFG_PREFIX
"qcomp"
,
0
.
60
,
QCOMP_TEXT
,
QCOMP_LONGTEXT
,
false
)
change_float_range
(
0
,
1
)
add_float
(
SOUT_CFG_PREFIX
"cplxblur"
,
20
.
0
,
NULL
,
CPLXBLUR_TEXT
,
add_float
(
SOUT_CFG_PREFIX
"cplxblur"
,
20
.
0
,
CPLXBLUR_TEXT
,
CPLXBLUR_LONGTEXT
,
false
)
add_float
(
SOUT_CFG_PREFIX
"qblur"
,
0
.
5
,
NULL
,
QBLUR_TEXT
,
add_float
(
SOUT_CFG_PREFIX
"qblur"
,
0
.
5
,
QBLUR_TEXT
,
QBLUR_LONGTEXT
,
false
)
add_integer
(
SOUT_CFG_PREFIX
"aq-mode"
,
X264_AQ_VARIANCE
,
NULL
,
AQ_MODE_TEXT
,
AQ_MODE_LONGTEXT
,
false
)
change_integer_range
(
0
,
2
)
add_float
(
SOUT_CFG_PREFIX
"aq-strength"
,
1
.
0
,
NULL
,
AQ_STRENGTH_TEXT
,
add_float
(
SOUT_CFG_PREFIX
"aq-strength"
,
1
.
0
,
AQ_STRENGTH_TEXT
,
AQ_STRENGTH_LONGTEXT
,
false
)
/* Analysis */
...
...
modules/demux/image.c
View file @
85ba4839
...
...
@@ -83,7 +83,7 @@ vlc_module_begin()
change_safe
()
add_string
(
"image-chroma"
,
""
,
CHROMA_TEXT
,
CHROMA_LONGTEXT
,
true
)
change_safe
()
add_float
(
"image-duration"
,
10
,
NULL
,
DURATION_TEXT
,
DURATION_LONGTEXT
,
true
)
add_float
(
"image-duration"
,
10
,
DURATION_TEXT
,
DURATION_LONGTEXT
,
true
)
change_safe
()
add_string
(
"image-fps"
,
"10/1"
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
change_safe
()
...
...
modules/demux/mjpeg.c
View file @
85ba4839
...
...
@@ -54,7 +54,7 @@ vlc_module_begin ()
set_callbacks
(
Open
,
Close
)
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_DEMUX
)
add_float
(
"mjpeg-fps"
,
0
.
0
,
NULL
,
FPS_TEXT
,
FPS_LONGTEXT
,
false
)
add_float
(
"mjpeg-fps"
,
0
.
0
,
FPS_TEXT
,
FPS_LONGTEXT
,
false
)
vlc_module_end
()
/*****************************************************************************
...
...
modules/demux/mpeg/es.c
View file @
85ba4839
...
...
@@ -68,7 +68,7 @@ vlc_module_begin ()
set_description
(
N_
(
"MPEG-4 video"
)
)
set_capability
(
"demux"
,
0
)
set_callbacks
(
OpenVideo
,
Close
)
add_float
(
"es-fps"
,
25
,
NULL
,
FPS_TEXT
,
FPS_LONGTEXT
,
false
)
add_float
(
"es-fps"
,
25
,
FPS_TEXT
,
FPS_LONGTEXT
,
false
)
add_shortcut
(
"m4v"
)
add_shortcut
(
"mp4v"
)
...
...
modules/demux/mpeg/h264.c
View file @
85ba4839
...
...
@@ -50,7 +50,7 @@ vlc_module_begin ()
set_subcategory
(
SUBCAT_INPUT_DEMUX
)
set_description
(
N_
(
"H264 video demuxer"
)
)
set_capability
(
"demux"
,
0
)
add_float
(
"h264-fps"
,
25
.
0
,
NULL
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
add_float
(
"h264-fps"
,
25
.
0
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
set_callbacks
(
Open
,
Close
)
add_shortcut
(
"h264"
)
vlc_module_end
()
...
...
modules/demux/subtitle.c
View file @
85ba4839
...
...
@@ -75,7 +75,7 @@ vlc_module_begin ()
set_capability
(
"demux"
,
0
)
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_DEMUX
)
add_float
(
"sub-fps"
,
0
.
0
,
NULL
,
add_float
(
"sub-fps"
,
0
.
0
,
N_
(
"Frames per second"
),
SUB_FPS_LONGTEXT
,
true
)
add_integer
(
"sub-delay"
,
0
,
NULL
,
...
...
modules/demux/vc1.c
View file @
85ba4839
...
...
@@ -49,7 +49,7 @@ vlc_module_begin ()
set_subcategory
(
SUBCAT_INPUT_DEMUX
)
set_description
(
N_
(
"VC1 video demuxer"
)
)
set_capability
(
"demux"
,
0
)
add_float
(
"vc1-fps"
,
25
.
0
,
NULL
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
add_float
(
"vc1-fps"
,
25
.
0
,
FPS_TEXT
,
FPS_LONGTEXT
,
true
)
set_callbacks
(
Open
,
Close
)
add_shortcut
(
"vc1"
)
vlc_module_end
()
...
...
modules/stream_out/transcode/transcode.c
View file @
85ba4839
...
...
@@ -165,9 +165,9 @@ vlc_module_begin ()
VCODEC_LONGTEXT
,
false
)
add_integer
(
SOUT_CFG_PREFIX
"vb"
,
0
,
NULL
,
VB_TEXT
,
VB_LONGTEXT
,
false
)
add_float
(
SOUT_CFG_PREFIX
"scale"
,
0
,
NULL
,
SCALE_TEXT
,
add_float
(
SOUT_CFG_PREFIX
"scale"
,
0
,
SCALE_TEXT
,
SCALE_LONGTEXT
,
false
)
add_float
(
SOUT_CFG_PREFIX
"fps"
,
0
,
NULL
,
FPS_TEXT
,
add_float
(
SOUT_CFG_PREFIX
"fps"
,
0
,
FPS_TEXT
,
FPS_LONGTEXT
,
false
)
add_bool
(
SOUT_CFG_PREFIX
"hurry-up"
,
true
,
NULL
,
HURRYUP_TEXT
,
HURRYUP_LONGTEXT
,
false
)
...
...
modules/video_filter/gaussianblur.c
View file @
85ba4839
...
...
@@ -61,7 +61,7 @@ vlc_module_begin ()
set_category
(
CAT_VIDEO
)
set_subcategory
(
SUBCAT_VIDEO_VFILTER
)
add_float
(
FILTER_PREFIX
"sigma"
,
2
.,
NULL
,
SIGMA_TEXT
,
SIGMA_LONGTEXT
,
add_float
(
FILTER_PREFIX
"sigma"
,
2
.,
SIGMA_TEXT
,
SIGMA_LONGTEXT
,
false
)
set_callbacks
(
Create
,
Destroy
)
...
...
src/libvlc-module.c
View file @
85ba4839
...
...
@@ -1621,9 +1621,9 @@ vlc_module_begin ()
add_string
(
"audio-replay-gain-mode"
,
ppsz_replay_gain_mode
[
0
],
AUDIO_REPLAY_GAIN_MODE_TEXT
,
AUDIO_REPLAY_GAIN_MODE_LONGTEXT
,
false
)
change_string_list
(
ppsz_replay_gain_mode
,
ppsz_replay_gain_mode_text
,
0
)
add_float
(
"audio-replay-gain-preamp"
,
0
.
0
,
NULL
,
add_float
(
"audio-replay-gain-preamp"
,
0
.
0
,
AUDIO_REPLAY_GAIN_PREAMP_TEXT
,
AUDIO_REPLAY_GAIN_PREAMP_LONGTEXT
,
false
)
add_float
(
"audio-replay-gain-default"
,
-
7
.
0
,
NULL
,
add_float
(
"audio-replay-gain-default"
,
-
7
.
0
,
AUDIO_REPLAY_GAIN_DEFAULT_TEXT
,
AUDIO_REPLAY_GAIN_DEFAULT_LONGTEXT
,
false
)
add_bool
(
"audio-replay-gain-peak-protection"
,
true
,
NULL
,
AUDIO_REPLAY_GAIN_PEAK_PROTECTION_TEXT
,
AUDIO_REPLAY_GAIN_PEAK_PROTECTION_LONGTEXT
,
true
)
...
...
@@ -1747,7 +1747,7 @@ vlc_module_begin ()
change_safe
()
add_bool
(
"autoscale"
,
true
,
NULL
,
AUTOSCALE_TEXT
,
AUTOSCALE_LONGTEXT
,
false
)
change_safe
()
add_float
(
"scale"
,
1
.
0
,
NULL
,
SCALEFACTOR_TEXT
,
SCALEFACTOR_LONGTEXT
,
false
)
add_float
(
"scale"
,
1
.
0
,
SCALEFACTOR_TEXT
,
SCALEFACTOR_LONGTEXT
,
false
)
change_safe
()
add_string
(
"monitor-par"
,
NULL
,
MASPECT_RATIO_TEXT
,
MASPECT_RATIO_LONGTEXT
,
true
)
...
...
@@ -1760,7 +1760,7 @@ vlc_module_begin ()
VIDEO_TITLE_LONGTEXT
,
true
)
add_integer
(
"align"
,
0
,
NULL
,
ALIGN_TEXT
,
ALIGN_LONGTEXT
,
true
)
change_integer_list
(
pi_align_values
,
ppsz_align_descriptions
)
add_float
(
"zoom"
,
1
,
NULL
,
ZOOM_TEXT
,
ZOOM_LONGTEXT
,
true
)
add_float
(
"zoom"
,
1
,
ZOOM_TEXT
,
ZOOM_LONGTEXT
,
true
)
add_integer
(
"deinterlace"
,
0
,
NULL
,
DEINTERLACE_TEXT
,
DEINTERLACE_LONGTEXT
,
false
)
change_integer_list
(
pi_deinterlace
,
ppsz_deinterlace_text
)
...
...
@@ -1852,19 +1852,19 @@ vlc_module_begin ()
add_integer
(
"input-repeat"
,
0
,
NULL
,
INPUT_REPEAT_TEXT
,
INPUT_REPEAT_LONGTEXT
,
false
)
change_safe
()
add_float
(
"start-time"
,
0
,
NULL
,
add_float
(
"start-time"
,
0
,
START_TIME_TEXT
,
START_TIME_LONGTEXT
,
true
)
change_safe
()
add_float
(
"stop-time"
,
0
,
NULL
,
add_float
(
"stop-time"
,
0
,
STOP_TIME_TEXT
,
STOP_TIME_LONGTEXT
,
true
)
change_safe
()
add_float
(
"run-time"
,
0
,
NULL
,
add_float
(
"run-time"
,
0
,
RUN_TIME_TEXT
,
RUN_TIME_LONGTEXT
,
true
)
change_safe
()
add_bool
(
"input-fast-seek"
,
false
,
NULL
,
INPUT_FAST_SEEK_TEXT
,
INPUT_FAST_SEEK_LONGTEXT
,
false
)
change_safe
()
add_float
(
"rate"
,
1
.,
NULL
,
add_float
(
"rate"
,
1
.,
INPUT_RATE_TEXT
,
INPUT_RATE_LONGTEXT
,
false
)
add_string
(
"input-list"
,
NULL
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment