Mercurial > libavcodec.hg
comparison avcodec.h @ 11545:c7084c69abcc libavcodec
Clearer CODEC_CAP_DR1 documentation.
author | reimar |
---|---|
date | Sat, 27 Mar 2010 13:22:07 +0000 |
parents | 9beb570426f4 |
children | d35c3095f96b |
comparison
equal
deleted
inserted
replaced
11544:0eb476c1730d | 11545:c7084c69abcc |
---|---|
602 /* /Fx */ | 602 /* /Fx */ |
603 /* codec capabilities */ | 603 /* codec capabilities */ |
604 | 604 |
605 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 ///< Decoder can use draw_horiz_band callback. | 605 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 ///< Decoder can use draw_horiz_band callback. |
606 /** | 606 /** |
607 * Codec uses get_buffer() for allocating buffers. | 607 * Codec uses get_buffer() for allocating buffers and supports custom allocators. |
608 * direct rendering method 1 | 608 * If not set, it might not use get_buffer() at all or use operations that |
609 * assume the buffer was allocated by avcodec_default_get_buffer. | |
609 */ | 610 */ |
610 #define CODEC_CAP_DR1 0x0002 | 611 #define CODEC_CAP_DR1 0x0002 |
611 /* If 'parse_only' field is true, then avcodec_parse_frame() can be used. */ | 612 /* If 'parse_only' field is true, then avcodec_parse_frame() can be used. */ |
612 #define CODEC_CAP_PARSE_ONLY 0x0004 | 613 #define CODEC_CAP_PARSE_ONLY 0x0004 |
613 #define CODEC_CAP_TRUNCATED 0x0008 | 614 #define CODEC_CAP_TRUNCATED 0x0008 |