Commit 2661ba4b authored by Ivan Kalvachev's avatar Ivan Kalvachev

Document that ff_draw_horiz_band() could be used as hwaccell callback.

Originally committed as revision 17277 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 99df0aa5
...@@ -960,6 +960,9 @@ typedef struct AVCodecContext { ...@@ -960,6 +960,9 @@ typedef struct AVCodecContext {
* decoder to draw a horizontal band. It improves cache usage. Not * decoder to draw a horizontal band. It improves cache usage. Not
* all codecs can do that. You must check the codec capabilities * all codecs can do that. You must check the codec capabilities
* beforehand. * 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 * - encoding: unused
* - decoding: Set by user. * - decoding: Set by user.
* @param height the height of the slice * @param height the height of the slice
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment