I'm using Video4Linux, version 1315 I believe (at least, that's what the
undocumented ioctl BTTV_VERSION returns) on Linux v2.2.14. I am using a
"BT878(Hauppage new)" card.
I'm trying to get the card to write different formats to the frame
buffer using VIDIOCSPICT, without any luck. For example, if my X frame
buffer is in 16-bit 565 mode, it seems I should be able to ask for
VIDEO_PALETTE_RGB555 instead of the default VIDEO_PALETTE_RGB565. I try
to set it by:
struct video_picture pict;
ioctl (fd, VIDIOCGPICT, &pict); /* pict.palette =
VIDEO_PALETTE_RGB565 */
pict.palette = VIDEO_PALETTE_RGB555;
pict.depth = 16; /* also tried = 15
*/
ioctl (fd, VIDIOCSPICT, &pict); /* doesn't return an error */
ioctl (fd, VIDIOCGPICT, &pict); /* pict.palette still =
VIDEO_PALETTE_RGB565 */
What I really want to do is get the driver to output some format of YUV
to the frame buffer, for example in this case some sort of 16-bit per
pixel YUV format. I couldn't successfully set any YUV formats, so
I thought I would try 555 vs. 565 first.
A related question: does Video4Linux2 support what I want to do? Is it
nearly usable?
Thanks in advance for any help you can give.
Peter Kaczowka
[EMAIL PROTECTED]
--
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.