At 07:16 AM 10/23/2002 +0100, Rui Saraiva wrote:
Hello. I'm developing a V4L driver for a USB digital camera (FujiFilm FinePix F601 Zoom) that also works as WebCam. The problem is that each frame is in JFIF/JPEG format and so I need to decompress and convert that data to one of the supported VIDEO_PALETTE_... Which palette should I use? Also, what API should I use, V4L or V4L2?
The rule for palettes is: Use the one that is closest to the camera's native format.
The general rule for any kernel driver is: Do as little processing as is possible.
Put those together and your best bet is using V4L2 and doing like Ronald said. There is still a good reason for using V4L though: a lot more V4L apps. -Joe