Mercurial > libavcodec.hg
comparison avcodec.h @ 321:2b00e171b1d4 libavcodec
- ME method compatibility with legacy apps.
- Please use AVCodecContext's me_method now.
author | pulento |
---|---|
date | Sun, 14 Apr 2002 22:17:40 +0000 |
parents | cda7d0857baf |
children | ce35fd27bbb0 |
comparison
equal
deleted
inserted
replaced
320:cda7d0857baf | 321:2b00e171b1d4 |
---|---|
56 /* in bytes */ | 56 /* in bytes */ |
57 #define AVCODEC_MAX_AUDIO_FRAME_SIZE 18432 | 57 #define AVCODEC_MAX_AUDIO_FRAME_SIZE 18432 |
58 | 58 |
59 /* motion estimation type, EPZS by default */ | 59 /* motion estimation type, EPZS by default */ |
60 enum Motion_Est_ID { | 60 enum Motion_Est_ID { |
61 ME_ZERO = -4, | 61 ME_ZERO = 1, |
62 ME_FULL, | 62 ME_FULL, |
63 ME_LOG, | 63 ME_LOG, |
64 ME_PHODS, | 64 ME_PHODS, |
65 ME_EPZS, | 65 ME_EPZS, |
66 ME_X1 | 66 ME_X1 |
67 }; | 67 }; |
68 | |
69 /* only for ME compatiblity with old apps */ | |
70 extern int motion_estimation_method; | |
68 | 71 |
69 /* ME algos sorted by quality */ | 72 /* ME algos sorted by quality */ |
70 static const int Motion_Est_QTab[] = { -4, -1, -2, 1, 0, -3 }; | 73 static const int Motion_Est_QTab[] = { -4, -1, -2, 1, 0, -3 }; |
71 | 74 |
72 /* encoding support */ | 75 /* encoding support */ |