Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
86e50565
Commit
86e50565
authored
Jul 28, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: Drop deprecated public AVFilterPad struct
Deprecated in 06/2012.
parent
11b2eed4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
144 deletions
+0
-144
avfilter.h
libavfilter/avfilter.h
+0
-139
internal.h
libavfilter/internal.h
+0
-2
version.h
libavfilter/version.h
+0
-3
No files found.
libavfilter/avfilter.h
View file @
86e50565
...
@@ -228,145 +228,6 @@ attribute_deprecated
...
@@ -228,145 +228,6 @@ attribute_deprecated
void
avfilter_unref_bufferp
(
AVFilterBufferRef
**
ref
);
void
avfilter_unref_bufferp
(
AVFilterBufferRef
**
ref
);
#endif
#endif
#if FF_API_AVFILTERPAD_PUBLIC
/**
* A filter pad used for either input or output.
*
* @warning this struct will be removed from public API.
* users should call avfilter_pad_get_name() and avfilter_pad_get_type()
* to access the name and type fields; there should be no need to access
* any other fields from outside of libavfilter.
*/
struct
AVFilterPad
{
/**
* Pad name. The name is unique among inputs and among outputs, but an
* input may have the same name as an output. This may be NULL if this
* pad has no need to ever be referenced by name.
*/
const
char
*
name
;
/**
* AVFilterPad type.
*/
enum
AVMediaType
type
;
/**
* Minimum required permissions on incoming buffers. Any buffer with
* insufficient permissions will be automatically copied by the filter
* system to a new buffer which provides the needed access permissions.
*
* Input pads only.
*/
attribute_deprecated
int
min_perms
;
/**
* Permissions which are not accepted on incoming buffers. Any buffer
* which has any of these permissions set will be automatically copied
* by the filter system to a new buffer which does not have those
* permissions. This can be used to easily disallow buffers with
* AV_PERM_REUSE.
*
* Input pads only.
*/
attribute_deprecated
int
rej_perms
;
/**
* @deprecated unused
*/
int
(
*
start_frame
)(
AVFilterLink
*
link
,
AVFilterBufferRef
*
picref
);
/**
* Callback function to get a video buffer. If NULL, the filter system will
* use avfilter_default_get_video_buffer().
*
* Input video pads only.
*/
AVFrame
*
(
*
get_video_buffer
)(
AVFilterLink
*
link
,
int
w
,
int
h
);
/**
* Callback function to get an audio buffer. If NULL, the filter system will
* use avfilter_default_get_audio_buffer().
*
* Input audio pads only.
*/
AVFrame
*
(
*
get_audio_buffer
)(
AVFilterLink
*
link
,
int
nb_samples
);
/**
* @deprecated unused
*/
int
(
*
end_frame
)(
AVFilterLink
*
link
);
/**
* @deprecated unused
*/
int
(
*
draw_slice
)(
AVFilterLink
*
link
,
int
y
,
int
height
,
int
slice_dir
);
/**
* Filtering callback. This is where a filter receives a frame with
* audio/video data and should do its processing.
*
* Input pads only.
*
* @return >= 0 on success, a negative AVERROR on error. This function
* must ensure that samplesref is properly unreferenced on error if it
* hasn't been passed on to another filter.
*/
int
(
*
filter_frame
)(
AVFilterLink
*
link
,
AVFrame
*
frame
);
/**
* Frame poll callback. This returns the number of immediately available
* samples. It should return a positive value if the next request_frame()
* is guaranteed to return one frame (with no delay).
*
* Defaults to just calling the source poll_frame() method.
*
* Output pads only.
*/
int
(
*
poll_frame
)(
AVFilterLink
*
link
);
/**
* Frame request callback. A call to this should result in at least one
* frame being output over the given link. This should return zero on
* success, and another value on error.
*
* Output pads only.
*/
int
(
*
request_frame
)(
AVFilterLink
*
link
);
/**
* Link configuration callback.
*
* For output pads, this should set the link properties such as
* width/height. This should NOT set the format property - that is
* negotiated between filters by the filter system using the
* query_formats() callback before this function is called.
*
* For input pads, this should check the properties of the link, and update
* the filter's internal state as necessary.
*
* For both input and output filters, this should return zero on success,
* and another value on error.
*/
int
(
*
config_props
)(
AVFilterLink
*
link
);
/**
* The filter expects a fifo to be inserted on its input link,
* typically because it has a delay.
*
* input pads only.
*/
int
needs_fifo
;
/**
* The filter expects writable frames from its input link,
* duplicating data buffers if needed.
*
* input pads only.
*/
int
needs_writable
;
};
#endif
/**
/**
* Get the number of elements in a NULL-terminated array of AVFilterPads (e.g.
* Get the number of elements in a NULL-terminated array of AVFilterPads (e.g.
* AVFilter.inputs/outputs).
* AVFilter.inputs/outputs).
...
...
libavfilter/internal.h
View file @
86e50565
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
#include "thread.h"
#include "thread.h"
#include "version.h"
#include "version.h"
#if !FF_API_AVFILTERPAD_PUBLIC
/**
/**
* A filter pad used for either input or output.
* A filter pad used for either input or output.
*/
*/
...
@@ -126,7 +125,6 @@ struct AVFilterPad {
...
@@ -126,7 +125,6 @@ struct AVFilterPad {
*/
*/
int
needs_writable
;
int
needs_writable
;
};
};
#endif
struct
AVFilterGraphInternal
{
struct
AVFilterGraphInternal
{
void
*
thread
;
void
*
thread
;
...
...
libavfilter/version.h
View file @
86e50565
...
@@ -49,9 +49,6 @@
...
@@ -49,9 +49,6 @@
* the public API and may change, break or disappear at any time.
* the public API and may change, break or disappear at any time.
*/
*/
#ifndef FF_API_AVFILTERPAD_PUBLIC
#define FF_API_AVFILTERPAD_PUBLIC (LIBAVFILTER_VERSION_MAJOR < 6)
#endif
#ifndef FF_API_FOO_COUNT
#ifndef FF_API_FOO_COUNT
#define FF_API_FOO_COUNT (LIBAVFILTER_VERSION_MAJOR < 6)
#define FF_API_FOO_COUNT (LIBAVFILTER_VERSION_MAJOR < 6)
#endif
#endif
...
...
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