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
7973cc97
Commit
7973cc97
authored
Oct 01, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L2: provide sane choices for auto-gain and auto-white-balance
parent
f534e17d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/access/v4l2/video.c
modules/access/v4l2/video.c
+6
-0
No files found.
modules/access/v4l2/video.c
View file @
7973cc97
...
@@ -186,6 +186,10 @@
...
@@ -186,6 +186,10 @@
#define ASPECT_TEXT N_("Picture aspect-ratio n:m")
#define ASPECT_TEXT N_("Picture aspect-ratio n:m")
#define ASPECT_LONGTEXT N_("Define input picture aspect-ratio to use. Default is 4:3" )
#define ASPECT_LONGTEXT N_("Define input picture aspect-ratio to use. Default is 4:3" )
static
const
int
tristate_vlc
[]
=
{
-
1
,
0
,
1
};
static
const
char
*
const
tristate_user
[]
=
{
N_
(
"Unspecified"
),
N_
(
"Off"
),
N_
(
"On"
)
};
static
const
v4l2_std_id
standards_v4l2
[]
=
{
V4L2_STD_UNKNOWN
,
V4L2_STD_ALL
,
static
const
v4l2_std_id
standards_v4l2
[]
=
{
V4L2_STD_UNKNOWN
,
V4L2_STD_ALL
,
V4L2_STD_PAL
,
V4L2_STD_PAL_BG
,
V4L2_STD_PAL_DK
,
V4L2_STD_PAL
,
V4L2_STD_PAL_BG
,
V4L2_STD_PAL_DK
,
V4L2_STD_NTSC
,
V4L2_STD_NTSC
,
...
@@ -340,6 +344,7 @@ vlc_module_begin ()
...
@@ -340,6 +344,7 @@ vlc_module_begin ()
BLACKLEVEL_LONGTEXT
,
true
)
BLACKLEVEL_LONGTEXT
,
true
)
add_integer
(
CFG_PREFIX
"auto-white-balance"
,
-
1
,
add_integer
(
CFG_PREFIX
"auto-white-balance"
,
-
1
,
AUTOWHITEBALANCE_TEXT
,
AUTOWHITEBALANCE_LONGTEXT
,
true
)
AUTOWHITEBALANCE_TEXT
,
AUTOWHITEBALANCE_LONGTEXT
,
true
)
change_integer_list
(
tristate_vlc
,
tristate_user
)
add_integer
(
CFG_PREFIX
"do-white-balance"
,
-
1
,
DOWHITEBALANCE_TEXT
,
add_integer
(
CFG_PREFIX
"do-white-balance"
,
-
1
,
DOWHITEBALANCE_TEXT
,
DOWHITEBALANCE_LONGTEXT
,
true
)
DOWHITEBALANCE_LONGTEXT
,
true
)
add_integer
(
CFG_PREFIX
"red-balance"
,
-
1
,
REDBALANCE_TEXT
,
add_integer
(
CFG_PREFIX
"red-balance"
,
-
1
,
REDBALANCE_TEXT
,
...
@@ -352,6 +357,7 @@ vlc_module_begin ()
...
@@ -352,6 +357,7 @@ vlc_module_begin ()
EXPOSURE_LONGTEXT
,
true
)
EXPOSURE_LONGTEXT
,
true
)
add_integer
(
CFG_PREFIX
"autogain"
,
-
1
,
AUTOGAIN_TEXT
,
add_integer
(
CFG_PREFIX
"autogain"
,
-
1
,
AUTOGAIN_TEXT
,
AUTOGAIN_LONGTEXT
,
true
)
AUTOGAIN_LONGTEXT
,
true
)
change_integer_list
(
tristate_vlc
,
tristate_user
)
add_integer
(
CFG_PREFIX
"gain"
,
-
1
,
GAIN_TEXT
,
add_integer
(
CFG_PREFIX
"gain"
,
-
1
,
GAIN_TEXT
,
GAIN_LONGTEXT
,
true
)
GAIN_LONGTEXT
,
true
)
add_integer
(
CFG_PREFIX
"hflip"
,
-
1
,
HFLIP_TEXT
,
add_integer
(
CFG_PREFIX
"hflip"
,
-
1
,
HFLIP_TEXT
,
...
...
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