changeset 5336:3cc26c4e662b

no native support for I420 in G200
author arpi
date Mon, 25 Mar 2002 16:22:15 +0000
parents da218aa7f9db
children 0bd1c35aa42c
files drivers/mga_vid.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/mga_vid.c	Mon Mar 25 16:21:39 2002 +0000
+++ b/drivers/mga_vid.c	Mon Mar 25 16:22:15 2002 +0000
@@ -792,7 +792,7 @@
 	else 
 		baseadrofs = (((ofstop*regs.besviscal)/2)>>16)*regs.bespitch;
 
-    if(config->format==MGA_VID_FORMAT_YV12){
+    if(config->format==MGA_VID_FORMAT_YV12 || !is_g400){
 	regs.besa1corg = (uint32_t) mga_src_base + baseadrofs + regs.bespitch * sh ;
 	regs.besa2corg = (uint32_t) mga_src_base + baseadrofs + 1*frame_size + regs.bespitch * sh;
 	regs.besb1corg = (uint32_t) mga_src_base + baseadrofs + 2*frame_size + regs.bespitch * sh;