[Mplayer-cvslog] CVS: main/vidix/drivers mach64_vid.c,1.5,1.6

Nick Kurshev nickols_k at mail.ru
Tue Feb 19 19:04:21 CET 2002


Hello, Michael!

On Tue, 19 Feb 2002 19:04:16 +0100 you wrote:

> Update of /cvsroot/mplayer/main/vidix/drivers
> In directory mplayer:/var/tmp.root/cvs-serv17344
> 
> Modified Files:
> 	mach64_vid.c 
> Log Message:
> fixing yv12
> 
> 
> Index: mach64_vid.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/vidix/drivers/mach64_vid.c,v
> retrieving revision 1.5
> retrieving revision 1.6
> diff -u -r1.5 -r1.6
> --- mach64_vid.c	19 Feb 2002 16:23:02 -0000	1.5
> +++ mach64_vid.c	19 Feb 2002 18:04:06 -0000	1.6
> @@ -588,7 +588,7 @@
>      v_inc = (src_h << (12
>  		+(mach64_is_interlace()?1:0)
>  		-(mach64_is_dbl_scan()?1:0)
> -		+(is_420?1:0)
> +//		+(is_420?1:0)
>  		)) / dest_h;
>      h_inc = (src_w << (12+ecp)) / dest_w;
>      /* keep everything in 16.16 */
> @@ -649,7 +649,7 @@
>      if(mach64_is_interlace()) y_pos/=2;
>      besr.y_x_end = y_pos | ((config->dest.x + dest_w) << 16);
>      besr.height_width = ((src_w - left)<<16) | (src_h - top);
> -    besr.vid_buf_pitch = pitch/2;
> +    besr.vid_buf_pitch = is_420 ? pitch : pitch/2;
Just for comparison with radeon_vid driver:
    besr.vid_buf_pitch0_value = pitch;
    besr.vid_buf_pitch1_value = is_420 ? pitch>>1 : pitch;
So mach64 - is very strange chip, finely - has reversed many things ;)
>      return 0;
>  }
>  
> 
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
> 


Best regards! Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20020219/93c4b165/attachment.pgp>


More information about the MPlayer-cvslog mailing list