Mercurial > libavcodec.hg
comparison avcodec.h @ 11823:c9ef45275db0 libavcodec
Clarify that get/release_buffer() overriding only works with CODEC_CAP_DR1 codecs.
author | michael |
---|---|
date | Thu, 03 Jun 2010 21:59:25 +0000 |
parents | 8cd526e30b06 |
children | e522dbf60abd |
comparison
equal
deleted
inserted
replaced
11822:8cd526e30b06 | 11823:c9ef45275db0 |
---|---|
3500 * @param avctx the codec context | 3500 * @param avctx the codec context |
3501 * @param[out] picture The AVFrame in which the decoded video frame will be stored. | 3501 * @param[out] picture The AVFrame in which the decoded video frame will be stored. |
3502 * Use avcodec_alloc_frame to get an AVFrame, the codec will | 3502 * Use avcodec_alloc_frame to get an AVFrame, the codec will |
3503 * allocate memory for the actual bitmap. | 3503 * allocate memory for the actual bitmap. |
3504 * with default get/release_buffer(), the decoder frees/reuses the bitmap as it sees fit. | 3504 * with default get/release_buffer(), the decoder frees/reuses the bitmap as it sees fit. |
3505 * with overridden get/release_buffer() the user decides into what buffer the decoder | 3505 * with overridden get/release_buffer() (needs CODEC_CAP_DR1) the user decides into what buffer the decoder |
3506 * decodes and the decoder tells the user once it does not need the data anymore, | 3506 * decodes and the decoder tells the user once it does not need the data anymore, |
3507 * the user app can at this point free/reuse/keep the memory as it sees fit. | 3507 * the user app can at this point free/reuse/keep the memory as it sees fit. |
3508 * | 3508 * |
3509 * @param[in] avpkt The input AVpacket containing the input buffer. | 3509 * @param[in] avpkt The input AVpacket containing the input buffer. |
3510 * You can create such packet with av_init_packet() and by then setting | 3510 * You can create such packet with av_init_packet() and by then setting |