libmsx
C library for MSX
|
Shift / Rotate (Scroll) operators for 8x8px 1bpp bitmap images. More...
Functions | |
void | im_shift_u_BM8x8 (uint8_t sft, const BM8x8 *src, BM8x8 *dst) |
MSX Shift an 8x8 pixel 1bpp image upward. | |
void | im_shift_u_v_BM8x8 (uint8_t sft, const BM8x8 *src) |
MSX Shift an 8x8 pixel 1bpp image upward. | |
void | im_shift_d_BM8x8 (uint8_t sft, const BM8x8 *src, BM8x8 *dst) |
MSX Shift an 8x8 pixel 1bpp image downward. | |
void | im_shift_d_v_BM8x8 (uint8_t sft, const BM8x8 *src) |
MSX Shift an 8x8 pixel 1bpp image downward. | |
void | im_shift_l_BM8x8 (uint8_t sft, const BM8x8 *src, BM8x8 *dst) |
MSX Shift an 8x8 pixel 1bpp image to the left. | |
void | im_shift_l_v_BM8x8 (uint8_t sft, const BM8x8 *src) |
MSX Shift an 8x8 pixel 1bpp image to the left. | |
void | im_shift_r_BM8x8 (uint8_t sft, const BM8x8 *src, BM8x8 *dst) |
MSX Shift an 8x8 pixel 1bpp image to the right. | |
void | im_shift_r_v_BM8x8 (uint8_t sft, const BM8x8 *src) |
MSX Shift an 8x8 pixel 1bpp image to the right. | |
void | im_rotate_u_BM8x8 (uint8_t sft, const BM8x8 *src, BM8x8 *dst) |
MSX Rotate (scroll) an 8x8 pixel 1bpp image upward. | |
void | im_rotate_u_v_BM8x8 (uint8_t sft, const BM8x8 *src) |
MSX Rotate (scroll) an 8x8 pixel 1bpp image upward. | |
void | im_rotate_d_BM8x8 (uint8_t sft, const BM8x8 *src, BM8x8 *dst) |
MSX Rotate (scroll) an 8x8 pixel 1bpp image downward. | |
void | im_rotate_d_v_BM8x8 (uint8_t sft, const BM8x8 *src) |
MSX Rotate (scroll) an 8x8 pixel 1bpp image downward. | |
void | im_rotate_l_BM8x8 (uint8_t sft, const BM8x8 *src, BM8x8 *dst) |
MSX Rotate (scroll) an 8x8 pixel 1bpp image to the left. | |
void | im_rotate_l_v_BM8x8 (uint8_t sft, const BM8x8 *src) |
MSX Rotate (scroll) an 8x8 pixel 1bpp image to the left. | |
void | im_rotate_r_BM8x8 (uint8_t sft, const BM8x8 *src, BM8x8 *dst) |
MSX Rotate (scroll) an 8x8 pixel 1bpp image to the right. | |
void | im_rotate_r_v_BM8x8 (uint8_t sft, const BM8x8 *src) |
MSX Rotate (scroll) an 8x8 pixel 1bpp image to the right. | |
void | im_shift_l_vec_BM8x8 (uint8_t sft, size_t n, const BM8x8 *src, BM8x8 *dst) |
MSX Shift n-columns row vector of 8x8 pixel 1bpp image to the left. | |
void | im_shift_r_vec_BM8x8 (uint8_t sft, size_t n, const BM8x8 *src, BM8x8 *dst) |
MSX Shift n-columns row vector of 8x8 pixel 1bpp image to the right. | |
void | im_rotate_l_vec_BM8x8 (uint8_t sft, size_t n, const BM8x8 *src, BM8x8 *dst) |
MSX Rotate (scroll) n-columns row vector of 8x8 pixel 1bpp image to the left. | |
void | im_rotate_r_vec_BM8x8 (uint8_t sft, size_t n, const BM8x8 *src, BM8x8 *dst) |
MSX Rotate (scroll) n-columns row vector of 8x8 pixel 1bpp image to the right. | |
Shift / Rotate (Scroll) operators for 8x8px 1bpp bitmap images.
OPERATOR | ROM/RAM to RAM | ROM/RAM to VRAM |
---|---|---|
SHIFT UPWARD | im_shift_u_BM8x8() | im_shift_u_v_BM8x8() |
SHIFT DOWNWARD | im_shift_d_BM8x8() | im_shift_d_v_BM8x8() |
SHIFT LEFT | im_shift_l_BM8x8() | im_shift_l_v_BM8x8() |
SHIFT RIGHT | im_shift_r_BM8x8() | im_shift_r_v_BM8x8() |
ROTATE UPWARD | im_rotate_u_BM8x8() | im_rotate_u_v_BM8x8() |
ROTATE DOWNWARD | im_rotate_d_BM8x8() | im_rotate_d_v_BM8x8() |
ROTATE LEFT | im_rotate_l_BM8x8() | im_rotate_l_v_BM8x8() |
ROTATE RIGHT | im_rotate_r_BM8x8() | im_rotate_r_v_BM8x8() |
VECTOR SHIFT LEFT | im_shift_l_vec_BM8x8() | n/a |
VECTOR SHIFT RIGHT | im_shift_r_vec_BM8x8() | n/a |
VECTOR ROTATE LEFT | im_rotate_l_vec_BM8x8() | n/a |
VECTOR ROTATE RIGHT | im_rotate_r_vec_BM8x8() | n/a |
MSX
Shift an 8x8 pixel 1bpp image upward.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_shift_u_v_BM8x8 | ( | uint8_t | sft, |
const BM8x8 * | src | ||
) |
MSX
Shift an 8x8 pixel 1bpp image upward.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
MSX
Shift an 8x8 pixel 1bpp image downward.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_shift_d_v_BM8x8 | ( | uint8_t | sft, |
const BM8x8 * | src | ||
) |
MSX
Shift an 8x8 pixel 1bpp image downward.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
MSX
Shift an 8x8 pixel 1bpp image to the left.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_shift_l_v_BM8x8 | ( | uint8_t | sft, |
const BM8x8 * | src | ||
) |
MSX
Shift an 8x8 pixel 1bpp image to the left.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
MSX
Shift an 8x8 pixel 1bpp image to the right.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_shift_r_v_BM8x8 | ( | uint8_t | sft, |
const BM8x8 * | src | ||
) |
MSX
Shift an 8x8 pixel 1bpp image to the right.
sft | Amount of shift in pixels. |
src | Pointer to source image. |
MSX
Rotate (scroll) an 8x8 pixel 1bpp image upward.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_rotate_u_v_BM8x8 | ( | uint8_t | sft, |
const BM8x8 * | src | ||
) |
MSX
Rotate (scroll) an 8x8 pixel 1bpp image upward.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
MSX
Rotate (scroll) an 8x8 pixel 1bpp image downward.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_rotate_d_v_BM8x8 | ( | uint8_t | sft, |
const BM8x8 * | src | ||
) |
MSX
Rotate (scroll) an 8x8 pixel 1bpp image downward.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
MSX
Rotate (scroll) an 8x8 pixel 1bpp image to the left.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_rotate_l_v_BM8x8 | ( | uint8_t | sft, |
const BM8x8 * | src | ||
) |
MSX
Rotate (scroll) an 8x8 pixel 1bpp image to the left.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
MSX
Rotate (scroll) an 8x8 pixel 1bpp image to the right.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_rotate_r_v_BM8x8 | ( | uint8_t | sft, |
const BM8x8 * | src | ||
) |
MSX
Rotate (scroll) an 8x8 pixel 1bpp image to the right.
sft | Amount of rotation in pixels. |
src | Pointer to source image. |
MSX
Shift n-columns row vector of 8x8 pixel 1bpp image to the left.
sft | Amount of shift in pixels. (0..7) |
n | Number of columns. (n > 0) |
src | Pointer to n-element source images. |
dst | Pointer to n-element destination images. |
MSX
Shift n-columns row vector of 8x8 pixel 1bpp image to the right.
sft | Amount of shift in pixels. (0..7) |
n | Number of columns. (n > 0) |
src | Pointer to n-element source images. |
dst | Pointer to n-element destination images. |
MSX
Rotate (scroll) n-columns row vector of 8x8 pixel 1bpp image to the left.
sft | Amount of rotation in pixels. (0..7) |
n | Number of columns. (n > 0) |
src | Pointer to n-element source images. |
dst | Pointer to n-element destination images. |
MSX
Rotate (scroll) n-columns row vector of 8x8 pixel 1bpp image to the right.
sft | Amount of rotation in pixels. (0..7) |
n | Number of columns. (n > 0) |
src | Pointer to n-element source images. |
dst | Pointer to n-element destination images. |