Age | Commit message (Collapse) | Author |
|
Data prefix is a much better name for this (think of data_offset, for
instance).
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Add support for these pixel formats:
V4L2_PIX_FMT_SBGGR10P
V4L2_PIX_FMT_SGBRG10P
V4L2_PIX_FMT_SGRBG10P
V4L2_PIX_FMT_SRGGB10P
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Upstream commit 99f3cd52aee21091ce62442285a68873e3be833f.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Upstream commit 71947828caef0c83d4245f7d1eaddc799b4ff1d1
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Support data_offset for multi plane buffers. Also add an option to write the
data in the buffer before data offset (--buffer-prefix).
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
The plane size was left zero for mplane buffers when queueing a buffer. Fix
this.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
[For consistency set buf.length for USERPTR buffers only]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Queue buffers to the device after VIDIOC_STREAMON, not before. This does not
affect queueing behaviour otherwise.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Copy timestamp type will mean the timestamp is be copied from the source to
the destination buffer on mem-to-mem devices.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Instead of guessing the buffer type, allow setting it explicitly.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
We need NV16M and NV61M support.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Detlev Casanova <detlev.casanova@gmail.com>
|
|
Signed-off-by: Detlev Casanova <detlev.casanova@gmail.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
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>
|
|
Signed-off-by: Detlev Casanova <detlev.casanova@gmail.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
So don't even try.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
v4l2_control.value was left uninitialised for the VIDIOC_S_CTRL IOCTL. Fix
that.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Use the V4L2 video device caps instead of the global caps when
available.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Update videodev2.h and move it under include/linux. v4l2-common.h and
v4l2-controls.h are now required by videodev2.h as well --- they're really
the reason for moving videodev2.h. The two required headers are added, too.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Fall back to regular S_CTRL / G_CTRL if extended controls aren't available.
Also don't try to get value for classes.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Add videodev2.h as part of yavta. The file is to be updated from linux-media
tree manually in the future.
Remove existing format definitions in yavta.c since they are no longer
needed.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|