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/AmVideo.h b/hwc2/include/AmVideo.h
index 4d2c8e8..b1eb94c 100644
--- a/hwc2/include/AmVideo.h
+++ b/hwc2/include/AmVideo.h
@@ -25,6 +25,9 @@ public:
static AmVideo* getInstance();
int presentVideo(bool bPresent);
bool isVideoPresent() {return mVideoPresent;}
+ int getvideodisable(int* mode);
+ int setvideodisable(int mode);
+ int getOmxKeepLastFrame(unsigned int *keepLastFrame);
protected:
AmVideo();