comparison avcodec.h @ 485:20108840b0e5 libavcodec

grayscale only decoding
author michaelni
date Sun, 09 Jun 2002 13:35:56 +0000
parents ad65941c8eb5
children de11e138a661
comparison
equal deleted inserted replaced
484:f8bbc8976247 485:20108840b0e5
3 3
4 #include "common.h" 4 #include "common.h"
5 5
6 #define LIBAVCODEC_VERSION_INT 0x000406 6 #define LIBAVCODEC_VERSION_INT 0x000406
7 #define LIBAVCODEC_VERSION "0.4.6" 7 #define LIBAVCODEC_VERSION "0.4.6"
8 #define LIBAVCODEC_BUILD 4613 8 #define LIBAVCODEC_BUILD 4614
9 #define LIBAVCODEC_BUILD_STR "4613" 9 #define LIBAVCODEC_BUILD_STR "4614"
10 10
11 enum CodecID { 11 enum CodecID {
12 CODEC_ID_NONE, 12 CODEC_ID_NONE,
13 CODEC_ID_MPEG1VIDEO, 13 CODEC_ID_MPEG1VIDEO,
14 CODEC_ID_H263, 14 CODEC_ID_H263,
21 CODEC_ID_RAWVIDEO, 21 CODEC_ID_RAWVIDEO,
22 CODEC_ID_MSMPEG4V1, 22 CODEC_ID_MSMPEG4V1,
23 CODEC_ID_MSMPEG4V2, 23 CODEC_ID_MSMPEG4V2,
24 CODEC_ID_MSMPEG4V3, 24 CODEC_ID_MSMPEG4V3,
25 CODEC_ID_WMV1, 25 CODEC_ID_WMV1,
26 CODEC_ID_WMV2,
26 CODEC_ID_H263P, 27 CODEC_ID_H263P,
27 CODEC_ID_H263I, 28 CODEC_ID_H263I,
28 29
29 /* various pcm "codecs" */ 30 /* various pcm "codecs" */
30 CODEC_ID_PCM_S16LE, 31 CODEC_ID_PCM_S16LE,
95 for at least s->max_b_frames+1 frames, if this is not set than the input will be copied */ 96 for at least s->max_b_frames+1 frames, if this is not set than the input will be copied */
96 #define CODEC_FLAG_INPUT_PRESERVED 0x0100 97 #define CODEC_FLAG_INPUT_PRESERVED 0x0100
97 #define CODEC_FLAG_PASS1 0x0200 /* use internal 2pass ratecontrol in first pass mode */ 98 #define CODEC_FLAG_PASS1 0x0200 /* use internal 2pass ratecontrol in first pass mode */
98 #define CODEC_FLAG_PASS2 0x0400 /* use internal 2pass ratecontrol in second pass mode */ 99 #define CODEC_FLAG_PASS2 0x0400 /* use internal 2pass ratecontrol in second pass mode */
99 #define CODEC_FLAG_EXTERN_HUFF 0x1000 /* use external huffman table (for mjpeg) */ 100 #define CODEC_FLAG_EXTERN_HUFF 0x1000 /* use external huffman table (for mjpeg) */
101 #define CODEC_FLAG_GRAY 0x2000 /* only decode/encode grayscale */
100 102
101 /* codec capabilities */ 103 /* codec capabilities */
102 104
103 /* decoder can use draw_horiz_band callback */ 105 /* decoder can use draw_horiz_band callback */
104 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 106 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001