1
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:33:46 +01:00

no native support for I420 in G200

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5337 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-03-25 16:22:15 +00:00
parent 20b1e93745
commit f28fbb3a82

View File

@ -792,7 +792,7 @@ if(config->format==MGA_VID_FORMAT_YV12
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;