Make buffer structure multiplane aware

Signed-off-by: Detlev Casanova <detlev.casanova@gmail.com>
Use format information structure directly

Replace the v4l2_format_code() function by functions to retrieve format
information by fourcc or name, and access the format information
structure directly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Add video_is_output() and video_is_capture() helper functions

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Add multi-plane support

Signed-off-by: Detlev Casanova <detlev.casanova@gmail.com>
Load multiplane files

Signed-off-by: Detlev Casanova <detlev.casanova@gmail.com>
Support multiplanar buffers verification

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Update videodev2.h kernel header file

We need NV16M and NV61M support.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Add NV12M and NV21M support

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Add NV16M and NV61M support

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Add YV420M support

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Update headers from upstream kernel, including timestamp source patches

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Print timestamp source (start-of-exposure or end-of-frame)

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>