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
a27c8d5f
Commit
a27c8d5f
authored
Apr 02, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve AVFilterFormats doxy.
Originally committed as revision 12672 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
7bfacd4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
9 deletions
+19
-9
avfilter.h
libavfilter/avfilter.h
+19
-9
No files found.
libavfilter/avfilter.h
View file @
a27c8d5f
...
...
@@ -188,22 +188,32 @@ AVFilterFormats *avfilter_all_colorspaces(void);
AVFilterFormats
*
avfilter_merge_formats
(
AVFilterFormats
*
a
,
AVFilterFormats
*
b
);
/**
* Adds *ref as a new reference to f.
* Adds *ref as a new reference to f
ormats
.
* That is the pointers will point like in the ascii art below:
* ________
* |
f
|<--------.
* | ____ |
|
* | |refs| |
__|_
* | |* * | |
| | |
* |
formats
|<--------.
* | ____ |
____|___________________
* | |refs| |
|
__|_
* | |* * | |
| | | | AVFilterLink
* | |* *--------->|*ref|
* | |____| |
|____|
* |________|
* | |____| |
|
|____|
* |________|
|________________________
*/
void
avfilter_formats_ref
(
AVFilterFormats
*
f
,
AVFilterFormats
**
ref
);
void
avfilter_formats_ref
(
AVFilterFormats
*
f
ormats
,
AVFilterFormats
**
ref
);
/**
* Remove *ref as a reference to the format list it currently points to,
* deallocate that list if this was the last reference, and set *ref to NULL.
*
* Before After
* ________ ________ NULL
* |formats |<--------. |formats | ^
* | ____ | ____|________________ | ____ | ____|________________
* | |refs| | | __|_ | |refs| | | __|_
* | |* * | | | | | | AVFilterLink | |* * | | | | | | AVFilterLink
* | |* *--------->|*ref| | |* | | | |*ref|
* | |____| | | |____| | |____| | | |____|
* |________| |_____________________ |________| |_____________________
*/
void
avfilter_formats_unref
(
AVFilterFormats
**
ref
);
...
...
@@ -211,7 +221,7 @@ void avfilter_formats_unref(AVFilterFormats **ref);
*
* Before After
* ________ ________
* |
f |<---------. | f
|<---------.
* |
formats |<---------. |formats
|<---------.
* | ____ | ___|___ | ____ | ___|___
* | |refs| | | | | | |refs| | | | | NULL
* | |* *--------->|*oldref| | |* *--------->|*newref| ^
...
...
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