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
4dfaa105
Commit
4dfaa105
authored
Sep 06, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partially segregate access_demux V4L2 code
parent
21ecdaab
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
355 additions
and
350 deletions
+355
-350
modules/access/Modules.am
modules/access/Modules.am
+1
-0
modules/access/v4l2/demux.c
modules/access/v4l2/demux.c
+335
-0
modules/access/v4l2/v4l2.h
modules/access/v4l2/v4l2.h
+13
-0
modules/access/v4l2/video.c
modules/access/v4l2/video.c
+6
-350
No files found.
modules/access/Modules.am
View file @
4dfaa105
...
@@ -132,6 +132,7 @@ libvlc_LTLIBRARIES += $(LTLIBaccess_shm)
...
@@ -132,6 +132,7 @@ libvlc_LTLIBRARIES += $(LTLIBaccess_shm)
libv4l2_plugin_la_SOURCES = \
libv4l2_plugin_la_SOURCES = \
v4l2/video.c \
v4l2/video.c \
v4l2/demux.c \
v4l2/access.c \
v4l2/access.c \
v4l2/controls.c \
v4l2/controls.c \
v4l2/v4l2.h
v4l2/v4l2.h
...
...
modules/access/v4l2/demux.c
0 → 100644
View file @
4dfaa105
This diff is collapsed.
Click to expand it.
modules/access/v4l2/v4l2.h
View file @
4dfaa105
...
@@ -71,11 +71,24 @@ struct demux_sys_t
...
@@ -71,11 +71,24 @@ struct demux_sys_t
#endif
#endif
};
};
struct
buffer_t
{
void
*
start
;
size_t
length
;
};
/* video.c */
/* video.c */
void
ParseMRL
(
vlc_object_t
*
,
const
char
*
);
void
ParseMRL
(
vlc_object_t
*
,
const
char
*
);
int
OpenVideo
(
vlc_object_t
*
,
demux_sys_t
*
,
bool
);
int
OpenVideo
(
vlc_object_t
*
,
demux_sys_t
*
,
bool
);
block_t
*
GrabVideo
(
vlc_object_t
*
,
demux_sys_t
*
);
block_t
*
GrabVideo
(
vlc_object_t
*
,
demux_sys_t
*
);
/* demux.c */
int
DemuxOpen
(
vlc_object_t
*
);
void
DemuxClose
(
vlc_object_t
*
);
float
GetAbsoluteMaxFrameRate
(
vlc_object_t
*
,
int
fd
,
uint32_t
fmt
);
void
GetMaxDimensions
(
vlc_object_t
*
,
int
fd
,
uint32_t
fmt
,
float
fps_min
,
uint32_t
*
pwidth
,
uint32_t
*
pheight
);
/* access.c */
/* access.c */
int
AccessOpen
(
vlc_object_t
*
);
int
AccessOpen
(
vlc_object_t
*
);
void
AccessClose
(
vlc_object_t
*
);
void
AccessClose
(
vlc_object_t
*
);
modules/access/v4l2/video.c
View file @
4dfaa105
This diff is collapsed.
Click to expand it.
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