Age | Commit message (Collapse) | Author |
|
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>
|
|
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
|
|
HACK: Fixing h264 on exynos5
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Divya Jaiswal <divya.jswl@samsung.com>
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
v4l2-dmabuf-test
v4l2-mfc-encoder
v4l2-mfc-example
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
Dequeue of IPP buffors is no longer need.
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
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>
|
|
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
Simplyfing fimc_dec_queue_buf_out_from_mfc
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
MFC: replace duplicated code using for
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
Image Post-Proccesing
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
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>
|
|
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
|
|
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
|
|
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
|
|
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>
|
|
Add support for using default MFC raw frame format in FIMC.
Signed-off-by: Kamil Debski <k.debski@samsung.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
|
|
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>
|
|
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>
|
|
Patch adding support for DRM video rendering.
Signed-off-by: Kamil Debski <k.debski@samsung.com>
|
|
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>
|
|
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>
|
|
Planes array has to be zeroed to ensure proper functioning.
Signed-off-by: Kamil Debski <k.debski@samsung.com>
|
|
Signed-off-by: Kamil Debski <k.debski@samsung.com>
|
|
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
|
|
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
|
|
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
|
|
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>
|
|
Use /dev/video0 as the video node when the -i option is missing.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
The left and top coordinates are parsed in the wrong order. Fix this.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Sort the options alphabetically in the code, and by category in the help
message.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
There's no need to enqueue an initial page flip. Don't do it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Factor the common page flip code out to a function.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Factor the common buffer queuing code out to a function.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Create drm and v4l2 device objects and factor the initialization code
out of main().
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|