v4l2 codec driver question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Howdy from Idaho,

 I could not answer the following question on my own by
 simply looking over the videodev.h header and the docs
 at http://www.thedirks.org/v4l2

 So, I'd like to ask the following:

 If I write a v4l2 "codec" driver that will deliver
 JPEG images via the read() call. What should the
 driver report in response to the following client
 call?

   ioctl(codec_fd,VIDIOC_ENUMCVT,&cvtdesc);

 In particular, I know that the client will find
 cvtdesc.out.flags set to V4L2_FMT_FLAG_COMPRESSED but
 what should the driver report for the other items
 such as:

   cvtdesc.out.depth
   cvtdesc.out.pixelformat

 I suspect that these fields have no meaning if the
 client has found cvtdesc.out.flags==V4L2_FMT_FLAG_COMPRESSED.

 Correct?

Thanks in advance!
skranz@xxxxxxxxxxxx






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux