RetroArch
snes_ntsc_config.h
Go to the documentation of this file.
1 /* Configure library by modifying this file */
2 
3 #ifndef SNES_NTSC_CONFIG_H
4 #define SNES_NTSC_CONFIG_H
5 
6 /* Format of source pixels */
7 /* #define SNES_NTSC_IN_FORMAT SNES_NTSC_RGB16 */
8 #define SNES_NTSC_IN_FORMAT SNES_NTSC_RGB16
9 
10 /* The following affect the built-in blitter only; a custom blitter can
11 handle things however it wants. */
12 
13 /* Bits per pixel of output. Can be 15, 16, 32, or 24 (same as 32). */
14 #define SNES_NTSC_OUT_DEPTH 16
15 
16 /* Type of input pixel values */
17 #define SNES_NTSC_IN_T unsigned short
18 
19 /* Each raw pixel input value is passed through this. You might want to mask
20 the pixel index if you use the high bits as flags, etc. */
21 #define SNES_NTSC_ADJ_IN( in ) in
22 
23 /* For each pixel, this is the basic operation:
24 output_color = SNES_NTSC_ADJ_IN( SNES_NTSC_IN_T ) */
25 
26 #endif