Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
61994f33
Commit
61994f33
authored
Jan 06, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2: add analag standard groups from Linux 3.2
parent
c5c882ab
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
modules/access/v4l2/v4l2.h
modules/access/v4l2/v4l2.h
+6
-0
modules/access/v4l2/video.c
modules/access/v4l2/video.c
+10
-7
No files found.
modules/access/v4l2/v4l2.h
View file @
61994f33
...
@@ -32,6 +32,12 @@
...
@@ -32,6 +32,12 @@
#ifndef V4L2_CTRL_FLAG_VOLATILE
/* 3.2 */
#ifndef V4L2_CTRL_FLAG_VOLATILE
/* 3.2 */
# warning Please update Video4Linux2 headers!
# warning Please update Video4Linux2 headers!
# define V4L2_CTRL_FLAG_VOLATILE 0x0080
# define V4L2_CTRL_FLAG_VOLATILE 0x0080
# define V4L2_STD_G (V4L2_STD_PAL_G|V4L2_STD_SECAM_G)
# define V4L2_STD_H (V4L2_STD_PAL_H|V4L2_STD_SECAM_H)
# define V4L2_STD_L (V4L2_STD_SECAM_L|V4L2_STD_SECAM_LC)
# define V4L2_STD_BG (V4L2_STD_B|V4L2_STD_G)
# define V4L2_STD_MTS (V4L2_STD_NTSC_M|V4L2_STD_PAL_M|V4L2_STD_PAL_N|\
V4L2_STD_PAL_Nc)
#endif
#endif
#ifdef __linux__
#ifdef __linux__
# include <linux/version.h>
# include <linux/version.h>
...
...
modules/access/v4l2/video.c
View file @
61994f33
...
@@ -222,10 +222,11 @@ static const v4l2_std_id standards_v4l2[] = { V4L2_STD_UNKNOWN, V4L2_STD_ALL,
...
@@ -222,10 +222,11 @@ 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
,
V4L2_STD_SECAM
,
V4L2_STD_SECAM_DK
,
V4L2_STD_SECAM
,
V4L2_STD_SECAM_DK
,
V4L2_STD_525_60
,
V4L2_STD_625_50
,
V4L2_STD_
MTS
,
V4L2_STD_
525_60
,
V4L2_STD_625_50
,
V4L2_STD_ATSC
,
V4L2_STD_ATSC
,
V4L2_STD_MN
,
V4L2_STD_B
,
V4L2_STD_GH
,
V4L2_STD_DK
,
V4L2_STD_B
,
V4L2_STD_G
,
V4L2_STD_H
,
V4L2_STD_L
,
V4L2_STD_GH
,
V4L2_STD_DK
,
V4L2_STD_BG
,
V4L2_STD_MN
,
V4L2_STD_PAL_B
,
V4L2_STD_PAL_B1
,
V4L2_STD_PAL_G
,
V4L2_STD_PAL_H
,
V4L2_STD_PAL_B
,
V4L2_STD_PAL_B1
,
V4L2_STD_PAL_G
,
V4L2_STD_PAL_H
,
V4L2_STD_PAL_I
,
V4L2_STD_PAL_D
,
V4L2_STD_PAL_D1
,
V4L2_STD_PAL_K
,
V4L2_STD_PAL_I
,
V4L2_STD_PAL_D
,
V4L2_STD_PAL_D1
,
V4L2_STD_PAL_K
,
...
@@ -240,11 +241,12 @@ static const char *const standards_vlc[] = { "", "ALL",
...
@@ -240,11 +241,12 @@ static const char *const standards_vlc[] = { "", "ALL",
"PAL"
,
"PAL_BG"
,
"PAL_DK"
,
"PAL"
,
"PAL_BG"
,
"PAL_DK"
,
"NTSC"
,
"NTSC"
,
"SECAM"
,
"SECAM_DK"
,
"SECAM"
,
"SECAM_DK"
,
"525_60"
,
"625_50"
,
"
MTS"
,
"
525_60"
,
"625_50"
,
"ATSC"
,
"ATSC"
,
/* Areas (PAL/NTSC or PAL/SECAM) */
/* Chroma-agnostic ITU standards (PAL/NTSC or PAL/SECAM) */
"MN"
,
"B"
,
"GH"
,
"DK"
,
"B"
,
"G"
,
"H"
,
"L"
,
"GH"
,
"DK"
,
"BG"
,
"MN"
,
/* Individual standards */
/* Individual standards */
"PAL_B"
,
"PAL_B1"
,
"PAL_G"
,
"PAL_H"
,
"PAL_B"
,
"PAL_B1"
,
"PAL_G"
,
"PAL_H"
,
...
@@ -259,11 +261,12 @@ static const char *const standards_user[] = { N_("Undefined"), N_("All"),
...
@@ -259,11 +261,12 @@ static const char *const standards_user[] = { N_("Undefined"), N_("All"),
"PAL"
,
"PAL B/G"
,
"PAL D/K"
,
"PAL"
,
"PAL B/G"
,
"PAL D/K"
,
"NTSC"
,
"NTSC"
,
"SECAM"
,
"SECAM D/K"
,
"SECAM"
,
"SECAM D/K"
,
N_
(
"Multichannel television sound (MTS)"
),
N_
(
"525 lines / 60 Hz"
),
N_
(
"625 lines / 50 Hz"
),
N_
(
"525 lines / 60 Hz"
),
N_
(
"625 lines / 50 Hz"
),
"ATSC"
,
"ATSC"
,
"PAL/
NTSC M/N
"
,
"PAL/
SECAM B"
,
"PAL/SECAM G"
,
"PAL/SECAM H"
,
"PAL/SECAM L
"
,
"PAL/SECAM
B"
,
"PAL/SECAM G/H"
,
"PAL/SECAM D/K
"
,
"PAL/SECAM
G/H"
,
"PAL/SECAM D/K"
,
"PAL/SECAM B/G"
,
"PAL/NTSC M/N
"
,
"PAL B"
,
"PAL B1"
,
"PAL G"
,
"PAL H"
,
"PAL B"
,
"PAL B1"
,
"PAL G"
,
"PAL H"
,
"PAL I"
,
"PAL D"
,
"PAL D1"
,
"PAL K"
,
"PAL I"
,
"PAL D"
,
"PAL D1"
,
"PAL K"
,
...
...
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