AM654x EVM: play 1280x540 video image on 1280x800 LCD

Signed-off-by: Eric Ruei <[email protected]>
---
 multimedia_apps/arm_multimedia_h264dec/runH264Dec.sh   | 5 ++++-
 multimedia_apps/arm_multimedia_mpeg4dec/runMpeg4Dec.sh | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/multimedia_apps/arm_multimedia_h264dec/runH264Dec.sh 
b/multimedia_apps/arm_multimedia_h264dec/runH264Dec.sh
index be8b2dc..f1ea7dd 100644
--- a/multimedia_apps/arm_multimedia_h264dec/runH264Dec.sh
+++ b/multimedia_apps/arm_multimedia_h264dec/runH264Dec.sh
@@ -15,7 +15,7 @@ then
 elif [ "$machine_type" = "omap5-evm" ]
 then
     filename="/usr/share/ti/video/TearOfSteel-Short-720x406.264"
-elif [ "$machine_type" = "am437x-evm" ] || [ "$machine_type" = "am437x-hs-evm" 
] || [ "$machine_type" = "am438x-epos-evm" ] || [ "$machine_type" = 
"am65xx-evm" ]
+elif [ "$machine_type" = "am437x-evm" ] || [ "$machine_type" = "am437x-hs-evm" 
] || [ "$machine_type" = "am438x-epos-evm" ]
 then
         resolution="`fbset | awk '/geometry/ {print $2"x"$3}'`"
         if [ "$resolution" = "480x272" ]; then
@@ -23,6 +23,9 @@ then
         else
                 filename="/usr/share/ti/video/TearOfSteel-Short-720x406.264"
         fi
+elif [ "$machine_type" = "am65xx-evm" ]
+then
+     filename="/usr/share/ti/video/TearOfSteel-Short-1280x540.h264"
 else
        default_display="`cat /sys/devices/platform/omapdss/manager0/display`"
        if [ "$default_display" = "dvi" ]; then
diff --git a/multimedia_apps/arm_multimedia_mpeg4dec/runMpeg4Dec.sh 
b/multimedia_apps/arm_multimedia_mpeg4dec/runMpeg4Dec.sh
index 410d8ea..82fcb2c 100644
--- a/multimedia_apps/arm_multimedia_mpeg4dec/runMpeg4Dec.sh
+++ b/multimedia_apps/arm_multimedia_mpeg4dec/runMpeg4Dec.sh
@@ -15,7 +15,7 @@ then
 elif [ "$machine_type" = "omap5-evm" ]
 then
     filename="/usr/share/ti/video/TearOfSteel-Short-720x406.m4v"
-elif [ "$machine_type" = "am437x-evm" ] || [ "$machine_type" = "am437x-hs-evm" 
] || [ "$machine_type" = "am438x-epos-evm" ] || [ "$machine_type" = 
"am65xx-evm" ]
+elif [ "$machine_type" = "am437x-evm" ] || [ "$machine_type" = "am437x-hs-evm" 
] || [ "$machine_type" = "am438x-epos-evm" ]
 then
     resolution="`fbset | awk '/geometry/ {print $2"x"$3}'`"
     if [ "$resolution" = "480x272" ]; then
@@ -23,6 +23,9 @@ then
     else
             filename="/usr/share/ti/video/TearOfSteel-Short-720x406.m4v"
     fi
+elif [ "$machine_type" = "am65xx-evm" ]
+then
+     filename="/usr/share/ti/video/TearOfSteel-Short-1280x540.m4v"
 else
        default_display="`cat /sys/devices/platform/omapdss/manager0/display`"
        if [ "$default_display" = "dvi" ]; then
-- 
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to