hwc: Add vpu client
Stub implementation of VPU in HWC.
This commit passes through binder calls from HWC
to the VPU library. It also has stub prepare/draw calls
in the VPU client object which can be used to configure
VPU in the composition cycle.
Change-Id: I2606f2884e870448d29ef26e02faac92e157e2c6
diff --git a/libqservice/IQService.h b/libqservice/IQService.h
index 149cd8b..9cd122e 100644
--- a/libqservice/IQService.h
+++ b/libqservice/IQService.h
@@ -43,6 +43,9 @@
SCREEN_REFRESH,
EXTERNAL_ORIENTATION,
BUFFER_MIRRORMODE,
+ //VPU command codes - list is defined in vpu.h
+ VPU_COMMAND_LIST_START = 100,
+ VPU_COMMAND_LIST_END = 200,
};
enum {
END = 0,
@@ -54,6 +57,7 @@
virtual android::status_t screenRefresh() = 0;
virtual void setExtOrientation(uint32_t orientation) = 0;
virtual void setBufferMirrorMode(uint32_t enable) = 0;
+ virtual android::status_t vpuCommand(uint32_t command, uint32_t setting) = 0;
};
// ----------------------------------------------------------------------------