comparison common.h @ 344:9f6071a87e17 libavcodec

fixed msmpeg4 infinite loop if buggy stream rewrote quantizer fixed bias (+10% compression/quality for h263 like codecs) qscale=1 support mpeg1 intra frames looks far less blocky added codec_id field
author michaelni
date Sat, 27 Apr 2002 12:30:26 +0000
parents d359db02fc90
children 2066dc543be4
comparison
equal deleted inserted replaced
343:9211a0c9466a 344:9f6071a87e17
154 #endif 154 #endif
155 155
156 #endif /* !CONFIG_WIN32 */ 156 #endif /* !CONFIG_WIN32 */
157 157
158 #endif /* HAVE_AV_CONFIG_H */ 158 #endif /* HAVE_AV_CONFIG_H */
159
160 /* assume b>0 */
161 #define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b))
159 162
160 /* bit output */ 163 /* bit output */
161 164
162 struct PutBitContext; 165 struct PutBitContext;
163 166