Hi Paolo, > when I grab frames from my Logitech Fusion cam (using > a code based on > http://v4l2spec.bytesex.org/v4l2spec/capture.c) i can > save them in YUYV format. > Now i need to convert them in RGB format in order to > see them with common viewers. Are there helper > functions in v4l2 API for this?
No there isn't. V4L2 is a kernel/userspace interface and doesn't provide video format conversion. > Otherwise, is there any other lib which I can use, > instead of writing from scratch a converter? There are probably YUYV to RGB converters in major codec libraries and/or in webcam applications. Lots of people have stated their interest for a userspace V4L2 library which would handle simple video format conversions. Unfortunately, nobody has implemented it yet. Wanna have a go ? :-) Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
