neutrino: Replace USE_NEVIS_GXA with hardware-specific macros

- Existing USE_NEVIS_GXA definitions in the build system
 (neutrino configure) can be removed.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 02d85f2ff2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-08 (Wed, 08 Feb 2017)

Origin message was:
------------------
neutrino: Replace USE_NEVIS_GXA with hardware-specific macros

- Existing USE_NEVIS_GXA definitions in the build system
 (neutrino configure) can be removed.


------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2017-02-08 06:02:42 +01:00
parent b3fcfc287a
commit 68a1c5e30e
3 changed files with 3 additions and 10 deletions

View File

@@ -77,7 +77,7 @@ bool CScreenShot::GetData()
bool res = false;
mutex.lock();
#ifdef USE_NEVIS_GXA
#if HAVE_COOL_HARDWARE && BOXMODEL_NEVIS
CFrameBuffer::getInstance()->setActive(false);
#endif
if (videoDecoder->getBlank())
@@ -86,7 +86,7 @@ bool CScreenShot::GetData()
res = videoDecoder->GetScreenImage(pixel_data, xres, yres, get_video, get_osd, scale_to_video);
#endif
#ifdef USE_NEVIS_GXA
#if HAVE_COOL_HARDWARE && BOXMODEL_NEVIS
/* sort of hack. GXA used to transfer/convert live image to RGB,
* so setup GXA back */
CFrameBuffer::getInstance()->setupGXA();