comparison avcodec.h @ 8878:2184b34803e5 libavcodec

Document that ff_draw_horiz_band() could be used as hwaccell callback.
author iive
date Sat, 14 Feb 2009 20:07:52 +0000
parents cbeaa8c0fe4f
children 55edd698a8f3
comparison
equal deleted inserted replaced
8877:4044a647cb2a 8878:2184b34803e5
958 /** 958 /**
959 * If non NULL, 'draw_horiz_band' is called by the libavcodec 959 * If non NULL, 'draw_horiz_band' is called by the libavcodec
960 * decoder to draw a horizontal band. It improves cache usage. Not 960 * decoder to draw a horizontal band. It improves cache usage. Not
961 * all codecs can do that. You must check the codec capabilities 961 * all codecs can do that. You must check the codec capabilities
962 * beforehand. 962 * beforehand.
963 * It is also used by hardware acceleration APIs as a callback
964 * to pass specific (partially decoded) data to the calling
965 * application so it could be passed to the rendering hardware.
963 * - encoding: unused 966 * - encoding: unused
964 * - decoding: Set by user. 967 * - decoding: Set by user.
965 * @param height the height of the slice 968 * @param height the height of the slice
966 * @param y the y position of the slice 969 * @param y the y position of the slice
967 * @param type 1->top field, 2->bottom field, 3->frame 970 * @param type 1->top field, 2->bottom field, 3->frame