On Sat, 18 Nov 2006, [EMAIL PROTECTED] wrote:

> Hi List,
> 
> i am adapting the freebsd-hauppauge-pvr250 driver to support
> pvr150/500s. i have been experiencing the same scaling problems with
> the cx25840 as pvrusb2 ( no horizontal scaling ).
> 
> i dived into it, and found 2 things needed to enable horizontal scaling:
>  - setup the HSCALE and VSCALE registers ( obvious! )
>  - call: ( this is ivtv-0.4.6 sourcecode ) when configuring the device
>                 struct v4l2_format vbi_in;
>                 vbi_in.type = V4L2_BUF_TYPE_SLICED_VBI_CAPTURE;
>                 cx25840_command(sc->iicbus, VIDIOC_S_FMT, &vbi_in);
> 
> check cx25840-vbi.c from ivtv/linux to see what this does. (
> ivtv-0.4.6 still includes cx25840-vbi.c )
> 
> hope this helps,
> 
> usleep

I just confirmed that this fixes the problem.  Clearly there's something going 
on in the cx25840 module itself but for now I've modified the pvrusb2 driver 
to do the above so that scaling will work.  Thanks for finding this.  You just 
saved me a lot of pain :-)

Expect a new driver snapshot soon...

  -Mike

-- 
                        |         Mike Isely          |     PGP fingerprint
     Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                        |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                        |                             |
_______________________________________________
pvrusb2 mailing list
[email protected]
http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2

Reply via email to