libmsx
C library for MSX
|
Shift / Rotate (Scroll) operators for 16x16 1bpp sprite patterns. More...
Functions | |
void | im_shift_u_SP16x16 (uint8_t sft, const SP16x16 *src, SP16x16 *dst) |
MSX Shift an 16x16 pixel 1bpp sprite pattern upward. | |
void | im_shift_u_v_SP16x16 (uint8_t sft, const SP16x16 *src) |
MSX Shift an 16x16 pixel 1bpp sprite pattern upward. | |
void | im_shift_d_SP16x16 (uint8_t sft, const SP16x16 *src, SP16x16 *dst) |
MSX Shift an 16x16 pixel 1bpp sprite pattern downward. | |
void | im_shift_d_v_SP16x16 (uint8_t sft, const SP16x16 *src) |
MSX Shift an 16x16 pixel 1bpp sprite pattern downward. | |
void | im_shift_l_SP16x16 (uint8_t sft, const SP16x16 *src, SP16x16 *dst) |
MSX Shift an 16x16 pixel 1bpp sprite pattern to the left. | |
void | im_shift_l_v_SP16x16 (uint8_t sft, const SP16x16 *src) |
MSX Shift an 16x16 pixel 1bpp sprite pattern to the left. | |
void | im_shift_r_SP16x16 (uint8_t sft, const SP16x16 *src, SP16x16 *dst) |
MSX Shift an 16x16 pixel 1bpp sprite pattern to the right. | |
void | im_shift_r_v_SP16x16 (uint8_t sft, const SP16x16 *src) |
MSX Shift an 16x16 pixel 1bpp sprite pattern to the right. | |
void | im_rotate_u_SP16x16 (uint8_t sft, const SP16x16 *src, SP16x16 *dst) |
MSX Rotate (scroll) an 16x16 pixel 1bpp sprite pattern upward. | |
void | im_rotate_u_v_SP16x16 (uint8_t sft, const SP16x16 *src) |
MSX Rotate (scroll) an 16x16 pixel 1bpp sprite pattern upward. | |
void | im_rotate_d_SP16x16 (uint8_t sft, const SP16x16 *src, SP16x16 *dst) |
MSX Rotate (scroll) an 16x16 pixel 1bpp sprite pattern downward. | |
void | im_rotate_d_v_SP16x16 (uint8_t sft, const SP16x16 *src) |
MSX Rotate (scroll) an 16x16 pixel 1bpp sprite pattern downward. | |
void | im_rotate_l_SP16x16 (uint8_t sft, const SP16x16 *src, SP16x16 *dst) |
MSX Rotate (scroll) an 16x16 pixel 1bpp sprite pattern to the left. | |
void | im_rotate_l_v_SP16x16 (uint8_t sft, const SP16x16 *src) |
MSX Rotate (scroll) an 16x16 pixel 1bpp sprite pattern to the left. | |
void | im_rotate_r_SP16x16 (uint8_t sft, const SP16x16 *src, SP16x16 *dst) |
MSX Rotate (scroll) an 16x16 pixel 1bpp sprite pattern to the right. | |
void | im_rotate_r_v_SP16x16 (uint8_t sft, const SP16x16 *src) |
MSX Rotate (scroll) an 16x16 pixel 1bpp sprite pattern to the right. | |
Shift / Rotate (Scroll) operators for 16x16 1bpp sprite patterns.
OPERATOR | ROM/RAM to RAM | ROM/RAM to VRAM |
---|---|---|
SHIFT UPWARD | im_shift_u_SP16x16() | im_shift_u_v_SP16x16() |
SHIFT DOWNWARD | im_shift_d_SP16x16() | im_shift_d_v_SP16x16() |
SHIFT LEFT | im_shift_l_SP16x16() | im_shift_l_v_SP16x16() |
SHIFT RIGHT | im_shift_r_SP16x16() | im_shift_r_v_SP16x16() |
ROTATE UPWARD | im_rotate_u_SP16x16() | im_rotate_u_v_SP16x16() |
ROTATE DOWNWARD | im_rotate_d_SP16x16() | im_rotate_d_v_SP16x16() |
ROTATE LEFT | im_rotate_l_SP16x16() | im_rotate_l_v_SP16x16() |
ROTATE RIGHT | im_rotate_r_SP16x16() | im_rotate_r_v_SP16x16() |
MSX
Shift an 16x16 pixel 1bpp sprite pattern upward.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_shift_u_v_SP16x16 | ( | uint8_t | sft, |
const SP16x16 * | src | ||
) |
MSX
Shift an 16x16 pixel 1bpp sprite pattern upward.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
MSX
Shift an 16x16 pixel 1bpp sprite pattern downward.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_shift_d_v_SP16x16 | ( | uint8_t | sft, |
const SP16x16 * | src | ||
) |
MSX
Shift an 16x16 pixel 1bpp sprite pattern downward.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
MSX
Shift an 16x16 pixel 1bpp sprite pattern to the left.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_shift_l_v_SP16x16 | ( | uint8_t | sft, |
const SP16x16 * | src | ||
) |
MSX
Shift an 16x16 pixel 1bpp sprite pattern to the left.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
MSX
Shift an 16x16 pixel 1bpp sprite pattern to the right.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_shift_r_v_SP16x16 | ( | uint8_t | sft, |
const SP16x16 * | src | ||
) |
MSX
Shift an 16x16 pixel 1bpp sprite pattern to the right.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
MSX
Rotate (scroll) an 16x16 pixel 1bpp sprite pattern upward.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_rotate_u_v_SP16x16 | ( | uint8_t | sft, |
const SP16x16 * | src | ||
) |
MSX
Rotate (scroll) an 16x16 pixel 1bpp sprite pattern upward.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
MSX
Rotate (scroll) an 16x16 pixel 1bpp sprite pattern downward.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_rotate_d_v_SP16x16 | ( | uint8_t | sft, |
const SP16x16 * | src | ||
) |
MSX
Rotate (scroll) an 16x16 pixel 1bpp sprite pattern downward.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
MSX
Rotate (scroll) an 16x16 pixel 1bpp sprite pattern to the left.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_rotate_l_v_SP16x16 | ( | uint8_t | sft, |
const SP16x16 * | src | ||
) |
MSX
Rotate (scroll) an 16x16 pixel 1bpp sprite pattern to the left.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
MSX
Rotate (scroll) an 16x16 pixel 1bpp sprite pattern to the right.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_rotate_r_v_SP16x16 | ( | uint8_t | sft, |
const SP16x16 * | src | ||
) |
MSX
Rotate (scroll) an 16x16 pixel 1bpp sprite pattern to the right.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |