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
a82c7e3e
Commit
a82c7e3e
authored
Aug 24, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dvn: first pass to port dvb to new api. (it doesn't even yet compile,
I haven't tried :)
parent
299cea2f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
689 additions
and
806 deletions
+689
-806
modules/access/dvb/access.c
modules/access/dvb/access.c
+314
-400
modules/access/dvb/dvb.h
modules/access/dvb/dvb.h
+22
-19
modules/access/dvb/linux_dvb.c
modules/access/dvb/linux_dvb.c
+353
-387
No files found.
modules/access/dvb/access.c
View file @
a82c7e3e
This diff is collapsed.
Click to expand it.
modules/access/dvb/dvb.h
View file @
a82c7e3e
...
...
@@ -34,40 +34,43 @@
/*****************************************************************************
* Local structures
*****************************************************************************/
typedef
struct
demux_handle_t
typedef
struct
{
int
i_pid
;
int
i_handle
;
int
i_type
;
}
demux_handle_t
;
typedef
struct
frontend_t
frontend_t
;
#define MAX_DEMUX 24
typedef
struct
thread_dvb_data
_t
struct
access
_t
{
int
i_handle
;
demux_handle_t
p_demux_handles
[
MAX_DEMUX
];
void
*
p_frontend
;
frontend_t
*
p_frontend
;
vlc_bool_t
b_budget_mode
;
}
thread_dvb_data_t
;
};
#define VIDEO0_TYPE 1
#define AUDIO0_TYPE 2
#define TELETEXT0_TYPE 3
#define SUBTITLE0_TYPE 4
#define PCR0_TYPE 5
#define TYPE_INTERVAL 5
#define OTHER_TYPE 21
#define VIDEO0_TYPE
1
#define AUDIO0_TYPE
2
#define TELETEXT0_TYPE
3
#define SUBTITLE0_TYPE
4
#define PCR0_TYPE
5
#define TYPE_INTERVAL
5
#define OTHER_TYPE
21
/*****************************************************************************
* Prototypes
*****************************************************************************/
int
E_
(
FrontendOpen
)(
input_thread_t
*
p_input
);
void
E_
(
FrontendClose
)(
input_thread_t
*
p_input
);
int
E_
(
FrontendSet
)(
input_thread_t
*
p_input
);
int
E_
(
DMXSetFilter
)(
input_thread_t
*
p_input
,
int
i_pid
,
int
*
pi_fd
,
int
i_type
);
int
E_
(
DMXUnsetFilter
)(
input_thread_t
*
p_input
,
int
i_fd
);
int
E_
(
DVROpen
)(
input_thread_t
*
p_input
);
void
E_
(
DVRClose
)(
input_thread_t
*
p_input
);
int
E_
(
FrontendOpen
)(
access_t
*
);
int
E_
(
FrontendSet
)(
access_t
*
);
void
E_
(
FrontendClose
)(
access_t
*
);
int
E_
(
DMXSetFilter
)(
access_t
*
,
int
i_pid
,
int
*
pi_fd
,
int
i_type
);
int
E_
(
DMXUnsetFilter
)(
access_t
*
,
int
i_fd
);
int
E_
(
DVROpen
)(
access_t
*
);
void
E_
(
DVRClose
)(
access_t
*
);
modules/access/dvb/linux_dvb.c
View file @
a82c7e3e
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