0.3.1

Macros

#define VDP2_SCRN_REDUCTION_STEP   FIX16(1.0 / 256.0)
 Not yet documented.
 
#define VDP2_SCRN_REDUCTION_MIN   VDP2_SCRN_REDUCTION_STEP
 Not yet documented.
 
#define VDP2_SCRN_REDUCTION_MAX   FIX16(7.0)
 Not yet documented.
 

Typedefs

typedef enum vdp2_scrn_reduction vdp2_scrn_reduction_t
 Not yet documented.
 

Enumerations

enum  vdp2_scrn_reduction
 Not yet documented. More...
 

Functions

void vdp2_scrn_reduction_set (vdp2_scrn_t scroll_screen, vdp2_scrn_reduction_t reduction)
 Not yet documented.
 
void vdp2_scrn_reduction_x_set (vdp2_scrn_t scroll_screen, fix16_t scale)
 Not yet documented.
 
void vdp2_scrn_reduction_y_set (vdp2_scrn_t scroll_screen, fix16_t scale)
 Not yet documented.
 
void vdp2_scrn_reduction_xy_set (vdp2_scrn_t scroll_screen, const fix16_vec2_t *scale)
 Not yet documented.
 

Detailed Description

Description goes here.

Limitations for NBG0/NBG1 reduction:

+--------+-----+-----------+------------+
| Screen | CCC | Reduction | No display |
+--------+-----+-----------+------------+
| NBG0 | 16 | 1/2 | None |
| | +-----------+------------+
| | | 1/4 | NBG2 |
| +-----+-----------+------------+
| | 256 | 1/2 | NBG2 |
+--------+-----+-----------+------------+
| NBG1 | 16 | 1/2 | None |
| | +-----------+------------+
| | | 1/4 | NBG3 |
| +-----+-----------+------------+
| | 256 | 1/2 | NBG3 |
+--------+-----+-----------+------------+

The coord. increment should be a value smaller then 1 to zoom in and larger than 1 to zoom out. No zoom means equal to 1.

Range limitations:

Range (X or Y) Reduction results CCC
[0,1) Reduction in 16
256
1 No reduction 16
(1,2] Reduction out (1/2) 16
256
(1,7] Reduction out (1/7) 16

Enumeration Type Documentation

◆ vdp2_scrn_reduction

Not yet documented.

Enumerator
VDP2_SCRN_REDUCTION_NONE 

No reduction.

VDP2_SCRN_REDUCTION_HALF 

1/2 reduction

VDP2_SCRN_REDUCTION_QUARTER 

1/4 reduction

Function Documentation

◆ vdp2_scrn_reduction_set()

void vdp2_scrn_reduction_set ( vdp2_scrn_t  scroll_screen,
vdp2_scrn_reduction_t  reduction 
)

Not yet documented.

Parameters
scroll_screen
reduction

◆ vdp2_scrn_reduction_x_set()

void vdp2_scrn_reduction_x_set ( vdp2_scrn_t  scroll_screen,
fix16_t  scale 
)

Not yet documented.

Parameters
scroll_screen
scale

◆ vdp2_scrn_reduction_y_set()

void vdp2_scrn_reduction_y_set ( vdp2_scrn_t  scroll_screen,
fix16_t  scale 
)

Not yet documented.

Parameters
scroll_screen
scale

◆ vdp2_scrn_reduction_xy_set()

void vdp2_scrn_reduction_xy_set ( vdp2_scrn_t  scroll_screen,
const fix16_vec2_t scale 
)

Not yet documented.

Parameters
scroll_screen
[in]scale