comparison avcodec.h @ 1411:c2e63cb94d06 libavcodec

custom quant matrix encoding support
author michaelni
date Fri, 22 Aug 2003 22:18:08 +0000
parents 524c904a66b8
children 340c90faa1dc
comparison
equal deleted inserted replaced
1410:524c904a66b8 1411:c2e63cb94d06
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 4674 18 #define LIBAVCODEC_BUILD 4675
19 #define LIBAVCODEC_BUILD_STR "4674" 19 #define LIBAVCODEC_BUILD_STR "4675"
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,
1184 */ 1184 */
1185 int mb_decision; 1185 int mb_decision;
1186 #define FF_MB_DECISION_SIMPLE 0 ///< uses mb_cmp 1186 #define FF_MB_DECISION_SIMPLE 0 ///< uses mb_cmp
1187 #define FF_MB_DECISION_BITS 1 ///< chooses the one which needs the fewest bits 1187 #define FF_MB_DECISION_BITS 1 ///< chooses the one which needs the fewest bits
1188 #define FF_MB_DECISION_RD 2 ///< rate distoration 1188 #define FF_MB_DECISION_RD 2 ///< rate distoration
1189
1190 /**
1191 * custom intra quantization matrix
1192 * - encoding: set by user, can be NULL
1193 * - decoding: set by lavc
1194 */
1195 uint16_t *intra_matrix;
1196
1197 /**
1198 * custom inter quantization matrix
1199 * - encoding: set by user, can be NULL
1200 * - decoding: set by lavc
1201 */
1202 uint16_t *inter_matrix;
1189 1203
1190 } AVCodecContext; 1204 } AVCodecContext;
1191 1205
1192 1206
1193 /** 1207 /**