Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f4888b83
Commit
f4888b83
authored
Jul 15, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doxygen example
Originally committed as revision 3316 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a708785f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
2 deletions
+30
-2
ffmpeg-doc.texi
doc/ffmpeg-doc.texi
+30
-2
No files found.
doc/ffmpeg-doc.texi
View file @
f4888b83
...
...
@@ -987,11 +987,39 @@ Main priority in ffmpeg is simplicity and small code size (=less
bugs).
Comments: use the JavaDoc/Doxygen
format (see examples
in @file
{
libavformat/utils.c
}
) so that a documentation
format (see examples
below
) so that a documentation
can be generated automatically. All non trivial functions should have a comment
above it explaining what the function does, even if its just one sentance.
All Structures and their member variables should be documented too.
@example
/**
* @file mpeg.c
* mpeg codec.
* @author ...
*/
/**
* Summary sentance.
* more text ...
* ...
*/
typedef struct Foobar
{
int var1; /**< var1 description */
int var2; ///< var2 description
/** var3 description */
int var3;
}
Foobar;
/**
* Summary sentance.
* more text ...
* ...
* @param my
_
parameter description of my
_
parameter
* @return return value description
*/
int myfunc(int my
_
parameter)
...
@end example
fprintf and printf are forbidden in libavformat and libavcodec,
please use av
_
log() instead.
...
...
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