Mercurial > libavcodec.hg
comparison avcodec.h @ 9575:cb2eaa883d4f libavcodec
Remove useless and outright wrong chatter from avcodec_encode_video().
| author | michael |
|---|---|
| date | Mon, 27 Apr 2009 12:41:41 +0000 |
| parents | e83504a0f279 |
| children | 14b9819158a8 |
comparison
equal
deleted
inserted
replaced
| 9574:e83504a0f279 | 9575:cb2eaa883d4f |
|---|---|
| 3208 int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size, | 3208 int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size, |
| 3209 const short *samples); | 3209 const short *samples); |
| 3210 | 3210 |
| 3211 /** | 3211 /** |
| 3212 * Encodes a video frame from \p pict into \p buf. | 3212 * Encodes a video frame from \p pict into \p buf. |
| 3213 * The avcodec_encode_video() function encodes a video frame from the input | 3213 * The input picture should be |
| 3214 * \p pict. To encode it, it makes use of the video codec which was coupled with | |
| 3215 * \p avctx using avcodec_open(). The resulting encoded bytes representing the | |
| 3216 * frame are stored in the output buffer \p buf. The input picture should be | |
| 3217 * stored using a specific format, namely \c avctx.pix_fmt. | 3214 * stored using a specific format, namely \c avctx.pix_fmt. |
| 3218 * | 3215 * |
| 3219 * @param avctx the codec context | 3216 * @param avctx the codec context |
| 3220 * @param[out] buf the output buffer for the bitstream of encoded frame | 3217 * @param[out] buf the output buffer for the bitstream of encoded frame |
| 3221 * @param[in] buf_size the size of the output buffer in bytes | 3218 * @param[in] buf_size the size of the output buffer in bytes |
