From ea4d7c6dd0db6f0ed224a240a65bbbbaffedfb33 Mon Sep 17 00:00:00 2001 From: austriancoder Date: Wed, 11 Aug 2004 01:33:28 +0000 Subject: added basic support to set brightness/contrast/saturation --- dxr3interface.h | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) (limited to 'dxr3interface.h') diff --git a/dxr3interface.h b/dxr3interface.h index d1df60e..1041ad9 100644 --- a/dxr3interface.h +++ b/dxr3interface.h @@ -94,6 +94,11 @@ public: // helper functions for dxr3 main osd screen void ResetHardware(); + // set brightness/contrast/saturation + void SetBrightness(int value); + void SetContrast(int value); + void SetSaturation(int value); + private: // file handles int m_fdControl; @@ -102,21 +107,24 @@ private: int m_fdAudio; // dxr3 clock - cDxr3SysClock* m_pClock; - - uint32_t m_audioChannelCount; - uint32_t m_audioDataRate; - int m_aspectDelayCounter; - uint32_t m_aspectRatio; - uint32_t m_horizontal; - uint32_t m_audioSampleSize; - uint32_t m_audioMode; - uint32_t m_spuMode; - bool m_ExternalReleased; // is dxr3 used by e.g. mplayer? - int m_volume; - bool m_AudioActive; - bool m_VideoActive; - bool m_OverlayActive; + cDxr3SysClock* m_pClock; + + uint32_t m_audioChannelCount; + uint32_t m_audioDataRate; + int m_aspectDelayCounter; + uint32_t m_aspectRatio; + uint32_t m_horizontal; + uint32_t m_audioSampleSize; + uint32_t m_audioMode; + uint32_t m_spuMode; + bool m_ExternalReleased; // is dxr3 used by e.g. mplayer? + int m_volume; + bool m_AudioActive; + bool m_VideoActive; + bool m_OverlayActive; + + // bcs + em8300_bcs_t m_bcs; // spu // cDxr3InterfaceSpu m_SpuInterface; -- cgit v1.2.3