Mercurial > libavcodec.hg
comparison avcodec.h @ 12131:2d51a2375ddf libavcodec
Fix trivial punctuation error
| author | pross |
|---|---|
| date | Sun, 11 Jul 2010 05:06:08 +0000 |
| parents | 917a70cf7681 |
| children | cb3eb3a2fc96 |
comparison
equal
deleted
inserted
replaced
| 12130:917a70cf7681 | 12131:2d51a2375ddf |
|---|---|
| 1395 * height, as they normally need to be rounded up to the next multiple of 16. | 1395 * height, as they normally need to be rounded up to the next multiple of 16. |
| 1396 * if CODEC_CAP_DR1 is not set then get_buffer() must call | 1396 * if CODEC_CAP_DR1 is not set then get_buffer() must call |
| 1397 * avcodec_default_get_buffer() instead of providing buffers allocated by | 1397 * avcodec_default_get_buffer() instead of providing buffers allocated by |
| 1398 * some other means. | 1398 * some other means. |
| 1399 * - encoding: unused | 1399 * - encoding: unused |
| 1400 * - decoding: Set by libavcodec., user can override. | 1400 * - decoding: Set by libavcodec, user can override. |
| 1401 */ | 1401 */ |
| 1402 int (*get_buffer)(struct AVCodecContext *c, AVFrame *pic); | 1402 int (*get_buffer)(struct AVCodecContext *c, AVFrame *pic); |
| 1403 | 1403 |
| 1404 /** | 1404 /** |
| 1405 * Called to release buffers which were allocated with get_buffer. | 1405 * Called to release buffers which were allocated with get_buffer. |
| 1406 * A released buffer can be reused in get_buffer(). | 1406 * A released buffer can be reused in get_buffer(). |
| 1407 * pic.data[*] must be set to NULL. | 1407 * pic.data[*] must be set to NULL. |
| 1408 * - encoding: unused | 1408 * - encoding: unused |
| 1409 * - decoding: Set by libavcodec., user can override. | 1409 * - decoding: Set by libavcodec, user can override. |
| 1410 */ | 1410 */ |
| 1411 void (*release_buffer)(struct AVCodecContext *c, AVFrame *pic); | 1411 void (*release_buffer)(struct AVCodecContext *c, AVFrame *pic); |
| 1412 | 1412 |
| 1413 /** | 1413 /** |
| 1414 * Size of the frame reordering buffer in the decoder. | 1414 * Size of the frame reordering buffer in the decoder. |
| 2027 * If pic.data[0] == NULL must behave like get_buffer(). | 2027 * If pic.data[0] == NULL must behave like get_buffer(). |
| 2028 * if CODEC_CAP_DR1 is not set then reget_buffer() must call | 2028 * if CODEC_CAP_DR1 is not set then reget_buffer() must call |
| 2029 * avcodec_default_reget_buffer() instead of providing buffers allocated by | 2029 * avcodec_default_reget_buffer() instead of providing buffers allocated by |
| 2030 * some other means. | 2030 * some other means. |
| 2031 * - encoding: unused | 2031 * - encoding: unused |
| 2032 * - decoding: Set by libavcodec., user can override | 2032 * - decoding: Set by libavcodec, user can override. |
| 2033 */ | 2033 */ |
| 2034 int (*reget_buffer)(struct AVCodecContext *c, AVFrame *pic); | 2034 int (*reget_buffer)(struct AVCodecContext *c, AVFrame *pic); |
| 2035 | 2035 |
| 2036 /** | 2036 /** |
| 2037 * Number of bits which should be loaded into the rc buffer before decoding starts. | 2037 * Number of bits which should be loaded into the rc buffer before decoding starts. |
