Mercurial > libavcodec.hg
comparison avcodec.h @ 8548:3586e03586a0 libavcodec
Document the need of buf=NULL buf_size=0 at the end to obtain all frames.
author | michael |
---|---|
date | Wed, 07 Jan 2009 19:55:08 +0000 |
parents | f8c091bb5779 |
children | 2186f7c290dd |
comparison
equal
deleted
inserted
replaced
8547:b9880fc0afaf | 8548:3586e03586a0 |
---|---|
2795 * bitstream should have 4 byte alignment at minimum and all sample data should | 2795 * bitstream should have 4 byte alignment at minimum and all sample data should |
2796 * be 16 byte aligned unless the CPU doesn't need it (AltiVec and SSE do). If | 2796 * be 16 byte aligned unless the CPU doesn't need it (AltiVec and SSE do). If |
2797 * the linesize is not a multiple of 16 then there's no sense in aligning the | 2797 * the linesize is not a multiple of 16 then there's no sense in aligning the |
2798 * start of the buffer to 16. | 2798 * start of the buffer to 16. |
2799 * | 2799 * |
2800 * @note Some codecs have a delay between input and output, these need to be | |
2801 * feeded with buf=NULL, buf_size=0 at the end to return the remaining frames. | |
2802 * | |
2800 * @param avctx the codec context | 2803 * @param avctx the codec context |
2801 * @param[out] picture The AVFrame in which the decoded video frame will be stored. | 2804 * @param[out] picture The AVFrame in which the decoded video frame will be stored. |
2802 * @param[in] buf the input buffer | 2805 * @param[in] buf the input buffer |
2803 * @param[in] buf_size the size of the input buffer in bytes | 2806 * @param[in] buf_size the size of the input buffer in bytes |
2804 * @param[in,out] got_picture_ptr Zero if no frame could be decompressed, otherwise, it is nonzero. | 2807 * @param[in,out] got_picture_ptr Zero if no frame could be decompressed, otherwise, it is nonzero. |