diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-05-30 10:31:48 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-13 11:09:15 +0200 |
commit | 6d58358a3a3274e84a4e34a348165fbb3f484587 (patch) | |
tree | dc8b693c6e1065977902a3ed979269fd83246179 /libavfilter/video.h | |
parent | 8772997d102024b23fc820e3e5d9b96b4d309092 (diff) | |
download | ffmpeg-6d58358a3a3274e84a4e34a348165fbb3f484587.tar.gz |
lavfi: make avfilter_get_video_buffer() private on next bump.
They are only useful inside filters and we don't allow user filters for
now.
Diffstat (limited to 'libavfilter/video.h')
-rw-r--r-- | libavfilter/video.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libavfilter/video.h b/libavfilter/video.h index 7c9f9a0d28..ce4e9c2992 100644 --- a/libavfilter/video.h +++ b/libavfilter/video.h @@ -25,6 +25,20 @@ AVFilterBufferRef *ff_default_get_video_buffer(AVFilterLink *link, int perms, int w, int h); AVFilterBufferRef *ff_null_get_video_buffer(AVFilterLink *link, int perms, int w, int h); +/** + * Request a picture buffer with a specific set of permissions. + * + * @param link the output link to the filter from which the buffer will + * be requested + * @param perms the required access permissions + * @param w the minimum width of the buffer to allocate + * @param h the minimum height of the buffer to allocate + * @return A reference to the buffer. This must be unreferenced with + * avfilter_unref_buffer when you are finished with it. + */ +AVFilterBufferRef *ff_get_video_buffer(AVFilterLink *link, int perms, + int w, int h); + void ff_null_start_frame(AVFilterLink *link, AVFilterBufferRef *picref); void ff_null_draw_slice(AVFilterLink *link, int y, int h, int slice_dir); void ff_null_end_frame(AVFilterLink *link); |