Add Banshee RGB565 undithered overlay format. Currently dithered and
undithered are handled the same.
This commit is contained in:
parent
870a19f537
commit
fccd59ba92
1 changed files with 2 additions and 0 deletions
|
|
@ -139,6 +139,7 @@ enum
|
||||||
#define VIDPROCCFG_2X_MODE (1 << 26)
|
#define VIDPROCCFG_2X_MODE (1 << 26)
|
||||||
#define VIDPROCCFG_HWCURSOR_ENA (1 << 27)
|
#define VIDPROCCFG_HWCURSOR_ENA (1 << 27)
|
||||||
|
|
||||||
|
#define OVERLAY_FMT_565 (1)
|
||||||
#define OVERLAY_FMT_YUYV422 (5)
|
#define OVERLAY_FMT_YUYV422 (5)
|
||||||
#define OVERLAY_FMT_UYVY422 (6)
|
#define OVERLAY_FMT_UYVY422 (6)
|
||||||
#define OVERLAY_FMT_565_DITHER (7)
|
#define OVERLAY_FMT_565_DITHER (7)
|
||||||
|
|
@ -1636,6 +1637,7 @@ void banshee_hwcursor_draw(svga_t *svga, int displine)
|
||||||
DECODE_UYUV422(); \
|
DECODE_UYUV422(); \
|
||||||
break; \
|
break; \
|
||||||
\
|
\
|
||||||
|
case OVERLAY_FMT_565: \
|
||||||
case OVERLAY_FMT_565_DITHER: \
|
case OVERLAY_FMT_565_DITHER: \
|
||||||
if (banshee->vidProcCfg & VIDPROCCFG_OVERLAY_TILE) \
|
if (banshee->vidProcCfg & VIDPROCCFG_OVERLAY_TILE) \
|
||||||
DECODE_RGB565_TILED(); \
|
DECODE_RGB565_TILED(); \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue