Gerd Knorr wrote:
Is there any clear definition how VIDEO_PALETTE_YUV420 should look
like? There are two contradicting usages for VIDEO_PALETTE_YUV420:
I had always assumed that it was planar. This is how I programmed ov511.
I would like to see a definitive listing of all the V4L formats, since I
still occasionally find applications and drivers that get one of them
wrong. I would write it up myself, but it wouldn't be as authoritative
as one written by you or Alan. :)
Anyone knows whenever the somewhat strange yuv packing used by
philips is standard? And whenever it is really called "YUV420"?
URL?
I was hoping that this subject would never come up. :) It seems that
most USB cameras output nonstandard variants of standard formats. OV511
has about 100 different variations that it can output, not even counting
the compressed formats. None of them is the same as any standard format.
If it is ultimately decreed that drivers should not do any format
conversion whatsoever, I will group similar formats together and add a
header to the image that describes the exact format, and export them to
the app as a few custom formats. That way, the number of conversion
functions can be reduced from 100 to about 6.
--
Mark McClelland
mmcclell@xxxxxxxxxxx