summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-09v4l2-mfc-example: Add and refactor gem functionsMateusz Krawczuk
Gem function related moved to gem.c and gem.h It should make code more clean and obviously. Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: Whitespace cleanupSylwester Nawrocki
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: Add missing O_RDONLY defineSylwester Nawrocki
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-04-30Add automatic detection of drm, fimc and mfc. Update datesMateusz Krawczuk
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com>
2015-04-30exynos: remove DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctlsMateusz Krawczuk
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com>
2015-04-30v4l2-mfc-example: Update makefileMateusz Krawczuk
Add build instructions to README and replace custom include paths in makefile by more generic solution. Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com>
2015-02-06v4l2-mfc-example: Add support for using default MFC raw frame formatKamil Debski
Add support for using default MFC raw frame format in FIMC. Signed-off-by: Kamil Debski <k.debski@samsung.com>
2015-02-06v4l2-mfc-example: Add option to ignore FIMC format changeKamil Debski
Add option to ignore FIMC format change. This may be useful if using the application with an older kernel. Signed-off-by: Kamil Debski <k.debski@samsung.com>
2015-02-06v4l2-mfc-example: Update list of supported stream formatsKamil Debski
Add MPEG1, MPEG2. H263 and XVID to the list of supported formats in the help message. Signed-off-by: Kamil Debski <k.debski@samsung.com>
2015-01-29v4l2-mfc-example: fix capabilities flagsMarek Szyprowski
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
2014-08-07v4l2-mfc-example: Add big disclaimer informing about FIMC pix_fmt changeKamil Debski
The format supported by FIMC was modified in kernel 3.16. Before it wrongfully supported V4L2_PIX_FMT_RGB32, but in reality the hardware uses the V4L2_PIX_FMT_BGR32 format. Please consult patch "s5p-fimc: Changed RGB32 to BGR32". https://patchwork.linuxtv.org/patch/23236/ http://www.spinics.net/lists/linux-media/msg74953.html Signed-off-by: Kamil Debski <k.debski@samsung.com>
2014-08-07v4l2-mfc-example: Add support for DMABUF buffer sharingKamil Debski
This patch adds support for buffer sharing with DMABUF. Now FIMC can take DMABUF buffers from MFC and DRM. Signed-off-by: Kamil Debski <k.debski@samsung.com>
2014-08-07v4l2-mfc-example: Add DRM supportKamil Debski
Patch adding support for DRM video rendering. Signed-off-by: Kamil Debski <k.debski@samsung.com>
2014-08-07v4l2-mfc-example: Add support for disabling FIMCKamil Debski
The FIMC can now be disabled, so that only MFC can be tested by the application. Signed-off-by: Kamil Debski <k.debski@samsung.com>
2014-01-08v4l2-jpeg-codec-test: version 0.1Jacek Anaszewski
The run_fmt_test.sh script currently uses a hack to retrieve the JPEG codec video node names. Normally those names should be retrieved from sysfs or using libudev. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2013-12-05v4l2-mfc-example: Add planes array zeroingKamil Debski
Planes array has to be zeroed to ensure proper functioning. Signed-off-by: Kamil Debski <k.debski@samsung.com>
2013-12-05v4l2-mfc-example: Add dequeue_capture debugKamil Debski
Signed-off-by: Kamil Debski <k.debski@samsung.com>
2013-05-22Added codec parameters setting in command lineAndrzej Hajda
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
2013-05-22Do not stop encoding after empty buffersAndrzej Hajda
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
2013-05-22Added detailed set format loggingAndrzej Hajda
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
2013-03-13v4l2-drm-example: Add support for KMS planesLaurent Pinchart
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>
2013-03-13v4l2-drm-example: Use /dev/video0 by defaultLaurent Pinchart
Use /dev/video0 as the video node when the -i option is missing. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Exit when no argument is specifiedLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Fix rectangle parsingLaurent Pinchart
The left and top coordinates are parsed in the wrong order. Fix this. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Sort options alphabetically and by categoryLaurent Pinchart
Sort the options alphabetically in the code, and by category in the help message. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Don't enqueue initial page flipLaurent Pinchart
There's no need to enqueue an initial page flip. Don't do it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Factor out page flippingLaurent Pinchart
Factor the common page flip code out to a function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Factor out v4l2 buffer queuing and dequeingLaurent Pinchart
Factor the common buffer queuing code out to a function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Factor out drm and v4l2 device initializationLaurent Pinchart
Create drm and v4l2 device objects and factor the initialization code out of main(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Stop mode lookup at first matchLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Fix compiler warnings on 64-bit machinesLaurent Pinchart
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>
2013-03-13v4l2-drm-example: Fix compiler warningsLaurent Pinchart
Mark unused function parameters as unused and fix signed vs. unsigned comparisons. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2013-03-13v4l2-drm-example: Use connector IDs instead of connector indicesLaurent Pinchart
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>
2013-03-13v4l2-drm-example: Use dumb GEM buffersLaurent Pinchart
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>
2012-11-16v4l2-dmabuf-test-01: version 0.1.1Tomasz Stanislawski
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>
2012-11-16v4l2-dmabuf-test-01: rename main fileTomasz Stanislawski
2012-10-09v4l2-dmabuf-test-01: version 0.1Tomasz Stanislawski
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>
2012-10-08v4l2-m2m-fimc-example: version 0.1Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2012-10-04v4l2-hdmi-example: version 0.1Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2012-07-02v4l-mfc-encoder: version 0.1Andrzej Hajda
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com>
2012-05-22v4l2-drm-example: add Apache LicenseTomasz Stanislawski
2012-04-12v4l2-drm-example: dmabuf-sharing: version 0.1Tomasz Stanislawski
2012-03-22v4l-mfc-example: version 0.2Kamil Debski
2012-03-06v4l-mfc-example: version 0.1Kamil Debski
2012-03-06Initial commitKamil Debski