[pvrusb2] hi! && cx25840-scaling

usleepless@gmail.com usleepless at gmail.com
Sat Nov 18 16:34:39 CST 2006


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


More information about the pvrusb2 mailing list