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
f14e6856
Commit
f14e6856
authored
Jun 21, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: reorder AVFilterBufferRef fields.
Place related fields together, remove holes.
parent
cb81e291
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
17 deletions
+18
-17
avfilter.h
libavfilter/avfilter.h
+18
-17
No files found.
libavfilter/avfilter.h
View file @
f14e6856
...
...
@@ -139,23 +139,6 @@ typedef struct AVFilterBufferRefVideoProps {
typedef
struct
AVFilterBufferRef
{
AVFilterBuffer
*
buf
;
///< the buffer that this is a reference to
uint8_t
*
data
[
8
];
///< picture/audio data for each plane
int
linesize
[
8
];
///< number of bytes per line
int
format
;
///< media format
/**
* presentation timestamp. The time unit may change during
* filtering, as it is specified in the link and the filter code
* may need to rescale the PTS accordingly.
*/
int64_t
pts
;
int64_t
pos
;
///< byte position in stream, -1 if unknown
int
perms
;
///< permissions, see the AV_PERM_* flags
enum
AVMediaType
type
;
///< media type of buffer data
AVFilterBufferRefVideoProps
*
video
;
///< video buffer specific properties
AVFilterBufferRefAudioProps
*
audio
;
///< audio buffer specific properties
/**
* pointers to the data planes/channels.
*
...
...
@@ -171,6 +154,24 @@ typedef struct AVFilterBufferRef {
* in order to access all channels.
*/
uint8_t
**
extended_data
;
int
linesize
[
8
];
///< number of bytes per line
AVFilterBufferRefVideoProps
*
video
;
///< video buffer specific properties
AVFilterBufferRefAudioProps
*
audio
;
///< audio buffer specific properties
/**
* presentation timestamp. The time unit may change during
* filtering, as it is specified in the link and the filter code
* may need to rescale the PTS accordingly.
*/
int64_t
pts
;
int64_t
pos
;
///< byte position in stream, -1 if unknown
int
format
;
///< media format
int
perms
;
///< permissions, see the AV_PERM_* flags
enum
AVMediaType
type
;
///< media type of buffer data
}
AVFilterBufferRef
;
/**
...
...
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