Hello Guido,
I thought this would only apply to the UYVY-mode? So it's wrong for both 16bit modes which are available for Xv only?No, let me clarifiy this:
I guess then this kind of support (software-swapping) has to be reimplemented, otherwise one can just throw away the dvb-s card, for me thats 2 :(((Only if your gfx card does not support the UYVY format. In that case, you can grab in YUYV and swap the bytes for yourself.
so it's of no use at all! If it would have been a car, one would get a replacement for free.
This bug persists even in later revisions of the chipset.
2) With V4L-1, capturing was set frame size and format, SYNC frame, CAPTURE frame. V4L-2 however requires request_buffers(), query_buffers(), stream_on(), queuebuffer(), dequeuebuffer() and stream_off(). This semantic cannot be mapped adequately. So if you resize the window, you'll get "setting format not allowed during streaming capture" error messages.
Why? it did work for v4l1...The problem with v4l1 is, that you cannot be sure that everything works the way you expect it. Mapping capture buffers was indepentent of the format selection and the actual capture process. You could basically capture frames, change the input, change the video norm and the like, without every being notified if it really worked, how much frames were captured and when the frame was captured (timestamping).
Well, currently i'am not sure which is core and which is capture - anything is so strongly interwoven to make the little wonders possible at all ;-)You should abstract this on the V4L-2 level, ie. for v4l2 write functions that simply wrap the REQBUFS, QUERYBUF, STREAMON, STREAMOFF,
I would really like to see if v4l2 is worth the effort, for now i do not even get the bttv-v4l2 module loaded (unresolved externals) not to mention that porting kvdr to the dvb-kernel would make it impossible to use for me at all - for now i can at least use kvdr+vdr1.2.1+dvb_0.94 and it works.Some facts: V4L1 will stay in the kernel after 2.6, old applications might work through the compatibility layer. The 2.5.x kernel series has the "dvb-kernel" driver incorporated, so Video4Linux-DVB means Video4Linux-2 in the future.
Unless things have stabilized (v4l2 _and_ the signalless-operation-problem) i can't do further development.The saa7146 v4l2 subsystem is quite stable. The only thing that's not working properly for "kvdr" is the backward compatibility layer.