Mercurial > libavcodec.hg
comparison avcodec.h @ 11690:56a2ead12502 libavcodec
Another try for fixing/improving decode_video documentation.
author | reimar |
---|---|
date | Sat, 08 May 2010 16:24:33 +0000 |
parents | 2312dfbe9251 |
children | ceffa0ca7596 |
comparison
equal
deleted
inserted
replaced
11689:2312dfbe9251 | 11690:56a2ead12502 |
---|---|
3472 * @note Some codecs have a delay between input and output, these need to be | 3472 * @note Some codecs have a delay between input and output, these need to be |
3473 * fed with avpkt->data=NULL, avpkt->size=0 at the end to return the remaining frames. | 3473 * fed with avpkt->data=NULL, avpkt->size=0 at the end to return the remaining frames. |
3474 * | 3474 * |
3475 * @param avctx the codec context | 3475 * @param avctx the codec context |
3476 * @param[out] picture The AVFrame in which the decoded video frame will be stored. | 3476 * @param[out] picture The AVFrame in which the decoded video frame will be stored. |
3477 * Use avcodec_alloc_frame to get an AVFrame, the codec will call | 3477 * Use avcodec_alloc_frame to get an AVFrame, the codec will |
3478 * get_buffer to get memory for the actual image data. | 3478 * allocate memory for the actual bitmap. |
3479 * @param[in] avpkt The input AVpacket containing the input buffer. | 3479 * @param[in] avpkt The input AVpacket containing the input buffer. |
3480 * You can create such packet with av_init_packet() and by then setting | 3480 * You can create such packet with av_init_packet() and by then setting |
3481 * data and size, some decoders might in addition need other fields like | 3481 * data and size, some decoders might in addition need other fields like |
3482 * flags&AV_PKT_FLAG_KEY. All decoders are designed to use the least | 3482 * flags&AV_PKT_FLAG_KEY. All decoders are designed to use the least |
3483 * fields possible. | 3483 * fields possible. |