[Mplayer-cvslog] CVS: main/libmpcodecs vd_divx4.c,1.2,1.3 vd_odivx.c,1.2,1.3

Atmosfear atmos4 at mplayer.dev.hu
Sat Mar 9 01:57:08 CET 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv10436/libmpcodecs

Modified Files:
	vd_divx4.c vd_odivx.c 
Log Message:
divx5 support into libmpcodecs (untested)

Index: vd_divx4.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_divx4.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vd_divx4.c	7 Mar 2002 20:43:17 -0000	1.2
+++ vd_divx4.c	9 Mar 2002 00:57:05 -0000	1.3
@@ -69,6 +69,10 @@
 	  mp_msg(MSGT_DECVIDEO,MSGL_ERR,"Unsupported out_fmt: 0x%X\n",sh->codec->outfmt[sh->outfmtidx]);
 	  return 0;
     }
+#ifdef DECORE_DIVX5
+    dec_param.codec_version = (sh->format==mmioFOURCC('D','I','V','3'))?311:500;
+    dec_param.build_number = 0;
+#endif
     dec_param.x_dim = sh->disp_w;
     dec_param.y_dim = sh->disp_h;
     decore(0x123, DEC_OPT_INIT, &dec_param, NULL);

Index: vd_odivx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_odivx.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vd_odivx.c	7 Mar 2002 20:43:17 -0000	1.2
+++ vd_odivx.c	9 Mar 2002 00:57:05 -0000	1.3
@@ -104,6 +104,10 @@
 #else
     dec_param.color_depth = 32;
 #endif
+#ifdef DECORE_DIVX5
+    dec_param.codec_version = (sh->format==mmioFOURCC('D','I','V','3'))?311:500;
+    dec_param.build_number = 0;
+#endif
     dec_param.x_dim = sh->disp_w;
     dec_param.y_dim = sh->disp_h;
     decore(0x123, DEC_OPT_INIT, &dec_param, NULL);




More information about the MPlayer-cvslog mailing list