diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-11 18:21:53 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-12 22:46:02 +0200 |
commit | 3fe6bbd5dcdf603a8dac78b48adf6f0b6604143c (patch) | |
tree | e587b065f89d83202500860aad88c564f26db4b0 /libavfilter/avcodec.h | |
parent | c535494268069282cc1147c4d61d4a88ce39e078 (diff) | |
download | ffmpeg-3fe6bbd5dcdf603a8dac78b48adf6f0b6604143c.tar.gz |
libavfilter: implement avfilter_fill_frame_from_video_buffer_ref()
Diffstat (limited to 'libavfilter/avcodec.h')
-rw-r--r-- | libavfilter/avcodec.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavfilter/avcodec.h b/libavfilter/avcodec.h index 4eed6b2d2c..dec5ae4a7c 100644 --- a/libavfilter/avcodec.h +++ b/libavfilter/avcodec.h @@ -47,6 +47,17 @@ void avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src); AVFilterBufferRef *avfilter_get_video_buffer_ref_from_frame(const AVFrame *frame, int perms); /** + * Fill an AVFrame with the information stored in picref. + * + * @param frame an already allocated AVFrame + * @param picref a video buffer reference + * @return 0 in case of success, a negative AVERROR code in case of + * failure + */ +int avfilter_fill_frame_from_video_buffer_ref(AVFrame *frame, + const AVFilterBufferRef *picref); + +/** * Add frame data to buffer_src. * * @param buffer_src pointer to a buffer source context |