Mercurial > libavcodec.hg
comparison avcodec.h @ 936:caa77cd960c0 libavcodec
qpel encoding
4mv+b frames encoding finally fixed
chroma ME
5 comparission functions for ME
b frame encoding speedup
wmv2 codec (unfinished)
user specified diamond size for EPZS
author | michaelni |
---|---|
date | Fri, 27 Dec 2002 23:51:46 +0000 |
parents | 176fd8c8e8a8 |
children | ef769ec24115 |
comparison
equal
deleted
inserted
replaced
935:c9bbd35064b6 | 936:caa77cd960c0 |
---|---|
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 4646 | 8 #define LIBAVCODEC_BUILD 4647 |
9 #define LIBAVCODEC_BUILD_STR "4646" | 9 #define LIBAVCODEC_BUILD_STR "4647" |
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, |
848 * maximum MB quantizer | 848 * maximum MB quantizer |
849 * encoding: set by user. | 849 * encoding: set by user. |
850 * decoding: unused | 850 * decoding: unused |
851 */ | 851 */ |
852 int mb_qmax; | 852 int mb_qmax; |
853 | |
854 /** | |
855 * motion estimation compare function | |
856 * encoding: set by user. | |
857 * decoding: unused | |
858 */ | |
859 int me_cmp; | |
860 /** | |
861 * subpixel motion estimation compare function | |
862 * encoding: set by user. | |
863 * decoding: unused | |
864 */ | |
865 int me_sub_cmp; | |
866 /** | |
867 * macroblock compare function (not supported yet) | |
868 * encoding: set by user. | |
869 * decoding: unused | |
870 */ | |
871 int mb_cmp; | |
872 #define FF_CMP_SAD 0 | |
873 #define FF_CMP_SSE 1 | |
874 #define FF_CMP_SATD 2 | |
875 #define FF_CMP_DCT 3 | |
876 #define FF_CMP_PSNR 4 | |
877 #define FF_CMP_BIT 5 | |
878 #define FF_CMP_RD 6 | |
879 #define FF_CMP_ZERO 7 | |
880 #define FF_CMP_CHROMA 256 | |
881 | |
882 /** | |
883 * ME diamond size | |
884 * encoding: set by user. | |
885 * decoding: unused | |
886 */ | |
887 int dia_size; | |
853 } AVCodecContext; | 888 } AVCodecContext; |
854 | 889 |
855 typedef struct AVCodec { | 890 typedef struct AVCodec { |
856 const char *name; | 891 const char *name; |
857 int type; | 892 int type; |