summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-13v4l2-drm-example: Add MakefileHEADmasterLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-11-15v4l2-drm-example: Make the exporter selectableLaurent Pinchart
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>
2016-11-29v4l2-jpeg-codec-test: Use single write call for copying image to a fileSylwester Nawrocki
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2016-11-29v4l2-jpeg-codec-test: Ensure V4L2 data structures are properly initializedSylwester Nawrocki
This patch adds clearing some data structures before they are passed to ioctls to avoid problems with more recent kernels and also butesused field on the V4L2_BUF_TYPE_VIDEO_OUTPUT queue is initialized as required. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2016-11-29v4l2-jpeg-codec-test: V4L2 capabilities testing fixSylwester Nawrocki
Use device caps and test only for V4L2_CAP_VIDEO_M2M when available to avoid errors with recent kernels. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2016-09-20v4l2-jpeg-codec-test: Added support for Exynos3250 SoC JPEG device variantJacek Anaszewski
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2015-07-09v4l2-mfc-example: Don`t dequeue first frameMateusz Krawczuk
HACK: Fixing h264 on exynos5 Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: Add EOSDivya Jaiswal
This patch adds a function that tells MFC when there is end of stream. Signed-off-by: Divya Jaiswal <divya.jswl@samsung.com> Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: Initial support for VP8 parserArun Kumar K
Added parser code and basic support in application. Signed-off-by: Arun Kumar K <arun.kk@samsung.com> Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: 0 data lengthDivya Jaiswal
Signed-off-by: Divya Jaiswal <divya.jswl@samsung.com> Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09Makefiles updateMateusz Krawczuk
v4l2-dmabuf-test v4l2-mfc-encoder v4l2-mfc-example Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-encoder: Correct plane initializationAndrzej Hajda
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: Remove memory leak detected by valgrindMateusz Krawczuk
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: Remove gem close error when app is closingMateusz Krawczuk
Dequeue of IPP buffors is no longer need. Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: IPP option can be used without autodetectMateusz Krawczuk
Add 2 parameters to application, when autodetect is used for v4l fimc and IPP is without Autodetect. Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: DRM IPP add ipp thread to main.cMateusz Krawczuk
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: Use autodetect only with IPPMateusz Krawczuk
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: Refactoring FimcMateusz Krawczuk
Simplyfing fimc_dec_queue_buf_out_from_mfc Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: Refactoring MFCMateusz Krawczuk
MFC: replace duplicated code using for Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: DRM IPP: Commit add ipp.c and basic initial setup for DRM ↵Mateusz Krawczuk
Image Post-Proccesing Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
2015-07-09v4l2-mfc-example: Adding DRM IPP code and refactoring old DRMMateusz Krawczuk
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
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>