Am 03.10.2012 15:32, schrieb Hans Verkuil: > On Wed 3 October 2012 12:22:48 Frank Schäfer wrote: >> Hi Hans, >> >> Am 30.09.2012 11:54, schrieb Hans de Goede: >>> Hi, >>> >>> On 09/28/2012 07:09 PM, Frank Schäfer wrote: >>>> Hi, >>>> >>>> Am 27.09.2012 21:41, schrieb Hans de Goede: >>>>> Hi, >>>>> >>>>> On 09/27/2012 03:20 PM, Frank Schäfer wrote: >>>>> >>>>> <snip> >>>>> >>>>>>> What you've found is a qv4l2 bug (do you have the latest version?) >>>>>> Of course, I'm using the latest developer version. >>>>>> >>>>>> Even if this is just a qv4l2-bug: how do you want to fix it without >>>>>> removing the format selction feature ? >>>>> Well, if qv4l2 can only handle rgb24 data, then it should gray out the >>>>> format selection (fixing it at rgb24) when not in raw mode. >>>> So you say "just remove this feature from qv4l2". >>>> I prefer fixing the library / API instead. >>> No I'm suggesting to keep the feature to select which input format >>> to use when in raw mode, while at the same time disabling the feature) >>> when in libv4l2 mode. What use is it to ask libv4l2 for say YUV420 data >>> and then later ask libv4lconvert to convert this to RGB24, when you could >>> have asked libv4l2 for RGB24 right away. >> I assume the idea behind input format selction when using libv4l2 is to >> provide a possibilty to test libv4l2 ? > The main reason why I show all formats is that the driver reports all these > formats, so one should be able to select them in order to test the driver. > > And I'm using libv4l2convert so that I can actually see a picture. For formats > like MPEG that are unsupported by libv4l2convert I just dump the 'image' as > is.
Yes, but for pure testing of the driver output formats, it is better to open the device in raw mode and convert the picture for GUI-output with a v4lconvert_convert() call. > It is counterintuitive if a YUV format is converted to a proper picture using > qv4l2 -r, but that it is all wrong with qv4l2. I'm not sure I understand what you mean... Regards, Frank > I'm all for improving the library. > > Regards, > > Hans -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html