samsung-utils.git
11 months agov4l2-drm-example: Add Makefile master
Laurent Pinchart [Fri, 8 Dec 2017 21:09:51 +0000 (23:09 +0200)]
v4l2-drm-example: Add Makefile

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2 years agov4l2-drm-example: Make the exporter selectable
Laurent Pinchart [Sun, 29 Nov 2015 09:02:32 +0000 (11:02 +0200)]
v4l2-drm-example: Make the exporter selectable

The new -e command line option allows selecting the exporter between the
V4L2 and DRM side. DRM is used as the exporter by default.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agoAdded codec parameters setting in command line
Andrzej Hajda [Mon, 20 May 2013 08:20:33 +0000 (10:20 +0200)]
Added codec parameters setting in command line

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
5 years agoDo not stop encoding after empty buffers
Andrzej Hajda [Mon, 20 May 2013 07:24:23 +0000 (09:24 +0200)]
Do not stop encoding after empty buffers

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
5 years agoAdded detailed set format logging
Andrzej Hajda [Fri, 31 Aug 2012 09:38:58 +0000 (11:38 +0200)]
Added detailed set format logging

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
5 years agov4l2-drm-example: Add support for KMS planes
Laurent Pinchart [Sun, 24 Feb 2013 07:46:53 +0000 (08:46 +0100)]
v4l2-drm-example: Add support for KMS planes

Add a new -p option to select output to a plane instead of to the main
CRTC.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Use /dev/video0 by default
Laurent Pinchart [Sun, 24 Feb 2013 07:46:52 +0000 (08:46 +0100)]
v4l2-drm-example: Use /dev/video0 by default

Use /dev/video0 as the video node when the -i option is missing.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Exit when no argument is specified
Laurent Pinchart [Sun, 24 Feb 2013 07:46:51 +0000 (08:46 +0100)]
v4l2-drm-example: Exit when no argument is specified

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Fix rectangle parsing
Laurent Pinchart [Sun, 24 Feb 2013 07:46:50 +0000 (08:46 +0100)]
v4l2-drm-example: Fix rectangle parsing

The left and top coordinates are parsed in the wrong order. Fix this.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Sort options alphabetically and by category
Laurent Pinchart [Sun, 24 Feb 2013 07:46:49 +0000 (08:46 +0100)]
v4l2-drm-example: Sort options alphabetically and by category

Sort the options alphabetically in the code, and by category in the help
message.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Don't enqueue initial page flip
Laurent Pinchart [Sun, 24 Feb 2013 07:46:48 +0000 (08:46 +0100)]
v4l2-drm-example: Don't enqueue initial page flip

There's no need to enqueue an initial page flip. Don't do it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Factor out page flipping
Laurent Pinchart [Sun, 24 Feb 2013 07:46:47 +0000 (08:46 +0100)]
v4l2-drm-example: Factor out page flipping

Factor the common page flip code out to a function.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Factor out v4l2 buffer queuing and dequeing
Laurent Pinchart [Sun, 24 Feb 2013 07:46:46 +0000 (08:46 +0100)]
v4l2-drm-example: Factor out v4l2 buffer queuing and dequeing

Factor the common buffer queuing code out to a function.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Factor out drm and v4l2 device initialization
Laurent Pinchart [Sun, 24 Feb 2013 07:46:45 +0000 (08:46 +0100)]
v4l2-drm-example: Factor out drm and v4l2 device initialization

Create drm and v4l2 device objects and factor the initialization code
out of main().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Stop mode lookup at first match
Laurent Pinchart [Sun, 24 Feb 2013 07:46:44 +0000 (08:46 +0100)]
v4l2-drm-example: Stop mode lookup at first match

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Fix compiler warnings on 64-bit machines
Laurent Pinchart [Sun, 24 Feb 2013 07:46:43 +0000 (08:46 +0100)]
v4l2-drm-example: Fix compiler warnings on 64-bit machines

Casting a 32-bit integer to a void * generates a warning. Fix it by
casting the integer to an unsigned long first. This has no effect on
32-bit machines as unsigned long are 32-bit integers there.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Fix compiler warnings
Laurent Pinchart [Sun, 24 Feb 2013 07:46:42 +0000 (08:46 +0100)]
v4l2-drm-example: Fix compiler warnings

Mark unused function parameters as unused and fix signed vs. unsigned
comparisons.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Use connector IDs instead of connector indices
Laurent Pinchart [Sun, 24 Feb 2013 07:46:41 +0000 (08:46 +0100)]
v4l2-drm-example: Use connector IDs instead of connector indices

Specify the requested connector on the command line by its KMS ID
instead of the connector index in the connectors array. This makes
command line arguments match the information returned by KMS test tools
such as modetest.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agov4l2-drm-example: Use dumb GEM buffers
Laurent Pinchart [Sun, 24 Feb 2013 07:46:40 +0000 (08:46 +0100)]
v4l2-drm-example: Use dumb GEM buffers

The GEM buffers we allocate will only be used as backing memory for the
frame buffer. Dumb GEM buffers can fullfill that task and remove
dependencies on the Exynos driver. Use them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
6 years agov4l2-dmabuf-test-01: version 0.1.1
Tomasz Stanislawski [Wed, 14 Nov 2012 16:18:49 +0000 (17:18 +0100)]
v4l2-dmabuf-test-01: version 0.1.1

Simple test with vivi and 2 V4L2 mem-to-mem devices.
The output data is written to a file.

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
6 years agov4l2-dmabuf-test-01: rename main file
Tomasz Stanislawski [Wed, 14 Nov 2012 17:24:12 +0000 (18:24 +0100)]
v4l2-dmabuf-test-01: rename main file

6 years agov4l2-dmabuf-test-01: version 0.1
Tomasz Stanislawski [Tue, 9 Oct 2012 09:45:16 +0000 (11:45 +0200)]
v4l2-dmabuf-test-01: version 0.1

Simple test with vivi and 2 V4L2 mem-to-mem devices.
The output data is written to a file. Image sizes are
small due to Exynos SYMMU issues in the mainline kernel.

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
6 years agov4l2-m2m-fimc-example: version 0.1
Sylwester Nawrocki [Mon, 8 Oct 2012 14:09:10 +0000 (16:09 +0200)]
v4l2-m2m-fimc-example: version 0.1

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
6 years agov4l2-hdmi-example: version 0.1
Tomasz Stanislawski [Thu, 4 Oct 2012 10:18:27 +0000 (12:18 +0200)]
v4l2-hdmi-example: version 0.1

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
6 years agov4l-mfc-encoder: version 0.1
Andrzej Hajda [Mon, 2 Jul 2012 08:50:47 +0000 (10:50 +0200)]
v4l-mfc-encoder: version 0.1

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
6 years agov4l2-drm-example: add Apache License
Tomasz Stanislawski [Tue, 22 May 2012 14:16:44 +0000 (16:16 +0200)]
v4l2-drm-example: add Apache License

6 years agov4l2-drm-example: dmabuf-sharing: version 0.1
Tomasz Stanislawski [Thu, 12 Apr 2012 13:38:05 +0000 (15:38 +0200)]
v4l2-drm-example: dmabuf-sharing: version 0.1

6 years agov4l-mfc-example: version 0.2
Kamil Debski [Thu, 22 Mar 2012 08:36:27 +0000 (09:36 +0100)]
v4l-mfc-example: version 0.2

6 years agov4l-mfc-example: version 0.1
Kamil Debski [Tue, 6 Mar 2012 09:33:02 +0000 (10:33 +0100)]
v4l-mfc-example: version 0.1

6 years agoInitial commit
Kamil Debski [Tue, 6 Mar 2012 09:13:55 +0000 (10:13 +0100)]
Initial commit