summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--hwc2/common/devices/PhysicalDevice.cpp46
-rw-r--r--hwc2/common/utils/AmVideo.cpp44
-rw-r--r--hwc2/include/AmVideo.h3
-rw-r--r--hwc2/include/PhysicalDevice.h4
4 files changed, 95 insertions, 2 deletions
diff --git a/hwc2/include/PhysicalDevice.h b/hwc2/include/PhysicalDevice.h
index e47982f..6c5fa5c 100644
--- a/hwc2/include/PhysicalDevice.h
+++ b/hwc2/include/PhysicalDevice.h
@@ -290,6 +290,10 @@ private:
//omx handle for set omx pts
int32_t mOmxVideoHandle;
+ //for omx video layer status.
+ bool mOmxVideoPresent;
+ uint32_t mOmxKeepLastFrame;
+ bool mVideoLayerOpenByOMX;
};