[Mplayer-cvslog] CVS: main/libmpcodecs dec_video.c,1.122,1.123

Arpi of Ize arpi at mplayer.dev.hu
Sun Mar 17 03:29:44 CET 2002


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

Modified Files:
	dec_video.c 
Log Message:
init_video_vaa() removed

Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_video.c,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- dec_video.c	17 Mar 2002 00:43:01 -0000	1.122
+++ dec_video.c	17 Mar 2002 02:29:41 -0000	1.123
@@ -148,25 +148,6 @@
 
 extern int vaa_use_dr;
 
-static int use_dr=0,use_dr_422=0;
-static bes_da_t bda;
-void init_video_vaa( unsigned width )
-{
-  unsigned adp;
-  memset(&bda,0,sizeof(bes_da_t));
-  if(vo_vaa.query_bes_da)
-    use_dr = vo_vaa.query_bes_da(&bda) ? 0 : 1;
-  if(!vaa_use_dr) use_dr = 0;
-  if(use_dr)
-  {
-    uint32_t sstride,dstride;
-    sstride=width*2;
-    adp = bda.dest.pitch.y-1;
-    dstride=(width*2+adp)&~adp;
-    if(sstride == dstride) use_dr_422 = 1;
-  }
-}
-
 int decode_video(vo_functions_t *video_out,sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame){
 mp_image_t *mpi=NULL;
 int blit_frame=0;




More information about the MPlayer-cvslog mailing list