aboutsummaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorGravatar Fabio Estevam <fabio.estevam@nxp.com>2017-10-09 17:43:41 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-10-10 22:43:04 +0200
commit444afad615a1673d591b6ab9e48d83566effa89a (patch)
treef7a25447b9d80c54feb5f423c9907284acd7fe21 /board/freescale
parent787f4fee7184e4b86343a1d6d60c303622d458b9 (diff)
downloadbuildroot-444afad615a1673d591b6ab9e48d83566effa89a.tar.gz
buildroot-444afad615a1673d591b6ab9e48d83566effa89a.tar.bz2
configs/imx6-sabresd: Add VPU decoding support
Mainline kernel is able to decode video via the coda driver. Add support for it and also add some explanation on how VPU decoding can be tested with Gstreamer. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/imx6-sabresd/linux_qt5.fragment1
-rw-r--r--board/freescale/imx6-sabresd/readme.txt21
2 files changed, 22 insertions, 0 deletions
diff --git a/board/freescale/imx6-sabresd/linux_qt5.fragment b/board/freescale/imx6-sabresd/linux_qt5.fragment
index ffa5f63eab..d4f26b163c 100644
--- a/board/freescale/imx6-sabresd/linux_qt5.fragment
+++ b/board/freescale/imx6-sabresd/linux_qt5.fragment
@@ -2,3 +2,4 @@
# ondemand governor with a mainline kernel.
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
+CONFIG_VIDEO_CODA=m
diff --git a/board/freescale/imx6-sabresd/readme.txt b/board/freescale/imx6-sabresd/readme.txt
index 2943f8b3cd..f09ff5caf4 100644
--- a/board/freescale/imx6-sabresd/readme.txt
+++ b/board/freescale/imx6-sabresd/readme.txt
@@ -86,4 +86,25 @@ Running gl2mark benchmark:
# glmark2-es2-drm
+Testing video playback on the i.MX6 Sabre SD board
+==================================================
+
+As the mx6sabresd has two display outputs (LVDS and HDMI), it is necessary to
+know what is the connector that corresponds to the HDMI output.
+
+This information can be found by running:
+
+# modetest
+
+And search for the HDMI connector number. In our case it shows up as 37.
+
+In the mx6sabresd prompt run the following Gstreamer pipeline:
+
+# gst-launch-1.0 filesrc location=/root/trailer_1080p_h264_mp3.avi ! avidemux ! \
+h264parse ! v4l2video1dec capture-io-mode=dmabuf ! kmssink connector-id=37 \
+name=imx-drm sync=0
+
+(The video used on this example was retrieved from:
+http://linode.boundarydevices.com/videos/trailer_1080p_h264_mp3.avi)
+
Enjoy!