# HG changeset patch # User iive # Date 1234642072 0 # Node ID 2184b34803e5a9f9a43bb1e548b1c15c41700957 # Parent 4044a647cb2a648f8dbc56f15611246672ab8a8d Document that ff_draw_horiz_band() could be used as hwaccell callback. diff -r 4044a647cb2a -r 2184b34803e5 avcodec.h --- a/avcodec.h Sat Feb 14 20:00:22 2009 +0000 +++ b/avcodec.h Sat Feb 14 20:07:52 2009 +0000 @@ -960,6 +960,9 @@ * 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