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
83ba2239
Commit
83ba2239
authored
Jun 21, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: reorder AVFilterLink fields.
Move private fields to the private section, remove holes.
parent
f892013a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
avfilter.h
libavfilter/avfilter.h
+27
-27
No files found.
libavfilter/avfilter.h
View file @
83ba2239
...
...
@@ -448,13 +448,6 @@ struct AVFilterLink {
AVFilterContext
*
dst
;
///< dest filter
AVFilterPad
*
dstpad
;
///< input pad on the dest filter
/** stage of the initialization of the link properties (dimensions, etc) */
enum
{
AVLINK_UNINIT
=
0
,
///< not started
AVLINK_STARTINIT
,
///< started, but incomplete
AVLINK_INIT
///< complete
}
init_state
;
enum
AVMediaType
type
;
///< filter media type
/* These parameters apply only to video */
...
...
@@ -467,26 +460,6 @@ struct AVFilterLink {
int
format
;
///< agreed upon media format
/**
* Lists of formats supported by the input and output filters respectively.
* These lists are used for negotiating the format to actually be used,
* which will be loaded into the format member, above, when chosen.
*/
AVFilterFormats
*
in_formats
;
AVFilterFormats
*
out_formats
;
/**
* The buffer reference currently being sent across the link by the source
* filter. This is used internally by the filter system to allow
* automatic copying of buffers which do not have sufficient permissions
* for the destination. This should not be accessed directly by the
* filters.
*/
AVFilterBufferRef
*
src_buf
;
AVFilterBufferRef
*
cur_buf
;
AVFilterBufferRef
*
out_buf
;
/**
* Define the time base used by the PTS of the frames/samples
* which will pass through this link.
...
...
@@ -503,6 +476,14 @@ struct AVFilterLink {
* New public fields should be added right above.
*****************************************************************
*/
/**
* Lists of formats supported by the input and output filters respectively.
* These lists are used for negotiating the format to actually be used,
* which will be loaded into the format member, above, when chosen.
*/
AVFilterFormats
*
in_formats
;
AVFilterFormats
*
out_formats
;
/**
* Lists of channel layouts and sample rates used for automatic
* negotiation.
...
...
@@ -520,6 +501,25 @@ struct AVFilterLink {
* Last buffer before EOF will be padded with silence.
*/
int
request_samples
;
/** stage of the initialization of the link properties (dimensions, etc) */
enum
{
AVLINK_UNINIT
=
0
,
///< not started
AVLINK_STARTINIT
,
///< started, but incomplete
AVLINK_INIT
///< complete
}
init_state
;
/**
* The buffer reference currently being sent across the link by the source
* filter. This is used internally by the filter system to allow
* automatic copying of buffers which do not have sufficient permissions
* for the destination. This should not be accessed directly by the
* filters.
*/
AVFilterBufferRef
*
src_buf
;
AVFilterBufferRef
*
cur_buf
;
AVFilterBufferRef
*
out_buf
;
};
/**
...
...
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