summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kalvachev <ikalvachev@gmail.com>2009-02-14 22:22:55 +0000
committerIvan Kalvachev <ikalvachev@gmail.com>2009-02-14 22:22:55 +0000
commit24b1583a6264cdb4211ee0e3f0f26275d49d60d0 (patch)
tree50b458d9250a54c909c09095f23cc069a882da4a
parentb71bd0ed11a743a0490c6318d696dae8f154f43a (diff)
Another attempt to clarify draw_horiz_band() usage.
Originally committed as revision 17289 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/avcodec.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index d9c40e8d0d..7360f93ace 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -960,13 +960,13 @@ 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.
- * The functino is also used by hardware acceleration APIs as a callback
- * to pass specific (partially decoded) data to the calling application
- * so that the data can be passed to the rendering hardware.
- * In that mode all relevant function parameters are inside a special
- * structure passed by AVFrame in place of the pixel data.
- * The exact structure depends on the acceleration API.
- * The application is allowed to make changes in the structure.
+ * The function is also used by hardware acceleration APIs.
+ * It is called at least once during frame decoding to pass
+ * the data needed for hardware render.
+ * In that mode instead of pixel data, AVFrame points to
+ * a structure specific to the acceleration API. The application
+ * reads the structure and can change some fields to indicate progress
+ * or mark state.
* - encoding: unused
* - decoding: Set by user.
* @param height the height of the slice