Mercurial > libavcodec.hg
comparison avcodec.h @ 1196:2e06398e4647 libavcodec
mpeg2 qscale flag
a few bugfixes for the C pp code
minor optimization
| author | michaelni |
|---|---|
| date | Fri, 18 Apr 2003 12:45:34 +0000 |
| parents | f1054743bc56 |
| children | b448d7c17215 |
comparison
equal
deleted
inserted
replaced
| 1195:f7522f310c7e | 1196:2e06398e4647 |
|---|---|
| 13 | 13 |
| 14 #include "common.h" | 14 #include "common.h" |
| 15 | 15 |
| 16 #define LIBAVCODEC_VERSION_INT 0x000406 | 16 #define LIBAVCODEC_VERSION_INT 0x000406 |
| 17 #define LIBAVCODEC_VERSION "0.4.6" | 17 #define LIBAVCODEC_VERSION "0.4.6" |
| 18 #define LIBAVCODEC_BUILD 4663 | 18 #define LIBAVCODEC_BUILD 4664 |
| 19 #define LIBAVCODEC_BUILD_STR "4663" | 19 #define LIBAVCODEC_BUILD_STR "4664" |
| 20 | 20 |
| 21 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR | 21 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR |
| 22 | 22 |
| 23 enum CodecID { | 23 enum CodecID { |
| 24 CODEC_ID_NONE, | 24 CODEC_ID_NONE, |
| 312 * when decoding, this signal how much the picture must be delayed.\ | 312 * when decoding, this signal how much the picture must be delayed.\ |
| 313 * extra_delay = repeat_pict / (2*fps)\ | 313 * extra_delay = repeat_pict / (2*fps)\ |
| 314 * - encoding: unused\ | 314 * - encoding: unused\ |
| 315 * - decoding: set by lavc\ | 315 * - decoding: set by lavc\ |
| 316 */\ | 316 */\ |
| 317 int repeat_pict; | 317 int repeat_pict;\ |
| 318 | 318 \ |
| 319 /**\ | |
| 320 * \ | |
| 321 */\ | |
| 322 int qscale_type;\ | |
| 323 | |
| 324 #define FF_QSCALE_TYPE_MPEG1 0 | |
| 325 #define FF_QSCALE_TYPE_MPEG2 1 | |
| 319 | 326 |
| 320 #define FF_BUFFER_TYPE_INTERNAL 1 | 327 #define FF_BUFFER_TYPE_INTERNAL 1 |
| 321 #define FF_BUFFER_TYPE_USER 2 ///< Direct rendering buffers | 328 #define FF_BUFFER_TYPE_USER 2 ///< Direct rendering buffers |
| 322 #define FF_BUFFER_TYPE_SHARED 4 ///< buffer from somewher else, dont dealloc | 329 #define FF_BUFFER_TYPE_SHARED 4 ///< buffer from somewher else, dont dealloc |
| 323 | 330 |
