]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - matrix-gui-v2/matrix-gui-v2-apps.git/commitdiff
multimedia_apps: add dsp66_multimedia_imgproc demo
authorHongmei Gou <h-gou@ti.com>
Tue, 8 Mar 2016 23:10:52 +0000 (18:10 -0500)
committerHongmei Gou <h-gou@ti.com>
Tue, 8 Mar 2016 23:10:52 +0000 (18:10 -0500)
Signed-off-by: Djordje Senicic <d-senicic1@ti.com>
Signed-off-by: Hongmei Gou <h-gou@ti.com>
multimedia_apps/dsp66_multimedia_imgproc/desc_dsp66_multimedia_imgproc.html [new file with mode: 0644]
multimedia_apps/dsp66_multimedia_imgproc/dsp66_multimedia_imgproc.desktop [new file with mode: 0644]
multimedia_apps/dsp66_multimedia_imgproc/runDsp66ImgProc.sh [new file with mode: 0644]

diff --git a/multimedia_apps/dsp66_multimedia_imgproc/desc_dsp66_multimedia_imgproc.html b/multimedia_apps/dsp66_multimedia_imgproc/desc_dsp66_multimedia_imgproc.html
new file mode 100644 (file)
index 0000000..5ff5afc
--- /dev/null
@@ -0,0 +1,4 @@
+<h1> DSP C66x image processing in GST pipeline demo </h1>
+
+<p> This example demonstrates GST pipeline with parallel ARM A15 decoding of H265 clip and C66x (OpenCL based) image processing task (Sobel 3x3 kernel). </p>
+
diff --git a/multimedia_apps/dsp66_multimedia_imgproc/dsp66_multimedia_imgproc.desktop b/multimedia_apps/dsp66_multimedia_imgproc/dsp66_multimedia_imgproc.desktop
new file mode 100644 (file)
index 0000000..7887eb7
--- /dev/null
@@ -0,0 +1,10 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Name=DSP C66 image processing
+GenericName=Demo App
+Icon=/usr/share/matrix-gui-2.0/apps/images/multimedia-icon.png
+Type=Application
+Exec=runDsp66ImgProc.sh
+Categories=multimedia
+ProgramType=gui
+X-MATRIX-Description=/usr/share/matrix-gui-2.0/apps/arm_multimedia_h265dec/desc_dsp66_multimedia_imgproc.html
diff --git a/multimedia_apps/dsp66_multimedia_imgproc/runDsp66ImgProc.sh b/multimedia_apps/dsp66_multimedia_imgproc/runDsp66ImgProc.sh
new file mode 100644 (file)
index 0000000..a900188
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+machine_type="`cat /etc/hostname`"
+
+filename="/usr/share/ti/video/TearOfSteel-Short-1280x720.265"
+
+if [ ! -f $filename ]; then
+        echo "Video clip not found"
+        exit 1
+fi
+echo ""
+echo "Launch GStreamer pipeline"
+echo ""
+
+gst-launch-1.0 filesrc location=$filename ! 'video/x-raw, format=(string)NV12, framerate=(fraction)24/1, width=(int)1280, height=(int)720'  ! h265dec threads=1 ! videoconvert ! dsp66videokernel kerneltype=1 filtersize=9 lum-only=1 ! videoconvert ! vpe ! 'video/x-raw, format=(string)NV12, width=(int)640, height=(int)480' ! kmssink