diff options
author | Qing Wang <wangq@codeaurora.org> | 2018-09-20 11:53:06 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-10-17 01:19:06 -0700 |
commit | 3a389523a7bbc87b55d2b86f3cbff4706e2cf403 (patch) | |
tree | 8cb5211c1c20eaea1196f64b5ab2c8f960eb885e | |
parent | 3af0ae85d42022d2142a7d40254aa6cb32330608 (diff) | |
download | android_hardware_qcom_media-3a389523a7bbc87b55d2b86f3cbff4706e2cf403.tar.gz android_hardware_qcom_media-3a389523a7bbc87b55d2b86f3cbff4706e2cf403.tar.bz2 android_hardware_qcom_media-3a389523a7bbc87b55d2b86f3cbff4706e2cf403.zip |
sideband: Add new functions to pass color information
Pass user inputs to control hue, saturation, tone, contrast
and brightness to display module using sideband interface
between TV HAL and Display.
Change-Id: I6a2dacb25bd2d37560f2783861b4a3a915f34d52
-rwxr-xr-x | libsidebandstreamhandle/SidebandHandleBase.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libsidebandstreamhandle/SidebandHandleBase.h b/libsidebandstreamhandle/SidebandHandleBase.h index 53dff56f..3bc33127 100755 --- a/libsidebandstreamhandle/SidebandHandleBase.h +++ b/libsidebandstreamhandle/SidebandHandleBase.h @@ -63,6 +63,9 @@ public: /*Producer use, get return buffer fd from Consumer */ virtual status_t dequeueBuffer(int *idx, uint32_t msInterval) = 0; + /*Producer use, set setting_data to Consumer */ + virtual status_t setColorData(color_data_t &color_data) = 0; + /*Consumer use, get captured buffer Number */ virtual status_t acquireBufferNumb(int *captured_unRead_bufNum) = 0; @@ -72,6 +75,9 @@ public: /*Consumer use, send used buffer fd to Producer*/ virtual status_t releaseBuffer(int idx) = 0; + /*Consumer use, get setting_data from Producer*/ + virtual status_t getColorData(color_data_t *color_data) = 0; + public: /*Consumer use, get Buffer width*/ virtual int getBufferWidth() = 0; |