more rename hardware defined macros for coolstream stb

Origin commit data
------------------
Commit: 5962554382
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)

Origin message was:
------------------
- more rename hardware defined macros for coolstream stb
This commit is contained in:
vanhofen
2017-02-12 22:21:18 +01:00
parent ba302de46b
commit 5b0a65a16d
5 changed files with 8 additions and 8 deletions

View File

@@ -19,7 +19,7 @@ SUBDIRS += \
endif
if BOXTYPE_COOL
if BOXMODEL_APOLLO
if BOXMODEL_CS_HD2
SUBDIRS += \
libcoolstream2
else

View File

@@ -199,7 +199,7 @@ endif
if BOXTYPE_COOL
bin_PROGRAMS += uncooloff
uncooloff_SOURCES = uncooloff.c
if BOXMODEL_APOLLO
if BOXMODEL_CS_HD2
else
noinst_PROGRAMS = uncoolinit
uncoolinit_SOURCES = uncoolinit.cpp

View File

@@ -68,7 +68,7 @@ extern GLFramebuffer *glfb;
#define NEED_BLIT_THREAD 1
#endif
#ifdef BOXMODEL_APOLLO
#ifdef BOXMODEL_CS_HD2
#ifndef FB_HW_ACCELERATION
#define FB_HW_ACCELERATION
#endif

View File

@@ -378,7 +378,7 @@ fprintf(stderr, "CFrameBuffer::setMode avail: %d active: %d\n", available, activ
printf("FB: %dx%dx%d line length %d. %s accelerator.\n", xRes, yRes, bpp, stride,
#if defined(USE_NEVIS_GXA)
"Using nevis GXA"
#elif defined(BOXMODEL_APOLLO)
#elif defined(BOXMODEL_CS_HD2)
"Using fb hw graphics"
#else
"Not using graphics"
@@ -600,7 +600,7 @@ fb_pixel_t* CFrameBuffer::paintBoxRel(const int x, const int y, const int dx, co
int w_align;
int offs_align;
#ifdef BOXMODEL_APOLLO
#ifdef BOXMODEL_CS_HD2
if (_dx%4 != 0) {
w_align = GetWidth4FB_HW_ACC(x, _dx, true);
if (w_align < _dx)

View File

@@ -58,7 +58,7 @@
#include <cs_api.h>
#include <video.h>
#ifdef BOXMODEL_APOLLO
#ifdef BOXMODEL_CS_HD2
#include <cnxtfb.h>
#endif
@@ -119,7 +119,7 @@ const CMenuOptionChooser::keyval VIDEOMENU_43MODE_OPTIONS[] =
};
#define VIDEOMENU_43MODE_OPTION_COUNT (sizeof(VIDEOMENU_43MODE_OPTIONS)/sizeof(CMenuOptionChooser::keyval))
#ifndef BOXMODEL_APOLLO
#ifndef BOXMODEL_CS_HD2
#define VIDEOMENU_VIDEOSIGNAL_TD_OPTION_COUNT 2
const CMenuOptionChooser::keyval VIDEOMENU_VIDEOSIGNAL_TD_OPTIONS[VIDEOMENU_VIDEOSIGNAL_TD_OPTION_COUNT] =
{
@@ -353,7 +353,7 @@ int CVideoSettings::showVideoSetup()
vs_chinch_ch->setHint("", LOCALE_MENU_HINT_VIDEO_CINCH_MODE);
#endif
}
#ifndef BOXMODEL_APOLLO
#ifndef BOXMODEL_CS_HD2
else if (g_info.hw_caps->has_SCART) /* TRIPLEDRAGON hack... :-) TODO: SPARK? */
{
vs_scart_ch = new CMenuOptionChooser(LOCALE_VIDEOMENU_SCART, &g_settings.analog_mode1, VIDEOMENU_VIDEOSIGNAL_TD_OPTIONS, VIDEOMENU_VIDEOSIGNAL_TD_OPTION_COUNT, true, this);