Hello all, in order to decode compressed frames in userspace, we need to create a new picture format. The base driver would declare this pixel format when calling VIDIOC_ENUM_FMT in order to pass raw frames to the helper daemon.
What about: #define V4L2_PIX_FMT_V4L2 v4l2_fourcc('V','4','L','2')
Other FOURCC formats that already defined: http://wiki.multimedia.cx/index.php?title=Category:Video_FourCCs
Please comment!
Cheers, Thierry
Thierry Merle wrote:
Hello all, in order to decode compressed frames in userspace, we need to create a new picture format. The base driver would declare this pixel format when calling VIDIOC_ENUM_FMT in order to pass raw frames to the helper daemon.
What about: #define V4L2_PIX_FMT_V4L2 v4l2_fourcc('V','4','L','2')
Other FOURCC formats that already defined: http://wiki.multimedia.cx/index.php?title=Category:Video_FourCCs
Please comment!
Are you sure it's a good idea to have a 4cc that does not actually give any information on the frames? Two drivers could both declare support for the 4cc but send radically different things!
Greetings,