mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-04 18:05:06 +01:00
27 lines
794 B
C
27 lines
794 B
C
/* Configure library by modifying this file */
|
|
|
|
#ifndef MD_NTSC_CONFIG_H
|
|
#define MD_NTSC_CONFIG_H
|
|
|
|
/* Format of source pixels */
|
|
#define MD_NTSC_IN_FORMAT MD_NTSC_RGB16
|
|
/* #define MD_NTSC_IN_FORMAT MD_NTSC_BGR9 */
|
|
|
|
/* The following affect the built-in blitter only; a custom blitter can
|
|
handle things however it wants. */
|
|
|
|
/* Bits per pixel of output. Can be 15, 16, 32, or 24 (same as 32). */
|
|
#define MD_NTSC_OUT_DEPTH 16
|
|
|
|
/* Type of input pixel values */
|
|
#define MD_NTSC_IN_T unsigned short
|
|
|
|
/* Each raw pixel input value is passed through this. You might want to mask
|
|
the pixel index if you use the high bits as flags, etc. */
|
|
#define MD_NTSC_ADJ_IN( in ) in
|
|
|
|
/* For each pixel, this is the basic operation:
|
|
output_color = MD_NTSC_ADJ_IN( MD_NTSC_IN_T ) */
|
|
|
|
#endif
|