blob: 0397041ac1d077a0f18723ee20480a5d0f092973 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
Index: src/divx.c
===================================================================
RCS file: /cvsroot/xawdecode/xawdecode/src/divx.c,v
retrieving revision 1.216
diff -u -B -r1.216 divx.c
--- src/divx.c 11 May 2008 15:34:17 -0000 1.216
+++ src/divx.c 8 Sep 2008 16:31:43 -0000
@@ -1379,7 +1379,11 @@
)
#endif
{
+#if LIBAVCODEC_BUILD < ((52<<16)+(0<<8)+0)
codec_context->flags |= CODEC_FLAG_TRELLIS_QUANT;
+#else
+ codec_context->trellis = 1;
+#endif
activated_mess("Trellis Quantization");}
#endif
@@ -1392,7 +1396,11 @@
)
#endif
{
+#if LIBAVCODEC_BUILD < ((52<<16)+(0<<8)+0)
codec_context->flags |= CODEC_FLAG_TRELLIS_QUANT;
+#else
+ codec_context->trellis = 1;
+#endif
codec_context->flags |= CODEC_FLAG_CBP_RD;
activated_mess("Coded Block Pattern");}
#endif
@@ -1440,7 +1448,11 @@
if (ffmpeg.aic == 1) {
if (divx.min_quantizer < 8) codec_context->qmin = 8;
+#if LIBAVCODEC_BUILD < ((52<<16)+(0<<8)+0)
codec_context->flags |= CODEC_FLAG_H263P_AIC;
+#else
+ codec_context->flags |= CODEC_FLAG_AC_PRED;
+#endif
activated_mess("AIC");}
#endif
#if LIBAVCODEC_BUILD >= 4694
|