comparison vidix/drivers/nvidia_vid.c @ 11233:92ded1d954ea

cvidix geometry support in textmode
author faust3
date Wed, 22 Oct 2003 18:35:51 +0000
parents 60288914167b
children 972d1998bde9
comparison
equal deleted inserted replaced
11232:147a4c50214d 11233:92ded1d954ea
484 484
485 /* Start overlay video. */ 485 /* Start overlay video. */
486 void rivatv_overlay_start (struct rivatv_info *info,int bufno){ 486 void rivatv_overlay_start (struct rivatv_info *info,int bufno){
487 uint32_t base, size, offset, xscale, yscale, pan; 487 uint32_t base, size, offset, xscale, yscale, pan;
488 uint32_t value; 488 uint32_t value;
489 int x=8, y=8; 489 int x=info->wx?info->wx:8, y=info->wy?info->wy:8;
490 int lwidth=info->d_width, lheight=info->d_height; 490 int lwidth=info->d_width, lheight=info->d_height;
491 int bps; 491 int bps;
492 492
493 size = info->buffer_size; 493 size = info->buffer_size;
494 base = info->picture_offset; 494 base = info->picture_offset;