summaryrefslogtreecommitdiff
path: root/subdev.c
AgeCommit message (Collapse)Author
2011-02-07Use autotoolsTodor Tomov
Use autoconf and automake for building. Quick instructions are added in INSTALL. Application source files are moved to src subdirectory. Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
2011-02-07Add v4l2_subdev_get_frame_interval()Todor Tomov
Add function to get frame interval. Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
2011-02-07Add v4l2_subdev_open() and v4l2_subdev_close() to subdev.hTodor Tomov
Add v4l2_subdev_close() function and declare both in subdev.h. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
2011-02-07Move printing functions to main.cTodor Tomov
Move printing and helper functions to media-ctl application source. Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
2011-01-23media-ctl: subdev: add Y8 format.Martin Hostettler
2010-10-21Update to the latest media kernel APILaurent Pinchart
The media kernel API has seen many changes during the review process, update the media-ctl application accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-08-11Add a --get-format optionLaurent Pinchart
The option takes a pad name as argument and returns the active format (and optional crop settings if available) for that pad. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-07-01V4L2 subdev frame interval supportTodor Tomov
Extend the V4L2 media bus format syntax to support an optional frame interval value. If specified, the frame interval is set on the subdev. Signed-off-by: Todor Tomov <ttomov@mm-sol.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-06-29V4L2 subdev crop supportLaurent Pinchart
Extend the V4L2 media bus format syntax to support an optional crop rectangle. If specified, the crop rectangle is set on the subdev pad. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-06-02Print active formats when printing device topologyLaurent Pinchart
When run with the -p argument, print the active format on all subdev pads. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-05-19Return -errno in functions returning a negative error codeLaurent Pinchart
errno is a positive value, fix functions that return errno when they are expected to return a negative error code. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-05-19Initial importLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>