summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kalvachev <ikalvachev@gmail.com>2009-02-14 20:07:52 +0000
committerIvan Kalvachev <ikalvachev@gmail.com>2009-02-14 20:07:52 +0000
commit2661ba4b094302ab65b6c25b044342be26eef787 (patch)
tree77ebd6bcb3241278daefbe1df214b5c6cfadf5a5
parent99df0aa59e6bdea466d42d199df2472972d89319 (diff)
Document that ff_draw_horiz_band() could be used as hwaccell callback.
Originally committed as revision 17277 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/avcodec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 41d3c0e6f0..ee13baad35 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -960,6 +960,9 @@ typedef struct AVCodecContext {
* decoder to draw a horizontal band. It improves cache usage. Not
* all codecs can do that. You must check the codec capabilities
* beforehand.
+ * It is also used by hardware acceleration APIs as a callback
+ * to pass specific (partially decoded) data to the calling
+ * application so it could be passed to the rendering hardware.
* - encoding: unused
* - decoding: Set by user.
* @param height the height of the slice