summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-03-03 08:23:08 -0800
committerMartin Storsjö <martin@martin.st>2013-03-07 09:35:24 +0200
commit54b298fe5650c124c29a8283cfd05024ac409d3a (patch)
treebe859b9f5bf9bd26c815acb7f759200f318def2c /libavcodec/avcodec.h
parent64e4386974b976070fc22ec3153e163de4a3e14e (diff)
lavc: Deprecate the deinterlace functions in libavcodec
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 7a2477516d..120bfbcaae 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -4267,11 +4267,16 @@ int avpicture_layout(const AVPicture* src, enum AVPixelFormat pix_fmt,
*/
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
+#if FF_API_DEINTERLACE
/**
* deinterlace - if not supported return -1
+ *
+ * @deprecated - use yadif (in libavfilter) instead
*/
+attribute_deprecated
int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
enum AVPixelFormat pix_fmt, int width, int height);
+#endif
/**
* Copy image src to dst. Wraps av_picture_data_copy() above.
*/