Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
eba7f3bd
Commit
eba7f3bd
authored
May 04, 2006
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix private integer types used in V4L2 ioctls.
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
888855dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
include/media/v4l2-common.h
include/media/v4l2-common.h
+8
-8
No files found.
include/media/v4l2-common.h
View file @
eba7f3bd
...
...
@@ -82,19 +82,19 @@ extern void v4l_printk_ioctl_arg(char *s,unsigned int cmd, void *arg);
/* VIDIOC_INT_G_REGISTER and VIDIOC_INT_S_REGISTER */
struct
v4l2_register
{
u32
i2c_id
;
/* I2C driver ID of the I2C chip. 0 for the I2C adapter. */
__
u32
i2c_id
;
/* I2C driver ID of the I2C chip. 0 for the I2C adapter. */
unsigned
long
reg
;
u32
val
;
__
u32
val
;
};
/* VIDIOC_INT_DECODE_VBI_LINE */
struct
v4l2_decode_vbi_line
{
u32
is_second_field
;
/* Set to 0 for the first (odd) field,
__
u32
is_second_field
;
/* Set to 0 for the first (odd) field,
set to 1 for the second (even) field. */
u8
*
p
;
/* Pointer to the sliced VBI data from the decoder.
__
u8
*
p
;
/* Pointer to the sliced VBI data from the decoder.
On exit points to the start of the payload. */
u32
line
;
/* Line number of the sliced VBI data (1-23) */
u32
type
;
/* VBI service type (V4L2_SLICED_*). 0 if no service found */
__
u32
line
;
/* Line number of the sliced VBI data (1-23) */
__
u32
type
;
/* VBI service type (V4L2_SLICED_*). 0 if no service found */
};
/* VIDIOC_INT_G_CHIP_IDENT: identifies the actual chip installed on the board */
...
...
@@ -193,8 +193,8 @@ enum v4l2_chip_ident {
/* Routing definition, device dependent. It specifies which inputs (if any)
should be routed to which outputs (if any). */
struct
v4l2_routing
{
u32
input
;
u32
output
;
__
u32
input
;
__
u32
output
;
};
/* These internal commands should be used to define the inputs and outputs
...
...
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