comparison avcodec.h @ 843:8c81f1ee9271 libavcodec

cleanup
author michaelni
date Sat, 09 Nov 2002 10:38:34 +0000
parents e460775adb38
children 32de034be20e
comparison
equal deleted inserted replaced
842:e460775adb38 843:8c81f1ee9271
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 4635 8 #define LIBAVCODEC_BUILD 4636
9 #define LIBAVCODEC_BUILD_STR "4635" 9 #define LIBAVCODEC_BUILD_STR "4636"
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,
120 #define CODEC_FLAG_HQ 0x0001 /* brute force MB-type decission mode (slow) */ 120 #define CODEC_FLAG_HQ 0x0001 /* brute force MB-type decission mode (slow) */
121 #define CODEC_FLAG_QSCALE 0x0002 /* use fixed qscale */ 121 #define CODEC_FLAG_QSCALE 0x0002 /* use fixed qscale */
122 #define CODEC_FLAG_4MV 0x0004 /* 4 MV per MB allowed */ 122 #define CODEC_FLAG_4MV 0x0004 /* 4 MV per MB allowed */
123 #define CODEC_FLAG_QPEL 0x0010 /* use qpel MC */ 123 #define CODEC_FLAG_QPEL 0x0010 /* use qpel MC */
124 #define CODEC_FLAG_GMC 0x0020 /* use GMC */ 124 #define CODEC_FLAG_GMC 0x0020 /* use GMC */
125 #define CODEC_FLAG_TYPE 0x0040 /* fixed I/P frame type, from avctx->key_frame */
126 #define CODEC_FLAG_PART 0x0080 /* use data partitioning */ 125 #define CODEC_FLAG_PART 0x0080 /* use data partitioning */
127 /* parent program gurantees that the input for b-frame containing streams is not written to 126 /* parent program gurantees that the input for b-frame containing streams is not written to
128 for at least s->max_b_frames+1 frames, if this is not set than the input will be copied */ 127 for at least s->max_b_frames+1 frames, if this is not set than the input will be copied */
129 #define CODEC_FLAG_INPUT_PRESERVED 0x0100 128 #define CODEC_FLAG_INPUT_PRESERVED 0x0100
130 #define CODEC_FLAG_PASS1 0x0200 /* use internal 2pass ratecontrol in first pass mode */ 129 #define CODEC_FLAG_PASS1 0x0200 /* use internal 2pass ratecontrol in first pass mode */
758 * QP table of the currently displayed frame 757 * QP table of the currently displayed frame
759 * encoding; unused 758 * encoding; unused
760 * decoding: set by lavc 759 * decoding: set by lavc
761 */ 760 */
762 int8_t *display_qscale_table; 761 int8_t *display_qscale_table;
762
763 /**
764 * force specific pict_type.
765 * encoding; set by user (I/P/B_TYPE)
766 * decoding: unused
767 */
768 int force_type;
763 } AVCodecContext; 769 } AVCodecContext;
764 770
765 typedef struct AVCodec { 771 typedef struct AVCodec {
766 char *name; 772 char *name;
767 int type; 773 int type;