Mercurial > libavcodec.hg
comparison avcodec.h @ 1306:799839d1e2e1 libavcodec
golomb rice codes
use gradients instead of prediction errors as context model
store independant quantization tables for each point
merge contexts with opposit sign
author | michaelni |
---|---|
date | Fri, 13 Jun 2003 21:31:28 +0000 |
parents | e8543aab0cc9 |
children | 6696d3bf4ff2 |
comparison
equal
deleted
inserted
replaced
1305:abca3b39231d | 1306:799839d1e2e1 |
---|---|
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 4668 | 18 #define LIBAVCODEC_BUILD 4669 |
19 #define LIBAVCODEC_BUILD_STR "4668" | 19 #define LIBAVCODEC_BUILD_STR "4669" |
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, |
1125 * this should be proportional to MPEG1/2/4 qscale. | 1125 * this should be proportional to MPEG1/2/4 qscale. |
1126 * - encoding: set by user. | 1126 * - encoding: set by user. |
1127 * - decoding: unused | 1127 * - decoding: unused |
1128 */ | 1128 */ |
1129 int global_quality; | 1129 int global_quality; |
1130 | |
1131 #define FF_CODER_TYPE_VLC 0 | |
1132 #define FF_CODER_TYPE_AC 1 | |
1133 /** | |
1134 * coder type | |
1135 * - encoding: set by user. | |
1136 * - decoding: unused | |
1137 */ | |
1138 int coder_type; | |
1139 | |
1140 /** | |
1141 * context model | |
1142 * - encoding: set by user. | |
1143 * - decoding: unused | |
1144 */ | |
1145 int context_model; | |
1130 } AVCodecContext; | 1146 } AVCodecContext; |
1131 | 1147 |
1132 | 1148 |
1133 /** | 1149 /** |
1134 * AVOption. | 1150 * AVOption. |