diff options
author | Ashish Singhi <ashish.singhi@intel.com> | 2013-10-30 16:24:00 -0700 |
---|---|---|
committer | buildslave <buildslave@buildbot.tl.intel.com> | 2013-11-02 00:42:43 +0000 |
commit | 35fc4846ba9657d6d2638e68d810618fedec7ecd (patch) | |
tree | 474ff0a51e095f93b29633d29216c1598ebfba5f /common/base/DisplayAnalyzer.h | |
parent | ef111c2d5fb42bfcefca8e774837e12cc1940d80 (diff) | |
download | android_hardware_intel_img_hwcomposer-35fc4846ba9657d6d2638e68d810618fedec7ecd.tar.gz android_hardware_intel_img_hwcomposer-35fc4846ba9657d6d2638e68d810618fedec7ecd.tar.bz2 android_hardware_intel_img_hwcomposer-35fc4846ba9657d6d2638e68d810618fedec7ecd.zip |
Widi :- Shutdown the widi video pipeline if overlay is not allowed.
BZ: 148436
For protected playback, IED get enabled at the same time to VED
& VEC so the moment hwc detects protected playback isOverlayAllowed
is set to false.
So from HWC whenever it detects that isOverlayed is false, it needs
to shutdown widi video source in order to avoid encoding clear content
which appears as scrambled video on remote.
Change-Id: I7cc663aa7a05759fa97f0fa8eb1d765732a73771
Signed-off-by: Ashish Singhi <ashish.singhi@intel.com>
Diffstat (limited to 'common/base/DisplayAnalyzer.h')
-rw-r--r-- | common/base/DisplayAnalyzer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/base/DisplayAnalyzer.h b/common/base/DisplayAnalyzer.h index c9f4849..e42dcb7 100644 --- a/common/base/DisplayAnalyzer.h +++ b/common/base/DisplayAnalyzer.h @@ -51,6 +51,7 @@ public: bool isVideoFullScreen(int device, hwc_layer_1_t &layer); bool isVideoPlaying(); bool isOverlayAllowed(); + int getVideoInstances(); void postHotplugEvent(bool connected); void postVideoEvent(int instances, int instanceID, bool preparing, bool playing); void postBlankEvent(bool blank); |