The problem with the read/write is the frame boundaries aren't well defined.
I'm not sure whether the read size is always 720 x height or whether setting
the capture resolution affects it. If it does it doesn't affect the output
and so the write has to assume it is getting 720 x height which might or
might not be true. 
So I'm arguing that an ioctl where you define better what you are passing to
it is better rather than the read/write. I can see the benefit of reading
and writing more standard formats but there is more than one hence the
reason that put the type field in the yuv ioctl parameter.

Also for most people isn't the Xv interface to X the best "standard"
interface to this?

John


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:ivtv-devel-
> [EMAIL PROTECTED] On Behalf Of kevin thayer
> Sent: 21 July 2005 23:21
> To: [email protected]
> Subject: RE: [ivtv-devel] state of raw/YUV support
> 
> > I remain to be convinced about the benefit of the
> > write interface for YUV
> > data but in time I will improve the ioctl one to do
> > decoding if means we can
> > save CPU usage.
> 
> (if i'm understaning correctly) I there would be a
> real benefit in that folks wanting to write yuv to the
> driver, but not source from X or mplayer/xine (or old
> mplayer/xine) would have a standard inteface, instead
> of having to "lift code" :)
> 
> -tmk
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to