mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Another attempt to clarify draw_horiz_band() usage.
Originally committed as revision 17289 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b71bd0ed11
commit
24b1583a62
@ -960,13 +960,13 @@ 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.
|
||||||
* The functino is also used by hardware acceleration APIs as a callback
|
* The function is also used by hardware acceleration APIs.
|
||||||
* to pass specific (partially decoded) data to the calling application
|
* It is called at least once during frame decoding to pass
|
||||||
* so that the data can be passed to the rendering hardware.
|
* the data needed for hardware render.
|
||||||
* In that mode all relevant function parameters are inside a special
|
* In that mode instead of pixel data, AVFrame points to
|
||||||
* structure passed by AVFrame in place of the pixel data.
|
* a structure specific to the acceleration API. The application
|
||||||
* The exact structure depends on the acceleration API.
|
* reads the structure and can change some fields to indicate progress
|
||||||
* The application is allowed to make changes in the structure.
|
* or mark state.
|
||||||
* - 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
|
||||||
|
Loading…
Reference in New Issue
Block a user