Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
7f31344a
Commit
7f31344a
authored
Dec 14, 2015
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doxygen documentation
parent
9d4bf9c5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
20 deletions
+8
-20
doc/Makefile.am
doc/Makefile.am
+1
-1
doc/doxygen.cfg
doc/doxygen.cfg
+1
-0
doc/migrate-v1-to-v2.doxygen
doc/migrate-v1-to-v2.doxygen
+5
-19
doc/usage.doxygen
doc/usage.doxygen
+1
-0
No files found.
doc/Makefile.am
View file @
7f31344a
## Process this file with automake to produce Makefile.in
EXTRA_DIST
=
index.doxygen structure.doxygen usage.doxygen newdec.doxygen
\
howto-new-api.doxygen
\
howto-new-api.doxygen
migrate-v1-to-v2.doxygen
\
decoder.dot doxygen.cfg
MOSTLYCLEANFILES
=
decoder.png
...
...
doc/doxygen.cfg
View file @
7f31344a
...
...
@@ -763,6 +763,7 @@ INPUT = index.doxygen \
usage.doxygen \
newdec.doxygen \
howto-new-api.doxygen \
migrate-v1-to-v2.doxygen \
../src \
../src/tables \
../src/descriptors
...
...
doc/migrate-v1-to-v2.doxygen
View file @
7f31344a
...
...
@@ -46,9 +46,6 @@ error: <br />
<p>The same snippit of code using the dvbpsi_decoder_chain_XX() functions looks like this:</p>
<code>
/***************************************************************************** <br />
* AttachPAT <br />
*****************************************************************************/ <br />
static void AttachPAT(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, <br />
void *p_zero) <br />
{ <br />
...
...
@@ -88,9 +85,6 @@ new API (version 2 and up), the code looks the same as with the example above. T
old way of doing things. The second shows you how to write it with dvbpsi_decoder_chain_XXX() functions.</p>
<code>
/***************************************************************************** <br />
* NewSubtable <br />
*****************************************************************************/ <br />
static void NewSubtable(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, <br />
void * p_zero) <br />
{ <br />
...
...
@@ -101,9 +95,6 @@ static void NewSubtable(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_exten
} <br />
} <br />
<br />
/***************************************************************************** <br />
* main <br />
*****************************************************************************/ <br />
int main(int i_argc, char* pa_argv[]) <br />
{ <br />
int i_fd; <br />
...
...
@@ -147,12 +138,11 @@ out: <br />
close(i_fd); <br />
return ret; <br />
} <br />
<code>
</code>
<p>Using v2 libdvbpsi demuxing API the above code translates in:</p>
<code>
/***************************************************************************** <br />
* NewSubtable <br />
*****************************************************************************/ <br />
static void NewSubtable(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, <br />
void * p_zero) <br />
{ <br />
...
...
@@ -163,9 +153,6 @@ static void NewSubtable(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_exten
} <br />
} <br />
<br />
/***************************************************************************** <br />
* DelSubtable <br />
*****************************************************************************/ <br />
static void DelSubtable(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension) <br />
{ <br />
if(i_table_id == 0x42) <br />
...
...
@@ -174,9 +161,6 @@ static void DelSubtable(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_exten
} <br />
} <br />
<br />
/***************************************************************************** <br />
* main <br />
*****************************************************************************/ <br />
int main(int i_argc, char* pa_argv[]) <br />
{ <br />
int i_fd; <br />
...
...
@@ -223,3 +207,5 @@ out: <br />
} <br />
</code>
*/
<p>In the above example one could have used dvbpsi_sdt_attach() and dvbpsi_sdt_detach() functions directly.</p>
doc/usage.doxygen
View file @
7f31344a
...
...
@@ -43,5 +43,6 @@ have been detached.</p>
<ul>
<li>\ref structure</li>
<li>\ref howto-new-api</li>
<li>\ref migrate-v1-to-v2</li>
</ul>
*/
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