libmsx
C library for MSX
|
Matrix transformation operators for 16x16 1bpp sprite patterns. More...
Functions | |
void | im_copy_SP16x16 (const SP16x16 *src, SP16x16 *dst) |
MSX Copy an 16x16 pixels 1bpp sprite pattern. | |
void | im_copy_v_SP16x16 (const SP16x16 *src) |
MSX Copy an 16x16 pixels 1bpp sprite pattern. | |
void | im_hflip_SP16x16 (const SP16x16 *src, SP16x16 *dst) |
MSX Flip an 16x16 pixels 1bpp sprite pattern horizontally. | |
void | im_hflip_v_SP16x16 (const SP16x16 *src) |
MSX Flip an 16x16 pixels 1bpp sprite pattern horizontally. | |
void | im_vflip_SP16x16 (const SP16x16 *src, SP16x16 *dst) |
MSX Flip an 16x16 pixels 1bpp sprite pattern vertically. | |
void | im_vflip_v_SP16x16 (const SP16x16 *src) |
MSX Flip an 16x16 pixels 1bpp sprite pattern vertically. | |
void | im_tr_SP16x16 (const SP16x16 *src, SP16x16 *dst) |
MSX Transpose an 16x16 pixels 1bpp sprite pattern around the main diagonal. | |
void | im_tr_v_SP16x16 (const SP16x16 *src) |
MSX Transpose an 16x16 pixels 1bpp sprite pattern around the main diagonal. | |
void | im_adtr_SP16x16 (const SP16x16 *src, SP16x16 *dst) |
MSX Transpose an 16x16 pixels 1bpp sprite pattern around the antidiagonal. | |
void | im_adtr_v_SP16x16 (const SP16x16 *src) |
MSX Transpose an 16x16 pixels 1bpp sprite pattern around the antidiagonal. | |
void | im_rot90_SP16x16 (const SP16x16 *src, SP16x16 *dst) |
MSX Rotate an 16x16 pixels 1bpp sprite pattern 90 degrees clockwise. | |
void | im_rot90_v_SP16x16 (const SP16x16 *src) |
MSX Rotate an 16x16 pixels 1bpp sprite pattern 90 degrees clockwise. | |
void | im_rot180_SP16x16 (const SP16x16 *src, SP16x16 *dst) |
MSX Rotate an 16x16 pixels 1bpp sprite pattern 180 degrees. | |
void | im_rot180_v_SP16x16 (const SP16x16 *src) |
MSX Rotate an 16x16 pixels 1bpp sprite pattern 180 degrees. | |
void | im_rot270_SP16x16 (const SP16x16 *src, SP16x16 *dst) |
MSX Rotate an 16x16 pixels 1bpp sprite pattern 270 degrees clockwise. | |
void | im_rot270_v_SP16x16 (const SP16x16 *src) |
MSX Rotate an 16x16 pixels 1bpp sprite pattern 270 degrees clockwise. | |
Matrix transformation operators for 16x16 1bpp sprite patterns.
OPERATOR | ROM/RAM to RAM | ROM/RAM to VRAM |
---|---|---|
COPY | im_copy_SP16x16() | im_copy_v_SP16x16() |
FLIP HORIZONTALLY | im_hflip_SP16x16() | im_hflip_v_SP16x16() |
FLIP VERTICALLY | im_vflip_SP16x16() | im_vflip_v_SP16x16() |
TRANSPOSE | im_tr_SP16x16() | im_tr_v_SP16x16() |
ROTATE 90 DEG. CLOCKWISE | im_rot90_SP16x16() | im_rot90_v_SP16x16() |
ROTATE 180 DEG. | im_rot180_SP16x16() | im_rot180_v_SP16x16() |
ROTATE 270 DEG. CLOCKWISE | im_rot270_SP16x16() | im_rot270_v_SP16x16() |
ANTIDIAGONAL TRANSPOSE | im_adtr_SP16x16() | im_adtr_v_SP16x16() |
MSX
Copy an 16x16 pixels 1bpp sprite pattern.
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_copy_v_SP16x16 | ( | const SP16x16 * | src | ) |
MSX
Copy an 16x16 pixels 1bpp sprite pattern.
src | Pointer to source image. |
MSX
Flip an 16x16 pixels 1bpp sprite pattern horizontally.
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_hflip_v_SP16x16 | ( | const SP16x16 * | src | ) |
MSX
Flip an 16x16 pixels 1bpp sprite pattern horizontally.
src | Pointer to source image. |
MSX
Flip an 16x16 pixels 1bpp sprite pattern vertically.
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_vflip_v_SP16x16 | ( | const SP16x16 * | src | ) |
MSX
Flip an 16x16 pixels 1bpp sprite pattern vertically.
src | Pointer to source image. |
MSX
Transpose an 16x16 pixels 1bpp sprite pattern around the main diagonal.
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_tr_v_SP16x16 | ( | const SP16x16 * | src | ) |
MSX
Transpose an 16x16 pixels 1bpp sprite pattern around the main diagonal.
src | Pointer to source image. |
MSX
Transpose an 16x16 pixels 1bpp sprite pattern around the antidiagonal.
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_adtr_v_SP16x16 | ( | const SP16x16 * | src | ) |
MSX
Transpose an 16x16 pixels 1bpp sprite pattern around the antidiagonal.
src | Pointer to source image. |
MSX
Rotate an 16x16 pixels 1bpp sprite pattern 90 degrees clockwise.
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_rot90_v_SP16x16 | ( | const SP16x16 * | src | ) |
MSX
Rotate an 16x16 pixels 1bpp sprite pattern 90 degrees clockwise.
src | Pointer to source image. |
MSX
Rotate an 16x16 pixels 1bpp sprite pattern 180 degrees.
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_rot180_v_SP16x16 | ( | const SP16x16 * | src | ) |
MSX
Rotate an 16x16 pixels 1bpp sprite pattern 180 degrees.
src | Pointer to source image. |
MSX
Rotate an 16x16 pixels 1bpp sprite pattern 270 degrees clockwise.
src | Pointer to source image. |
dst | Pointer to destination image. |
void im_rot270_v_SP16x16 | ( | const SP16x16 * | src | ) |
MSX
Rotate an 16x16 pixels 1bpp sprite pattern 270 degrees clockwise.
src | Pointer to source image. |