And this patch does break VBI on the pvr150/500, plus you have to set the other register 0x476 to the same value, and they have to be offset of another register too which hasn't been changed. Well basically it seems this isn't what the Windows driver is doing, maybe there's another way to do this, but right now this way breaks VBI and offshoots form what we know the windows driver is setting the register (does 0x24 for both PAL and NTSC).
Thanks, Chris On Thu, May 26, 2005 at 03:13:59PM -0500, Chris Kennedy wrote: > Actually without that VBI won't work, the Hauppauge driver sets that up > exactly as we do for PAL and NTSC, odd but a fact, without that setup > VBI doesn't work (actually the last 4 registers set in there, but all in > a bundle, and improves picture quality too, seems to override the trigger > tolerances for certain things) > > > Thanks, > Chris > On Thu, May 26, 2005 at 04:04:14PM -0400, Ben Lancki wrote: > > According to the docs VBLANK should be set to 22/34 in autoconfig, but > > according to the register definitions, it defaults to 20. If disable > > setting the register, it does in fact get set to 20 rather than 22. I > > think if this value was manually set to ~24 the vbi data at the top > > would no longer be visible and the picture would line up with what I > > normally see on my tv. I also noticed that VACTIVE was set to 580 and > > when I let this autoconfig, it sets it to 487 (I'm not sure if that > > adversely affects anything). > > > > Actually, everything in the vbi_reg_setup (0x474-0x477) probably > > doesn't belong there and could be setup through autoconfig. > > > > On 5/26/05, Bryan Mayland <[EMAIL PROTECTED]> wrote: > > > The datasheet also says: > > > "In autoconfiguration mode, the default value for the vertical blanking > > > delay, VBLANK > > > (0x474 an 0x475) is set to 22 and 34, respectively, for each video > > > standard." > > > > > > So maybe we should just let it autoconfigure. > > > > > > Also, I've never noticed this before, but why does vbi_reg_setup write > > > to 0x474 and 0x475? These are only VBLANK and VACTIVE, so those should > > > be set up when setting the standard, right? Granted, VBLANK controls > > > the size of the VBI region, but I don't think this is the place to set > > > it, especially considering it doesn't currently take video standard into > > > account. > > > > > > Ben Lancki wrote: > > > > > > >This was one of the last visual things bugging me with the driver. The > > > >screen always appeared vertically offset by 10-15 pixels from the > > > >broadcast video. According to the cx25840 documentation, VBLANK should > > > >be 22 for NTSC and 34 for PAL/SECAM. This patch sets it to 22 or 34 > > > >depending on the card region (although I can only test NTSC). It was > > > >originally set to 36 so probably NTSC people will be the only ones to > > > >notice any big difference. > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by Yahoo. > > > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > > > Search APIs Find out how you can build Yahoo! directly into your own > > > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > > _______________________________________________ > > > ivtv-devel mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/ivtv-devel > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Yahoo. > > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > > Search APIs Find out how you can build Yahoo! directly into your own > > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > _______________________________________________ > > ivtv-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/ivtv-devel > > -- > --- > Chris Kennedy / [EMAIL PROTECTED] > Engineer KMOS-TV/KTBG-FM > Broadcasting Services Department > Central Missouri State University > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > ivtv-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ivtv-devel -- --- Chris Kennedy / [EMAIL PROTECTED] Engineer KMOS-TV/KTBG-FM Broadcasting Services Department Central Missouri State University ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
